Store
The store API allows getting information that is at the store level instead of the customer level. These APIs contain information that is generic for all customers and do not contain any customer information.
getShippingCountries v1.13.0 read addresses Types
Get all the shipping countries for the store
- ESM
- UMD
import { getShippingCountries } from '@rechargeapps/storefront-client';
await getShippingCountries(session, { limit: 250 });
await recharge.store.getShippingCountries(session, { limit: 250 });
getStoreSettings v1.24.0 read store Types
Get the settings for the store
- ESM
- UMD
import { getStoreSettings } from '@rechargeapps/storefront-client';
await getStoreSettings(session);
await recharge.store.getStoreSettings(session);