Retrieve information about your products
Call
https://app.avasam.com/apiseeker/Products/SellerStockList
When using the Avasam API, remember that it must be called correctly, using the appropriate method (such as POST) described in this article, and with a valid token (Which can be obtained using the Login call). Otherwise the server may return an error.
Parameters
The header details for this call are as follows:
Field name |
Type |
Description |
Is Required |
Limit |
int |
Define the max number of records per page (eg ‘10’ would return 10 per page, so 120 returns would be 12 pages) |
True |
Page |
int |
Specifies the page number to return (eg ‘Page 3’ returns records between 20 and 29 inclusive) |
True |
Request body
The call is structured as follows:
{ "limit":10, "page":0 }
Response
Field name | Type | Description |
---|---|---|
SKU | String | Avasam SKU for the product |
Stock | Integer | Stock level for product in Avasam. |
Response body
The response from Avasam will come in the following form:
[ { "SKU": "Giorgio Armani.", "Stock": 1477 }, { "SKU": "Hard Disk 1TB", "Stock": 500 }, { "SKU": "Himalaya", "Stock": 1491 }, { "SKU": "Lee Cooper", "Stock": 1443 }, { "SKU": "Nike Shoes", "Stock": 1499 }, { "SKU": "Printer", "Stock": 1438 }, { "SKU": "Saint Lauren", "Stock": 1497 }, { "SKU": "Puma", "Stock": 1450 }, { "SKU": "Samsung A7 Mobile", "Stock": 655 }, { "SKU": "Skemi", "Stock": 0 } ]