Alokai

getCurrencies

Fetches stores currencies.

It receives data from the getCurrencies endpoint exposed by the BigCommerce API

Signature

declare function getCurrencies(
	context: BigcommerceIntegrationContext
): Promise<GetCurrenciesResponse>;

Parameters

NameRequiredTypeDescription
contextRequiredBigcommerceIntegrationContext

Returns

Returns a response with the currencies object used in the store

Referenced Types

Examples

Fetching currencies data.

import { sdk } from '~/sdk.config.ts';

const currencies = await sdk.bigcommerce.getCurrencies();

On this page