sdk.store namespace provides methods to fetch store metadata, configuration, and display content. All methods are public and do not require authentication.
Methods
store.get(params?)
Retrieve the store’s basic information. Optionally include related data.
| Field | Type | Description |
|---|---|---|
include | string[] | Optional. Related resources to include: categories, pages, announcements. |
Store
store.getCurrencies()
Get the list of currencies supported by the store.
Array<{ code: string; symbol: string; name: string }>
store.changeCurrency(currency)
Switch the active currency for the current session.
| Field | Type | Description |
|---|---|---|
currency | string | Currency code (e.g., 'SAR', 'USD'). |
void
store.getSettings()
Retrieve the store’s public settings (theme configuration, social links, contact info, etc.).
Record<string, any>

