DDRAIXCOR

DRAIXCOR API · V1.1

Let Codex and your AI tools operate the marketplace safely.

Typed JSON endpoints, scoped API keys, idempotency and audit logs across catalog, commerce, customer care, logistics and advertising.

AUTHENTICATION

Scoped bearer keys

Generate keys in the dashboard. DRAIXCOR stores only a SHA-256 hash; raw keys are shown once. Grant the narrowest scopes an automation needs.

Authorization: Bearer dx_live_your_key

POST /api/v1/products

Create a compliant draft

curl https://draixcor.com/api/v1/products   -H "Authorization: Bearer $DRAIXCOR_API_KEY"   -H "Idempotency-Key: catalog-2026-001"   -H "Content-Type: application/json"   -d '{"vendorId":"…","sku":"DX-1001","name":"Smart Device","price":129.90,"category":"Electronics"}'

The response includes complianceIssues. Activation remains blocked until required records are verified.

POST /api/v1/refunds

Operate payments and refunds safely

Checkout totals are recalculated server-side. Provider webhooks update the order state, while scoped refunds:write keys can initiate full or partial refunds against the original payment.

curl https://draixcor.com/api/v1/refunds   -H "Authorization: Bearer $DRAIXCOR_API_KEY"   -H "Content-Type: application/json"   -d '{"orderId":"…","amount":29.90,"reason":"Approved return"}'

POST /api/v1/shipments

Connect seller fulfilment and carriers

Create shipments with shipments:write, append normalized tracking events and let buyers follow the same timeline. Support tickets route to DRAIXCOR or the responsible marketplace seller while keeping the history on platform.

POST /api/v1/ads/events

Privacy-aware ad measurement

Record impressions and clicks with campaign, placement, country and consent mode. Direct personal identifiers are rejected.