Products & services
Keep your products, services and prices in sync.
Whatever you sell with a price — goods, services, packages or courses — lives here. The agent looks prices (and stock, if you track it) up at the moment the customer asks, so keep it in sync from your POS, store or software:
| Method | Path |
|---|---|
| GET | /products?q=panjabi |
| POST | /products |
| PUT | /products/{id} |
| DELETE | /products/{id} |
{
"name": "Black Cotton Panjabi",
"sku": "PNJ-BLK",
"category": "Panjabi",
"price": 2450,
"sale_price": null,
"stock": 14,
"attributes": { "Size": "M, L, XL" },
"is_active": true
}
Set stock to null if you do not track stock — for example a clinic's consultation fee or a course. Items with is_active: false are never offered.
