Products
The Products API return the products list of .... from SourceSage for ....
POST /products
Headers
| param | require | default | description |
|---|---|---|---|
X-SS-EXTERNAL-TOKEN | require |
Parameters
| param | require | default | description |
|---|---|---|---|
from_date | option | ||
to_date | option | ||
packaging_type | option | ||
trade_term | option | ||
price_currency | option | ||
port | option | ||
quantity_unit | option | ||
q | option | search by name | |
page | option | 1 | current page of list data |
per_page | option | 20 | max item on list data |
Example
/products
Response data
{
"data": [...], // products here
"page": 1,
"per_page": 20,
"total": 248
}
Product format:
{
"id": 881,
"name": "Dioctyl Phthalate (DOP)",
"packaging_type": "Bulk Vessel",
"price_currency": "USD",
"trade_term": "FOB",
"port": "China",
"quantity_unit": "MT",
"categories": [
{
"id": 15,
"name": "Sulphate"
}
],
}
Pagination
Use page and per_page for pagination