GET products/
Info | ||
---|---|---|
| ||
Returns products of the account. |
List of parametersParameter list
Parameter | Type | Description | Mandatory |
---|---|---|---|
brand | string | brand | yes |
spider | string | spider | yes |
page | int | Page page number, by default it is 1 | no |
category | string | Category category of products | no |
Example of a requestRequest example:
Paste code macro | ||||
---|---|---|---|---|
| ||||
curl -XGET "[endpoint]/products/?spider=esteelauder.ru&brand=Estée Lauder&category=Макияж" -H "TokenAPI: [your_token]" |
Response*:
Paste code macro | ||||
---|---|---|---|---|
| ||||
{ "products": [ { "rpc": "9MTM01", "sku": "9MTM010000", "category": "Макияж" }, { "rpc": "RTXN01", "sku": "RTXN010001", "category": "Макияж" }, { "rpc": "Y9GT13", "sku": "Y9GT130000", "category": "Макияж" }, { "rpc": "YTHK01", "sku": "YTHK010000", "category": "Макияж" }, { "rpc": "YNC406", "sku": "YNC4060000", "category": "Макияж" }, { "rpc": "YNC409", "sku": "YNC4090000", "category": "Макияж" }, { "rpc": "YNC405", "sku": "YNC4050000", "category": "Макияж" }, { "rpc": "YNC402", "sku": "YNC4020000", "category": "Макияж" }, { "rpc": "WGHW01", "sku": "WGHW010000", "category": "Макияж" }, { "rpc": "R8G001", "sku": "R8G0010000", "category": "Макияж" } ], "meta": { "total_items": 447, "page": 1, "total_pages": 45 } } |
...