Home > @poq/sdk > CheckoutService > updateCart
Updates a user’s cart.
Signature:
updateCart(appIdentifier: string, poqUserId: string, request: UpdateCartRequest): Promise<PoqResponse<CartResponse>>;
Parameter | Type | Description |
---|---|---|
appIdentifier | string | The unique guid v4 app identifier. |
poqUserId | string | The unique identifier of the poq user. |
request | UpdateCartRequest | Specifies data to update in the cart. |
Returns:
Promise<PoqResponse<CartResponse>>
The updated Cart.