Skip to main content
ArchiveOrder exposes separate production and development API hosts.
EnvironmentBase URLUse for
Productionhttps://api.archiveorder.comLive customer orders and production payments.
Developmenthttps://api-dev.archiveorder.comIntegration testing and sandbox data.

Path format

API hosts expose resources at the root:
https://api.archiveorder.com/orders
https://api-dev.archiveorder.com/orders

Headers

Most requests use these headers:
Authorization: Bearer <api_key>
Content-Type: application/json
Mutating requests should also include:
Idempotency-Key: 4f3d4d79-0c2d-4ad8-a62b-77b0b9db0aa1

Content type

Request and response bodies are JSON.
Content-Type: application/json

Dates and currencies

  • Date-only fields use ISO 8601 dates such as 2026-07-15.
  • Timestamps use ISO 8601 date-time strings.
  • Currency fields use three-letter ISO currency codes such as EUR or USD.
  • Payment amount fields ending in Minor are integer minor units, such as cents.

Sandbox access

Use the development environment for integration testing. Sandbox data, API keys, webhook endpoints, and payment behavior are separate from production.