- 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
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.
π§ͺ Troubleshooting
- β
Double-check your
client_id,client_secret, andaudience - β 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/jsonorapplication/x-www-form-urlencoded - For technical support:
<support@alvys.com>