Skip to content
Get API key (opens in a new tab)

Orders

Update order

Updates a specific order. Buyer details are fixed at creation; including buyer returns 422.

PATCHhttps://api.cevoid.com/v2/orders/{id}

Authorizations

Authorizationbearer tokenheaderrequired

Send Authorization: Bearer <key>, where the key is your API key.

Path parameters

idstringrequired

Cevoid order ID.

  • Length: 1 to 255
  • Example: ord_abc123

Headers

idempotency-keystringrequired

Caller-generated key retained for seven days. An identical retry replays the original response; reuse for a different request returns 409.

  • Length: 1 to 255
  • Example: 01J3RZ0D4Q6J9T1R8M6E2P7W8X

Body

application/json

ingestion_modeenum<string>

Omit to preserve the current mode. Historical suppresses automatic Flows; live allows new fulfillment or delivery transitions to trigger Flows. Changing only the mode does not replay past transitions or enable purchase incentives for imported orders.

  • Allowed values: live historical
  • Example: live
moneyobject
Properties (6)
totalnumber

New declared order total in the order currency.

  • Range: 0 <= x
  • Example: 50
sub_totalnumber

New merchandise subtotal before order-level discount, tax, and shipping.

  • Range: 0 <= x
  • Example: 45
discountnumber

New order-level discount total.

  • Range: 0 <= x
  • Example: 5
taxnumber

New order-level tax total.

  • Range: 0 <= x
  • Example: 5
shippingnumber

New order-level shipping total.

  • Range: 0 <= x
  • Example: 5
refundednumber

New cumulative refunded amount. This is an absolute value, not an increment.

  • Range: 0 <= x
  • Example: 0
fulfillment_statusenum<string>
  • Allowed values: PENDING PARTIALLY_FULFILLED FULFILLED DELIVERED
  • Example: FULFILLED
financial_statusenum<string>
  • Allowed values: PENDING PAID PARTIALLY_REFUNDED REFUNDED
  • Example: PARTIALLY_REFUNDED
fulfilled_atstring<date-time> | null
  • Example: 2026-07-25T10:00:00.000Z
delivered_atstring<date-time> | null
  • Example: 2026-07-26T14:00:00.000Z
cancelledboolean
  • Example: false
cancelled_atstring<date-time> | null
  • Example: null
paid_atstring<date-time> | null
  • Example: 2026-07-24T09:00:01.000Z
last_refunded_atstring<date-time> | null
  • Example: 2026-07-28T11:00:00.000Z
linesobject[]
Option 1: object
operationenum<string>required
  • Allowed value: upsert
  • Example: upsert
lineobjectrequired
Properties (11)
external_line_idstringrequired

Stable line identifier within the source order.

  • Length: 1 to 255
  • Example: line_123
product_idstring

Product identifier in the source catalog.

  • Length: 1 to 255
  • Example: product_123
variant_idstring

Variant identifier in the source catalog.

  • Length: 1 to 255
  • Example: variant_123
skustring

Merchant SKU snapshot.

  • Length: 1 to 255
  • Example: TSHIRT-BLACK-M
quantityintegerrequired

Absolute ordered quantity.

  • Range: 0 < x
  • Example: 2
unit_pricenumberrequired

Non-negative price per unit in the order currency.

  • Range: 0 <= x
  • Example: 25
discountnumber

Discount allocated to this line in the order currency.

  • Range: 0 <= x
  • Example: 5
refundnumber

Amount refunded for this line in the order currency.

  • Range: 0 <= x
  • Example: 0
returned_unitsinteger

Absolute number of returned units.

  • Range: 0 <= x
  • Example: 0
fulfillment_statusenum<string>Default: PENDING

Absolute fulfillment state for this line.

  • Allowed values: PENDING PARTIALLY_FULFILLED FULFILLED DELIVERED
  • Example: PENDING
delivered_atstring<date-time>

Delivery timestamp. Required when this line is explicitly delivered.

  • Example: 2026-07-24T10:00:00.000Z
Option 2: object
operationenum<string>required
  • Allowed value: remove
  • Example: remove
external_line_idstringrequired
  • Length: 1 to 255
  • Example: line_legacy

Response

200 Successful response application/json

dataobjectrequired

Requested resource.

Properties (21)
idstringrequired

Cevoid order ID.

  • Example: ord_abc123
ingestion_modeenum<string>

Processing mode of the latest order write. Historical mode suppresses automatic Flows. Live mode allows new lifecycle transitions to trigger Flows. Absent for orders without a live or historical mode.

  • Allowed values: live historical
  • Example: live
sourceobjectrequired
Properties (3)
typeenum<string>

System that owns this order. Absent when the order has no connected source.

  • Allowed values: SHOPIFY WOOCOMMERCE MYSTORE NORDISK_EHANDEL VISKAN CENTRA PUBLIC_API OTHER
  • Example: PUBLIC_API
connection_idstring

Stable source namespace for the order. Absent when the order has no connected source.

  • Example: erp-production
external_order_idstringrequired

Order identifier in the source system.

  • Example: order_123
order_numberstring

Customer-facing order number.

  • Example: #1001
buyerobject

Buyer identity. Absent when the order carries no buyer information.

Properties (3)
emailstring

Buyer email as supplied by the source system.

  • Example: buyer@example.com
external_customer_idstring

Customer identifier in the source system.

  • Example: customer_123
profile_idstring

Cevoid profile ID. Absent when no profile is linked to the order.

  • Example: prf_sarah
placed_atstring<date-time>required

ISO 8601 timestamp when the order was placed.

  • Example: 2026-07-24T09:00:00.000Z
currencystringrequired

Three-letter uppercase ISO currency code.

  • Example: USD
moneyobjectrequired
Properties (6)
totalnumberrequired

Current declared order total.

  • Example: 55
sub_totalnumberrequired

Current merchandise subtotal.

  • Example: 50
discountnumber

Current order-level discount total.

  • Example: 5
taxnumber

Current order-level tax total.

  • Example: 5
shippingnumber

Current order-level shipping total.

  • Example: 5
refundednumber

Cumulative refunded amount.

  • Example: 0
fulfillment_statusenum<string>required

Current order fulfillment state.

  • Allowed values: PENDING PARTIALLY_FULFILLED FULFILLED DELIVERED
  • Example: PENDING
financial_statusenum<string>required

Current order payment state.

  • Allowed values: PENDING PAID PARTIALLY_REFUNDED REFUNDED
  • Example: PAID
fulfilled_atstring<date-time>

ISO 8601 timestamp when the order was fulfilled.

  • Example: 2026-07-25T10:00:00.000Z
delivered_atstring<date-time>

ISO 8601 timestamp when the order was delivered.

  • Example: 2026-07-26T14:00:00.000Z
cancelledbooleanrequired

Whether the order is cancelled.

  • Example: false
cancelled_atstring<date-time>

ISO 8601 timestamp when the order was cancelled.

  • Example: 2026-07-24T10:00:00.000Z
paid_atstring<date-time>

ISO 8601 timestamp when the order was paid.

  • Example: 2026-07-24T09:00:01.000Z
last_refunded_atstring<date-time>

ISO 8601 timestamp of the most recent refund.

  • Example: 2026-07-28T11:00:00.000Z
market_idstring

Cevoid market ID.

  • Example: mar_us
linesobject[]required
Item properties (12)
external_line_idstringrequired

Stable line identifier within the source order.

  • Example: line_1
product_idstring

Product identifier in the source catalog. Absent when the line names no product.

  • Example: product_123
variant_idstring

Variant identifier in the source catalog.

  • Example: variant_456
skustring

Merchant SKU snapshot.

  • Example: TSHIRT-BLACK-M
quantityintegerrequired

Absolute ordered quantity.

  • Range: 0 <= x
  • Example: 1
unit_pricenumberrequired

Price per unit in the order currency.

  • Example: 50
discountnumber

Discount allocated to this line.

  • Example: 0
refundnumber

Cumulative amount refunded for this line.

  • Example: 0
returned_unitsinteger

Absolute number of returned units.

  • Range: 0 <= x
  • Example: 0
fulfillment_statusenum<string>required

Current fulfillment state for this line.

  • Allowed values: PENDING PARTIALLY_FULFILLED FULFILLED DELIVERED
  • Example: PENDING
delivered_atstring<date-time>

ISO 8601 timestamp when this line was delivered.

  • Example: 2026-07-26T14:00:00.000Z
removed_atstring<date-time>

Time the line was removed from the order.

  • Example: 2026-07-27T14:00:00.000Z
created_atstring<date-time>required

ISO 8601 timestamp when Cevoid created the order.

  • Example: 2026-07-24T09:00:01.000Z
updated_atstring<date-time>required

ISO 8601 timestamp when Cevoid last updated the order.

  • Example: 2026-07-24T09:00:01.000Z
removed_atstring<date-time>

Time the order was deleted.

  • Example: 2026-08-01T09:00:00.000Z
Response headers (5)
Cevoid-Processing-Msstring

End-to-end request processing time in milliseconds

Cevoid-Request-Idstring

Request identifier for support and tracing

RateLimit-Limitstring

Current rate limit bucket size

RateLimit-Remainingstring

Remaining requests in the current rate limit window

RateLimit-Resetinteger

Seconds until the next request token is available

401 Unauthorized application/json

additional_dataobject

Optional machine-readable error details.

Properties (1)
{key}any
statusnumberrequired

HTTP status code for the error response.

  • Example: 404
codestringrequired

Stable machine-readable error code.

  • Example: not_found
messagestringrequired

Human-readable description of the error.

  • Example: Route not found
request_idstring

Request identifier for support and tracing.

  • Example: req_abc123
Response headers (5)
Cevoid-Processing-Msstring

End-to-end request processing time in milliseconds

Cevoid-Request-Idstring

Request identifier for support and tracing

RateLimit-Limitstring

Current rate limit bucket size

RateLimit-Remainingstring

Remaining requests in the current rate limit window

RateLimit-Resetinteger

Seconds until the next request token is available

403 Forbidden application/json

additional_dataobject

Optional machine-readable error details.

Properties (1)
{key}any
statusnumberrequired

HTTP status code for the error response.

  • Example: 404
codestringrequired

Stable machine-readable error code.

  • Example: not_found
messagestringrequired

Human-readable description of the error.

  • Example: Route not found
request_idstring

Request identifier for support and tracing.

  • Example: req_abc123
Response headers (5)
Cevoid-Processing-Msstring

End-to-end request processing time in milliseconds

Cevoid-Request-Idstring

Request identifier for support and tracing

RateLimit-Limitstring

Current rate limit bucket size

RateLimit-Remainingstring

Remaining requests in the current rate limit window

RateLimit-Resetinteger

Seconds until the next request token is available

404 Not found application/json

additional_dataobject

Optional machine-readable error details.

Properties (1)
{key}any
statusnumberrequired

HTTP status code for the error response.

  • Example: 404
codestringrequired

Stable machine-readable error code.

  • Example: not_found
messagestringrequired

Human-readable description of the error.

  • Example: Route not found
request_idstring

Request identifier for support and tracing.

  • Example: req_abc123
Response headers (5)
Cevoid-Processing-Msstring

End-to-end request processing time in milliseconds

Cevoid-Request-Idstring

Request identifier for support and tracing

RateLimit-Limitstring

Current rate limit bucket size

RateLimit-Remainingstring

Remaining requests in the current rate limit window

RateLimit-Resetinteger

Seconds until the next request token is available

409 Conflict application/json

additional_dataobject

Optional machine-readable error details.

Properties (1)
{key}any
statusnumberrequired

HTTP status code for the error response.

  • Example: 404
codestringrequired

Stable machine-readable error code.

  • Example: not_found
messagestringrequired

Human-readable description of the error.

  • Example: Route not found
request_idstring

Request identifier for support and tracing.

  • Example: req_abc123
Response headers (5)
Cevoid-Processing-Msstring

End-to-end request processing time in milliseconds

Cevoid-Request-Idstring

Request identifier for support and tracing

RateLimit-Limitstring

Current rate limit bucket size

RateLimit-Remainingstring

Remaining requests in the current rate limit window

RateLimit-Resetinteger

Seconds until the next request token is available

422 Validation error application/json

additional_dataobject

Optional machine-readable error details.

Properties (1)
{key}any
statusnumberrequired

HTTP status code for the error response.

  • Example: 404
codestringrequired

Stable machine-readable error code.

  • Example: not_found
messagestringrequired

Human-readable description of the error.

  • Example: Route not found
request_idstring

Request identifier for support and tracing.

  • Example: req_abc123
Response headers (5)
Cevoid-Processing-Msstring

End-to-end request processing time in milliseconds

Cevoid-Request-Idstring

Request identifier for support and tracing

RateLimit-Limitstring

Current rate limit bucket size

RateLimit-Remainingstring

Remaining requests in the current rate limit window

RateLimit-Resetinteger

Seconds until the next request token is available

429 Too many requests application/json

additional_dataobjectrequired

Machine-readable rate-limit details.

Properties (2)
retry_after_secondsintegerrequired
  • Range: 0 <= x
{key}any
statusintegerrequired

HTTP status code.

  • Example: 404
codestringrequired

Stable machine-readable error code.

  • Example: not_found
messagestringrequired

Human-readable error description.

  • Example: Resource not found
request_idstring

Request identifier for support and tracing.

  • Example: req_abc123
Response headers (6)
Cevoid-Processing-Msstring

End-to-end request processing time in milliseconds

Cevoid-Request-Idstring

Request identifier for support and tracing

RateLimit-Limitstring

Current rate limit bucket size

RateLimit-Remainingstring

Remaining requests in the current rate limit window

RateLimit-Resetinteger

Seconds until the next request token is available

Retry-Afterinteger

Seconds to wait before retrying the request

500 Internal server error application/json

additional_dataobject

Optional machine-readable error details.

Properties (1)
{key}any
statusnumberrequired

HTTP status code for the error response.

  • Example: 404
codestringrequired

Stable machine-readable error code.

  • Example: not_found
messagestringrequired

Human-readable description of the error.

  • Example: Route not found
request_idstring

Request identifier for support and tracing.

  • Example: req_abc123
Response headers (5)
Cevoid-Processing-Msstring

End-to-end request processing time in milliseconds

Cevoid-Request-Idstring

Request identifier for support and tracing

RateLimit-Limitstring

Current rate limit bucket size

RateLimit-Remainingstring

Remaining requests in the current rate limit window

RateLimit-Resetinteger

Seconds until the next request token is available