List the locations of a warehouse
List the locations of one warehouse — its aisles, shelves or bays — with cursor-based pagination, taking the warehouse from the path.
- Filter by status and by parent location to walk the hierarchy one level at a time, and sort by creation, code or name.
- Archived locations are returned as well: filter by status when you only want the ones in use.
- An archived warehouse still serves its locations, and a warehouse of another company answers as not found.
Your API key as a bearer token: fact_live_… in production, fact_test_… in sandbox. See the authentication guide.
In: header
Path Parameters
Public identifier (UUID v7) of the company. Get it from GET /v1/me (data.scope[].id).
uuidPublic identifier (UUID v7) of the warehouse.
uuidQuery Parameters
Public ID of the parent location whose children are listed; omit it to list every location of the warehouse in the path. Exact match on parent_id.
uuidNumber of objects to return, between 1 and 100 (default 25).
251 <= value <= 100Cursor for forward pagination: pass the id of the last object on the previous page (the next_cursor of the previous response).
uuidCursor for backward pagination: pass the id of the first object on the current page.
uuidLocation status: active or archived. Unfiltered, the listing returns both. Exact match on status.
"active" | "archived"Location status: active or archived. Unfiltered, the listing returns both. Comma-separated list. Any of the values matches.
Sort order: created, code, name ascending, or with a - prefix for descending (default -created).
"created" | "-created" | "code" | "-code" | "name" | "-name"Headers
Pin the API version (YYYY-MM-DD, Stripe-style date versioning) for this request; omit to use the key's pinned version, or the latest if none. Unsupported version → 400 unsupported_api_version; malformed → 400 parameter_invalid_format. The effective version is echoed in the Factuarea-Version response header. See the Versioning guide.
dateResponse Body
application/json
application/json
application/json
application/json
application/json
application/json
application/json
application/json