Skip to main content

Update multiple products

PUT 

/api/v2/catalog/products

Bulk update multiple products, this is particularly useful for updating the order of the products or bulk moving products between categories.

Request

Body

array

required

  • Array [

  • id stringrequired

    Possible values: >= 12 characters and <= 12 characters, Value must match regular expression ^[0-9a-z]+$

    Unique ID of the product

    section_id string

    Section ID of the product

    name string

    Possible values: non-empty

    Name of the product

    sku stringnullable

    The SKU of the product

    ref_code stringnullable

    The reference code of the product

    photo_url urinullable

    The photo URL of the product

    price +decimal

    The price of the product

    description string

    Description of the product

    available boolean

    Default value: true

    Mark the product as not available

    order integer

    Default value: 0

    Used to order the item, order defaults to ascending.

  • ]

Responses

Schema

  • Array [

  • id stringrequired

    Possible values: >= 12 characters and <= 12 characters, Value must match regular expression ^[0-9a-z]+$

    Unique ID of the product

    category_id stringrequired

    Category ID of the product

    section_id stringrequired

    Section ID of the product

    name stringrequired

    Possible values: non-empty

    Name of the product

    slug stringrequired

    Possible values: non-empty

    Slug of the product

    description stringrequired

    Description of the product

    sku stringnullable

    The SKU of the product

    ref_code stringnullable

    The reference code of the product

    photo_url urinullable

    The photo URL of the product

    price +decimalrequired

    The price of the product

    available booleanrequired

    Default value: true

    Mark the product as not available

    order integerrequired

    Default value: 0

    Used to order the item, order defaults to ascending.

    created_at date-timerequired
    updated_at date-timerequired
  • ]

Loading...