Skip to main content

Add items to an orderlist

PATCH 

/v1/orderlists/:id/add-items

Add items to an orderlist

Request

Path Parameters

    id integerrequired

    Orderlist identifier

    Example: 424242

Body

required

Orderlist items input

    productIds string[]

    List of product ids

    productSources string[]

    List of product sources

    clusterIds string[]

    List of cluster ids

    clusterSources string[]

    List of cluster sources

Responses

Items added to 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 string[]required

    List of product ids

    clusterIds string[]required

    List of cluster ids

    userIds string[]required

    List of user ids

    companyIds string[]required

    List of company ids

Loading...