Create Customer masters API
Inbound | POST | /master/customers
Summary
This api creates customer masters in Omni.
Description
ERP systems recognise their customer with a code which is commonly referred to as customer code. This API can be used to create customers corresponding to the ERP customers in Increff Omni.
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": 1
}
Â
Parameter Name | Data Type | Description | Mandatory |
| String | Code used by ERP to identify customers (unique) | yes |
| String | Name of customer (unique) | yes |
| boolean | isExcessGrnAllowed for the supplier | No |
| Object | Address of customer | yes |
| String | Address 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