docs: fix events payloads (#14131)

This commit is contained in:
Shahed Nasser authored and GitHub committed 2025-11-26 16:12:00 +02:00
1 parent c1ede88a7e
commit c3cebdfe80
139 files changed
+1057 -904

No files matched your search

@@ -234,12 +234,12 @@ export default async function inviteCreatedHandler({
export const config: SubscriberConfig = {
event: [
"invite.created",
"invite.resend",
"invite.resent",
],
}
```
This subscriber listens for the `invite.created` and `invite.resend` events. When triggered, it:
This subscriber listens for the `invite.created` and `invite.resent` events. When triggered, it:
1. Retrieves the store name and invite details.
2. Constructs the invite URL. Invites to the admin dashboard are at the `/admin/invite` path and include the invite token as a `token` query parameter.