Back to Medusa

RemoveShippingMethodAdjustment

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

2.14.21.0 KB
Original Source

import { TypeList } from "docs-ui"

RemoveShippingMethodAdjustment

This action indicates that an adjustment must be removed from a shipping method. For example, remove the free shipping discount applied before.

<TypeList types={[{"name":"action","type":"\"removeShippingMethodAdjustment\"","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":"shipping_method_id","type":"string","description":"The associated shipping method's ID.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"code","type":"string","description":"The promotion's code.","optional":false,"defaultValue":"","expandable":false,"children":[]}]} expandUrl="https://docs.medusajs.com/learn/fundamentals/data-models/manage-relationships#retrieve-records-of-relation" sectionTitle="RemoveShippingMethodAdjustment"/>