Skip to main content
PATCH
Patch order
The PATCH request is used to partially update an existing entity by the given id. This means:
  • Only the fields provided in the request body will be updated.
  • Fields not provided in the request body will remain unchanged.
  • The request is idempotent, meaning multiple identical PATCH requests will always result in the same final state.
Order PATCH
  • Same field names as PUT /v2/orders/{id}, plus status.
  • Omit a field to leave it unchanged. Send "" to clear most strings, shipment_date, and due_date.
  • billing_address, shipping_address, primary_contact: send only fields to change, or id alone to use an existing record.
  • line_items and additional_charges: sending the field replaces the full list; omit to keep it. line_items cannot be [].
  • status: for orders, draft, confirmed, or cancelled; for quotes, draft, submitted, or cancelled. Omit to keep.

Authorizations

X-API-Key
string
header
required

API Key for authentication

Path Parameters

id
string
required

Body

application/json

request

reference_id
string
Maximum string length: 255
Example:

"1234567890"

display_id
string

Display ID. Omit to keep; "" to clear.

Maximum string length: 255
Example:

"1234567890"

customer_id
string
Example:

"12345678-90ab-cdef-1234-567890abcdef"

payment_term
string
Maximum string length: 255
Example:

"Payment Term"

shipping_method
string
Maximum string length: 255
Example:

"Shipping Method"

freight_term
string
Maximum string length: 255
Example:

"Freight Term"

amount
number

Total before discounts, taxes, and shipping.

Example:

100

amount_paid
number
Example:

100

discount_value
number

Discount amount, not a percentage. e.g. 10.00 off 100.00.

Example:

10

tax_value
number

Tax amount, not a percentage. e.g. 10.00 on 100.00.

Example:

10

shipping_charge
number

Shipping amount.

Example:

10

shipment_date
string

RFC3339, after created_at. "" clears.

Example:

"2025-01-01T00:00:00Z"

due_date
string

RFC3339, after created_at. "" clears.

Example:

"2025-01-01T00:00:00Z"

payment_status
enum<string>
Available options:
PAID,
PENDING,
PARTIALLY_PAID,
REFUNDED,
OVERPAID,
VOIDED
Example:

"PAID"

payment_method
string
Maximum string length: 255
Example:

"On Account"

payment_method_id
string
Maximum string length: 255
Example:

"1234567890"

fulfillment_status
enum<string>
Available options:
PARTIALLY_DELIVERED,
UNFULFILLED,
PARTIALLY_FULFILLED,
FULFILLED,
IN_PROGRESS,
DELIVERED
Example:

"PARTIALLY_DELIVERED"

created_at
string
Example:

"2025-01-01T00:00:00Z"

customer_note
string
Example:

"Customer Notes"

internal_note
string
Maximum string length: 255
Example:

"Internal Notes"

updated_at
string

Must be after created_at. Omit to use server time.

Example:

"2025-01-01T00:00:00Z"

status
enum<string>

Orders: draft, confirmed, cancelled. Quotes: draft, submitted, cancelled. Omit to keep. Cannot be cleared.

Available options:
draft,
confirmed,
cancelled,
submitted
Example:

"draft"

source
string

Omit to keep; "" sets openapi.

Example:

"high-point"

po_number
string
Maximum string length: 255
container_info
object
billing_address
object

Send fields to merge, or id alone to use an existing address.

shipping_address
object

Send fields to merge, or id alone to use an existing address.

primary_contact
object

Send fields to merge, or id alone to use an existing contact.

line_items
object[]

Complete replacement list. Omit to keep. Cannot be [].

attributes
object[]

Merge by name. Omit to keep all; [] is a no-op.

additional_charges
object[]

Extra charges besides tax, discount, and shipping. Complete replacement list; omit to keep. [] clears extras.

Response

OK

data
object