Skip to main content

Type Alias: GetCartItems()

GetCartItems: (cartId) => Promise<GetCartItemsResponse>

Parameters

cartId: string

The unique identifier for the cart.

Returns

Promise<GetCartItemsResponse>

A promise that resolves to a GetCartItemsResponse, which is either an array of CartItem or an object indicating the cart is closed.