Create a market
Creates a new market for the current store.
country_isosaccepts 2-letter ISO country codes (e.g.["DE", "FR"]); the market must contain at least one country. Unknown codes are silently dropped.supported_localesaccepts an array of locale codes; thedefault_localeis always implicitly included.- Setting
default: trueautomatically demotes the previous default market in the store.
Required scope: write_settings (for API-key authentication).
POST
Spree Admin SDK
Authorizations
Secret API key for admin access
JWT token for admin user authentication
Body
application/json
Example:
"Europe"
ISO 4217 currency code.
Example:
"EUR"
IETF locale tag used as the market default.
Example:
"de"
2-letter ISO country codes assigned to this market. At least one is required.
Example:
["DE", "FR"]
Locale codes available in this market. The default is always implicitly included.
Example:
["de", "en"]
Display prices with tax included.
Setting to true demotes the previous default.
Sort order within the store; lower = first.
Spree Admin SDK

