Poq.SDK.Node

Home > @poq/sdk > CheckoutClient > getCart

CheckoutClient.getCart() method

Gets a user’s cart.

Signature:

getCart(appIdentifier: string, poqUserId: string): Promise<PoqResponse<CartResponse>>;

Parameters

Parameter Type Description
appIdentifier string The unique guid v4 app identifier.
poqUserId string The unique identifier of the poq user.

Returns:

Promise<PoqResponse<CartResponse>>

The user’s Cart.