Add Customer Location Master API
Inbound | POST | /master/customers/{customerCode}/locations
Summary
This API creates a customer's location in Omni.
Description
ERP systems recognise their customer’s location with a code which is commonly referred to as customer location code. This API can be used to create a customer's location corresponding to the ERP customers in Increff Omni.
RequestÂ
{
"customerLocationCode": "customerLocationCode",
"gstin": "ABBDEG67889",
"billingAddress": {
"name": "name",
"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"
},
"shippingAddress": {
"name": "name",
"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 |
| String | Code of already created customer in Increff Omni by ERP | yes |
| String | GSTIN number | yes |
| String | Code of new location to be added | yes |
| Object | Address of vendor’s location | yes |
| String | Name of vendor’s location | yes |
| String | 1st line of vendor location’s address | yes |
| String | 2nd line of vendor location’s address | no |
| String | 3rd line of vendor location’s address | no |
| String | City of vendor’s location | yes |
| String | State of vendor’s location | yes |
| String | ZIP/Pin code of vendor’s location | yes |
| String | Country of vendor’s location | yes |
| String | Email of vendor’s location | yes |
| Object | Address of vendor’s location | yes |
| String | Name of vendor’s location | yes |
| String | 1st line of vendor location’s address | yes |
| String | 2nd line of vendor location’s address | no |
| String | 3rd line of vendor location’s address | no |
| String | City of vendor’s location | yes |
| String | State of vendor’s location | yes |
| String | ZIP/Pin code of vendor’s location | yes |
| String | Country of vendor’s location | yes |
| String | Email of vendor’s location | yes |
Â
Response
EmptyBody
Â
HttpStatus : 200