on GitHub" data-tooltip-id=":R1blcldb:">v2.5.1·
This documentation provides a reference to the createShipmentValidateOrder
. It belongs to the @medusajs/medusa/core-flows
package.
This step validates that a shipment can be created for an order. If the order is cancelled, the items don't exist in the order, or the fulfillment doesn't exist in the order, the step will throw an error.
CreateShipmentValidateOrderStepInput
CreateShipmentValidateOrderStepInputorder
OrderDTO