Products

Create a product

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 track stock and mark the product out of stock once it runs out.

post/v2/products

Request

  • Base URL: https://test-api.kashier.io
  • URL: https://test-api.kashier.io/v2/products
  • Auth: API key in header Authorization

Request body

productNamestring required

The product name shown to customers.

currency'EGP' | 'USD' | 'GBP' | 'EUR' required

Currency the product is priced in, for example EGP.

unitPricenumber required

Price of a single unit.

isVariantboolean

Whether this product is a variation of another product.

quantityinteger

Stock quantity. Leave it out when the product is not stock-tracked.

Response

The created product.

Changes

No recorded changes to this operation across all 1 revision of this API.