← EU Commerce Desk

API & automatic connections

Included in Starter, Growth and Scale. An active or trialing paid plan is required. Existing record limits apply: Starter 2,500, Growth 10,000, Scale 50,000. Owners and administrators manage scoped, revocable API keys and scheduled sources in API & connections.

OpenAPI 3.1 specification. API requests use Authorization: Bearer euc_live_…. Keys are shown once, stored as hashes, expire after one year and require their creator to remain an owner or administrator.

Connect your existing systems

Connections run on the server with the browser closed. Choose 30 minutes, 1 hour, 6 hours or 24 hours. The scheduler checks due work every five minutes; provider latency and backlog can delay a cycle. Pause, resume, disconnect or run a connection from the workspace. Credentials are encrypted and excluded from API responses. Up to ten connections and ten active user-managed keys are allowed per workspace.

POST /api/v1/sync

Requires write permission and a unique Idempotency-Key of 1–128 letters, digits, dots, colons, underscores or hyphens. Send JSON:

{
  "source": "erp-main",
  "observedAt": "2026-10-26T10:00:00Z",
  "records": [
    {
      "entity": "product",
      "data": {
        "sku": "SKU-001",
        "name": "Desk lamp",
        "brand": "Example"
      }
    },
    {
      "entity": "supplier",
      "externalId": "supplier-001",
      "data": {
        "name": "Example Supplier",
        "email": "supplier@example.com"
      }
    }
  ]
}
curl https://eucommercedesk.com/api/v1/sync \
  -H "Authorization: Bearer $EUCD_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: erp-batch-00001" \
  --data-binary @batch.json

Products are identified by SKU. Suppliers, requirements and evidence require a stable externalId, unique within the entity and source. Keep source names and external IDs unchanged on updates. API identities do not automatically match manually entered supplier, requirement or evidence records. Scheduled non-product feeds require an externalId column or mapped field in each row.

mode: merge (default) preserves omitted fields; replace resets them to schema defaults. Batches contain 1–1,000 records and are atomic. Use the same snapshot timestamp, payload and idempotency key for retries. Reuse with different data returns 409. Older timestamps and different data at the same timestamp are ignored as stale. Receipts are retained for 90 days. Use one authoritative source per record; future source updates can overwrite manual edits.

Compliance records and review

First synchronize requirements, then use GET /api/v1/records?entity=requirement to obtain their IDs. Returned records include natural_key so integrations can match source/externalId to the workspace UUID. Upload a document if needed, then send evidence referencing the returned IDs. Reviews are performed in the workspace. An identical source refresh preserves an existing review; changed requirement data returns it to draft, and changed evidence returns it to pending. A recorded approval does not constitute legal certification.

POST /api/v1/files

Requires write permission for evidence. Send JSON with name and contentBase64. Accepts a nonempty PDF, PNG or JPEG up to 2 MB. The workspace document limit is 100 MB. Identical SHA-256 content is deduplicated within the workspace. The response contains id and sha256; use the ID as evidence.fileId. Download with GET /api/v1/files?id=UUID using read permission for evidence.

GET /api/v1/records

Requires read permission. Parameters: entity=product|supplier|requirement|evidence, limit=1..1000 (default 100), cursor=previous nextCursor. Returns workspace-scoped records, versions, natural keys and nextCursor. Pagination uses stable record IDs, not an immutable snapshot.

Errors and retries

600 requests per workspace per hour. 400 invalid data or references; 401 invalid, expired or revoked key; 402 inactive paid plan or record limit; 403 missing permission; 409 conflicting retry; 413 document capacity; 429 rate limit; 500 temporary failure. Retry network errors, 429 and 5xx with exponential backoff and the same sync payload and batch ID. Honor Retry-After. Fix validation and capacity errors before retrying. Synchronization activity is visible for 90 days; credentials and request bodies are excluded from activity logs.