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 audit trail for a product — every create and edit, which fields changed, and which dashboard user made the change.
Authorization
secretKey Merchant secret key used to identify the merchant, obtained from Kashier's dashboard. Pass the raw secret key value in the Authorization header (NOT a "Bearer" token).
In: header
Path Parameters
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…