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

getShoppingList

Endpoint for retrieving wishlist for a current user. By default, it uses the getShoppingListDefaultQuery GraphQL query

Signature

export declare function getShoppingList(
	context: SetupContext,
	params?: GetShoppingListParams,
	customQuery?: CustomQuery
): Promise<GetShoppingListResponse>;

Parameters

NameRequiredTypeDescription
contextRequiredSetupContextAutomatically injected context. Refer to SetupContext
paramsOptionalGetShoppingListParamsParameters specifying which shopping list to retrieve
customQueryOptionalCustomQueryCustom queries included in the request

Returns

  • User data

Referenced Types

On this page