Get a product
curl -X GET "https://test-api.kashier.io/v2/products/string"{ "data": { "_id": "string", "merchantId": "string", "name": "string", "sku": "string", "price": 0, "currency": "string", "description": "string", "image": "string", "status": "string", "createdAt": "string", "updatedAt": "string" }}Retrieves a single product by its record id, including its description, image, price, and stock status.
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
Create a product POST
Adds a single product to the catalogue. Only the name, currency, and unit price are required; set isVariant when the product is a variation of another item, and quantity when you want Kashier to tr…
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…