Back to Medusa

RemoveItemAdjustmentAction

www/apps/resources/references/promotion/interfaces/promotion.RemoveItemAdjustmentAction/page.mdx

2.14.21.1 KB
Original Source

import { TypeList } from "docs-ui"

RemoveItemAdjustmentAction

This action indicates that an adjustment must be removed from a line item. For example, remove the $5 discount applied before.

<TypeList types={[{"name":"action","type":"\"removeItemAdjustment\"","description":"The type of action.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"adjustment_id","type":"string","description":"The associated adjustment's ID.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"item_id","type":"string","description":"The associated item's ID.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"code","type":"string","description":"The promotion's code.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"description","type":"string","description":"The promotion's description.","optional":true,"defaultValue":"","expandable":false,"children":[]}]} expandUrl="https://docs.medusajs.com/learn/fundamentals/data-models/manage-relationships#retrieve-records-of-relation" sectionTitle="RemoveItemAdjustmentAction"/>