Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

This API creates vendor masters in AssureIncreff system.

Description

ERP systems recognise their vendors/suppliers with a code which is commonly referred to as vendor code. This API can be used to create vendors corresponding to the ERP vendors in AssureIncreff Omni.

Request body

Code Block
languagejson
{
  "vendorCode": "ErpVendorCode",
  "name": "name",
  "isExcessGrnAllowed": true,
  "isAsnExpected" : true,
  "address": {
    "name": "vendor",
    "line1": "address line 1",
    "line2": "address line 2",
    "line3": "address line 3",
    "city": "Bengaluru",
    "state": "Karnataka",
    "zip": "560076",
    "country": "INDIA",
    "email": "email.com",
    "phone": "9999999999"
  },
  "priority": 1
}

 

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

isAsnExpected

boolean

isAsnExpected for the supplier

yes

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 and lowest - 5

null value will be considered as priority 3 in OMS

no

 

Response

EmptyBody

 

HttpStatus : 200