Skip to main content
Skip to main content

OrderItemChange

An order item change is a change made within an order edit to an order's items. These changes are not reflected on the original order until the order edit is confirmed.

Constructors

constructor

new OrderItemChange()

An order item change is a change made within an order edit to an order's items. These changes are not reflected on the original order until the order edit is confirmed.

Properties

created_atDateRequired
The date with timezone at which the resource was created.
deleted_atnull | DateRequired
The date with timezone at which the resource was deleted.
idstringRequired
The order item change's ID
line_itemLineItem
The details of the resulting line item after the item change. This line item is then used in the original order once the order edit is confirmed.
line_item_idstring
The ID of the cloned line item.
order_editOrderEditRequired
The details of the order edit the item change is associated with.
order_edit_idstringRequired
The ID of the order edit
original_line_itemLineItem
The details of the original line item this item change references. This is used if the item change updates or deletes the original item.
original_line_item_idstring
The ID of the original line item in the order
The order item change's status
updated_atDateRequired
The date with timezone at which the resource was updated.

Methods

beforeInsert

Private beforeInsert(): void

Returns

void

voidvoid
Was this section helpful?