- Get Started
- Product
- Resources
- Tools & SDKs
- Framework
- Reference
Menu
- Get Started
- Product
- Resources
- Tools & SDKs
- Framework
- Reference
createOrderEditShippingMethodValidationStep - Medusa Core Workflows Reference
This documentation provides a reference to the createOrderEditShippingMethodValidationStep
. It belongs to the @medusajs/medusa/core-flows
package.
This step validates that a shipping method can be created for an order edit. If the order is canceled or the order change is not active, the step will throw an error.
Example#
Input#
CreateOrderEditShippingMethodValidationStepInput
CreateOrderEditShippingMethodValidationStepInputThe data to validate that a shipping method can be created for an order edit.
CreateOrderEditShippingMethodValidationStepInput
CreateOrderEditShippingMethodValidationStepInputorder
OrderDTOThe order's details.
order
OrderDTOorderChange
OrderChangeDTOThe order change's details.
orderChange
OrderChangeDTOWas this page helpful?