This specifies the number of objects to returned, ranging between 10 and 100.
Example:
100
pageNumber
integer
optional
The parameter pageNumber indicates which page of the result should be requested.
Example:
1
quantity
number
optional
The amount which is used to determine the price. (default = 1)
Example:
3
referenceDate
string
optional
This date is used when calculating the price. (default = current date)
Example:
2024-03-13T13:28:06.419Z
Request samples
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl--location--request GET 'https://api.logictrade.cloud/rest/v1/discounts/products?pageSize=100&pageNumber=1&quantity=3&referenceDate=2024-03-13T13:28:06.419Z' \
--header'api-key;'
Responses
🟢200Success
application/json
Body
pagination
object
optional
totalResults
integer
optional
The total number of records.
pageNumber
integer
optional
The current page number.
pageSize
integer
optional
The number of records returned per page.
totalPages
integer
optional
The total number of pages.
results
array [object {4}]
required
id
integer
optional
The unique identifier of the product.
code
string
optional
The unique code with which the product can be found.