List products
curl -X GET "https://test-api.kashier.io/v2/products"{ "data": [ { "_id": "string", "merchantId": "string", "name": "string", "sku": "string", "price": 0, "currency": "string", "description": "string", "image": "string", "status": "string", "createdAt": "string", "updatedAt": "string" } ], "pagination": { "total": 0, "page": 0, "limit": 0, "pages": 0 }}Retrieves the merchant's products. Every filter is optional — call it with no query at all to page through the whole catalogue, or narrow it down by category, stock status, currency, or a free-text search. This is the read an ERP uses to reconcile its own catalogue against Kashier's.
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
Query Parameters
Comma-separated product record ids, to fetch a specific set of products.
Comma-separated category ids — only return products in these categories.
Include each product's variants in the response. Defaults to false.
Only return products that track a stock quantity.
Free-text search across product names.
Filter by stock status. Defaults to all.
Value in
- "outOfStock"
- "available"
- "all"
Only return products that are shippable.
Only return products that are variants of another product.
Only return products priced in this currency. Defaults to EGP.
Value in
- "EGP"
- "USD"
- "EUR"
- "GBP"
Current page number. Defaults to 1.
Number of records per page. Defaults to 20.
Field to sort by, for example creationDate.
Sorting direction: 1 = ascending, -1 = descending. Defaults to -1.
Value in
- 1
- -1
Response Body
application/json
application/json
application/json
application/json
application/json
Get terminal details GET
Retrieves one terminal on your merchant account, including its branch, status, mode, and card-acceptance limits.
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…