Products
Group: shop, products_and_categories
Resource: products
Sort Properties: ID, average_rating
List all products
Param |
Type |
Required |
Description |
category_id |
INT |
Optional |
Get all products from a single category |
Response
Get a product
Response
Create a product
Note: This endpoint is not yet available, but shows future functionality
Param |
Type |
Required |
Description |
parent_category |
INT |
Optional |
The ID of the category See: Categories |
title |
string |
Required |
The product title |
short_description |
string |
Optional |
The product short description |
long_description |
string |
Optional |
The product long description |
price |
INT |
Required |
The product price |
sku |
string |
Optional |
The product SKU |
visible |
BOOLEAN |
Optional (default is true) |
Whether the product is visible on the site or not |
weight |
string |
Optional |
The product weight |
stock_number |
integer |
Optional |
Total product stock |
stock_backorder |
integer |
Optional |
The allow back order option of a product. 0 = "Default global behaviour", 1 = "Allow back ordering", 2 = "Don't allow back ordering" |
title_tag |
string |
Optional |
The product title meta. Used for SEO |
meta_keywords |
string |
Optional |
The product keyword meta. Used for SEO |
meta_description |
string |
Optional |
The product description meta. Used for SEO |
was_price |
INT |
Optional |
The product 'Was Price' |
rrp |
INT |
Optional |
The product recommended retail price (RRP) |
trade_price |
INT |
Optional |
The product trade price |
free_postage |
BOOLEAN |
Optional |
If using Downloadables, this represents the free postage option, usually set to false. |
Response
Update a product
The request can either be sent as a form post or JSON. The structure is the same as a single product and all fields are optional
Response
Delete a product
Note: This endpoint is not yet available, but shows future functionality
Response