/
Update Vendor Master API (Beta)

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

vendorCode

String

Code used by ERP to identify vendors

Yes

name

String

Name of vendor

Yes

isExcessGrnAllowed

boolean

isExcessGrnAllowed for the supplier

No

address

Object

Address of vendor

Yes

address.name

String

Name of vendor

Yes

address.line1

String

1st line of vendor’s address

Yes

address.line2

String

2nd line of vendor’s address

No

address.line3

String

3rd line of vendor’s address

No

address.city

String

City of vendor

Yes

address.state

String

State of vendor

Yes

address.zip

String

ZIP/Pin code of vendor

Yes

address.country

String

Country of vendor

Yes

address.email

String

Email of vendor

Yes

address.phone

String

Phone Number of vendor

No

priority

Integer

The priority of the vendor during picking of orders

  • Highest priority: -1 Lowest priority: - 5

  • null value will be considered as priority 3 in OMS

 

No

isAsnExpected

Boolean

If ASN is expected to be created for this supplier

Yes

isCDSampleQCAllowed

Boolean

Whether sample QC allowed for Crossdock boxes

Possible values → true/false

No

isStorageSampleQcAllowed

Boolean

Whether storage sample QC is allowed for the vendor

Possible values → true/false

No

minCdPassPercent

Integer

Minimum percentage of CD samples that must pass QC

No

minCdSampleInspectPercent

Integer

Minimum percentage of CD (cross-dock) samples to be inspected

No

minStorageSampleInspectPercent

Integer

Minimum percentage of storage samples to be inspected

No

 

Response Body

EmptyBody

HttpStatus : 200