POST
/
api
/
v1
/
erpintegration
/
buyers

Headers

x-api-key
string
required

API key for authentication

Body

application/json
buyer_address1
string

Primary address of the buyer

buyer_address2
string

Secondary address of the buyer

buyer_area
string

Area where the buyer is located

buyer_cashdiscountpercent
number

Cash discount percentage provided to the buyer

buyer_city
string

City where the buyer is located

buyer_code
string

Unique ERP code identifying the buyer

buyer_contactperson
string

Name of the contact person for the buyer

buyer_country
string

Country where the buyer is located

buyer_creditdays
integer

Number of credit days provided to the buyer

buyer_creditlimit
number

Credit limit assigned to the buyer

buyer_deliverydays
string

Days when delivery is allowed for this buyer

buyer_deliverytime
string

Preferred delivery time for this buyer

buyer_emailid
string

Buyer's email address

buyer_firmcode
string

Unique code identifying the firm in the ERP

buyer_grade
string

Grade or classification of the buyer

buyer_gstin
string

Buyer's GSTIN number (for tax purposes)

buyer_isaccountlocked
integer

Indicates if the buyer account is locked in ERP (1 = Locked, 0 = Not Locked)

buyer_licenseexpiry1
string

Expiry date of the primary license

buyer_licenseexpiry2
string

Expiry date of the secondary license

buyer_licensenumber1
string

Buyer's primary license number

buyer_licensenumber2
string

Buyer's secondary license number

buyer_mobile
string

Buyer's mobile phone number

buyer_mobile_alternate
string

Buyer's alternate mobile phone number

buyer_name
string

The name of the buyer

buyer_othercode
string

Alternate code used to identify the buyer in ERP

buyer_otherdiscountpercent
number

Other discount percentage provided to the buyer

buyer_pan
string

Buyer's PAN number (tax identification)

buyer_pincode
string

Postal code of the buyer's location

buyer_routename
string

Name of the delivery route assigned to the buyer

buyer_salesmancode
string

Unique code for the salesman in ERP

buyer_salesmanname
string

Name of the salesman associated with the buyer

buyer_sellratecategory
string

Sell rate category assigned to the buyer

buyer_shortcode
string

Short code to identify the buyer in ERP

buyer_state
string

State where the buyer is located

buyer_telephone
string

Buyer's telephone number

buyer_telephone_alternate
string

Buyer's alternate telephone number

buyer_type
string

Type/category of the buyer

Response

200 - application/json
code
integer
message
string