Skip to main content

Get Interchange

Retrieve the details of a single interchange by its unique ECGrid Interchange ID.

Endpoint​

GET /v2/interchanges/{id}

Path Parameters​

ParameterTypeRequiredDescription
idlongYesThe unique ECGrid Interchange ID.

Response​

Returns an InterchangeIDInfo object containing the full details of the requested interchange.

{
"success": true,
"data": {
"interchangeId": 9870001,
"parcelId": 5550001,
"sender": "ACME_CORP",
"receiver": "BUYER_INC",
"standard": "X12",
"documentType": "850",
"status": "Active",
"created": "2026-05-01T10:30:00Z"
}
}

ENUMs​

EDIStandard​

ValueDescription
X12ASC X12 (North American standard)
EDIFACTUN/EDIFACT (international standard)
TRADACOMSTRADACOMS (UK retail standard)
VDAVDA (German automotive standard)
XMLXML-based EDI
TXTPlain text
PDFPDF document
BinaryBinary file

Status​

ValueDescription
DevelopmentIn development / testing
ActiveActively in use
PreproductionPre-production stage
SuspendedTemporarily suspended
TerminatedPermanently terminated

See Enums Reference for full ENUM definitions.

Code Examples​

curl -X GET "https://rest.ecgrid.io/v2/interchanges/$ID" \
-H "X-API-Key: $ECGRID_API_KEY"

See Also​