Skip to main content
Skip to main content

Invite

An invite is created when an admin user invites a new user to join the store's team. Once the invite is accepted, it's deleted.

Properties

idstringRequired
The invite's ID
created_atDateRequired
The date with timezone at which the resource was created.
updated_atDateRequired
The date with timezone at which the resource was updated.
deleted_atnull | DateRequired
The date with timezone at which the resource was deleted.
user_emailstringRequired
The email of the user being invited.
roleUserRolesRequired
The user's role. These roles don't change the privileges of the user.

Default: member

acceptedbooleanRequired
Whether the invite was accepted or not.

Default: false

tokenstringRequired
The token used to accept the invite.
expires_atDateRequired
The date the invite expires at.
metadataRecord<string, unknown>Required
An optional key-value map with additional details
Was this section helpful?