Skip to content

Exposing countries and states in the API #159

Answered by ericingram
vimtor asked this question in Help
Discussion options

You must be logged in to vote

This data is available from the backend API, for example:

const { countries, states, timezones, locales, currencies } = await swell.get('/settings/geo')

Good idea to make this available from the frontend SDK too!

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@vimtor
Comment options

Answer selected by vimtor
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
2 participants