Product Filtering - Approved Products Stock and Price
This service only provides stock and pricing information for your approved products.
You need to send "storeFrontCode" as Header Parameter.
-
Requests to this service now include a "nextPageToken". If you enter request?page=10&size=100 in your request, you will receive 100 content items from page 10 as a response. If you enter request?size=100&nextPageToken=TOKEN in your next request, you will receive 100 content items from page 11 as a response. (The "nextPageToken" request can be used if there are more than 10,000 approved content items.)
-
The maximum value for page x size is 10,000.
-
The stockLastModifiedDate field returns a value only if a stock update has occurred for the product; otherwise, it returns null.
GET filterProducts
Parameters
Parametre | Explanation | Data |
|---|---|---|
barcode | The unique barcode must be submitted for filtering. | string |
page | It only returns the information on the specified page. | int |
size | Specifies the maximum number of items that can be listed on a page. The maximum value can be 100. | int |
stockCode | The relevant supplier's stock code information must be submitted. | string |
productMainId | The relevant supplier's productMainId information must be submitted. | string |
status | The Status field can accept the values "archived", "blacklisted", "locked", "onSale", and "notOnSale" | string |
nextPageToken | It should be used to obtain products after 10,000 units. | string |
contentId | The unique contentId must be submitted for filtering | string |
orderByDirection | "SellerCreatedDate" field can be used to sort by ASC/DESC. | string |
Sample Service Response
{
"totalElements": 1,
"totalPages": 1,
"page": 0,
"size": 1,
"nextPageToken": "eyJzb3J0IjpbMTc4MDQ0NTY5MjAwMasasf",
"content": [
{
"contentId": 12431242141,
"productMainId": "1242141241",
"variants": [
{
"variantId": 3953959353,
"barcode": "60506560",
"salePrice": 699.99,
"listPrice": 699.99,
"quantity": 50,
"stockCode": "056565964",
"stockLastModifiedDate": 1780463592464
}
]
}
]
}