Skip to main content
Skip to main content

OrderEdit

Order edit allows modifying items in an order, such as adding, updating, or deleting items from the original order. Once the order edit is confirmed, the changes are reflected on the original order.

Properties

canceled_atDate
The date with timezone at which the edit was cancelled.
canceled_bystring
The unique identifier of the user or customer who cancelled the order edit.
changesOrderItemChange[]Required
The details of all the changes on the original order's line items.
confirmed_atDate
The date with timezone at which the edit was confirmed.
confirmed_bystring
The unique identifier of the user or customer who confirmed the order edit.
created_atDateRequired
The date with timezone at which the resource was created.
created_bystringRequired
The unique identifier of the user or customer who created the order edit.
declined_atDate
The date with timezone at which the edit was declined.
declined_bystring
The unique identifier of the user or customer who declined the order edit.
declined_reasonstring
An optional note why the order edit is declined.
difference_duenumberRequired
The difference between the total amount of the order and total amount of edited order.
discount_totalnumberRequired
The total of discount
gift_card_tax_totalnumberRequired
The total of the gift card tax amount
gift_card_totalnumberRequired
The total of the gift card amount
idstringRequired
The order edit's ID
internal_notestring
An optional note with additional details about the order edit.
itemsLineItem[]Required
The details of the cloned items from the original order with the new changes. Once the order edit is confirmed, these line items are associated with the original order.
orderOrderRequired
The details of the order that this order edit was created for.
order_idstringRequired
The ID of the order that is edited
payment_collectionPaymentCollectionRequired
The details of the payment collection used to authorize additional payment if necessary.
payment_collection_idstringRequired
The ID of the payment collection
requested_atDate
The date with timezone at which the edit was requested.
requested_bystring
The unique identifier of the user or customer who requested the order edit.
shipping_totalnumberRequired
The total of the shipping amount
statusOrderEditStatusRequired
The status of the order edit.
subtotalnumberRequired
The total of subtotal
tax_totalnull | numberRequired
The total of tax
totalnumberRequired
The total amount of the edited order.
updated_atDateRequired
The date with timezone at which the resource was updated.
Was this section helpful?