Currency codes by country

GET https://app.ecwid.com/api/v3/{storeId}/currencyByCountry?countryCode=US&lang=en

Required access scopes

Your app doesn't need any specific access scopes to make this request.

Path params

All path params are required.

Param
Type
Description

storeId

number

Ecwid store ID.

Query params

Some query params are required.

Name
Type
Description

lang

string

Language ISO code for translations in JSON response, e.g. en, fr. If not specified, response will be in English.

countryCode

string

Country code in ISO 639-1. Required

Headers

The Authorization header is optional. Request works the same way with or without access token.

Header
Format
Description

Authorization

Bearer secret_ab***cd

Access token of the application.

Response JSON

A JSON array of objects with the following fields:

Field
Type
Description

countryCode

string

Two-digit country code in ISO 639-1 format.

currencyCode

string

Three-digit currency code in ISO 4217 format.

currencyName

string

Currency name in specified language

prefix

string

Currency prefix symbol

suffix

string

Currency suffix symbol

decimalPlaces

string

Quantity of decimal places for currency subunit

Last updated

Was this helpful?