Search bulk cost prices
POST/v2/bulk-cost-prices/search
Search bulk cost prices
Request
- application/json
Body
Search bulk cost prices
Pagination page number. [Default to 1
]
1
Pagination offset number. [Default to 12
]
12
List of Bulk Cost Prices primary identifiers
["018fcdb1-52d3-7c32-bf7c-46d49b338bca","018fcdb1-52d3-72c4-85dc-4ade9c4de935","018fcdb1-52d3-74b6-86d6-5e705b84c1e2"]
List of price primary identifiers
["018fcdb1-52d3-7c32-bf7c-46d49b338bca","018fcdb1-52d3-72c4-85dc-4ade9c4de935","018fcdb1-52d3-74b6-86d6-5e705b84c1e2"]
quantityFrom
object
greater than or equal
1
less than or equal
1
equal to
1
value
object
greater than or equal
1.55
less than or equal
1.55
equal to
1.55
validFrom
object
Date greater than provided date
2314-03-14T03:14:15.926Z
Date less than provided date
2314-03-14T03:14:15.926Z
validTo
object
Date greater than provided date
2314-03-14T03:14:15.926Z
Date less than provided date
2314-03-14T03:14:15.926Z
Inputs to sort by
[{"field":"createdAt","order":"asc"}]
Responses
- 200
- 400
- 403
- 500
Paginated list of bulk cost prices
- application/json
- Schema
- Example (from schema)
Schema
Array [
]
items
object[]
required
List of items of type BulkCostPrice
Primary identifier
1234
Creation date
2022-01-01T00:00:00.000Z
Last modified date
2022-01-02T00:00:00.000Z
Start date from which the bulk pricing is effective. Must be a valid ISO 8601 date string
2022-01-01T00:00:00.000Z
End date of the bulk pricing offer. Must be a valid ISO 8601 date string
2022-01-31T00:00:00.000Z
Total number of items found
12
The amount of items to show per page
Possible values: >= 1
12
12
The current page
Possible values: >= 1
1
4
Total amount of pages
Possible values: >= 1
1
Start position of the current page
Possible values: >= 1
1
End position of the current page
Possible values: >= 1
12
{
"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 cost prices error