Back to Documentation
Products
The Product Object
Products represent the goods or services you sell. They define the base price, HSN codes for GST, and current inventory stock levels.
POST
/v1/productsCreate a product
Creates a new product in your catalog.
Parameters
namestringRequiredThe product's name.
pricenumberRequiredThe base unit price.
hsn_sacstringThe HSN or SAC code for GST.
gst_ratenumberThe applicable total GST percentage (e.g. 18).
track_inventorybooleanWhether to track stock quantities.
stock_qtyintegerThe initial stock quantity.
GET
/v1/productsList products
Retrieves a catalog of your available products along with their stock levels.
GET
/v1/products/:idRetrieve a product
Retrieves the details of an existing product.
PATCH
/v1/products/:idUpdate a product
Updates the specified product by setting the values of the parameters passed.
Parameters
namestringThe product's name.
pricenumberThe base unit price.
gst_ratenumberTotal aggregate GST percentage (e.g. 5, 12, 18, 28).
DELETE
/v1/products/:idDelete a product
Permanently deletes a product from your catalog.