Creates a new stock location.
Setting default: true automatically demotes the previous default
location.
Required scope: write_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
"Brooklyn warehouse"
Internal name shown only in the admin
true
Setting to true demotes the previous default.
Categorizes the location.
warehouse, store, fulfillment_center "warehouse"
ISO-3166 alpha-2 country code (e.g. "US").
State / province abbreviation (e.g. "NY"). Resolved against the selected country.
Free-text state for countries without a states list.
'local' = items at this location only; 'any' = transfer-eligible (ship-to-store).
local, any x >= 0stock location created