- Get Started
- Product
- Resources
- Tools & SDKs
- Framework
- Reference
Menu
- Get Started
- Product
- Resources
- Tools & SDKs
- Framework
- Reference
removeOrderEditShippingMethodValidationStep - Medusa Core Workflows Reference
This documentation provides a reference to the removeOrderEditShippingMethodValidationStep
. It belongs to the @medusajs/medusa/core-flows
package.
This step validates that a shipping method can be removed from an order edit. If the order change is not active, the shipping method isn't in the exchange, or the action doesn't add a shipping method, the step will throw an error.
Example#
Input#
RemoveOrderEditShippingMethodValidationStepInput
RemoveOrderEditShippingMethodValidationStepInputThe data to validate that a shipping method can be removed from an order edit.
RemoveOrderEditShippingMethodValidationStepInput
RemoveOrderEditShippingMethodValidationStepInputorderChange
OrderChangeDTOThe order change's details.
orderChange
OrderChangeDTOinput
Pick<DeleteOrderEditShippingMethodWorkflowInput, "order_id" | "action_id">The details of the shipping method to be removed.
input
Pick<DeleteOrderEditShippingMethodWorkflowInput, "order_id" | "action_id">Was this page helpful?