PUT POS/Customers/{id}/Locations/{locationid} Try Now
Updates the location.
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id |
The identifier.
|
string |
Required
|
| locationid |
The location identifier.
|
string |
Required
|
Body Parameters
The location request.
| Name | Description | Type | Additional information |
|---|---|---|---|
| Company |
the company.
|
string |
Conditional - Company Name or First Name or Last Name is required. Company Name cannot be Default Vendor/ Default Customer
|
| JobTitle |
the job title.
|
string |
None.
|
| FirstName |
the first name.
|
string |
Conditional - Company Name or First Name or Last Name is required
|
| LastName |
the last name.
|
string |
Conditional - Company Name or First Name or Last Name is required
|
| Address1 |
the address1.
|
string |
None.
|
| Address2 |
the address2.
|
string |
None.
|
|
the email.
|
string |
Required
|
|
| CountryId |
the country identifier.
|
string |
None.
|
| Country |
the country.
|
string |
None.
|
| StateId |
the state identifier.
|
string |
None.
|
| State |
the state.
|
string |
None.
|
| City |
the city.
|
string |
None.
|
| Zip |
the zip.
|
string |
None.
|
| TimeZoneId |
The time zone identifier.
|
string |
None.
|
| Phones |
the phones.
|
Collection of ContactPhone |
None.
|
| StateOther |
The state of the other.
|
string |
None.
|
| ReferenceId | string |
None.
|
Request Formats
application/json, text/json
Sample:
{
"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
None.