Search bulk prices
POST/v2/bulk-prices/search
Search bulk prices
Request
- application/json
Body
Search bulk prices
Default value: 1
Pagination page number. [Default to 1
]
Default value: 12
Pagination offset number. [Default to 12
]
List of Bulk Prices primary identifiers
List of price primary identifiers
quantityFrom
object
greater than or equal
less than or equal
equal to
value
object
greater than or equal
less than or equal
equal to
validFrom
object
Date greater than provided date
Date less than provided date
validTo
object
Date greater than provided date
Date less than provided date
Inputs to sort by
Responses
- 200
- 400
- 403
- 500
Paginated list of bulk prices
- application/json
- Schema
- Example (from schema)
Schema
Array [
]
items
object[]
required
List of items of type BulkPrice
Primary identifier
Creation date
Last modified date
Start date from which the bulk pricing is effective. Must be a valid ISO 8601 date string
End date of the bulk pricing offer. Must be a valid ISO 8601 date string
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",
"validFrom": "2022-01-01T00:00:00.000Z",
"validTo": "2022-01-31T00:00:00.000Z"
}
],
"itemsFound": 12,
"offset": 12,
"page": 4,
"pages": 1,
"start": 1,
"end": 12
}
Bad request
Forbidden.
Unknown get bulk prices error