Currency
The Currency API endpoints allow fetching supported currencies from a store.
Filter the returned list of items
{"value":" "}
Limit the properties returned in the response
{"value":" "}
Defines the properties that should be expanded in the response
{"value":" "}
API key specified through configuration to authorize access to the API.
The ID or the alias of the store
{"value":"80f81489-0a0e-4d51-b7ce-0a499f56eed2"}
The ID of the current order associated with the current session
82e86f75-9928-4395-b9f0-addadc385bf2
The ID or alias of the session default billing country
{"value":"011be31f-063d-4d4d-97e2-d2ff5fb04fc5"}
The ID or alias of the session default billing region
{"value":"e0a1625b-16ae-4084-8cbf-393ab0ade07c"}
The ID or alias of the session default shipping country
{"value":"9dc0c386-0f06-480e-aaa9-7d1d23ffb2fe"}
The ID or alias of the session default shipping region
{"value":"67f2bb55-c9af-4c27-a526-a9ad9070a875"}
The ID or alias of the session default tax class
{"value":"cbcfe84c-780b-46c7-bbbd-f6a99e574d1f"}
The ID or alias of the session currency
{"value":"84908219-7564-44b5-b055-ff0025176901"}
The ISO culture code of the current session culture
en-US
The unique reference for the customer associated with the current session
cust_2a7c0334-632d-4256-abbf-a83626f3ba48
OK
Not Found
GET /umbraco/commerce/storefront/api/v1/currencies HTTP/1.1
Host:
Api-Key: text
Store: text
Accept: */*
[
{
"id": "123e4567-e89b-12d3-a456-426614174000",
"code": "text",
"name": "text",
"store": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"alias": "text",
"name": "text",
"defaultCountry": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"code": "text",
"name": "text",
"store": "[Circular Reference]",
"defaultCurrency": "[Circular Reference]",
"defaultPaymentMethod": "[Circular Reference]",
"defaultShippingMethod": "[Circular Reference]",
"regions": "[Circular Reference]"
},
"defaultTaxClass": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"alias": "text",
"name": "text",
"store": "[Circular Reference]",
"defaultTaxRate": 1,
"defaultTaxCode": "text",
"taxRate": 1,
"taxCode": "text",
"countryRegionTaxClasses": "[Circular Reference]"
},
"baseCurrency": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"code": "text",
"name": "text",
"store": "[Circular Reference]",
"culture": "text",
"symbol": "text",
"decimalPlaces": 1,
"decimalSeparator": "text",
"groupSeparator": "text",
"formatTemplate": "text",
"allowedCountries": "[Circular Reference]"
},
"pricesIncludeTax": true
},
"culture": "text",
"symbol": "text",
"decimalPlaces": 1,
"decimalSeparator": "text",
"groupSeparator": "text",
"formatTemplate": "text",
"allowedCountries": [
{
"country": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"code": "text",
"name": "text",
"store": "[Circular Reference]",
"defaultCurrency": "[Circular Reference]",
"defaultPaymentMethod": "[Circular Reference]",
"defaultShippingMethod": "[Circular Reference]",
"regions": "[Circular Reference]"
}
}
]
}
]
The ID or the alias of the given resource
{"value":"71409002-2cb6-4910-9cf0-fa1a3534abb8"}
Limit the properties returned in the response
{"value":" "}
Defines the properties that should be expanded in the response
{"value":" "}
API key specified through configuration to authorize access to the API.
The ID or the alias of the store
{"value":"2cce5d4a-5393-4554-ac24-f11e2f764a3e"}
The ID of the current order associated with the current session
1cc7acdf-ba1a-4903-acc4-014796b0ddab
The ID or alias of the session default billing country
{"value":"8ef9d1b6-2ab6-46fa-ab10-5f15373cafad"}
The ID or alias of the session default billing region
{"value":"4271edf5-74c8-4092-bfe5-612b439a7029"}
The ID or alias of the session default shipping country
{"value":"7fc5d05b-1592-4fb3-8d26-adb14adae570"}
The ID or alias of the session default shipping region
{"value":"eca82ab7-2a2b-4d7a-a7f0-05ec3295dfc4"}
The ID or alias of the session default tax class
{"value":"bbb8153e-b8f1-4b60-a5a1-90c16a9233d0"}
The ID or alias of the session currency
{"value":"88269849-bec4-4c19-b3a0-68220fc756e5"}
The ISO culture code of the current session culture
en-US
The unique reference for the customer associated with the current session
cust_83c0d615-0884-48c6-b768-67888995fb9e
OK
Not Found
GET /umbraco/commerce/storefront/api/v1/currency/{idOrAlias} HTTP/1.1
Host:
Api-Key: text
Store: text
Accept: */*
{
"id": "123e4567-e89b-12d3-a456-426614174000",
"code": "text",
"name": "text",
"store": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"alias": "text",
"name": "text",
"defaultCountry": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"code": "text",
"name": "text",
"store": "[Circular Reference]",
"defaultCurrency": "[Circular Reference]",
"defaultPaymentMethod": "[Circular Reference]",
"defaultShippingMethod": "[Circular Reference]",
"regions": "[Circular Reference]"
},
"defaultTaxClass": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"alias": "text",
"name": "text",
"store": "[Circular Reference]",
"defaultTaxRate": 1,
"defaultTaxCode": "text",
"taxRate": 1,
"taxCode": "text",
"countryRegionTaxClasses": "[Circular Reference]"
},
"baseCurrency": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"code": "text",
"name": "text",
"store": "[Circular Reference]",
"culture": "text",
"symbol": "text",
"decimalPlaces": 1,
"decimalSeparator": "text",
"groupSeparator": "text",
"formatTemplate": "text",
"allowedCountries": "[Circular Reference]"
},
"pricesIncludeTax": true
},
"culture": "text",
"symbol": "text",
"decimalPlaces": 1,
"decimalSeparator": "text",
"groupSeparator": "text",
"formatTemplate": "text",
"allowedCountries": [
{
"country": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"code": "text",
"name": "text",
"store": "[Circular Reference]",
"defaultCurrency": "[Circular Reference]",
"defaultPaymentMethod": "[Circular Reference]",
"defaultShippingMethod": "[Circular Reference]",
"regions": "[Circular Reference]"
}
}
]
}
Last updated
Was this helpful?