Skip to main content

Interface: OrderRevision

Defined in: type/OrderRevision.ts:9

Version control record for order modifications

  • Represents a specific version of an order at a point in time, including complete snapshot data and metadata about who created the revision and when. Used for audit trails, rollback capabilities, and tracking order evolution.

Properties​

createdAt​

createdAt: string

Defined in: type/OrderRevision.ts:23

Date and time when this revision was created


createdByAdminUser?​

optional createdByAdminUser?: AdminUser

Defined in: type/OrderRevision.ts:21

Admin user that created the revision


createdByAdminUserId?​

optional createdByAdminUserId?: number

Defined in: type/OrderRevision.ts:19

ID of the admin user who created this revision


createdByContact?​

optional createdByContact?: Contact

Defined in: type/OrderRevision.ts:29

Contact that created the revision


createdByContactId?​

optional createdByContactId?: number

Defined in: type/OrderRevision.ts:15

ID of the contact who created this revision


createdByCustomer?​

optional createdByCustomer?: Customer

Defined in: type/OrderRevision.ts:31

Customer that created the revision


createdByCustomerId?​

optional createdByCustomerId?: number

Defined in: type/OrderRevision.ts:17

ID of the customer who created this revision


createdFromRevisionNumber?​

optional createdFromRevisionNumber?: number

Defined in: type/OrderRevision.ts:25

The revision this was created from


orderId​

orderId: number

Defined in: type/OrderRevision.ts:11

ID of the order this revision belongs to


revisionNumber​

revisionNumber: number

Defined in: type/OrderRevision.ts:13

Revision number


snapshot​

snapshot: Order

Defined in: type/OrderRevision.ts:27

Complete snapshot of the order data at the time this revision was created