Search orderlists
POST/v1/orderlists/search
Search orderlists
Request
- application/json
Body
required
Search orderlists
Default value: 1
Pagination page number. [Default to 1
]
Default value: 12
Pagination offset number. [Default to 12
]
List of Orderlist primary identifiers
Possible values: [POSITIVE
, NEGATIVE
]
Orderlist type. One of: [POSITIVE, NEGATIVE]
List of user ids
List of user sources
List of company ids
List of company sources
List of product ids
List of product sources
List of cluster ids
List of cluster sources
Inputs to sort by
Responses
- 200
- 400
- 403
- 500
Paginated list of orderlists
- application/json
- Schema
- Example (from schema)
Schema
Array [
Array [
]
]
items
object[]
required
List of items of type Orderlist
Orderlist primary identifier
Orderlist creation date
Orderlist last modified date
descriptions
object[]
Orderlist description per language
Possible values: >= 2 characters
and <= 2 characters
Language is set as 2 character country code.
Localized field value
Possible values: [POSITIVE
, NEGATIVE
]
Orderlist type
List of product ids
List of cluster ids
List of user ids
List of company ids
Total number of items found
Possible values: >= 1
Default value: 12
The amount of items to show per page
Possible values: >= 1
Default value: 1
The current page
Possible values: >= 1
Total amount of pages
Possible values: >= 1
Start position of the current page
Possible values: >= 1
End position of the current page
{
"items": [
{
"id": 1234,
"createdAt": "2022-01-01T00:00:00.000Z",
"lastModifiedAt": "2022-01-02T00:00:00.000Z",
"descriptions": [
{
"language": "NL",
"value": "Dutch desc."
},
{
"language": "DE",
"value": "German desc."
}
],
"type": "POSITIVE",
"productIds": [
1111,
2222,
3333
],
"clusterIds": [
1111,
2222,
3333
],
"userIds": [
1111,
2222,
3333
],
"companyIds": [
1111,
2222,
3333
]
}
],
"itemsFound": 12,
"offset": 12,
"page": 4,
"pages": 1,
"start": 1,
"end": 12
}
Bad request
Forbidden.
Unknown get orderlists error