Versions Compared

Key

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

Inbound | PUT | /master/vendors

Summary

This API updates vendor masters in Assure.

Description

This API can be used to update vendors which were already created by Create Vendor Masters API. Except vendorCode, all fields are updatable.

Request

Code Block
languagejson
{
  "vendorCode": "ErpVendorCode",
  "name": "name",
  "isExcessGrnAllowed": 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"
  }
}

...

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

 

Response

EmptyBody

 

HttpStatus : 200

...