Update Location
Beta/v1/operations/locations/{id}Idempotent with Idempotency-Key header. Learn more
Partially updates a location.
idstringLocation ID.
include[]optional arrayenumValues:parentchildrenSub-objects to expand in the response. When omitted, sub-objects are returned as null.
nameoptional stringDisplay name of the location.
Maximum 255 characters.
typeoptional objectLocation type code, identifying this location's level in the storage hierarchy.
building: a building-level location.section: a section within a building.aisle: an aisle within a section.rack: a rack within an aisle.shelf: a shelf within a rack.bin: a bin within a shelf.
parent_idoptional stringnullableID of the parent location.
Send null to clear the parent and make this a top-level location. Send null to clear.
child_idsoptional array of stringnullableIDs of locations to set as this location's children.
When provided, replaces the full set of children: current children not listed are detached, and listed locations are moved from their current parent. Send null to detach all children. Send null to clear.
idstringLocation ID.
objectstringenumValues:locationResource type identifier.
namestringDisplay name of the location.
typeobjectLocation type code, identifying this location's level in the storage hierarchy.
building: a building-level location.section: a section within a building.aisle: an aisle within a section.rack: a rack within an aisle.shelf: a shelf within a rack.bin: a bin within a shelf.
parentlocationExpandablenullableThe location directly above this one in the storage hierarchy.
Absent for top-level locations.
idstringLocation ID.
objectstringenumValues:locationResource type identifier.
namestringDisplay name of the location.
typeobjectLocation type code, identifying this location's level in the storage hierarchy.
building: a building-level location.section: a section within a building.aisle: an aisle within a section.rack: a rack within an aisle.shelf: a shelf within a rack.bin: a bin within a shelf.
null in this endpoint.parentlocationExpandablenullableThe location directly above this one in the storage hierarchy.
Absent for top-level locations.
null in this endpoint.The locations directly below this one in the storage hierarchy.
null in this endpoint.created_atstring (date-time)Creation timestamp.
updated_atstring (date-time)Last-updated timestamp.
The locations directly below this one in the storage hierarchy.
objectstringenumValues:listResource type identifier.
page_infoobjectPagination metadata.
next_page_urlstringnullableRelative URL that fetches the next page of results.
null when the last page has been reached.
previous_page_urlstringnullableRelative URL that fetches the previous page of results.
null while on the first page.
has_next_pagebooleanWhether more results exist after this page.
has_prev_pagebooleanWhether results exist before this page.
dataarray of locationResources in this page.
idstringLocation ID.
objectstringenumValues:locationResource type identifier.
namestringDisplay name of the location.
typeobjectLocation type code, identifying this location's level in the storage hierarchy.
building: a building-level location.section: a section within a building.aisle: an aisle within a section.rack: a rack within an aisle.shelf: a shelf within a rack.bin: a bin within a shelf.
null in this endpoint.parentlocationnullableThe location directly above this one in the storage hierarchy.
Absent for top-level locations.
null in this endpoint.The locations directly below this one in the storage hierarchy.
null in this endpoint.created_atstring (date-time)Creation timestamp.
updated_atstring (date-time)Last-updated timestamp.
created_atstring (date-time)Creation timestamp.
updated_atstring (date-time)Last-updated timestamp.
Responses
Successful response for Update Location