Edit an order

Edit an existing order's information using the unique order ID

Path Params
integer
required
Body Params
integer

Change the customer card that will be used for all charges for an order.

string

Email address of the customer. This is what creates a unique customer ID. Note - if using the same email all orders will group to that customer. Only editable until the order is complete.

string

Customer first name. If not passed, the bill_fname value will be used. Only editable until the order is complete.

string

Customer last name. If not passed, the bill_lname value will be used. Only editable until the order is complete.

string

Customer telephone number. Only editable until the order is complete.

integer

Change the customer billing address that will be used for an order.

integer

Change the customer shipping address that will be used for an order.

string

Billing first name. Required when customers_address_billing_id is empty and passing any billing information for the order. Only editable until the order is complete.

string

Billing last name. Required when customers_address_billing_id is empty and passing any billing information for the order. Only editable until the order is complete.

string

Billing address line 1. Required when customers_address_billing_id is empty and passing any billing information for the order. Only editable until the order is complete.

string

Billing address line 2. Only editable until the order is complete.

string

Billing city. Required when customers_address_billing_id is empty and passing any billing information for the order. Only editable until the order is complete.

string

Billing country code 2 letters (example : US). Required when customers_address_billing_id is empty and passing any billing information for the order. Only editable until the order is complete.

string

Billing organization. Only editable until the order is complete.

string

Billing state. Required when customers_address_billing_id is empty and bill_county is US or CA and passing any billing information for the order. Only editable until the order is complete.

string

Billing zipcode. Required when customers_address_billing_id is empty and passing any billing information for the order. Only editable until the order is complete.

boolean

Pass as true to use the same address for billing and shipping. Only one of those is required in that case. Only editable until the order is complete.

string

Shipping first name. Required when customers_address_shipping_id is empty and order has shippable items and passing any shipping information for the order. Only editable until the order is complete.

string

Shipping last name. Required when customers_address_shipping_id is empty and order has shippable items and passing any shipping information for the order. Only editable until the order is complete.

string

Shipping address line 1. Required when customers_address_shipping_id is empty and order has shippable items and passing any shipping information for the order. Only editable until the order is complete.

string

Shipping address line 2. Only editable until the order is complete.

string

Shipping city. Required when customers_address_shipping_id is empty and order has shippable items and passing any shipping information for the order. Only editable until the order is complete.

string

Shipping country code, 2 letters (example : US). Required when customers_address_shipping_id is empty and order has shippable items and passing any shipping information for the order. Only editable until the order is complete.

string

Shipping organization. Only editable until the order is complete.

string

Shipping state. Required when customers_address_shipping_id is empty and order has shippable items and ship_country is US or CA and passing any shipping information for the order. Only editable until the order is complete.

string

Shipping zipcode. Required when customers_address_shipping_id is empty and order has shippable items and passing any shipping information for the order. Only editable until the order is complete.

string

Apply a discount code to the order. Only editable until the order is complete.

integer

Shipping profile to be used to determine shipping logic. Required if shipping profiles are setup on the campaign and there are shippable items on the order and passing any shipping information for the order. Only editable until the order is complete.

string

Apply a discount percentage to an order that will be used for all recurring charges.

date-time

Auto capture date (2025-08-17 00:00:00) in EST.

boolean

Create and associate a cart, if none currently set.

string

Custom Tracking Variable Option 1

string

Custom Tracking Variable Option 2

string

Custom Tracking Variable Option 3

string

Custom Tracking Variable Option 4

string

Custom Tracking Variable Option 5

string

Custom Tracking Variable Option 6

string

Custom Tracking Variable Option 7

string

Custom Tracking Variable Option 8

string

Custom Tracking Variable Option 9

string

Custom Tracking Variable Option 10

string

Custom Tracking Variable Option 11

string

Custom Tracking Variable Option 12

string

Custom Tracking Variable Option 13

string

Custom Tracking Variable Option 14

string

Custom Tracking Variable Option 15

string

Custom Tracking Variable Option 16

string

Custom Tracking Variable Option 17

string

Custom Tracking Variable Option 18

string

Custom Tracking Variable Option 19

string

Custom Tracking Variable Option 20

boolean

Flag an order as a Test Order. Orders will always be flagged as test when using a test credit card.

string

Apply note to the history of this order.

Responses

Language
Credentials
Header
LoadingLoading…
Response
Choose an example:
application/json