Cart Transform API developer preview

The Cart Transform API enables you to write functions that modify the pricing and merchandising of cart line items. It enables functions to expand a single cart line item to form a bundle of components or add-on products, merge multiple cart lines into a single line that represents a bundle, and update line items to override the price, title, or image.

The API includes two key objects: Input representing the cart, and FunctionResult representing the operations to perform.