Home > @vsf-enterprise/bigcommerce-api > Endpoints > getCart
# Endpoints.getCart() method
Get a cart
Signature:
getCart(context: BigcommerceIntegrationContext, params: GetCartParameters): Promise<GetCartResponse>;
# Parameters
Parameter | Type | Description |
---|---|---|
context | BigcommerceIntegrationContext | An auto-generated value prepended to the method as a first parameter. |
params | GetCartParameters | An object which contains necessary properties for getting a new cart. |
Returns:
Promise<GetCartResponse>