Create Location
Beta/v1/operations/locationsIdempotent with Idempotency-Key header. Learn more
Creates a storage location, optionally placing it in the location hierarchy.
include[]optional arrayenumValues:parentchildrenSub-objects to expand in the response. When omitted, sub-objects are returned as null.
namestringDisplay name of the location.
Maximum 255 characters.
typeobjectThis location's level in the storage hierarchy.
The levels run from largest to smallest: building, section, aisle, rack, shelf, bin. They are descriptive labels rather than a rule — the parent you choose is not required to be the next level up.
parent_idoptional stringThe location this one sits under in the storage hierarchy.
Must be an existing location in your account. Omit to create a top-level location.
child_idsoptional array of stringExisting locations to attach beneath the new location.
Each listed location is reparented onto the new location, detaching it from its current parent. Every ID must belong to your account.
idstringLocation ID.
objectstringenumValues:locationResource type identifier.
namestringDisplay name of the location.
typeobjectThis location's level in the storage hierarchy.
The levels run from largest to smallest: building, section, aisle, rack, shelf, bin. They are descriptive labels rather than a rule — a location's parent is not required to be the next level up.
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.
typeobjectThis location's level in the storage hierarchy.
The levels run from largest to smallest: building, section, aisle, rack, shelf, bin. They are descriptive labels rather than a rule — a location's parent is not required to be the next level up.
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.
previous_page_urlstringnullableRelative URL that fetches the previous page of results.
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.
typeobjectThis location's level in the storage hierarchy.
The levels run from largest to smallest: building, section, aisle, rack, shelf, bin. They are descriptive labels rather than a rule — a location's parent is not required to be the next level up.
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 Create Location