Confirm an order edit request and apply the changes on the order.
curl --location -g --request POST '{{BASE_URL}}/admin/order-edits//confirm'
Response Response Example
Responses
The preview of an order edit.
order_preview
object (AdminOrderPreview)Â
requiredA preview of an order if a change, such as exchange, return, edit, or claim is applied on it.
order_change
object (AdminOrderChange)Â
requiredThe order change's details.
shipping_address
object (AdminOrderAddress)Â
optionalbilling_address
object (AdminOrderAddress)Â
optionalsummary
object (BaseOrderSummary)Â
requiredThe order's summary details.
customer
object (AdminCustomer)Â
optionalsales_channel
object (AdminSalesChannel)Â
optionalThe sales channel's details.
region
object (AdminRegion)Â
optionalreturn_requested_total
numberÂ
requiredThe total of the requested return.
The order's currency code.
The order's version when this preview is applied.
The ID of the order's associated region.
The ID of the customer that placed the order.
The ID of the sales channel that the order was placed in.
The email of the customer that placed the order.
payment_collections
array[object (AdminPaymentCollection) {14}]Â
requiredThe order's payment collections.
fulfillments
array[object (AdminOrderFulfillment) {13}]Â
optionalThe order's fulfillments.
transactions
array[object (BaseOrderTransaction) {9}]Â
optionalThe order's transactions.
The order's metadata, can hold custom key-value pairs.
created_at
string <date-time>
requiredThe date the order was created.
updated_at
string <date-time>
requiredThe date the order was updated.
original_item_total
numberÂ
requiredThe total of the order's items including taxes, excluding promotions.
original_item_subtotal
numberÂ
requiredThe total of the order's items excluding taxes, including promotions.
original_item_tax_total
numberÂ
requiredThe tax total of the order's items excluding promotions.
The total of the order's items including taxes and promotions.
The total of the order's items excluding taxes, including promotions.
The tax total of the order's items including promotions.
The order's total excluding promotions, including taxes.
The order's total excluding taxes, including promotions.
original_tax_total
numberÂ
requiredThe order's tax total, excluding promotions.
The order's total including taxes and promotions.
The order's total excluding taxes, including promotions.
The order's tax total including promotions.
The order's discount or promotions total.
discount_tax_total
numberÂ
requiredThe tax total of order's discount or promotion.
The order's gift card total.
gift_card_tax_total
numberÂ
requiredThe tax total of the order's gift card.
The order's shipping total including taxes and promotions.
The order's shipping total excluding taxes, including promotions.
shipping_tax_total
numberÂ
requiredThe tax total of the order's shipping.
original_shipping_total
numberÂ
requiredThe order's shipping total including taxes, excluding promotions.
original_shipping_subtotal
numberÂ
requiredThe order's shipping total excluding taxes, including promotions.
original_shipping_tax_total
numberÂ
requiredThe tax total of the order's shipping excluding promotions.
credit_lines
array[object (OrderCreditLine) {9}]Â
optionalThe order preview's credit lines.
payment_status
enum<string>Â
requiredThe order's payment status.
Allowed values:cancelednot_paidawaitingauthorizedpartially_authorizedcapturedpartially_capturedpartially_refundedrefundedrequires_action
fulfillment_status
enum<string>Â
requiredThe order's fulfillment status.
Allowed values:cancelednot_fulfilledpartially_fulfilledfulfilledpartially_shippedshippedpartially_delivereddelivered
shipping_methods
array [object {22}]Â
optionalThe order's shipping methods.
items
array [object {44}]Â
optionalModified at 2025-06-17 04:10:32