Skip to main content

Search orderlists

POST 

/v1/orderlists/search

Search orderlists

Request

Body

required

Search orderlists

    page number

    Default value: 1

    Pagination page number. [Default to 1]

    offset number

    Default value: 12

    Pagination offset number. [Default to 12]

    ids array[]

    List of Orderlist primary identifiers

    type string

    Possible values: [POSITIVE, NEGATIVE]

    Orderlist type. One of: [POSITIVE, NEGATIVE]

    userIds array[]

    List of user ids

    userSources

    object[]

    List of user sources

  • Array [

  • id stringrequired

    Source ID

    name stringrequired

    Name of the source

  • ]

  • companyIds array[]

    List of company ids

    companySources

    object[]

    List of company sources

  • Array [

  • id stringrequired

    Source ID

    name stringrequired

    Name of the source

  • ]

  • 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

  • ]

  • sortInputs

    object[]

    nullable

    Inputs to sort by

  • Array [

  • object
  • ]

Responses

Paginated list of orderlists

Schema

    items

    object[]

    required

    List of items of type Orderlist

  • Array [

  • 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

  • ]

  • itemsFound integerrequired

    Total number of items found

    offset integernullablerequired

    Possible values: >= 1

    Default value: 12

    The amount of items to show per page

    page integernullablerequired

    Possible values: >= 1

    Default value: 1

    The current page

    pages integernullablerequired

    Possible values: >= 1

    Total amount of pages

    start integernullablerequired

    Possible values: >= 1

    Start position of the current page

    end integernullablerequired

    Possible values: >= 1

    End position of the current page

Loading...