Home > @vsf-enterprise/epcc-api > CartEndpoints > getCustomerCartsList

# CartEndpoints.getCustomerCartsList() method

Retrieves the carts that are associated with the customer.

Signature:

getCustomerCartsList(context: ElasticPathIntegrationContext, params?: GetCustomerCartsListParams): Promise<CartItemsResponse>;

# Parameters

Parameter Type Description
context ElasticPathIntegrationContext An auto-generated value prepended to the method as a first parameter.
params GetCustomerCartsListParams An object which contains necessary properties for getting a customer's carts.

Returns:

Promise<CartItemsResponse>