This api creates customer masters in Omni.
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.
{
"customerCode": "ErpCustomerCode",
"name": "name",
"isExcessGrnAllowed": true,
"isAsnExpected": null,
"priority": 1,
"isStorageSampleQcAllowed": null,
"minStorageSampleInspectPercent": null,
"minStoragePassPercent": null,
"minCdSampleInspectPercent": null,
"minCdPassPercent": null,
"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",
"longitude": null,
"latitude": null,
"openLocationCode": null
}
}
| Parameter Name | Data Type | Description | Mandatory |
|---|---|---|---|
customerCode |
String | Code used by ERP to identify customers | |
| (unique) | yes | ||
name |
String | Name of customer | |
| (unique) | yes | ||
isExcessGrnAllowed |
boolean | isExcessGrnAllowed for the customer | No |
isAsnExpected |
Boolean | ASN expectation flag | No |
address |
Object | Address of customer | yes |
address.name |
String | Address 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 |
address.phone |
String | Phone number | No |
address.longitude |
Double | Optional geo (Address). |
No |
address.latitude |
Double | Optional geo (Address). |
No |
address.openLocationCode |
String | Optional Plus / Open Location Code (Address). |
No |
priority |
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 | ||
isStorageSampleQcAllowed |
Boolean | Storage sample QC toggle. | No |
minStorageSampleInspectPercent |
Integer | Min % storage samples inspected. | No |
minStoragePassPercent |
Integer | Min % storage samples passing QC. | No |
minCdSampleInspectPercent |
Integer | Min % cross-dock samples inspected. | No |
minCdPassPercent |
Integer | Min % cross-dock samples passing QC. | No |
EmptyBody
HttpStatus : 200