www/apps/resources/references/module_events/module_events.Fulfillment/page.mdx
import { TypeList } from "docs-ui"
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.
<EventHeader headerLvl="3" headerProps={{ id: "shipmentcreated", children: (<>shipment.created</>), className: "flex flex-wrap justify-center gap-docs_0.25" }} eventName="shipment.created" payload={\``ts
{
id, // the ID of the fulfillment
no_notification, // (boolean) whether to notify the customer
}
````} />
Emitted when a shipment is created for an order.
{
id, // the ID of the fulfillment
no_notification, // (boolean) whether to notify the customer
}
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.
<EventHeader headerLvl="3" headerProps={{ id: "deliverycreated", children: (<>delivery.created</>), className: "flex flex-wrap justify-center gap-docs_0.25" }} eventName="delivery.created" payload={\``ts
{
id, // the ID of the fulfillment
}
````} />
Emitted when a fulfillment is marked as delivered.
{
id, // the ID of the fulfillment
}
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.
<EventHeader headerLvl="3" headerProps={{ id: "shipping-option-typeupdated", children: (<>shipping-option-type.updated
<Tooltip text="This event was added in version v2.10.0">
<Badge variant="blue">v2.10.0</Badge>
</Tooltip></>), className: "flex flex-wrap justify-center gap-docs_0.25" }} eventName="shipping-option-type.updated" payload={\``ts
{
id, // The ID of the shipping option type
}
````} />
Emitted when shipping option types are updated.
{
id, // The ID of the shipping option type
}
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.
<EventHeader headerLvl="3" headerProps={{ id: "shipping-option-typecreated", children: (<>shipping-option-type.created
<Tooltip text="This event was added in version v2.10.0">
<Badge variant="blue">v2.10.0</Badge>
</Tooltip></>), className: "flex flex-wrap justify-center gap-docs_0.25" }} eventName="shipping-option-type.created" payload={\``ts
{
id, // The ID of the shipping option type
}
````} />
Emitted when shipping option types are created.
{
id, // The ID of the shipping option type
}
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.
<EventHeader headerLvl="3" headerProps={{ id: "shipping-option-typedeleted", children: (<>shipping-option-type.deleted
<Tooltip text="This event was added in version v2.10.0">
<Badge variant="blue">v2.10.0</Badge>
</Tooltip></>), className: "flex flex-wrap justify-center gap-docs_0.25" }} eventName="shipping-option-type.deleted" payload={\``ts
{
id, // The ID of the shipping option type
}
````} />
Emitted when shipping option types are deleted.
{
id, // The ID of the shipping option type
}
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.
<EventHeader headerLvl="3" headerProps={{ id: "shipping-optioncreated", children: (<>shipping-option.created
<Tooltip text="This event was added in version v2.12.4">
<Badge variant="blue">v2.12.4</Badge>
</Tooltip></>), className: "flex flex-wrap justify-center gap-docs_0.25" }} eventName="shipping-option.created" payload={\``ts
{
id, // The ID of the shipping option
}
````} />
Emitted when shipping options are created.
{
id, // The ID of the shipping option
}
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.
<EventHeader headerLvl="3" headerProps={{ id: "shipping-optionupdated", children: (<>shipping-option.updated
<Tooltip text="This event was added in version v2.12.4">
<Badge variant="blue">v2.12.4</Badge>
</Tooltip></>), className: "flex flex-wrap justify-center gap-docs_0.25" }} eventName="shipping-option.updated" payload={\``ts
{
id, // The ID of the shipping option
}
````} />
Emitted when shipping options are updated.
{
id, // The ID of the shipping option
}
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.
<EventHeader headerLvl="3" headerProps={{ id: "shipping-optiondeleted", children: (<>shipping-option.deleted
<Tooltip text="This event was added in version v2.12.4">
<Badge variant="blue">v2.12.4</Badge>
</Tooltip></>), className: "flex flex-wrap justify-center gap-docs_0.25" }} eventName="shipping-option.deleted" payload={\``ts
{
id, // The ID of the shipping option
}
````} />
Emitted when shipping options are deleted.
{
id, // The ID of the shipping option
}
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.