Loading...
Was this page helpful?
This documentation provides a reference to the createUsersStep
. It belongs to the @medusajs/medusa/core-flows
package.
This step creates one or more users. To allow these users to log in, you must attach an auth identity to each user using the setAuthAppMetadataStep.
CreateUserDTO[]
CreateUserDTO[]email
stringfirst_name
null | stringOptionallast_name
null | stringOptionalavatar_url
null | stringOptionalmetadata
null | Record<string, unknown>OptionalUserDTO[]
UserDTO[]id
stringemail
stringfirst_name
null | stringlast_name
null | stringavatar_url
null | stringmetadata
null | Record<string, unknown>created_at
Dateupdated_at
Datedeleted_at
null | Date