Skip to end of banner
Go to start of banner

Update Customer Master API

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

Inbound | PUT | /master/customers

Summary

This api updates customer masters in Assure.

Description

This API can be used to update customers which were created through Create Customer Master API. Except customer code all fields are updatable.

Request

{
  "customerCode": "ErpCustomerCode",
  "name": "name",
  "isExcessGrnAllowed": true,
  "address": {
    "name": "customerName",
    "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

customerCode

String

Code used by ERP to identify customers

yes

name

String

Name of customer

yes

isExcessGrnAllowed

boolean

isExcessGrnAllowed for the supplier

No

address

Object

Address of customer

yes

address.name

String

Name of customer

yes

address.line1

String

1st line of customer’s address

yes

address.line2

String

2nd line of customer’s address

no

address.line3

String

3rd line of customer’s address

no

address.city

String

City of customer

yes

address.state

String

State of customer

yes

address.zip

String

ZIP/Pin code of customer

yes

address.country

String

Country of customer

yes

address.email

String

Email of customer

yes

Response

EmptyBody

HttpStatus : 200

  • No labels