Home > @vsf-enterprise/bigcommerce-api > Endpoints > updateCart
# Endpoints.updateCart() method
Update the customer_id of a cart
Signature:
updateCart(context: BigcommerceIntegrationContext, params: UpdateCartParameters): Promise<UpdateCartResponse>;
# Parameters
Parameter | Type | Description |
---|---|---|
context | BigcommerceIntegrationContext | An auto-generated value prepended to the method as a first parameter. |
params | UpdateCartParameters | An object which contains necessary properties for updating a cart. |
Returns:
Promise<UpdateCartResponse>