Create Location
Beta/v1/operations/locationsIdempotent with Idempotency-Key header. Learn more
Creates a location for the caller's account.
include[]optional arrayenumValues:parentchildrenSub-objects to expand in the response. When omitted, sub-objects are returned as null.
namestringDisplay name.
typestringenumValues:buildingsectionaisleLocation type code.
parent_idoptional stringnullableParent location ID. Null for top-level locations.
child_idsoptional array of stringnullableIDs of child locations to attach.
idstringLocation ID.
objectstringenumValues:locationResource type identifier.
namestringDisplay name.
typestringenumValues:buildingsectionaisleLocation type code.
parentobjectExpandablenullableParent location. Null for top-level locations. Expandable.
idstringLocation ID.
objectstringenumValues:locationResource type identifier.
namestringDisplay name.
typestringenumValues:buildingsectionaisleLocation type code.
parentobjectExpandablenullableParent location. Null for top-level locations. Expandable.
null in this endpoint.childrenobjectExpandablenullableChild locations. Expandable.
null in this endpoint.created_atstring (date-time)Creation timestamp.
updated_atstring (date-time)Last-updated timestamp.
childrenobjectExpandablenullableChild locations. Expandable.
objectstringenumValues:listResource type identifier.
page_infoobjectPagination metadata.
next_page_urlstringnullableURL to fetch the next page, null if no more pages.
previous_page_urlstringnullableURL 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 objectResources 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 Create Location