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_id
stringRequiredThe ID of the user that created the note.
created_at
DateRequiredThe date with timezone at which the resource was created.
deleted_at
null | DateRequiredThe date with timezone at which the resource was deleted.
id
stringRequiredThe note's ID
metadata
Record<string, unknown>RequiredAn optional key-value map with additional details
resource_id
stringRequiredThe ID of the resource that the Note refers to.
resource_type
stringRequiredThe type of resource that the Note refers to.
updated_at
DateRequiredThe date with timezone at which the resource was updated.
value
stringRequiredThe contents of the note.
Methods
beforeInsert
Private **beforeInsert**(): void
Returns
void
void
voidWas this section helpful?