Home > @vsf-enterprise/commercetools-api > getStores

# getStores() function

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

Signature:

export declare function getStores(context: Context, params?: GetStoresParams): Promise<GetStoresResponse>;

# Parameters

Parameter Type Description
context Context Automatically injected context. Refer to Context
params GetStoresParams Custom queries included in the request

Returns:

Promise<GetStoresResponse>

Stores data