Currency
Last updated
Was this helpful?
Last updated
Was this helpful?
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":"f04853f8-49ad-4938-806a-196614ea2104"}
The ID of the current order associated with the current session
6f1b61c5-7953-4d34-8f94-a6f7d886a6f5
The ID or alias of the session default billing country
{"value":"a068c065-f262-4222-8ff5-a8c339b0d46b"}
The ID or alias of the session default billing region
{"value":"3d090e57-6ed2-4c9d-9e37-50ba479e81fc"}
The ID or alias of the session default shipping country
{"value":"c6945052-4b36-49fa-8595-02663af129b9"}
The ID or alias of the session default shipping region
{"value":"7b3f72a6-2f77-4037-a305-ee85d559b314"}
The ID or alias of the session default tax class
{"value":"ff3dfe56-50ac-4e85-842e-d7012894fa91"}
The ID or alias of the session currency
{"value":"9284a2fa-e1d1-46a5-8c24-7221d34e0f1e"}
The ISO culture code of the current session culture
en-US
The unique reference for the customer associated with the current session
cust_039ab087-b115-40fc-a92e-db3f38973fdf
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":"b731317d-121a-40bb-9739-776f2f187b7b"}
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":"41d12836-2567-4112-98bb-0488cea26648"}
The ID of the current order associated with the current session
170c673b-ba60-4308-98d5-ae47549d0e84
The ID or alias of the session default billing country
{"value":"bed3d62f-689b-4791-b8fd-2564f3cd405e"}
The ID or alias of the session default billing region
{"value":"fee2e447-035d-41fb-8807-a1d79681dd69"}
The ID or alias of the session default shipping country
{"value":"21995dc0-8784-44bc-b760-1f7d1c830ed2"}
The ID or alias of the session default shipping region
{"value":"10fbc3f9-56a0-4787-af2b-a3b0bf0d0612"}
The ID or alias of the session default tax class
{"value":"84dd054c-1cf5-47a9-95b1-2bf16911eab4"}
The ID or alias of the session currency
{"value":"ee9577ef-41f2-415e-bb88-e783d76992a6"}
The ISO culture code of the current session culture
en-US
The unique reference for the customer associated with the current session
cust_047f3860-c22a-4f7c-8cca-2eb3f81183db
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]"
}
}
]
}