Skip to main content

Type Alias: RecalculateCart()

RecalculateCart: (cartId, companyId?, priceType?, priceListGroup?, embedTemplateId?) => Promise<RecalculateCartResponse>

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.

embedTemplateId?: string

(Optional) ID of currently used embed template

Returns

Promise<RecalculateCartResponse>

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