|
1
|
{"slug":"/references/fulfillment/events","title":"Fulfillment Module Events Reference","frontmatter":{"slug":"/references/fulfillment/events","sidebar_label":"Events Reference","generate_toc":true},"toc":[],"blocks":[{"kind":"markdown","html":"This reference shows all the events emitted by the Medusa application related to the Fulfillment Module. If you use the module outside the Medusa application, these events aren't emitted."},{"kind":"eventsListing","categories":[{"title":"Fulfillment","events":[{"name":"shipment.created","id":"shipmentcreated","description":"Emitted when a shipment is created for an order.","payload":"```ts\n{\n id, // the ID of the fulfillment\n no_notification, // (boolean) whether to notify the customer\n}\n```","workflows":[{"name":"createOrderShipmentWorkflow","href":"/references/medusa-workflows/createOrderShipmentWorkflow"}]},{"name":"delivery.created","id":"deliverycreated","description":"Emitted when a fulfillment is marked as delivered.","payload":"```ts\n{\n id, // the ID of the fulfillment\n}\n```","workflows":[{"name":"markOrderFulfillmentAsDeliveredWorkflow","href":"/references/medusa-workflows/markOrderFulfillmentAsDeliveredWorkflow"}]}]},{"title":"Shipping Option","events":[{"name":"shipping-option.created","id":"shipping-optioncreated","description":"Emitted when shipping options are created.","payload":"```ts\n{\n id, // The ID of the shipping option\n}\n```","workflows":[{"name":"createShippingOptionsWorkflow","href":"/references/medusa-workflows/createShippingOptionsWorkflow"}],"since":"2.12.4"},{"name":"shipping-option.updated","id":"shipping-optionupdated","description":"Emitted when shipping options are updated.","payload":"```ts\n{\n id, // The ID of the shipping option\n}\n```","workflows":[{"name":"updateShippingOptionsWorkflow","href":"/references/medusa-workflows/updateShippingOptionsWorkflow"}],"since":"2.12.4"},{"name":"shipping-option.deleted","id":"shipping-optiondeleted","description":"Emitted when shipping options are deleted.","payload":"```ts\n{\n id, // The ID of the shipping option\n}\n```","workflows":[{"name":"deleteShippingOptionsWorkflow","href":"/references/medusa-workflows/deleteShippingOptionsWorkflow"}],"since":"2.12.4"}]},{"title":"Shipping Option Type","events":[{"name":"shipping-option-type.updated","id":"shipping-option-typeupdated","description":"Emitted when shipping option types are updated.","payload":"```ts\n{\n id, // The ID of the shipping option type\n}\n```","workflows":[{"name":"updateShippingOptionTypesWorkflow","href":"/references/medusa-workflows/updateShippingOptionTypesWorkflow"}],"since":"2.10.0"},{"name":"shipping-option-type.created","id":"shipping-option-typecreated","description":"Emitted when shipping option types are created.","payload":"```ts\n{\n id, // The ID of the shipping option type\n}\n```","workflows":[{"name":"createShippingOptionTypesWorkflow","href":"/references/medusa-workflows/createShippingOptionTypesWorkflow"}],"since":"2.10.0"},{"name":"shipping-option-type.deleted","id":"shipping-option-typedeleted","description":"Emitted when shipping option types are deleted.","payload":"```ts\n{\n id, // The ID of the shipping option type\n}\n```","workflows":[{"name":"deleteShippingOptionTypesWorkflow","href":"/references/medusa-workflows/deleteShippingOptionTypesWorkflow"}],"since":"2.10.0"}]}]}]} |