Skip to main content

Remove items from an orderlist

PATCH 

/v1/orderlists/:id/remove-items

Remove items from an orderlist

Request

Path Parameters

    id integerrequired

    Orderlist identifier

    Example: 424242

Body

required

Orderlist items input

    productIds array[]

    List of product ids

    productSources

    object[]

    List of product sources

  • Array [

  • id stringrequired

    Source ID

    name stringrequired

    Name of the source

  • ]

  • clusterIds array[]

    List of cluster ids

    clusterSources

    object[]

    List of cluster sources

  • Array [

  • id stringrequired

    Source ID

    name stringrequired

    Name of the source

  • ]

Responses

Items removed from orderlist

Schema

    id integerrequired

    Orderlist primary identifier

    createdAt date-timerequired

    Orderlist creation date

    lastModifiedAt date-timerequired

    Orderlist last modified date

    descriptions

    object[]

    Orderlist description per language

  • Array [

  • language stringrequired

    Possible values: >= 2 characters and <= 2 characters

    Language is set as 2 character country code.

    value string

    Localized field value

  • ]

  • type stringrequired

    Possible values: [POSITIVE, NEGATIVE]

    Orderlist type

    productIds array[]required

    List of product ids

    clusterIds array[]required

    List of cluster ids

    userIds array[]required

    List of user ids

    companyIds array[]required

    List of company ids

Loading...