Returns a list of all your products
/products
https://api.oauth.pabau.com/{api_key}/products
Request
Query Parameters: | |
api_key * | |
per_page | (int) If not sent, the default is 20. Maximum 50 |
page | (int) If not sent, the first 20 result will be sent |
order | ASC or DESC. Default DESC |
Response sample
application/json
{
"success": true,
"total": 2,
"products": [
{
"id": 1,
"product_id": 1,
"name": "Botox 2.0",
"category_name": "Injectables",
"image": "img.jpg",
"stock_level": "4",
"price": 0,
"tax": null,
"tax_id": null
},
{
"id": 2,
"product_id": 2,
"name": "Product 1",
"category_name": "Injectables",
"image": null,
"stock_level": "0",
"price": 0,
"tax": null,
"tax_id": null
}
]
}