Create a stock location
Creates a new stock location.
Setting default: true automatically demotes the previous default
location.
Required scope: write_settings (for API-key authentication).
Authorizations
Secret API key for admin access
JWT token for admin user authentication
Headers
Bearer token for admin authentication
Body
"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 >= 0Response
stock location created

