The Store API endpoints allow fetching supported store details.
Last updated 4 months ago
The ID or the alias of the given resource
Success
const response = await fetch('/umbraco/commerce/storefront/api/v1/store/{idOrAlias}', { method: 'GET', headers: { "Api-Key": "text" }, }); const data = await response.json();
{ "id": "123e4567-e89b-12d3-a456-426614174000", "alias": "text", "name": "text", "defaultCountry": { "id": "123e4567-e89b-12d3-a456-426614174000", "code": "text" }, "defaultTaxClass": { "id": "123e4567-e89b-12d3-a456-426614174000", "alias": "text" }, "baseCurrency": { "id": "123e4567-e89b-12d3-a456-426614174000", "code": "text" }, "pricesIncludeTax": false }