Home > @vsf-enterprise/sapcc-api > Endpoints > updateCart
Endpoints.updateCart() method
Updates an entry in the cart.
Signature:
updateCart(context: SapccIntegrationContext, props: UpdateCartProps): Promise<CartModification>;
Parameters
Parameter | Type | Description |
---|---|---|
context | SapccIntegrationContext | An auto-generated value prepended to the method as a first parameter. |
props | UpdateCartProps | An object containing properties necessary for updating entry in the cart. |
Returns:
Promise<CartModification>