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.
typeoptional stringenumValues:buildingsectionaisleLocation type code.
parent_idoptional stringnullableParent location ID. Send null to clear.
child_idsoptional array of stringnullableChild location IDs. Replaces all current children when provided. Send null to clear.
idstringLocation ID.
objectstringenumValues:locationResource type identifier.
namestringDisplay name.
typestringenumValues:buildingsectionaisleLocation type code.
parentobjectExpandablenullableParent location. Null for top-level locations. Expandable.
childrenobjectExpandablenullableChild locations. Expandable.
objectstringenumValues:listObject type for Location list
page_infoobjectPagination metadata for Location list
next_cursorstringnullableCursor to fetch the next page, null if no more pages.
prev_cursorstringnullableCursor to fetch the previous page, null if on the first page.
has_next_pagebooleanWhether more results exist after this page.
has_prev_pagebooleanWhether results exist before this page.
dataarray of objectArray of Location resources in this page
idstringLocation ID.
objectstringenumValues:locationResource type identifier.
namestringDisplay name.
typestringenumValues:buildingsectionaisleLocation type code.
parentobjectnullableParent location. Null for top-level locations. Expandable.
null in this endpoint.childrenobjectnullableChild locations. Expandable.
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