Skip to main content

Outbox List

Search and paginate outbound parcels sent from a mailbox.

Endpoint

POST /v2/parcels/outbox-list

Request Body

FieldTypeRequiredConstraintsDescription
mailboxIdintNoFilter by mailbox ID; defaults to authenticated user's mailbox
ecGridIdFromintNoFilter by sender ECGrid ID
ecGridIdTointNoFilter by recipient ECGrid ID
statusParcelStatusNoFilter by parcel status
beginDatedatetimeNoISO 8601Return parcels created on or after this date
endDatedatetimeNoISO 8601Return parcels created on or before this date
pageNointNoDefault: 1Page number for paginated results
recordsPerPageintNoDefault: 25Number of records per page
{
"mailboxId": 1001,
"ecGridIdFrom": 112233,
"beginDate": "2026-05-01T00:00:00Z",
"endDate": "2026-05-07T23:59:59Z",
"pageNo": 1,
"recordsPerPage": 25
}

Response

Returns a paginated array of outbound ParcelIDInfo objects matching the filter criteria.

{
"success": true,
"data": [
{
"parcelId": 987654322,
"mailboxId": 1001,
"networkId": 42,
"fileName": "po_batch_20260507.edi",
"bytes": 4096,
"status": "OutBoxDelivered",
"ecGridIdFrom": 112233,
"ecGridIdTo": 445566,
"created": "2026-05-07T09:00:00Z",
"modified": "2026-05-07T09:02:00Z"
}
]
}

ENUMs

ParcelStatus

See ParcelStatus in Appendix — ENUMs for the full list of parcel status values.

Code Examples

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

See Also