Skip to main content

Get SKUs list

Description

Retrieves a list of SKUs.

Request URL

Method: POST

https://example.com/api/v1.1/market/sku/list

Request parameters

ParameterTypeExampleRequiredDescription
tokenstring"abcdefghijklmnqrstuvwxyz"YesAPI token
from_idstring"2oDantiaiPtY-b7b41276360564d4"NoThe pointer to the next page. It is taken from the previous request, or passed empty for the first one.
limitint3NoSKU list limit

Request example

{
"token": "abcdefghijklmnqrstuvwxyz",
"from_id": "",
"limit": 3
}

Response example

{
"error": 0,
"error_text": "",
"next_from_id": "L8PSdcsMmLq-6021b5621680598b",
"result": [
{
"name": "Xiaomi 11T 256ГБ",
"external_id": "xiaomi_11t_256gb",
},
{
"name": "Xiaomi 11T 128 ГБ",
"external_id": "xiaomi_11t_128gb",
},
{
"name": "Apple iPhone 13 256GB",
"external_id": "iphone_13_256gb",
}
]
}

Response parameters

ParameterTypeDescription
errorintError code
error_textstringError text
next_from_idstringThe pointer must be passed in the next request to get another piece of data until the output of the result contains 0 lines of history.
resultarrayAn array of received data on SKUs