Продукты
Список продуктов
Request
- HTTP Method:
POST - Content Type:
application/json - URL:
https://api.skladbot.ru/v1/products
Header Parameters
| Property | Description |
|---|---|
Authorization | string API-ключ. |
Request Body Raw Schema: application/json
| Property | Description |
|---|---|
customer_idrequired | Integer ID клиента |
limitoptional | Integer Количество элементов на странице. По умолчанию 10 |
searchoptional | String Поиск по артикул,название,баркод. |
category_idoptional | Integer ID категории |
Примеры запроса
{
"customer_id": 28,
"limit": 20,
"search": 2040453285850
}
Примеры ответа
{
"data": {
"349240": [
{
"name": "Тест 1",
"product_id": 184843,
"system_product_id": 349239,
"category": "Тест",
"vendor_code": "тест1",
"image": "https://google.com/image.png",
"product_data_id": 329637,
"size": "0",
"barcode": "2040453285850",
"price": 65000,
"discount_price": 65000,
"fbs_price": 0,
"amount": 0,
"nominale_amount": 0,
"repair_amount": 0,
"reserve_amount": 12,
"reserve_nominale_amount": 0,
"cis_total_amount": 0,
"cis_used_total_amount": 0,
"cis_unused_total_amount": 0,
"marketplace": {
"id": 1,
"name": "Wildberries"
},
"color": "белый",
"width": 12.5,
"length": 13.5,
"height": 22,
"fbs_net_price": 0,
"net_price": 0
},
{
"name": "Тест 2",
"product_id": 191575,
"system_product_id": 349240,
"category": "Тест озон",
"vendor_code": "тест1",
"image": null,
"product_data_id": 339429,
"size": null,
"barcode": "2040453285850",
"price": 65000,
"discount_price": 65000,
"fbs_price": 0,
"amount": 0,
"nominale_amount": 0,
"repair_amount": 0,
"reserve_amount": 0,
"reserve_nominale_amount": 0,
"cis_total_amount": 0,
"cis_used_total_amount": 0,
"cis_unused_total_amount": 0,
"marketplace": {
"id": 2,
"name": "OZON"
},
"color": "черный",
"width": 12.5,
"length": 13.5,
"height": 22,
"fbs_net_price": 0,
"net_price": 0
}
],
}
}
Категории продуктов
Request
- HTTP Method:
POST - Content Type:
application/json - URL:
https://api.skladbot.ru/v1/products/categories
Header Parameters
| Property | Description |
|---|---|
Authorization | string API-ключ. |
Request Body Raw Schema: application/json
| Property | Description |
|---|---|
customer_idrequired | Integer ID клиента |
limitoptional | Integer Количество элементов на странице. По умолчанию 10 |
searchoptional | String Поиск название |
Примеры запроса
{
"customer_id": 28,
"limit": 20,
"search": "Автохолодильники"
}
Примеры ответа
{
"data": [
{
"id": 1,
"name": "Автохолодильники"
},
]
}
Получить этикетку продукта
Request
- HTTP Method:
POST - Content Type:
application/json - URL:
https://api.skladbot.ru/v1/products/label
Header Parameters
| Property | Description |
|---|---|
Authorization | string API-ключ. |
Request Body Raw Schema: application/json
| Property | Description |
|---|---|
customer_idrequired | Integer ID клиента |
product_data_idrequired | Integer ID продукта |
marketplacerequired | Integer ID маркетплейса |
barcoderequired | String Баркод товара |
Примеры запроса
{
"customer_id": 28,
"product_data_id": 34234,
"marketplace_id": 1,
"barcode": "242342342343"
}
Примеры ответа
Возвращение файл в формате pdf