Update Product
PUT /api/v1/products/{id}
Send only the fields you want to change.
Update price and stock
curl -X PUT
-H "Authorization: Bearer KEY:SECRET"
-H "Content-Type: application/json"
-d '{"price": 69.99, "stock_level": 30}'
https://example.com/api/v1/products/58
Update categories
Sending categories replaces all assignments:
curl -X PUT
-H "Authorization: Bearer KEY:SECRET"
-H "Content-Type: application/json"
-d '{"categories": [{"cat_id": 5, "primary": 1}, {"cat_id": 8, "primary": 0}]}'
https://example.com/api/v1/products/58
Delete Product
DELETE /api/v1/products/{id}
Deletes the product and all related data (categories, images, options, reviews). Returns 204 No Content.
curl -X DELETE -H "Authorization: Bearer KEY:SECRET"
https://example.com/api/v1/products/58