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

Orders

Create order

Creates a new order.

POSThttps://api.cevoid.com/v2/orders

Authorizations

Authorizationbearer tokenheaderrequired

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

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>Default: live

Use historical to import order history without automatic Flows or purchase-incentive points. Orders created as historical remain excluded from automatic purchase incentives after live updates. Defaults to live.

  • Allowed values: live historical
  • Example: live
source_connection_idstringrequired

Caller-owned stable source namespace, retained unchanged across credential rotations.

  • Length: 1 to 255
  • Example: erp-production
external_order_idstringrequired

Stable order identifier within source_connection_id.

  • Length: 1 to 255
  • Example: order_123
order_numberstring

Customer-facing order number.

  • Length: 1 to 255
  • Example: #123
domainstring

Storefront domain or URL the order was placed on. Matched against market domains to assign the order to a market.

  • Length: 1 to 255
  • Example: shop.example.com
buyerobject

Buyer details set when you create the order. Cannot be changed through order updates.

Properties (3)
emailstring<email>

Normalized buyer email. When supplied it must be valid.

  • Example: buyer@example.com
external_customer_idstring

Customer identifier in the source system.

  • Length: 1 to 255
  • Example: customer_123
accepts_marketingboolean

Whether the buyer agreed to marketing email at checkout. true turns on promotional email for the buyer's profile, also after the buyer turned it off in their Cevoid preferences, so send it only when the buyer opted in on this order. A consent decision synced from a connected Shopify store takes precedence. false and omission change nothing, so an order never withdraws consent.

  • Example: true
placed_atstring<date-time>required

Timestamp when the order was placed.

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

Three-letter uppercase ISO currency code.

  • Pattern: ^[A-Z]{3}$
  • Example: USD
moneyobjectrequired
Properties (6)
totalnumberrequired

Declared order total in the order currency.

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

Merchandise subtotal before order-level discount, tax, and shipping.

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

Order-level discount total.

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

Order-level tax total.

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

Order-level shipping total.

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

Cumulative refunded amount.

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

Order fulfillment state. When omitted, derived from the order lines.

  • Allowed values: PENDING PARTIALLY_FULFILLED FULFILLED DELIVERED
  • Example: PENDING
financial_statusenum<string>Default: PENDING
  • Allowed values: PENDING PAID PARTIALLY_REFUNDED REFUNDED
  • Example: PAID
fulfilled_atstring<date-time>
  • Example: 2026-07-25T10:00:00.000Z
delivered_atstring<date-time>
  • Example: 2026-07-26T14:00:00.000Z
cancelledbooleanDefault: false
  • Example: false
cancelled_atstring<date-time>
  • Example: 2026-07-24T10:00:00.000Z
paid_atstring<date-time>
  • Example: 2026-07-24T09:00:01.000Z
last_refunded_atstring<date-time>
  • Example: 2026-07-28T11:00:00.000Z
linesobject[]required

Order lines. At least one line is required.

  • Minimum items: 1
Item 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

Response

201 Created successfully 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

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