← Back to product·Simulmedia VAMOS® Docs·API reference / Conventions
API reference

Conventions

  • Idempotency: order creation is idempotent on external_order_id. Resubmitting the same request replays the original response (200 with X-Idempotent-Replay: true), which is how a client learns the outcome of a request it got no answer to. The check compares the body as JSON, so key order and whitespace do not matter. 409 means the same external_order_id with any value changed. PUT endpoints on catalog, rates, and avails are full-replace for the provided entries; resubmitting the same content is safe. PUT /me/rate-cards and PATCH /me/rate-cards/{commit} replay a retry only when its bytes are identical, so retry them with the bytes you sent. A different body for that commit is 409 CONFLICT.
  • Pagination: list endpoints (GET /v1/orders, GET /v1/events) return a cursor field; pass it as ?after= on the next call. Default page size 50, max 200.
  • One write model on every publish surface (catalog, rate cards, avails, file drops): entries succeed per entry; the response carries explicit errors[] (failed entries, skipped) and warnings[] (non-fatal notes on entries that were still written); and an integrity-rule failure is the one case that rejects the whole request. An unknown product_id is an entry-level error on every surface. A malformed request envelope (a missing commit or as_of, no entries at all) refuses the request with 422.
  • Errors: non-2xx responses always carry { "error": { "error_code": "...", "error_message": "...", "stage": "...", "recoverable": bool, "details": {...} } }. See Errors.
  • Field stability: additive changes (new fields, new open-enum values) are non-breaking. Breaking changes ship under a new version path with at least 12 months of overlap.