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