Update Order
Authentication
Path parameters
Request
The value of the base handling cost. The value can’t be negative. (Float, Float-As-String, Integer)
The value of the base shipping cost. The value can’t be negative. (Float, Float-As-String, Integer)
Shows where the order originated. The channel_id defaults to 1. The value must match the ID of a valid and enabled channel. If the ID refers to a non-existing or disconnected channel, the POST and PUT /v2/orders endpoints return a validation error.
Message that the customer entered (number, options) -o the Order Comments box during checkout.
The date the order was created, formatted in the RFC-2822 standard. You set this attribute on Order creation (POST) to support the migration of historical orders. If you do not provide a value, then it will default to the current date/time. e.g., Tue, 20 Nov 2012 00:00:00 +0000.
Amount of discount for this transaction. The value can’t be negative. (Float, Float-As-String, Integer)
The order_source reflects the origin of the order. It will indicate whether the order was created by one of the following:
- storefront
- control panel
- manual order
- /v2/orders API
- Checkout API
- or by an integration with an external platform such as Facebook by Meta or Amazon.
If the order was placed through eBay, the eBay order number will be included. Otherwise, the value will be 0.
The merchant ID represents an upstream order from an external system. It is the source of truth for orders. After setting it, you cannot write to or update the external_merchant_id. For example, you can update the Facebook by Meta page ID in a POST request, but a PUT request to update the order will return a 400 error. Please remove it from your request before trying again.
This value identifies an external system that generated the order and submitted it to BigCommerce with the Orders API.
- When supplying the value, we recommend combining the type of system and vendor, e.g., ERP (Acumatica) or POS (Square).
- If you are migrating historical orders processed on another eCommerce platform to BigCommerce, supply the following code as the value: M-MIG. This code will exclude historical orders from the store’s GMV/order count, which factors into pricing. Also, this code will not affect the
total_soldon products for imported orders. - If you do not provide a value, then it will default to null.
The value of the handling cost, excluding tax. The value can’t be negative. (Float, Float-As-String, Integer)
The value of the handling cost, including tax. The value can’t be negative. (Float, Float-As-String, Integer)
IPv4 Address of the customer, if known.
Note: You can set either ip_address or ip_address_v6. Setting the ip_address value will reset the ip_address_v6 value and vice versa.
IPv6 Address of the customer, if known.
Note: You can set either ip_address or ip_address_v6. Setting the ip_address_v6 value will reset the ip_address value and vice versa.
The payment method for this order. For example, Manual, Credit Card, Cash,Test Payment Gateway, etc.
The external Transaction ID/Payment ID within this order’s payment provider (if a payment provider was used).
The amount refunded from this transaction; always returns 0. The value can’t be negative. (Float, Float-As-String, Integer)
The value of shipping cost, excluding tax. The value can’t be negative. (Float, Float-As-String, Integer)
The value of shipping cost, including tax. The value can’t be negative. (Float, Float-As-String, Integer)
Override value for subtotal excluding tax. The value can’t be negative. If specified, the field subtotal_inc_tax is also required. (Float, Float-As-String, Integer)
Override value for subtotal including tax. The value can’t be negative. If specified, the field subtotal_ex_tax is also required. (Float, Float-As-String, Integer)
Read-only. BasicTaxProvider - Tax is set to manual and order is created in the store.
AvaTaxProvider - Tax is set to automatic and order is created in the store. Used for Avalara.
"" (empty string) - The order is created with the API, or the tax provider is unknown.
The customer’s locale. The supported formats are:
- 2-char lowercase characters. e.g.,
en - 3-char lowercase characters. e.g.,
asa - 5-char the language code is 2 lowercase characters and the region code is 2 uppercase characters, with
-in the middle. e.g.,en-US - 6-char the language code is 2 lowercase character and the region code is three digit number, with
-in the middle. e.g.,es-419
Override value for the total, excluding tax. If specified, the field total_inc_tax is also required. The value can’t be negative. (Float, Float-As-String, Integer)
Override value for the total, including tax. If specified, the field total_ex_tax is also required. The value can’t be negative. (Float, Float-As-String, Integer)
The value of the wrapping cost, excluding tax. The value can’t be negative. (Float, Float-As-String, Integer)
The value of the wrapping cost, including tax. The value can’t be negative. (Float, Float-As-String, Integer)
Response
The value of the base handling cost. The value can’t be negative. (Float, Float-As-String, Integer)
The value of the base shipping cost. The value can’t be negative. (Float, Float-As-String, Integer)
The cart ID from which this order originated, if applicable. Correlates with the Cart API. This is a read-only field; do not set or modify its value in a POST or PUT request.
Shows where the order originated. The channel_id defaults to 1. The value must match the ID of a valid and enabled channel. If the ID refers to a non-existing or disconnected channel, the POST and PUT /v2/orders endpoints return a validation error.
A read-only value. Do not pass in a POST or PUT request. (Float, Float-As-String, Integer)
The currency code of the display currency used to present prices to the shopper on the storefront. Depending on the currency selected, the value can be different from the transactional currency. A read-only value. Do not pass in a POST or PUT request.
The exchange rate between the store’s default currency and the display currency. A read-only value. Do not pass in a POST or PUT request. For orders created using the V2 endpoints, this value is always 1 (only in the storefront this value can be different to 1). (Float, Float-As-String, Integer)
The display currency ID. Depending on the currency selected, the value can be different from the transactional currency. A read-only value. Do not pass in a POST or PUT request. In v2 display currency is set to the transactional currency, ”default_currency_id”.
The customer’s locale. The supported formats are:
- 2-char lowercase characters. e.g.,
en - 3-char lowercase characters. e.g.,
asa - 5-char the language code is 2 lowercase characters and the region code is 2 uppercase characters, with
-in the middle. e.g.,en-US - 6-char the language code is 2 lowercase character and the region code is three digit number, with
-in the middle. e.g.,es-419
Message that the customer entered (number, options) -o the Order Comments box during checkout.
The date the order was created, formatted in the RFC-2822 standard. You set this attribute on Order creation (POST) to support the migration of historical orders. If you do not provide a value, then it will default to the current date/time. e.g., Tue, 20 Nov 2012 00:00:00 +0000. This date time is always in UTC in the api response.
A read-only value representing the last modification of the order. Do not attempt to modify or set this value in a POST or PUT request. RFC-2822. This date time is always in UTC in the api response.
A read-only value representing the date when the order is fully shipped. Do not attempt to modify or set this value in a POST or PUT request. RFC-2822
The transactional currency ID. A read-only value. Do not pass in a POST or PUT request.
Amount of discount for this transaction. The value can’t be negative. (Float, Float-As-String, Integer)
If the order was placed through eBay, the eBay order number will be included. Otherwise, the value will be 0.
(Read-only) The order ID in another system, such as the Amazon order ID if this is an Amazon order.
The merchant ID represents an upstream order from an external system. It is the source of truth for orders. After setting it, you cannot write to or update the external_merchant_id. For example, you can update the Facebook by Meta page ID in a POST request, but a PUT request to update the order will return a 400 error. Please remove it from your request before trying again.
This value identifies an external system that generated the order and submitted it to BigCommerce with the Orders API.
- When supplying the value, we recommend combining the type of system and vendor, e.g., ERP (Acumatica) or POS (Square).
- If you are migrating historical orders processed on another eCommerce platform to BigCommerce, supply the following code as the value: M-MIG. This code will exclude historical orders from the store’s GMV/order count, which factors into pricing.
- If you do not provide a value, then it will default to null.
A read-only value. Do not pass in a POST or PUT request. (Float, Float-As-String, Integer)
The value of the handling cost, excluding tax. The value can’t be negative. (Float, Float-As-String, Integer)
The value of the handling cost, including tax. The value can’t be negative. (Float, Float-As-String, Integer)
A read-only value. Do not attempt to modify or set this value in a POST or PUT request. (Float, Float-As-String, Integer)
A read-only value. Do not attempt to set or modify this value in a POST or PUT request.
(NOTE: Value ignored if automatic tax is enabled on the store.)
Read-only. The ID of the order.
IPv4 Address of the customer, if known.
Note: You can set either ip_address or ip_address_v6. Setting the ip_address value will reset the ip_address_v6 value and vice versa.
IPv6 Address of the customer, if known.
Note: You can set either ip_address or ip_address_v6. Setting the ip_address_v6 value will reset the ip_address value and vice versa.
Indicates whether the order is deleted/archived. When set to true in a PUT request, it has the same result as the DELETE an order request.
Indicates whether the shopper has selected an opt-in check box (on the checkout page) to receive emails. A read-only value. Do not pass in a POST or PUT.
Indicate whether the order’s base prices include tax.
If true, the base prices are inclusive of tax, and the values of subtotal_inc_tax, shipping_cost_inc_tax, handling_cost_inc_tax, wrapping_cost_inc_tax and total_inc_tax are not estimated but actual values and can be reliable for accounting purposes.
If false, the base prices are exclusive of tax, and the values of subtotal_ex_tax, shipping_cost_ex_tax, handling_cost_ex_tax, wrapping_cost_ex_tax and total_ex_tax are not estimated but actual values and can be reliable for accounting purposes.
Reflects the origin of the order. It can affect the order’s icon and source as defined in the control panel listing.
Allowed values: www (Desktop) | iphone (Iphone) | ipad (Ipad) | android (Android) | mobile (Mobile) | manual (manual order) | external (Orders API) | checkout_api (Checkout API) | buybutton (Buy Button) | amazon (Amazon) | ebay (Ebay) | facebookshop (Facebook Shop) | facebookcheckout (Facebook Checkout) | facebookmarketplace (Facebook Marketplace) | pinterest (Pinterest) | socialshop (Social Shop)
The payment method for this order. For example, Manual, Credit Card, cash, Test Payment Gateway, etc.
The external Transaction ID/Payment ID within this order’s payment provider (if a payment provider was used).
A read-only value. Do not attempt to set or modify this value in a POST or PUT request.
The amount refunded from this transaction; always returns 0. The value can’t be negative. (Float, Float-As-String, Integer)
The number of shipping addresses associated with this transaction. A read-only value. Do not pass in a POST or PUT.
The value of shipping cost, excluding tax. When specified in a POST or PUT request, the field shipping_cost_inc_tax is also required. The value can’t be negative (Float, Float-As-String, Integer)
The value of shipping cost, including tax. When specified in a POST or PUT request, the field shipping_cost_ex_tax is also required. The value can’t be negative. (Float, Float-As-String, Integer)
A read-only value. Do not attempt to modify or set this value in a POST or PUT request. (Float, Float-As-String, Integer)
Shipping-cost tax class. A read-only value. Do not attempt to modify or set this value in a POST or PUT request. (NOTE: Value ignored if automatic tax is enabled on the store.)
The status will include one of the (string, options) - values defined under Order Statuses. This value is read-only. Do not attempt to modify or set this value in a POST or PUT operation.
Represents the store credit that the shopper has redeemed on this individual order. This is a read-only value. Do not pass in a POST or PUT request. (Float, Float-As-String, Integer)
The currency code of the storeʼs default currency.
The exchange rate between the storeʼs default currency and the transactional currency used in the order.
Override value for subtotal excluding tax. The value can’t be negative. If specified, the field subtotal_inc_tax is also required. (Float, Float-As-String, Integer)
Override value for subtotal including tax. The value can’t be negative. If specified, the field subtotal_ex_tax is also required. (Float, Float-As-String, Integer)
A read-only value. Do not attempt to set or modify this value in a POST or PUT request. (Float, Float-As-String, Integer)
Read-only. BasicTaxProvider - Tax is set to manual and order is created in the store.
AvaTaxProvider - Tax is set to automatic and order is created in the store. Used for Avalara.
"" (empty string) - The order is created with the API, or the tax provider is unknown.
Override value for the total, excluding tax. If specified, the field total_inc_tax is also required. The value can’t be negative. (Float, Float-As-String, Integer)
Override value for the total, including tax. If specified, the field total_ex_tax is also required. The value can’t be negative. (Float, Float-As-String, Integer)
The value of the wrapping cost, excluding tax. The value can’t be negative. (Float, Float-As-String, Integer)
The value of the wrapping cost, including tax. The value can’t be negative. (Float, Float-As-String, Integer)
A read-only value. Do not attempt to modify or set this value in a POST or PUT request. (Float, Float-As-String, Integer)
A read-only value. Do not attempt to set or modify this value in a POST or PUT request.
NOTE: Value ignored if automatic tax is enabled on the store.