SKU
Methods allow you to get a complete list or a specific SKU in Eyrene, view information about them, update all fields, or only select SKU fields.
Retrieve a list of SKUs.
curl –i –X GET
https://test.eyrene.com/api/v1.5/sku/
-H ‘Authorization: Token 39fbb6e9-fbf9-459a-9e1b-416dbcf51875e’
–F "limit=2" \
–F "offset=0" Response parameters​
count integer
The number of SKUs.
next string (uri) Nullable
Next page.
previous string (uri) Nullable
Previous page.
results array of objects
An array of objects with information about SKUs:
- id string SKU ID.
- cid string Client-specific SKU ID, e.g. internal code.
- ean13Â string European Article Number.
- name string Human readable SKU name.
- size_x_mm float Product width in mm.
- size_y_mm float Product height in mm.
- size_z_mm float Product depth in mm.

Сreate a new sku.
curl –i –X POST
https://test.eyrene.com/api/v1.5/sku/
-H ‘Authorization: Token 39fbb6e9-fbf9-459a-9e1b-416dbcf51875e’
-F "id=704" \
-F "cid=7441078217" \
-F "image=86824149" \
-F "name=PAPEL HIGIENICO SUPER MAX 220 MAX 4 ROLLOS" \
-F "brand=10285" \
-F "category=3235" \
-F "manufacturer=474" \
-F "size_x_mm=200" \
-F "size_x_mm=210" \
-F "size_z_mm=110" \Retrieve detailed information about SKU by ID.
curl –i –X GET
https://test.eyrene.com/api/v1.5/sku/703/
-H ‘Authorization: Token 39fbb6e9-fbf9-459a-9e1b-416dbcf51875e’ Response parameters

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
Manufacturer 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.


Update all SKU fields.
curl –i –X PUT
https://test.eyrene.com/api/v1.5/sku/704/
-H ‘Authorization: Token 39fbb6e9-fbf9-459a-9e1b-416dbcf51875e’
-F "id=9846" \
-F "cid=9000101421" \
-F "image=86824084" \
-F "name=Bref 2x50g ProNature Fresh Mint" \
-F "brand=376" \
-F "category=49" \
-F "manufacturer=6" \
-F "size_x_mm=125" \
-F "size_x_mm=176" \
-F "size_z_mm=50" \Response parameters​

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
Manufacturer 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.


Update some of SKU .
curl –i –X PATCH
https://test.eyrene.com/api/v1.5/sku/704/
-H ‘Authorization: Token 39fbb6e9-fbf9-459a-9e1b-416dbcf51875e’
-F "id=9846" \
-F "name=PAPEL HIGIENICO SUPER MAX 220 MAX 4 ROLLOS" \Response parameters​

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
Manufacturer 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.


List SKU with the given Customer ID (cid) field.
curl –i –X GET
https://test.eyrene.com/api/v1.5/sku/?cid=9000101421
-H ‘Authorization: Token 39fbb6e9-fbf9-459a-9e1b-416dbcf51875e’Response parameters
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
Manufacturer 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.