Alokai
You are reading the documentation for SDK v2, which is no longer the latest version. Switch to current

getStores

Endpoint for fetching available stores. By default, it uses the getStoresDefaultQuery GraphQL query

Signature

export declare function getStores(
	context: SetupContext,
	params?: GetStoresParams,
	customQuery?: CustomQuery,
	responseOptions?: ResponseOptions
): Promise<GetStoresResponse>;

Parameters

NameRequiredTypeDescription
contextRequiredSetupContextAutomatically injected context. Refer to SetupContext
paramsOptionalGetStoresParamsCustom queries included in the request
customQueryOptionalCustomQueryCustom queries included in the request
responseOptionsOptionalResponseOptionsCustom options for the response

Returns

Stores data

Referenced Types

On this page