Skip to main content

Interchange Outbox List

Retrieve a paginated list of outbound interchanges for a mailbox within a specified date range.

Endpoint​

POST /v2/interchanges/outbox-list

Request Body​

FieldTypeRequiredConstraintsDescription
mailboxIdintNo—Filter results to a specific mailbox.
ecGridIdFromintNo—Filter by the sending ECGrid ID.
ecGridIdTointNo—Filter by the receiving ECGrid ID.
beginDatedatetimeNoISO 8601Start of the date range to query.
endDatedatetimeNoISO 8601End of the date range to query.
pageNointNoMinimum: 1Page number for paginated results. Defaults to 1.
recordsPerPageintNoMaximum: 500Number of records per page. Defaults to 100.
{
"mailboxId": 12345,
"ecGridIdFrom": 0,
"ecGridIdTo": 0,
"beginDate": "2026-05-01T00:00:00Z",
"endDate": "2026-05-07T23:59:59Z",
"pageNo": 1,
"recordsPerPage": 100
}

Response​

Returns a paginated array of InterchangeIDInfo objects representing outbound interchanges matching the query criteria.

{
"success": true,
"data": {
"totalRecords": 18,
"pageNo": 1,
"recordsPerPage": 100,
"interchanges": [
{
"interchangeId": 9870099,
"parcelId": 5550010,
"sender": "BUYER_INC",
"receiver": "ACME_CORP",
"standard": "X12",
"documentType": "810",
"status": "Active",
"created": "2026-05-03T14:15:00Z"
}
]
}
}

ENUMs​

EDIStandard​

See Enums Reference for the full EDIStandard and Status ENUM definitions.

Code Examples​

curl -X POST "https://rest.ecgrid.io/v2/interchanges/outbox-list" \
-H "X-API-Key: $ECGRID_API_KEY" \
-H "Content-Type: application/json" \
-d '{ "mailboxId": 12345, "ecGridIdFrom": 0, "ecGridIdTo": 0, "beginDate": "2026-05-01T00:00:00Z", "endDate": "2026-05-07T23:59:59Z", "pageNo": 1, "recordsPerPage": 100 }'

See Also​