Returns countries available in the store. Use ?expand=market to include market details (currency, locale, tax_inclusive).
JavaScript
import { createSpreeClient } from '@spree/sdk' const client = createSpreeClient({ baseUrl: 'https://your-store.com', publishableKey: '<api-key>', }) const countries = await client.store.countries.list()
{ "data": [ { "iso": "DE", "iso3": "IS19", "name": "Germany", "states_required": false, "zipcode_required": true }, { "iso": "US", "iso3": "USA", "name": "United States of America", "states_required": true, "zipcode_required": true } ] }
Publishable API key for store access
countries found
Show child attributes
Was this page helpful?