Products
Images of the product
Product options
Option values
Product variants
- List all product variants
- Create a variant
- Update a variant
- Delete a variant
- Set an option value to the product variant
GET /api/v1/products
Name | Type | Description |
---|---|---|
limit |
integer |
Default: 1000 |
offset |
integer |
Default: 0 |
category_id |
string |
- |
ids |
string |
Comma-separated list of product ids |
sku |
string |
Comma-separated list of product SKU |
on_sale |
boolean |
- |
stock_status |
string |
available , out_of_stock , preorder , backorder , discontinued |
price_from |
float |
- |
price_to |
float |
- |
tags |
string |
Comma-separated list of product tags |
attributes.<name> |
string |
Example: attributes.color=white |
enabled |
boolean |
- |
discontinued |
boolean |
- |
fields |
string |
Comma-separated list of fields. Example id,parent_id,name |
POST /api/v1/products
Name | Type | Description |
---|---|---|
name |
string |
- |
description |
string |
- |
meta_description |
string |
- |
meta_title |
string |
- |
tags |
array of string |
- |
attributes |
array of object |
- |
enabled |
boolean |
- |
discontinued |
boolean |
- |
slug |
string |
- |
sku |
string |
- |
code |
string |
- |
tax_class |
string |
- |
related_product_ids |
array of string |
- |
prices |
array |
- |
cost_price |
float |
- |
regular_price |
float |
- |
sale_price |
float |
- |
quantity_inc |
integer |
- |
quantity_min |
integer |
- |
weight |
float |
- |
stock_quantity |
integer |
- |
position |
integer |
- |
date_stock_expected |
date |
- |
date_sale_from |
date |
- |
date_sale_to |
date |
- |
stock_tracking |
boolean |
- |
stock_preorder |
boolean |
- |
stock_backorder |
boolean |
- |
category_id |
string |
- |
dimensions |
object |
Properties: 'length', 'width', 'height' |
GET /api/v1/products/{product_id}
PUT /api/v1/products/{product_id}
DELETE /api/v1/products/{product_id}
GET /api/v1/products/{product_id}/images
POST /api/v1/products/{product_id}/images
PUT /api/v1/products/{product_id}/images/{image_id}
DELETE /api/v1/products/{product_id}/images/{image_id}
GET /api/v1/products/{product_id}/options
GET /api/v1/products/{product_id}/options/{option_id}
POST /api/v1/products/{product_id}/options
PUT /api/v1/products/{product_id}/options/{option_id}
DELETE /api/v1/products/{product_id}/options/{option_id}
GET /api/v1/products/{product_id}/options/{option_id}/values
GET /api/v1/products/{product_id}/options/{option_id}/values/{value_id}
POST /api/v1/products/{product_id}/options/{option_id}/values
PUT /api/v1/products/{product_id}/options/{option_id}/values/{value_id}
DELETE /api/v1/products/{product_id}/options/{option_id}/values/{value_id}
GET /api/v1/products/{product_id}/variants
POST /api/v1/products/{product_id}/variants
PUT /api/v1/products/{product_id}/variants/{variant_id}
DELETE /api/v1/products/{product_id}/variants/{variant_id}
PUT /api/v1/products/{product_id}/variants/{variant_id}/options