Home > @poq/sdk > ICheckoutService > getCart
Gets a user’s cart filled with productes.
Signature:
getCart(appIdentifier: string, poqUserId: string, currencyIdentifier: string): Promise<PoqResponse<CartWithProductsResponse>>;
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.