AddItemAdjustmentAction

This action indicates that an adjustment must be made to an item. For example, removing $5 off its amount.

action"addItemAdjustment"
The type of action.
item_idstring
The associated item's ID.
The amount to remove off the item's total.
codestring
/**
  • The promotion's code.
is_tax_inclusivebooleanOptional
Whether the adjustment amount includes tax.
descriptionstringOptional
The promotion's description.
Was this page helpful?
Ask Anything
FAQ
What is Medusa?
How can I create a module?
How can I create a data model?
How do I create a workflow?
How can I extend a data model in the Product Module?
Recipes
How do I build a marketplace with Medusa?
How do I build digital products with Medusa?
How do I build subscription-based purchases with Medusa?
What other recipes are available in the Medusa documentation?
Chat is cleared on refresh
Line break