Add a vendor
Vendor V2
Add a vendor
POST
Add a vendor
Authorizations
Bearer authentication header of the form Bearer , where is your auth token.
Body
application/json
Your Vendor ID
Example:
"123"
Vendor name
Example:
"TATA RATAN"
Phone number
Example:
"1234567890"
Email address
Pattern:
^[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+(\.[a-zA-Z]{2,5})+$Example:
"reddi@reddi.reddi"
Discount
Example:
10
GSTIN
Pattern:
^(|[0-9A-Z]{15})$Example:
"27AARCS7202C1ZD"
Company name
Example:
"GSTN"
Opening balance
Example:
"1245"
Credit limit
Example:
200
Credit[0] / Debit[1]
Example:
1
Dial code
Example:
"91"
Profile image URL
Example:
""
PAN
Example:
"ABCD1234F"
Notes
Example:
"Testing api"
CC email addresses
Example:
"reddi@reddi.reddi,acb.a@bcd.con"
List of tags
Vendor Custom Fields. Custom fields should already be added in Swipe Portal.
Example:
[
{
"label": "Custom Field 1",
"value": "Value 1"
}
]If set to 1, the vendor will be visible to all branches. If set to 0, the vendor will be visible only to the branch it was created in.
Example:
1