Upload a product image
curl -X POST "https://test-api.kashier.io/v2/products/upload" \ -F image="string"{ "data": { "fileUrl": "string", "fileName": "string", "size": 0 }, "message": "string"}Uploads an image and returns the hosted URL for it. Upload the file first, then pass the returned URL as the product's image when you create or update it. Files must be under 5 MB.
Authorization
secretKey Your secret key from the Kashier dashboard. Send the raw key value in the Authorization header, without a Bearer prefix.
In: header
Request Body
multipart/form-data
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
application/json
application/json
Export products asynchronously GET
Exports the products matching the given filters without holding the request open. The workbook is generated in the background and emailed to email — or to the merchant account's own address when yo…
List categories GET
Retrieves the merchant's product categories, paginated. Filter by name with q, or narrow the list to categories created inside a date range.