Skip to main content

GET /sku/{id}

Returns information about SKU by ID.

Address: GET https://instance_name/api/data/v1.3/sku/{id}

Content-type: application/json

Path parameters


id integer

Required. SKU ID.

Request example

curl –i –X GET
https://test.inspector-cloud.com/api/data/v1.3/sku/15162/
-H ‘Authorization: Token <<your_token>>

Response example

Response code: 200

{
"id": 15162,
"cid": "4690228102691",
"name": "Агуша БатонФрЗлак ЯблГруш 0,3% 15г ФП18Х",
"category_id": 1623,
"brand_id": 12396,
"manufacturer_id": 314,
"size_x_mm": 40,
"size_y_mm": 10,
"size_z_mm": 115,
"attributes": {
"Подкатегория": "FRUITS BAR BABY",
"Группа продукта": "BABY FOOD NON DAIRY",
"Категория продукта": "BABY FOOD NON DAIRY",
"Маркетинговая группа продуктов": "BABY FOOD NON DAIRY"
}
}

Response definitions


id integer

SKU ID.


cid string <= 255 characters Nullable

SKU ID in the user's system.


name string [ 1 .. 255 ] characters

Required. SKU name.

category_id string

Product category ID.


brand_id string

Product brand ID.


manufacturer_id string

Product manufacturer ID.


size_x_mm number

Product width in mm.


size_y_mm number

Product height in mm.


size_z_mm number

Product depth in mm.


attributes object Nullable