KashierDevelopersKashier Developers

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
Authorization<token>

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

id*string

The product's record id.

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

GET
/v2/products/{id}/timeline