Skip to main content

/sku/{id}

Retrieve detailed SKU information by ID, or updates the fields in the SKU card (specified or all).

Adress: https://instance_name/api/v1.5/sku/{id}

Methods:

  • GET — retrieve detailed SKU information by ID;
  • PUT — update all SKU fields;
  • PATCH — update some SKU fields.

Content-type: application/json

Path parameters​


id string

Required. SKU ID.

Request example

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

Response example

Response code: 200

{
"id": 703,
"cid": "9000101421",
"ean13": null,
"image": 86824084,
"name": "Bref 2x50g ProNature Fresh Mint",
"brand": 376,
"category": 49,
"manufacturer": 6,
"size_x_mm": 125,
"size_y_mm": 176,
"size_z_mm": 50
}

Response definitions


id string

SKU ID.


cid string

Client-specific SKU ID, e.g. internal code


ean13 string

European Article Number.


image string

SKU image ID, available via /uploads or /uploads_by_url.


name string

Human readable SKU name.


brand string

Brand ID.


category string

Category ID.


manufacturer string

Monofacturer ID.


size_x_mm float

Product width in mm.


size_y_mm float

Product height in mm.


size_z_mm float

Product depth in mm.