List Location Types

Beta
GET/v1/operations/location-types

This endpoint is idempotent. Learn more

Returns a paginated list of location types.

Location types are platform-defined and the same for every account, so this list is the complete set of levels you can assign when creating a location. The q search term matches on location type name.

Permissions requiredValues:locations:read
The role behind your API key or agent must grant every one of these permissions.
cursoroptional string

Opaque cursor token identifying where the page of results starts.

Use the cursor value embedded in a previous response's next_page_url or previous_page_url to fetch the adjacent page. Omit to start from the first page.

limitoptional integer

Maximum number of results to return in a single page.

qoptional string

Free-text search term used to filter results.

Which fields are matched against the term varies by endpoint.

objectstringenumValues:list

Resource type identifier.

page_infoobject

Pagination metadata.

next_page_urlstringnullable

Relative URL that fetches the next page of results.

previous_page_urlstringnullable

Relative URL that fetches the previous page of results.

has_next_pageboolean

Whether more results exist after this page.

has_prev_pageboolean

Whether results exist before this page.

dataarray of location_type

Resources in this page.

idstring

Location type ID.

objectstringenumValues:location_type

Resource type identifier.

codeobject

The level of the storage hierarchy this type represents.

The levels run from largest to smallest: building, section, aisle, rack, shelf, bin.

namestring

Display name of the location type.

created_atstring (date-time)

Creation timestamp.

updated_atstring (date-time)

Last-updated timestamp.

Responses

200

Successful response for List Location Types