Order Module Events Reference
This reference shows all the events emitted by the Medusa application related to the Order Module. If you use the module outside the Medusa application, these events aren't emitted.
Order Events#
Summary#
Event | Description |
---|---|
Emitted when the details of an order or draft order is updated. This doesn't include updates made by an edit. | |
Emitted when an order is placed, or when a draft order is converted to an order. | |
Emitted when an order is canceld. | |
Emitted when orders are completed. | |
Emitted when an order is archived. | |
Emitted when a fulfillment is created for an order. | |
Emitted when an order's fulfillment is canceled. | |
Emitted when a return request is confirmed. | |
Emitted when a return is marked as received. | |
Emitted when a claim is created for an order. | |
Emitted when an exchange is created for an order. | |
Emitted when an order is requested to be transferred to another customer. |
order.updated#
Emitted when the details of an order or draft order is updated. This doesn't include updates made by an edit.
Payload
Workflows Emitting this Event
The following workflows emit this event when they're executed. These workflows are executed by Medusa's API routes. You can also view the events emitted by API routes in the Store and Admin API references.
order.placed#
Emitted when an order is placed, or when a draft order is converted to an order.
Payload
Workflows Emitting this Event
The following workflows emit this event when they're executed. These workflows are executed by Medusa's API routes. You can also view the events emitted by API routes in the Store and Admin API references.
order.canceled#
Emitted when an order is canceld.
Payload
Workflows Emitting this Event
The following workflows emit this event when they're executed. These workflows are executed by Medusa's API routes. You can also view the events emitted by API routes in the Store and Admin API references.
order.completed#
Emitted when orders are completed.
Payload
Workflows Emitting this Event
The following workflows emit this event when they're executed. These workflows are executed by Medusa's API routes. You can also view the events emitted by API routes in the Store and Admin API references.
order.archived#
Emitted when an order is archived.
Payload
Workflows Emitting this Event
The following workflows emit this event when they're executed. These workflows are executed by Medusa's API routes. You can also view the events emitted by API routes in the Store and Admin API references.
order.fulfillment_created#
Emitted when a fulfillment is created for an order.
Payload
Workflows Emitting this Event
The following workflows emit this event when they're executed. These workflows are executed by Medusa's API routes. You can also view the events emitted by API routes in the Store and Admin API references.
order.fulfillment_canceled#
Emitted when an order's fulfillment is canceled.
Payload
Workflows Emitting this Event
The following workflows emit this event when they're executed. These workflows are executed by Medusa's API routes. You can also view the events emitted by API routes in the Store and Admin API references.
order.return_requested#
Emitted when a return request is confirmed.
Payload
Workflows Emitting this Event
The following workflows emit this event when they're executed. These workflows are executed by Medusa's API routes. You can also view the events emitted by API routes in the Store and Admin API references.
order.return_received#
Emitted when a return is marked as received.
Payload
Workflows Emitting this Event
The following workflows emit this event when they're executed. These workflows are executed by Medusa's API routes. You can also view the events emitted by API routes in the Store and Admin API references.
order.claim_created#
Emitted when a claim is created for an order.
Payload
Workflows Emitting this Event
The following workflows emit this event when they're executed. These workflows are executed by Medusa's API routes. You can also view the events emitted by API routes in the Store and Admin API references.
order.exchange_created#
Emitted when an exchange is created for an order.
Payload
Workflows Emitting this Event
The following workflows emit this event when they're executed. These workflows are executed by Medusa's API routes. You can also view the events emitted by API routes in the Store and Admin API references.
order.transfer_requested#
Emitted when an order is requested to be transferred to another customer.
Payload
Workflows Emitting this Event
The following workflows emit this event when they're executed. These workflows are executed by Medusa's API routes. You can also view the events emitted by API routes in the Store and Admin API references.
Order Edit Events#
Summary#
Event | Description |
---|---|
order-edit.requested v2.8.0 | Emitted when an order edit is requested. |
order-edit.confirmed v2.8.0 | Emitted when an order edit request is confirmed. |
order-edit.canceled v2.8.0 | Emitted when an order edit request is canceled. |
order-edit.requestedv2.8.0#
Emitted when an order edit is requested.
Payload
Workflows Emitting this Event
The following workflows emit this event when they're executed. These workflows are executed by Medusa's API routes. You can also view the events emitted by API routes in the Store and Admin API references.
order-edit.confirmedv2.8.0#
Emitted when an order edit request is confirmed.
Payload
Workflows Emitting this Event
The following workflows emit this event when they're executed. These workflows are executed by Medusa's API routes. You can also view the events emitted by API routes in the Store and Admin API references.
order-edit.canceledv2.8.0#
Emitted when an order edit request is canceled.
Payload
Workflows Emitting this Event
The following workflows emit this event when they're executed. These workflows are executed by Medusa's API routes. You can also view the events emitted by API routes in the Store and Admin API references.