Alokai

getStoreMeta

Fetches store meta data.

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

Signature

declare function getStoreMeta(
	context: BigcommerceIntegrationContext,
	params?: index_d_exports$1.GetStoreMetaParameters
): Promise<index_d_exports$1.GetStoreMetaResponse>;

Parameters

NameRequiredTypeDescription
contextRequiredBigcommerceIntegrationContext
paramsOptionalindex_d_exports$1.GetStoreMetaParameters

Returns

Returns a response with the site meta data.

Referenced Types

Examples

Fetching site meta data

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

const storeMetaData = await sdk.bigcommerce.getStoreMeta()

Fetching site meta data.

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

const channel = ...
const storeMetaData = await sdk.bigcommerce.getStoreMeta({ channel })

On this page