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.
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 Create Location