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