POST
/
api
/
v1
/
erpintegration
/
batches

Headers

x-api-key
string
required

API key for authentication

Body

application/json
batch_batchnumber
string

Unique batch number for the product

batch_buyercode
string

Unique code identifying the buyer in the ERP

batch_expirydate
string

Expiry date of the batch

batch_firmcode
string

Unique code identifying the firm in the ERP

batch_isbatchlocked
integer

Indicates if the batch is locked (1 = Locked, 0 = Not Locked)

batch_mrprate
number

Maximum Retail Price (MRP) for this batch

batch_productcode
string

Unique product code in the ERP

batch_purchasedate
string

Purchase date of this batch

batch_purchaserate
number

Purchase rate for this batch

batch_quantiy
number

Available quantity in this batch

batch_scheme
string

Scheme applicable to this batch

batch_sellrate
number

Selling rate for this batch

Response

200 - application/json
code
integer
message
string