Note
A Note is an element that can be used in association with different resources to allow admin users to describe additional information. For example, they can be used to add additional information about orders.
Constructors
constructor
**new Note**()
A Note is an element that can be used in association with different resources to allow admin users to describe additional information. For example, they can be used to add additional information about orders.
Properties
The details of the user that created the note.
author_idstringRequiredThe ID of the user that created the note.
created_atDateRequiredThe date with timezone at which the resource was created.
deleted_atnull | DateRequiredThe date with timezone at which the resource was deleted.
idstringRequiredThe note's ID
metadataRecord<string, unknown>RequiredAn optional key-value map with additional details
resource_idstringRequiredThe ID of the resource that the Note refers to.
resource_typestringRequiredThe type of resource that the Note refers to.
updated_atDateRequiredThe date with timezone at which the resource was updated.
valuestringRequiredThe contents of the note.
Methods
beforeInsert
Private **beforeInsert**(): void
Returns
void
voidvoidWas this section helpful?