Poq.SDK.Node

Home > @poq/sdk > CheckoutService > getCart

CheckoutService.getCart() method

Gets a user’s cart filled with productes.

Signature:

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

Parameters

Parameter Type Description
appIdentifier string The unique guid v4 app identifier.
poqUserId string The unique identifier of the poq user.
currencyIdentifier string The ISO currency code is the three-letter alphabetic code that represent the various currencies used throughout the world.

Returns:

Promise<PoqResponse<CartWithProductsResponse>>

The user’s Cart with products.