API reference and playgroundProducts
Get a product's timeline
curl -X GET "https://test-api.kashier.io/v2/products/string/timeline"{ "data": { "productId": "string", "timeline": [ { "_id": "string", "action": "string", "changedFields": {}, "changedBy": "string", "timestamp": "string" } ] }}Retrieves the change history of a product.
Authorization
secretKey Authorization<token>
Your secret key from the Kashier dashboard. Send the raw key value in the Authorization header, without a Bearer prefix.
In: header
Path Parameters
id*string
The product's record id.
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
Update a product PUT
Updates an existing product. Send only the fields you want to change — anything you leave out keeps its current value, so this is safe to call from an ERP that only knows about price and stock move…
Assign or unassign categories in bulk PUT
Adds categories to, or removes them from, a set of products in one call. operation picks the direction, so the same endpoint covers both filing products into a new category and clearing them out of…