Update Vendor Master API (Beta)
Inbound | PUT | /master/vendors
Summary
This API updates vendor masters in Increff Omni.
Description
This API can be used to update vendors which were already created by Create Vendor Masters API API. Except vendorCode, all fields are updatable.
Request Body
{
"vendorCode": "ERPVendorCode-1",
"isAsnExpected": true,
"isCDSampleQCAllowed": true,
"isExcessGrnAllowed": true,
"isStorageSampleQcAllowed": true,
"minCdPassPercent": 10,
"minCdSampleInspectPercent": 1,
"minStoragePassPercent": 5,
"minStorageSampleInspectPercent": 2,
"priority": 1,
"address": {
"city": "Bengaluru",
"country": "India",
"email": "integrations@increff.com",
"line1": "Line1",
"line2": "Line2",
"line3": "Line3",
"name": "John Doe",
"phone": "9999999999",
"state": "Karnataka",
"zip": "560102"
}
}
Parameter Name | Data Type | Description | Mandatory |
| String | Code used by ERP to identify vendors | Yes |
| String | Name of vendor | Yes |
| boolean | isExcessGrnAllowed for the supplier | No |
| Object | Address of vendor | Yes |
| String | Name of vendor | Yes |
| String | 1st line of vendor’s address | Yes |
| String | 2nd line of vendor’s address | No |
| String | 3rd line of vendor’s address | No |
| String | City of vendor | Yes |
| String | State of vendor | Yes |
| String | ZIP/Pin code of vendor | Yes |
| String | Country of vendor | Yes |
| String | Email of vendor | Yes |
| String | Phone Number of vendor | No |
| Integer | The priority of the vendor during picking of orders
| No |
| Boolean | If ASN is expected to be created for this supplier | Yes |
| Boolean | Whether sample QC allowed for Crossdock boxes Possible values → true/false | No |
| Boolean | Whether storage sample QC is allowed for the vendor Possible values → true/false | No |
| Integer | Minimum percentage of CD samples that must pass QC | No |
| Integer | Minimum percentage of CD (cross-dock) samples to be inspected | No |
| Integer | Minimum percentage of storage samples to be inspected | No |
Response Body
EmptyBody
HttpStatus : 200