Returns the configured stock locations. Stock locations are global
(shared across stores). Filter with Ransack predicates such as
q[active_eq], q[kind_eq], q[pickup_enabled_eq], or
q[name_cont].
Pickup-related attributes (kind, pickup_enabled,
pickup_stock_policy, pickup_ready_in_minutes,
pickup_instructions) drive merchant pickup support at checkout —
customers can collect orders from any active location with
pickup_enabled: true.
Required scope: read_settings (for API-key authentication).
Documentation Index
Fetch the complete documentation index at: https://spreecommerce.org/docs/llms.txt
Use this file to discover all available pages before exploring further.
Secret API key for admin access
JWT token for admin user authentication
Bearer token for admin authentication
Page number
Number of records per page
Filter by name (contains)
Filter by active status
Filter by kind (built-in: 'warehouse', 'store', 'fulfillment_center')
Filter by pickup-enabled flag
Sort by field. Prefix with - for descending (e.g., -created_at).
Comma-separated list of fields to include. id is always included.