- Get Started
- Product
- Resources
- Tools & SDKs
- Framework
- Reference
Menu
- Get Started
- Product
- Resources
- Tools & SDKs
- Framework
- Reference
createLineItemAdjustmentsStep - Medusa Core Workflows Reference
This documentation provides a reference to the createLineItemAdjustmentsStep
. It belongs to the @medusajs/medusa/core-flows
package.
This step creates line item adjustments in a cart, such as when a promotion is applied.
Example#
Input#
CreateLineItemAdjustmentsCartStepInput
CreateLineItemAdjustmentsCartStepInputThe details of the line item adjustments to create.
CreateLineItemAdjustmentsCartStepInput
CreateLineItemAdjustmentsCartStepInputlineItemAdjustmentsToCreate
CreateLineItemAdjustmentDTO[]The line item adjustments to create.
lineItemAdjustmentsToCreate
CreateLineItemAdjustmentDTO[]Was this page helpful?