PUT /locations/update
Updates a RowLocation record for the given Location data.
Roles that can access this endpoint are Users.
Parameters
| name |
description |
type |
default |
type |
| location |
the data to use when updating the existing Location record |
body of type: application/xml application/json
|
|
RowLocation
|
| includeComments |
if related Comment records should be included |
query
|
false |
Boolean
|
| includeContacts |
if related Contact records should be included |
query
|
false |
Boolean
|
Result
RowLocation
of type:
application/xml
application/json
the updated RowLocation record
*
Additional attributes:
__categoryDescr This value represents the description of the category, found in the location.category field.
__defCommodityDescr This value represents the description of the commodity, found in the location.def_commodity_id field.
__dispatchZone This value represents the description of the location's dispatch zone
Child Elements:
RowSalesperson This element represent the salesperson associated with the location, by the location.salesperson field.
The element contains a __name attribute with the value salesperson.
RowCustomer This element represent the customer associated with the location, by the location.customer_id field.
The element contains a __name attribute with the value customer.
RowContact These elements represent the contacts associated with the location.
The element contains a __name attribute with the value contacts.
*Note this is only returned if the includeContacts Query Parameter is passed as true.
RowComments These elements represent the comments associated with the location.
The element contains a __name attribute with the value comments.
*Note this is only returned if the includeComments Query Parameter is passed as true.
Try It Out
Request