Skip to main content

Update multiple sections

PUT 

/api/v2/catalog/sections

Bulk update sections products, this is particularly useful for updating the order of sections.

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 section

    name string

    Possible values: non-empty

    Name of the section

    order integer

    Default value: 0

    Used to order the item, order defaults to ascending.

    category_id string

    Category ID of the section

  • ]

Responses

Schema

  • Array [

  • id stringrequired

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

    Unique ID of the section

    name stringrequired

    Possible values: non-empty

    Name of the section

    slug stringrequired

    Possible values: non-empty

    Slug of the section

    order integerrequired

    Default value: 0

    Used to order the item, order defaults to ascending.

    created_at date-timerequired
    updated_at date-timerequired
  • ]

Loading...