Skip to main content

Overview

Access your store’s public information including name, description, logo, banner, and currency settings.

Get Store Details

Retrieve complete information about your store.

Returns

Returns ApiResponse<Store>:

Example

Get the URL to your store’s logo image.

Returns

Returns a string containing the full URL to the logo image.

Example

Get Store Banner

Get the URL to your store’s banner image.

Returns

Returns a string containing the full URL to the banner image.

Example

Currency Formatter

Create a number formatter for displaying prices in your store’s currency.

Returns

Returns an Intl.NumberFormat instance configured for your store’s currency.

Example

Advanced Formatting

Complete Example

Here’s a complete storefront header with store branding:

Caching

Store data is automatically cached by the library for performance: Cached data:
  • Store details (getStore)
  • Logo URL (getStoreLogoUrl)
  • Banner URL (getStoreBannerUrl)
  • Currency formatter (createFormatter)
The library handles cache invalidation automatically. You don’t need to worry about stale data.

Error Handling

Best Practices

Load in parallel - Use Promise.all() to fetch store data, logo, and banner simultaneously for faster loading Cache the formatter - Create the currency formatter once and reuse it throughout your page Handle maintenance mode - Check maintenanceReason and display appropriate messages to customers Fallback for images - Provide fallback images if logo/banner URLs fail to load Markdown support - Store descriptions support markdown - use a markdown parser if needed

Next Steps

Products

Learn how to display and fetch products

Basket Management

Handle shopping cart operations
Last modified on January 15, 2026