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