Loading...
Was this page helpful?
This documentation provides a reference to the orderFulfillmentDeliverablilityValidationStep
. It belongs to the @medusajs/medusa/core-flows
package.
This step validates that the order fulfillment can be delivered. If the order is cancelled, the items to mark as delivered don't exist in the order, or the fulfillment doesn't exist in the order, the step will throw an error.
order
OrderDTO & objectid
stringversion
numberdisplay_id
numberstatus
OrderStatuscurrency_code
stringcreated_at
string | Dateupdated_at
string | Dateoriginal_item_total
BigNumberValueoriginal_item_subtotal
BigNumberValueoriginal_item_tax_total
BigNumberValueitem_total
BigNumberValueitem_subtotal
BigNumberValueitem_tax_total
BigNumberValueoriginal_total
BigNumberValueoriginal_subtotal
BigNumberValueoriginal_tax_total
BigNumberValuetotal
BigNumberValuesubtotal
BigNumberValuetax_total
BigNumberValuediscount_subtotal
BigNumberValuediscount_total
BigNumberValuediscount_tax_total
BigNumberValuegift_card_total
BigNumberValuegift_card_tax_total
BigNumberValueshipping_total
BigNumberValueshipping_subtotal
BigNumberValueshipping_tax_total
BigNumberValueoriginal_shipping_total
BigNumberValueoriginal_shipping_subtotal
BigNumberValueoriginal_shipping_tax_total
BigNumberValuefulfillments
FulfillmentDTO[]region_id
stringOptionalcustomer_id
stringOptionalsales_channel_id
stringOptionalemail
stringOptionalis_draft_order
booleanOptionalmetadata
null | Record<string, unknown>Optionalcanceled_at
string | DateOptionalfulfillment
FulfillmentDTOid
stringlocation_id
stringpacked_at
null | Dateshipped_at
null | Datedelivered_at
null | Datecanceled_at
null | Datedata
null | Record<string, unknown>provider_id
stringshipping_option_id
null | stringmetadata
null | Record<string, unknown>shipping_option
null | ShippingOptionDTOrequires_shipping
booleanprovider
FulfillmentProviderDTOdelivery_address
FulfillmentAddressDTOitems
FulfillmentItemDTO[]labels
FulfillmentLabelDTO[]created_at
Dateupdated_at
Datedeleted_at
null | Datemarked_shipped_by
null | stringOptionalcreated_by
null | stringOptional