Update Customer Master API
Inbound | PUT | /master/customers
Summary
This api updates customer masters in Increff Omni.
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"
},
"priority": 2
}
Parameter Name | Data Type | Description | Mandatory |
| String | Code used by ERP to identify customers | yes |
| String | Name of customer | yes |
| boolean | isExcessGrnAllowed for the supplier | No |
| Object | Address of customer | yes |
| String | Name of customer | yes |
| String | 1st line of customer’s address | yes |
| String | 2nd line of customer’s address | no |
| String | 3rd line of customer’s address | no |
| String | City of customer | yes |
| String | State of customer | yes |
| String | ZIP/Pin code of customer | yes |
| String | Country of customer | yes |
| String | Email of customer | yes |
| Integer | The priority of the customer 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