Brivio API reference
Orders

Import an e-commerce order (Shopify/WooCommerce connectors) into the channel sync engine — stored as a channel order (stock reserved, invoice drafted by the engine), deduped by source+external_id; returns channel_order_id (scope: orders:write)

POST
/orders/import

Authorization

bearerAuth
headerAuthorizationBearer <token>

API key as Bearer token

Request Body

application/json
  1. body
source?string
Default"other"
Value in"shopify""woocommerce""other"
external_id?string

Order id in the source system (required; snake_case or camelCase accepted)

Lengthlength <= 255
external_number?string

Human-facing order number in the source system

Lengthlength <= 64
issuedAt?string

Order date (ISO 8601); defaults to today (Europe/Bucharest)

currency?string
Length3 <= length <= 3
Default"RON"
customer*
lines*array<>
Items1 <= items
total*string

Decimal string order total

paid?boolean
Defaultfalse

Response Body

OK

curl -X POST "https://example.com/orders/import" \  -H "Content-Type: application/json" \  -d '{    "customer": {      "name": "string"    },    "lines": [      {        "description": "string",        "quantity": 1,        "unitPrice": "string"      }    ],    "total": "string"  }'
Empty