Loading...
Was this page helpful?
This documentation provides a reference to the updateOrderEditShippingMethodValidationStep
. It belongs to the @medusajs/medusa/core-flows
package.
This step validates that an order edit's shipping method can be updated. If the order change is not active, the shipping method isn't in the order edit, or the action is not adding a shipping method, the step will throw an error.
UpdateOrderEditShippingMethodValidationStepInput
UpdateOrderEditShippingMethodValidationStepInputorderChange
OrderChangeDTOinput
Pick<UpdateOrderEditShippingMethodWorkflowInput, "order_id" | "action_id">