Skip to main content

Type Alias: RecalculateCart()

RecalculateCart: (cartId, companyId?, priceType?, priceListGroup?) => Promise<CartItem[]>

Parameters

cartId: string

The unique identifier for the cart.

companyId?: string

(Optional) The company ID to use for recalculation.

priceType?: string

(Optional) The price type to use for recalculation.

priceListGroup?: string

(Optional) The price list group to use for recalculation.

Returns

Promise<CartItem[]>

A promise that resolves to an array of CartItem with updated information.