POST
/
v2
/
product

Authorizations

Authorization
string
headerrequired

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
id
string
required

Unique id for each item.

name
string
required

Name of the Product

quantity
number
required

Opening Quantity

unit_price
number
required

Price per item without Tax

price_with_tax
number
required

Price per item with Tax

item_type
enum<string>
required

Product or Service enum

Available options:
Product,
Service
tax_rate
number

Tax percentage for each item . Only valid tax rates are accepted

discount_percent
number

Default Discount Percent

description
string

Item Description

hsn_code
string

HSN Code

unit
enum<string>

item quantity unit

Available options:
kg,
g,
l,
ml,
m,
cm,
sqm,
sqcm,
sqft,
sqkm,
unit
category
string

Category

status
string

Status of the Item

Response

201 - application/json
success
boolean

Success flag

message
string

Response message

error_code
string

Error Code

errors
object

Errors

data
object