- Get Started
- Product
- Resources
- Tools & SDKs
- Framework
- Reference
Menu
- Get Started
- Product
- Resources
- Tools & SDKs
- Framework
- Reference
createFulfillmentValidateOrder - Medusa Core Workflows Reference
This documentation provides a reference to the createFulfillmentValidateOrder
. It belongs to the @medusajs/medusa/core-flows
package.
This step validates that a fulfillment can be created for an order. If the order is canceled, the items don't exist in the order, or the items aren't grouped by shipping requirement, the step throws an error.
Example#
Input#
CreateFulfillmentValidateOrderStepInput
CreateFulfillmentValidateOrderStepInputThe data to validate the order fulfillment creation.
CreateFulfillmentValidateOrderStepInput
CreateFulfillmentValidateOrderStepInputorder
OrderDTOThe order to create the fulfillment for.
order
OrderDTOinputItems
CreateOrderFulfillmentWorkflowInput["items"]The items to fulfill.
inputItems
CreateOrderFulfillmentWorkflowInput["items"]Was this page helpful?