multipart/form-data instead of application/json. All the regular JSON fields are supported as form fields, plus:product_images: Array of image files (JPEG, PNG, etc.)custom_columns, alternative_units, and preferences, send them as JSON stringsBearer authentication header of the form Bearer
Product/Item object for form data requests. Use this format when uploading product images.
Unique id for each item.
"ITEM123"
Name of the Product
"Item Name"
Opening Quantity
1
Price per item without Tax
100
Price per item with Tax
118
Product or Service enum
Product, Service "Product"
Tax percentage for each item . Only valid tax rates are accepted
18
Purchase Price per item with Tax
118
Item Description
"Item Description"
HSN Code
"1234"
Item quantity unit. You can find the GST-approved units in the UQC Codes section at: https://einvoice1.gst.gov.in/Others/MasterCodes.
"kg"
Cess Percent of the Item
x <= 1000
Cess Amount of the Item
0
Barcode
"2273546838467"
Category
"Electronics"
Custom Fields as JSON string for form data. Example - [{"label":"Custom Label","value":"Custom Value"}]
"[{\"label\":\"Custom Label\",\"value\":\"Custom Value\"}]"
Alternative Units as JSON string for form data. Example - [{"alternative_unit":"g","conversion_rate":1000}]
"[{\"alternative_unit\":\"g\",\"conversion_rate\":1000}]"
Product Preferences as JSON string for form data. Example - {"not_for_sale":false}
"{\"not_for_sale\":false}"
If set to 1, the product will be visible to all branches. If set to 0, the product will be visible only to the branch it was created in.
1
Product images to upload. Each image should be sent as a file in the form data.
Image file (JPEG, PNG, etc.)