Skip to main content

Update a orderlist by id

PATCH 

/v2/orderlists/:id

Update a orderlist by id

Request

Path Parameters

    id integerrequired

    Orderlist identifier

    Example: 424242

Body

required

Update orderlist 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

  • ]

  • type string

    Possible values: [POSITIVE, NEGATIVE]

    Orderlist type. One of: [POSITIVE, NEGATIVE]

    descriptions

    object[]

    Orderlist descriptions per language

  • Array [

  • language stringrequired

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

    Localized field language code

    value stringnullablerequired

    Localized field value

  • ]

  • extras

    object[]

    Extra field per language

  • Array [

  • language stringrequired

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

    Localized field language code

    value stringnullablerequired

    Localized field value

  • ]

  • code string

    Orderlist code

    validFrom date-time

    Valid from (Display only)

    validTo date-time

    Valid to (Display only)

    userIds array[]

    List of user ids

    userSources

    object[]

    List of user sources

  • Array [

  • id stringrequired

    Source ID

    name stringrequired

    Name of the source

  • ]

  • partnerEntity string

    Partner entity

    active string

    Default value: Y

    Shows if the orderlist is active

    companyIds array[]

    List of company ids

    companySources

    object[]

    List of company sources

  • Array [

  • id stringrequired

    Source ID

    name stringrequired

    Name of the source

  • ]

Responses

Orderlist updated

Schema

    id integerrequired

    Orderlist primary identifier

    createdAt date-timerequired

    Orderlist creation date

    lastModifiedAt date-timerequired

    Orderlist last modified date

    descriptions

    object[]

    required

    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

  • ]

  • extras

    object[]

    Extra field 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

  • ]

  • code string

    Orderlist code

    validFrom date-time

    Valid from (Display only)

    validTo date-time

    Valid to (Display only)

    type stringrequired

    Possible values: [POSITIVE, NEGATIVE]

    Orderlist type

    partnerEntity string

    Partner entity

    active stringrequired

    Default value: Y

    Shows if the orderlist is active

    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...