Currency

Last modified by Shop Team on 2023/02/13 22:56


Method

URL

Example

GET

/api/v1/currencies/<currencyId>


Allows to look up meta data of your shop's currency. Most notably, fields "symbol", "decimalCount" and "pattern" can be used to format prices in a localized way (as described in the tutorial).


Example Payload
{
  "href" : "https://api.spreadshirt.net/api/v1/currencies/1",
  "id" : "1",
  "plain" : "EUR",
  "isoCode" : "EUR",
  "symbol" : "€",
  "decimalCount" : 2,
  "pattern" : "% $"
}


Tags: