Products
OK
GET /v1/products/find HTTP/1.1
Accept: */*
OK
{
"id": 1,
"company_id": 1,
"sku": "text",
"barcode": "text",
"name": "text",
"brand": "text",
"type": "text",
"category": "text",
"tags": [
"text"
],
"size": 1,
"size_measure": "text",
"carton_barcode": "text",
"carton_width": 1,
"carton_height": 1,
"carton_depth": 1,
"carton_weight": 1,
"carton_price": 1,
"images": [
"text"
],
"ingredients": "text",
"allergens": "text",
"allergens_may_contain": "text",
"storage_type": "text",
"manufacture_country": "text",
"percentage_australian": "text",
"buy_product": true,
"sell_product": true,
"avg_unit_cost": 1,
"default_price": 1,
"default_sale_price": 1,
"tax_type": "text",
"tax_percentage": 1,
"is_deleted": true,
"is_discontinued": true,
"last_modified_at": "text",
"custom_fields": {},
"suppliers": [
{
"id": "text",
"type": "Internal",
"name": "text",
"carton_qty": 1,
"carton_price": 1,
"tax_type": "text",
"tax_percentage": 1,
"as_product_id": 1,
"sku": "text",
"barcode": "text",
"product_name": "text",
"brand": "text",
"size": 1,
"size_measure": "text"
}
],
"sales_channels": [
{
"id": 1,
"name": "text",
"price": 1,
"sale_price": 1,
"carton_qty": 1,
"tax_type": "text",
"tax_percentage": 1
}
],
"inventory": [
{
"id": 1,
"product_id": 1,
"company_id": 1,
"location_id": "text",
"location_name": "text",
"manage_stock": true,
"in_stock": true,
"stock_on_hand": 1,
"stock_on_order": 1,
"stock_to_be_picked": 1,
"stock_available": 1
}
]
}OK
GET /v1/products/get?id=1 HTTP/1.1
Accept: */*
OK
{
"id": 1,
"company_id": 1,
"sku": "text",
"barcode": "text",
"name": "text",
"brand": "text",
"type": "text",
"category": "text",
"tags": [
"text"
],
"size": 1,
"size_measure": "text",
"carton_barcode": "text",
"carton_width": 1,
"carton_height": 1,
"carton_depth": 1,
"carton_weight": 1,
"carton_price": 1,
"images": [
"text"
],
"ingredients": "text",
"allergens": "text",
"allergens_may_contain": "text",
"storage_type": "text",
"manufacture_country": "text",
"percentage_australian": "text",
"buy_product": true,
"sell_product": true,
"avg_unit_cost": 1,
"default_price": 1,
"default_sale_price": 1,
"tax_type": "text",
"tax_percentage": 1,
"is_deleted": true,
"is_discontinued": true,
"last_modified_at": "text",
"custom_fields": {},
"suppliers": [
{
"id": "text",
"type": "Internal",
"name": "text",
"carton_qty": 1,
"carton_price": 1,
"tax_type": "text",
"tax_percentage": 1,
"as_product_id": 1,
"sku": "text",
"barcode": "text",
"product_name": "text",
"brand": "text",
"size": 1,
"size_measure": "text"
}
],
"sales_channels": [
{
"id": 1,
"name": "text",
"price": 1,
"sale_price": 1,
"carton_qty": 1,
"tax_type": "text",
"tax_percentage": 1
}
],
"inventory": [
{
"id": 1,
"product_id": 1,
"company_id": 1,
"location_id": "text",
"location_name": "text",
"manage_stock": true,
"in_stock": true,
"stock_on_hand": 1,
"stock_on_order": 1,
"stock_to_be_picked": 1,
"stock_available": 1
}
]
}OK
GET /v1/products/inventory?id=1&location_id=text HTTP/1.1
Accept: */*
OK
[
{
"id": 1,
"product_id": 1,
"company_id": 1,
"location_id": "text",
"location_name": "text",
"manage_stock": true,
"in_stock": true,
"stock_on_hand": 1,
"stock_on_order": 1,
"stock_to_be_picked": 1,
"stock_available": 1
}
]Accepted
No content
PUT /v1/inventory/set HTTP/1.1
Content-Type: application/json
Accept: */*
Content-Length: 32
{
"batch_id": 1,
"stock_on_hand": 1
}Accepted
No content
OK
GET /v1/products/items/ HTTP/1.1
Accept: */*
OK
[
{
"id": 1,
"parent_product_id": 1,
"child_product_id": 1,
"sku": "text",
"barcode": "text",
"name": "text",
"brand": "text",
"stage_id": 1,
"stage_name": "text",
"qty": 1,
"size": 1,
"size_measure": "text",
"position": 1
}
]OK
GET /v1/products/ HTTP/1.1
Accept: */*
OK
[
{
"id": 1,
"company_id": 1,
"sku": "text",
"barcode": "text",
"name": "text",
"brand": "text",
"type": "text",
"category": "text",
"tags": [
"text"
],
"size": 1,
"size_measure": "text",
"carton_barcode": "text",
"carton_width": 1,
"carton_height": 1,
"carton_depth": 1,
"carton_weight": 1,
"carton_price": 1,
"images": [
"text"
],
"ingredients": "text",
"allergens": "text",
"allergens_may_contain": "text",
"storage_type": "text",
"manufacture_country": "text",
"percentage_australian": "text",
"buy_product": true,
"sell_product": true,
"avg_unit_cost": 1,
"default_price": 1,
"default_sale_price": 1,
"tax_type": "text",
"tax_percentage": 1,
"is_deleted": true,
"is_discontinued": true,
"last_modified_at": "text",
"custom_fields": {},
"suppliers": [
{
"id": "text",
"type": "Internal",
"name": "text",
"carton_qty": 1,
"carton_price": 1,
"tax_type": "text",
"tax_percentage": 1,
"as_product_id": 1,
"sku": "text",
"barcode": "text",
"product_name": "text",
"brand": "text",
"size": 1,
"size_measure": "text"
}
],
"sales_channels": [
{
"id": 1,
"name": "text",
"price": 1,
"sale_price": 1,
"carton_qty": 1,
"tax_type": "text",
"tax_percentage": 1
}
],
"inventory": [
{
"id": 1,
"product_id": 1,
"company_id": 1,
"location_id": "text",
"location_name": "text",
"manage_stock": true,
"in_stock": true,
"stock_on_hand": 1,
"stock_on_order": 1,
"stock_to_be_picked": 1,
"stock_available": 1
}
]
}
]g, kg, ml, lt, oz, floz, lb
Required when sell_product is true
Must be unique across both barcode and carton_barcode
Must be unique across both barcode and carton_barcode
CSV of tax rate names from Settings > Tax
Created
POST /v1/products/ HTTP/1.1
Content-Type: application/json
Accept: */*
Content-Length: 689
{
"brand": "text",
"name": "text",
"size": 1,
"size_measure": "text",
"sku": "text",
"barcode": "text",
"carton_barcode": "text",
"category": "text",
"tags": [
"text"
],
"carton_width": 1,
"carton_height": 1,
"carton_dept": 1,
"carton_weight": 1,
"ingredients": "text",
"allergens": "text",
"allergens_may_contain": "text",
"storage_type": "text",
"manufacture_country": "text",
"percentage_australian": 1,
"buy_product": true,
"sell_product": true,
"default_price": 1,
"default_sale_price": 1,
"tax_type": "text",
"suppliers": [
{
"id": "text",
"carton_qty": 1,
"carton_price": 0,
"tax_type": "text",
"sku": "text",
"barcode": "text",
"size": 1,
"size_measure": "text"
}
],
"sales_channels": [
{
"id": 1,
"price": 1,
"sale_price": 1,
"carton_qty": 1,
"tax_type": "text"
}
]
}Created
{
"id": 1,
"company_id": 1,
"sku": "text",
"barcode": "text",
"name": "text",
"brand": "text",
"type": "text",
"category": "text",
"tags": [
"text"
],
"size": 1,
"size_measure": "text",
"carton_barcode": "text",
"carton_width": 1,
"carton_height": 1,
"carton_depth": 1,
"carton_weight": 1,
"carton_price": 1,
"images": [
"text"
],
"ingredients": "text",
"allergens": "text",
"allergens_may_contain": "text",
"storage_type": "text",
"manufacture_country": "text",
"percentage_australian": "text",
"buy_product": true,
"sell_product": true,
"avg_unit_cost": 1,
"default_price": 1,
"default_sale_price": 1,
"tax_type": "text",
"tax_percentage": 1,
"is_deleted": true,
"is_discontinued": true,
"last_modified_at": "text",
"custom_fields": {},
"suppliers": [
{
"id": "text",
"type": "Internal",
"name": "text",
"carton_qty": 1,
"carton_price": 1,
"tax_type": "text",
"tax_percentage": 1,
"as_product_id": 1,
"sku": "text",
"barcode": "text",
"product_name": "text",
"brand": "text",
"size": 1,
"size_measure": "text"
}
],
"sales_channels": [
{
"id": 1,
"name": "text",
"price": 1,
"sale_price": 1,
"carton_qty": 1,
"tax_type": "text",
"tax_percentage": 1
}
],
"inventory": [
{
"id": 1,
"product_id": 1,
"company_id": 1,
"location_id": "text",
"location_name": "text",
"manage_stock": true,
"in_stock": true,
"stock_on_hand": 1,
"stock_on_order": 1,
"stock_to_be_picked": 1,
"stock_available": 1
}
]
}g, kg, ml, lt, oz, floz, lb
Required when sell_product is true
Must be unique across both barcode and carton_barcode
Must be unique across both barcode and carton_barcode
CSV of tax rate names from Settings > Tax
Accepted
PUT /v1/products/modify HTTP/1.1
Content-Type: application/json
Accept: */*
Content-Length: 689
{
"brand": "text",
"name": "text",
"size": 1,
"size_measure": "text",
"sku": "text",
"barcode": "text",
"carton_barcode": "text",
"category": "text",
"tags": [
"text"
],
"carton_width": 1,
"carton_height": 1,
"carton_dept": 1,
"carton_weight": 1,
"ingredients": "text",
"allergens": "text",
"allergens_may_contain": "text",
"storage_type": "text",
"manufacture_country": "text",
"percentage_australian": 1,
"buy_product": true,
"sell_product": true,
"default_price": 1,
"default_sale_price": 1,
"tax_type": "text",
"suppliers": [
{
"id": "text",
"carton_qty": 1,
"carton_price": 0,
"tax_type": "text",
"sku": "text",
"barcode": "text",
"size": 1,
"size_measure": "text"
}
],
"sales_channels": [
{
"id": 1,
"price": 1,
"sale_price": 1,
"carton_qty": 1,
"tax_type": "text"
}
]
}Accepted
{
"id": 1,
"company_id": 1,
"sku": "text",
"barcode": "text",
"name": "text",
"brand": "text",
"type": "text",
"category": "text",
"tags": [
"text"
],
"size": 1,
"size_measure": "text",
"carton_barcode": "text",
"carton_width": 1,
"carton_height": 1,
"carton_depth": 1,
"carton_weight": 1,
"carton_price": 1,
"images": [
"text"
],
"ingredients": "text",
"allergens": "text",
"allergens_may_contain": "text",
"storage_type": "text",
"manufacture_country": "text",
"percentage_australian": "text",
"buy_product": true,
"sell_product": true,
"avg_unit_cost": 1,
"default_price": 1,
"default_sale_price": 1,
"tax_type": "text",
"tax_percentage": 1,
"is_deleted": true,
"is_discontinued": true,
"last_modified_at": "text",
"custom_fields": {},
"suppliers": [
{
"id": "text",
"type": "Internal",
"name": "text",
"carton_qty": 1,
"carton_price": 1,
"tax_type": "text",
"tax_percentage": 1,
"as_product_id": 1,
"sku": "text",
"barcode": "text",
"product_name": "text",
"brand": "text",
"size": 1,
"size_measure": "text"
}
],
"sales_channels": [
{
"id": 1,
"name": "text",
"price": 1,
"sale_price": 1,
"carton_qty": 1,
"tax_type": "text",
"tax_percentage": 1
}
],
"inventory": [
{
"id": 1,
"product_id": 1,
"company_id": 1,
"location_id": "text",
"location_name": "text",
"manage_stock": true,
"in_stock": true,
"stock_on_hand": 1,
"stock_on_order": 1,
"stock_to_be_picked": 1,
"stock_available": 1
}
]
}OK
GET /v1/products/sales_channels HTTP/1.1
Accept: */*
OK
[
{
"id": 1,
"name": "text",
"price": 1,
"sale_price": 1,
"carton_qty": 1,
"tax_type": "text",
"tax_percentage": 1
}
]CSV of tax rate names from Settings > Tax, or "DEFAULT" to use the product default tax rates
Accepted
POST /v1/products/sales_channels HTTP/1.1
Content-Type: application/json
Accept: */*
Content-Length: 66
{
"id": 1,
"price": 1,
"sale_price": 1,
"carton_qty": 1,
"tax_type": "text"
}Accepted
{
"id": 1,
"name": "text",
"price": 1,
"sale_price": 1,
"carton_qty": 1,
"tax_type": "text",
"tax_percentage": 1
}CSV of tax rate names from Settings > Tax, or "DEFAULT" to use the product default tax rates
Accepted
PUT /v1/products/sales_channels/modify HTTP/1.1
Content-Type: application/json
Accept: */*
Content-Length: 66
{
"id": 1,
"price": 1,
"sale_price": 1,
"carton_qty": 1,
"tax_type": "text"
}Accepted
[
{
"id": 1,
"name": "text",
"price": 1,
"sale_price": 1,
"carton_qty": 1,
"tax_type": "text",
"tax_percentage": 1
}
]Accepted
No content
DELETE /v1/products/sales_channels/modify HTTP/1.1
Accept: */*
Accepted
No content
OK
GET /v1/products/stages/ HTTP/1.1
Accept: */*
OK
[
{
"id": 1,
"product_id": 1,
"name": "text",
"instructions": "text",
"labour_estimate": 1,
"processing_estimate": 1,
"position": 1
}
]OK
GET /v1/products/suppliers HTTP/1.1
Accept: */*
OK
[
{
"id": "text",
"type": "Internal",
"name": "text",
"abn": "text",
"email": "text",
"phone": "text",
"account_number": "text",
"website": "text",
"payment_terms": 1,
"payment_terms_period": "text",
"currency": "text",
"notes": "text",
"last_modified_at": "text",
"contacts": [
{
"first_name": "text",
"last_name": "text",
"email": "text",
"phone": "text",
"mobile_area": "text",
"mobile_number": "text",
"role": "text"
}
],
"locations": [
{
"id": "text",
"name": "text",
"is_billing": true,
"is_shipping": true,
"manage_stock": true,
"address": "text",
"suburb": "text",
"state": "text",
"postcode": "text",
"country": "text",
"location": {},
"opening_hours": {}
}
],
"groups": [
{
"id": 1,
"name": "text"
}
]
}
]10CSV of tax rate names from Settings > Tax
Accepted
POST /v1/products/suppliers HTTP/1.1
Content-Type: application/json
Accept: */*
Content-Length: 124
{
"id": "text",
"carton_qty": 1,
"carton_price": 0,
"tax_type": "text",
"sku": "text",
"barcode": "text",
"size": 1,
"size_measure": "text"
}Accepted
{
"id": "text",
"type": "Internal",
"name": "text",
"carton_qty": 1,
"carton_price": 1,
"tax_type": "text",
"tax_percentage": 1,
"as_product_id": 1,
"sku": "text",
"barcode": "text",
"product_name": "text",
"brand": "text",
"size": 1,
"size_measure": "text"
}10CSV of tax rate names from Settings > Tax
Accepted
PUT /v1/products/suppliers/modify HTTP/1.1
Content-Type: application/json
Accept: */*
Content-Length: 124
{
"id": "text",
"carton_qty": 1,
"carton_price": 0,
"tax_type": "text",
"sku": "text",
"barcode": "text",
"size": 1,
"size_measure": "text"
}Accepted
[
{
"id": "text",
"type": "Internal",
"name": "text",
"abn": "text",
"email": "text",
"phone": "text",
"account_number": "text",
"website": "text",
"payment_terms": 1,
"payment_terms_period": "text",
"currency": "text",
"notes": "text",
"last_modified_at": "text",
"contacts": [
{
"first_name": "text",
"last_name": "text",
"email": "text",
"phone": "text",
"mobile_area": "text",
"mobile_number": "text",
"role": "text"
}
],
"locations": [
{
"id": "text",
"name": "text",
"is_billing": true,
"is_shipping": true,
"manage_stock": true,
"address": "text",
"suburb": "text",
"state": "text",
"postcode": "text",
"country": "text",
"location": {},
"opening_hours": {}
}
],
"groups": [
{
"id": 1,
"name": "text"
}
]
}
]Accepted
No content
DELETE /v1/products/suppliers/modify HTTP/1.1
Accept: */*
Accepted
No content
Last updated