User Module Events Reference

This reference shows all the events emitted by the Medusa application related to the User Module. If you use the module outside the Medusa application, these events aren't emitted.

Invite Events#

Event NameDescriptionPayload

invite.accepted

Emitted when an invite is accepted.

{
  id, // The ID of the invite
}

invite.created

Emitted when invites are created.

[{
  id, // The ID of the invite
}]

invite.deleted

Emitted when invites are deleted.

[{
  id, // The ID of the invite
}]

invite.resent

Emitted when invites are resent.

[{
  id, // The ID of the invite
}]

User Events#

Event NameDescriptionPayload

user.created

Emitted when users are created.

[{
  id, // The ID of the user
}]

user.updated

Emitted when users are updated.

[{
  id, // The ID of the user
}]

user.deleted

Emitted when users are deleted.

[{
  id, // The ID of the user
}]
Was this page helpful?
Edit this page
Ask Anything
FAQ
What is Medusa?
How can I create a module?
How can I create a data model?
How do I create a workflow?
How can I extend a data model in the Product Module?
Recipes
How do I build a marketplace with Medusa?
How do I build digital products with Medusa?
How do I build subscription-based purchases with Medusa?
What other recipes are available in the Medusa documentation?
Chat is cleared on refresh
Line break