Skip to main content

Type Alias: RemoveCartItem()

RemoveCartItem: (cartId, cartItemId) => Promise<void>

Parameters

cartId: string

The unique identifier for the cart.

cartItemId: string

The unique identifier for the cart item to be removed.

Returns

Promise<void>

A promise that resolves when the item has been successfully removed from the cart.