Method | URL | Example |
---|---|---|
GET | /api/v1/currencies/<currencyId> | https://api.spreadshirt.net/api/v1/currencies/1?mediaType=json |
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" : "% $" }