createInviteStep - Medusa Core Workflows Reference
This documentation provides a reference to the createInviteStep
. It belongs to the @medusajs/medusa/core-flows
package.
This step creates one or more invites.
Example#
Input#
CreateInviteDTO[]
CreateInviteDTO[]
CreateInviteDTO[]
CreateInviteDTO[]email
stringThe email of the invite.
email
stringaccepted
booleanOptionalWhether the invite is accepted.
accepted
booleanOptionalmetadata
null | Record<string, unknown>OptionalHolds custom data in key-value pairs.
metadata
null | Record<string, unknown>OptionalOutput#
InviteDTO[]
InviteDTO[]
InviteDTO[]
InviteDTO[]id
stringThe ID of the invite.
id
stringemail
stringThe email of the invite.
email
stringaccepted
booleanWhether the invite is accepted.
accepted
booleantoken
stringThe token of the invite.
token
stringexpires_at
DateThe invite's expiry date.
expires_at
Datemetadata
null | Record<string, unknown>Holds custom data in key-value pairs.
metadata
null | Record<string, unknown>created_at
DateThe invite's creation date.
created_at
Dateupdated_at
DateThe invite's update date.
updated_at
Datedeleted_at
null | DateThe invite's deletion date.
deleted_at
null | DateWas this page helpful?