- Get Started
- Product
- Resources
- Tools & SDKs
- Framework
- Reference
Menu
- Get Started
- Product
- Resources
- Tools & SDKs
- Framework
- Reference
updateLineItemsStep - Medusa Core Workflows Reference
This documentation provides a reference to the updateLineItemsStep
. It belongs to the @medusajs/medusa/core-flows
package.
This step updates a cart's line items.
Example#
Input#
UpdateLineItemsStepInput
UpdateLineItemsStepInputThe details of the line items to update.
UpdateLineItemsStepInput
UpdateLineItemsStepInputid
stringThe ID of the cart that the line items belong to.
id
stringThe line items to update.
Output#
CartLineItemDTO[]
CartLineItemDTO[]
CartLineItemDTO[]
CartLineItemDTO[]CartLineItemDTO
CartLineItemDTOThe cart line item details.
CartLineItemDTO
CartLineItemDTOWas this page helpful?