Skip to main content
This page provides a practical guide for EDI providers, middleware vendors, and advanced customers on how to map common EDI workflows to the Alvys Public Tender APIs. It explains how to translate classic EDI transactions (204, 990, 214, 210) into Alvys REST calls and webhook-driven lifecycle events, and outlines the integration patterns required to build reliable, production-grade EDI integrations with Alvys. Alvys provides a set of Public REST APIs and event-driven webhooks designed to help external EDI providers, middleware platforms, and customers build custom EDI integrations into the Alvys TMS. These interfaces enable you to programmatically:
  • Create and manage inbound tenders (EDI 204) via REST
  • Receive near real-time shipment lifecycle updates (EDI 214) via webhooks
  • Fetch invoice details after submission (EDI 210) via REST + invoice events
These APIs are intended to let partners translate between classic EDI transactions (204/214/210/990/997) and Alvys-native objects and workflows (tenders, tender updates, cancellations, acceptance workflows, status events, and invoices).
Getting API Access
  • Existing Alvys customers can obtain API access by contacting their account representative.
  • Independent Software Vendors (ISV) should contact the Alvys Partnership team.

API Workflow Guide (EDI β†’ Alvys Mapping)

This section maps common EDI workflows to the corresponding Alvys Public API endpoints. It is intended for EDI providers and middleware vendors who translate inbound and outbound EDI transactions into Alvys-native tender and shipment operations. Use this guide as a decision table when implementing integrations:
  • Identify the EDI transaction or business intent (e.g., new tender, update, cancel, accept).
  • Call the appropriate REST endpoint to express that intent to Alvys.
  • Rely on Alvys webhooks to confirm the authoritative outcome of the operation.
  • Emit outbound EDI (990/214/210/997) only after the corresponding Alvys state change is confirmed.

Design Principles

  • REST expresses intent; webhooks confirm outcome. A successful REST response indicates the request was received, not that the workflow is complete.
  • Expect retries and duplicates. EDI networks frequently resend transactions. Always use Idempotency-Key for unsafe POSTs and deduplicate webhook deliveries by EventId.
  • Model state explicitly. Tenders may be pending, accepted, rejected, cancelled, expired, or awaiting update approval. Do not assume immediate state transitions.
  • Treat Alvys as the system of record. When conflicts arise, reconcile by fetching the tender (GET /tenders/:tenderId) and honoring the returned state and ETag.
The table below outlines the canonical mapping between EDI workflows and Alvys Public API operations, along with important integration considerations for each step.

πŸ§ͺ Troubleshooting

  • βœ… Double-check your client_id, client_secret, and audience
  • βœ… Ensure scopes are correctly assigned in API Access- Admin Portal
  • βœ… Validate that the client is active and not expired
  • βœ… Use only supported content types: application/json or application/x-www-form-urlencoded
  • For technical support: <support@alvys.com>