Suppliers
Supplier (or sometimes called vendor) is the entity responsible to provide inventory to the warehouse as fulfilment to Purchase Order.
Fetch details of a Supplier
GET
/wms/supplier
Use this API to get the details of the Supplier(s). Below mentioned filters can be used to filter to get a single or set of client objects. If multi filters are used then all will be used for matching the result.
Query Parameters
Name | Type | Description |
---|---|---|
id | String | Supplier id returned by the Blowhorn at the time of client creation. |
name | String | Full or partial supplier name |
phone_number | String | Registered phone number of the supplier |
gstin | String | GST number of the supplier |
pan | String | PAN of the supplier |
cin | String | CIN(corporate identification number) of the supplier |
tan | String | TAN(Tax deduction Account Number) of the supplier |
status | String | Status of the Supplier onboarding. Ex Values are 'onboarding', 'active' and 'inactive' |
bank_account | String | Registered bank account number of the supplier |
state | String | Registered state of the supplier |
current_address | String | Full or partial current address of the supplier |
invoice_address | String | Full or partial invoice address of the supplier |
String | Email address of the supplier |
Headers
Name | Type | Description |
---|---|---|
API_KEY* | string | API key obtained by the Customer/Partner |
Create a Supplier
POST
/wms/supplier
This API can used to create supplier. Supplier name is mandatory for a client and this should be unique across the client.
Headers
Name | Type | Description |
---|---|---|
API_KEY* | String | API key obtained by the Customer/Partner |
Request Body
Name | Type | Description |
---|---|---|
name* | String | Name of the supplier |
phone_number | String | Phone number of the supplier Ex: +917411XXXX03 |
cin | String | CIN(corporate identification number) of the supplier. Ex: A12345BC6789DEF012347 |
pan | String | PAN of the supplier. Ex: BMPPV4211D |
tan | String | TAN(Tax deduction Account Number) of the supplier. Ex: ABCD12345G |
gstin | String | GST number of the supplier. Ex: 12ABCDE3456F7G0 |
bank_account | String | Bank account id or object containing bank account details per below given attributes. |
account_number | String | Supplier bank account number |
account_name | String | Supplier bank account holder name as per the bank KYC. |
bank_name | String | Name of the supplier bank |
ifsc_code | String | IFSC code of the supplier bank |
current_address | String | Address id or object containing supplier current address details per below given attributes. |
invoice_address | String | Address id or object containing supplier invoice address details per below given attributes. |
first_name | String | First name of the supplier bank account holder |
last_name | String | Last name of the supplier bank account holder |
line1-line4 | String | Address line of the address divided into four lines. |
state | String | State name of the supplier |
country | String | Country name or id of the supplier |
postcode | String | Postal code of the supplier |
is_address_same | String | Flag indicating whether both invoice address and current are the same. This field default to s 'False' |
String | Email address of the supplier |
Update a supplier
PUT
/wms/supplier
This API can be used to update a supplier details. Name or id is mandatory when trying to update a supplier to identify the supplier for updating the details.
Headers
Name | Type | Description |
---|---|---|
API_KEY* | String | API key obtained by the Customer/Partner |
Request Body
Name | Type | Description |
---|---|---|
name* | String | Name of the supplier |
phone_number | String | Phone number of the supplier Ex: +917411XXXX03 |
cin | String | CIN(corporate identification number) of the supplier. Ex: A12345BC6789DEF012347 |
pan | String | PAN of the supplier. Ex: BMPPV4211D |
tan | String | TAN(Tax deduction Account Number) of the supplier. Ex: ABCD12345G |
gstin | String | GST number of the supplier. Ex: 12ABCDE3456F7G0 |
bank_account | String | Bank account id or object containing bank account details per below given attributes. |
account_number | String | Supplier bank account number |
account_name | String | Supplier bank account holder name as per the bank KYC. |
bank_name | String | Name of the supplier bank |
ifsc_code | String | IFSC code of the supplier bank |
current_address | String | Address id or object containing supplier current address details per below given attributes. |
invoice_address | String | Address id or object containing supplier invoice address details per below given attributes. |
first_name | String | First name of the supplier bank account holder |
last_name | String | Last name of the supplier bank account holder |
line1-line4 | String | Address line of the address divided into four lines. |
state | String | State name of the supplier |
country | String | Country name or id of the supplier |
postcode | String | Postal code of the supplier |
is_address_same | String | Flag indicating whether both invoice address and current are the same. This field default to s 'False' |
Last updated