- Get Started
- Product
- Resources
- Tools & SDKs
- Framework
- Reference
Menu
- Get Started
- Product
- Resources
- Tools & SDKs
- Framework
- Reference
createShipmentValidateOrder - Medusa Core Workflows Reference
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.
Example#
Input#
CreateShipmentValidateOrderStepInput
CreateShipmentValidateOrderStepInputThe data to validate the order shipment creation.
CreateShipmentValidateOrderStepInput
CreateShipmentValidateOrderStepInputorder
OrderDTOThe order to create the shipment for.
order
OrderDTOThe shipment creation details.
Was this page helpful?