User
A User is an administrator who can manage store settings and data.
Constructors
constructor
**new User**()
A User is an administrator who can manage store settings and data.
Properties
api_tokenstringRequiredAn API token associated with the user.
created_atDateRequiredThe date with timezone at which the resource was created.
deleted_atnull | DateRequiredThe date with timezone at which the resource was deleted.
emailstringRequiredThe email of the User
first_namestringRequiredThe first name of the User
idstringRequiredThe user's ID
last_namestringRequiredThe last name of the User
metadataRecord<string, unknown>RequiredAn optional key-value map with additional details
password_hashstringRequiredThe user's role. These roles don't provide any different privileges.
Default: member
updated_atDateRequiredThe date with timezone at which the resource was updated.
Methods
beforeInsert
Private **beforeInsert**(): void
Returns
void
voidvoidWas this section helpful?