List Inventory Sources
Returns a cursor-paginated list of inventory sources. Every column is populated on each row, so you can select whichever fields you need without a follow-up call.
How this menu works
For what an inventory source is, field meanings, and the delete guards, see the Inventory Sources overview.
Operation
| Operation | Type | Purpose |
|---|---|---|
adminSettingsInventorySources | QueryCollection (cursor) | List inventory sources |
Arguments
All arguments are optional and combine in a single query — filter, sort and paginate together.
Pagination
| Argument | Description |
|---|---|
first | Number of records to return. |
after | Cursor to fetch the page after (from pageInfo.endCursor). |
Filters
Each filter narrows the result; supplying more than one combines with logical AND. They mirror the admin Inventory Sources datagrid filters.
| Argument | Type | Match | Example |
|---|---|---|---|
code | String | Partial (contains). | "warehouse" |
name | String | Partial (contains). | "West" |
status | Int | Exact — 0 (inactive) or 1 (active). | 1 |
country | String | Exact — 2-letter country code. | "US" |
Sorting
| Argument | Type | Values |
|---|---|---|
sort | String | id (default), code, name, priority, status |
order | String | asc, desc (default desc) |
Notes
- Pass
first(andafter: <cursor>) to page through results. The connection exposespageInfoandtotalCount. statusis0(inactive) or1(active); only active sources are available for fulfilment.latitude/longitudearenullwhen the source has no geo-coordinates configured.- Seeded core sources (such as the
defaultsource) may havenullcreatedAt/updatedAt.
Requires settings.inventory_sources view access. All operations require an admin Bearer token — see Authentication.

