Loading...
Was this page helpful?
This documentation provides a reference to the prepareAdjustmentsFromPromotionActionsStep
. It belongs to the @medusajs/medusa/core-flows
package.
This step prepares the line item or shipping method adjustments using actions computed by the Promotion Module.
PrepareAdjustmentsFromPromotionActionsStepInput
PrepareAdjustmentsFromPromotionActionsStepInputactions
ComputeActions[]PrepareAdjustmentsFromPromotionActionsStepOutput
PrepareAdjustmentsFromPromotionActionsStepOutputlineItemAdjustmentsToCreate
object[]lineItemAdjustmentIdsToRemove
string[]shippingMethodAdjustmentsToCreate
object[]shippingMethodAdjustmentIdsToRemove
string[]computedPromotionCodes
string[]