Home > @poq/sdk > ICheckoutService
ICheckoutService can be helpful in cases when user wants to get enriched cart data (with product info in it).
Signature:
export interface ICheckoutService
Method | Description |
---|---|
addCartItem(appIdentifier, poqUserId, cartParams, mergeByCustomData) | Adds an item to a user’s cart. |
getCart(appIdentifier, poqUserId, currencyIdentifier) | Gets a user’s cart filled with productes. |
updateCart(appIdentifier, poqUserId, request) | Updates a user’s cart. |