List Locations
Beta/v1/operations/locationsThis endpoint is idempotent. Learn more
Returns a paginated list of locations for the caller's account.
cursoroptional stringQuery parameter: cursor for List Locations
limitoptional integerQuery parameter: limit for List Locations
qoptional stringQuery parameter: q for List Locations
include[]optional arrayenumValues:parentchildrenSub-objects to expand in the response. When omitted, sub-objects are returned as null.
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.
parentobjectExpandablenullableParent location. Null for top-level locations. Expandable.
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.
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 List Locations