POST POS/Customers/{id}/Locations Try Now
Adds the location.
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id |
The identifier.
|
string |
Required
|
Body Parameters
The add location request.
| Name | Description | Type | Additional information |
|---|---|---|---|
| Contact |
The contact.
|
ContactRequest |
None.
|
Request Formats
application/json, text/json
Sample:
{
"Contact": {
"Company": "",
"JobTitle": "",
"FirstName": "",
"LastName": "",
"Address1": "",
"Address2": "",
"Email": "",
"CountryId": "",
"Country": "",
"StateId": "",
"State": "",
"City": "",
"Zip": "",
"TimeZoneId": "",
"Phones": [
{
"PhoneId": "",
"PhoneType": "Home",
"Phone": "",
"Extension": "",
"IsPrimary": true
}
],
"StateOther": "",
"ReferenceId": ""
}
}
Response Information
Resource Description
| Name | Description | Type | Additional information |
|---|---|---|---|
| ContactId |
the contact identifier.
|
string |
None.
|
| CustomerId |
the customer identifier.
|
string |
None.
|
| Company |
the company.
|
string |
None.
|
| JobTitle |
the job title.
|
string |
None.
|
| FirstName |
the first name.
|
string |
None.
|
| LastName |
the last name.
|
string |
None.
|
| Address1 |
the address1.
|
string |
None.
|
| Address2 |
the address2.
|
string |
None.
|
|
the email.
|
string |
None.
|
|
| CountryId |
the country identifier.
|
string |
None.
|
| Country |
the country.
|
string |
None.
|
| StateId |
the state identifier.
|
string |
None.
|
| State |
the state.
|
string |
None.
|
| StateOther |
The state other.
|
string |
None.
|
| City |
the city.
|
string |
None.
|
| Zip |
the zip.
|
string |
None.
|
| ReferenceId | string |
None.
|
|
| Phones |
the phones.
|
Collection of ContactPhoneResponse |
None.
|
| TimeZoneId | string |
None.
|
Response Formats
application/json, text/json
Sample:
{
"ContactId": "",
"CustomerId": "",
"Company": "",
"JobTitle": "",
"FirstName": "",
"LastName": "",
"Address1": "",
"Address2": "",
"Email": "",
"CountryId": "",
"Country": "",
"StateId": "",
"State": "",
"StateOther": "",
"City": "",
"Zip": "",
"ReferenceId": "",
"Phones": [
{
"PhoneId": "",
"PhoneType": "Home",
"Phone": "",
"Extension": "",
"IsPrimary": true,
"IsDeleted": true
}
],
"TimeZoneId": ""
}