GRAPHQL-EDI
GraphQL applied to EDI flows — fine-grained querying without over-fetching.
Definition
Pattern: a GraphQL schema exposes Shipment, Order, Invoice with their relations. A client can query "shipments from last month with their MDN status". De facto standard: GraphQL Foundation. Implementations: Apollo Server, Hasura, PostGraphile. Different from REST: single endpoint, client picks fields.
Origin
Created by Facebook in 2012, open-sourced in 2015. Foundation transferred to Linux Foundation in 2018.
Example in context
{ shipments(after: "2026-04-01") { id, mdnStatus, partner { name } } }
Related terms
- REST EDI — competing API pattern.