Poq.SDK.Node

Home > @poq/sdk > CheckoutService > updateCart

CheckoutService.updateCart() method

Updates a user’s cart.

Signature:

updateCart(appIdentifier: string, poqUserId: string, request: UpdateCartRequest): Promise<PoqResponse<CartResponse>>;

Parameters

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.