Skip to main content

Update Parcel

Update the status or metadata of an existing parcel record.

Endpoint

POST /v2/parcels/update

Request Body

FieldTypeRequiredConstraintsDescription
parcelIdlongYesUnique identifier of the parcel to update
statusParcelStatusNoNew status to assign to the parcel
{
"parcelId": 987654321,
"status": "InBoxReady"
}

Response

Returns the updated ParcelIDInfo object reflecting the new state.

{
"success": true,
"data": {
"parcelId": 987654321,
"mailboxId": 1001,
"networkId": 42,
"fileName": "invoice_batch_20260507.edi",
"bytes": 14872,
"status": "InBoxReady",
"ecGridIdFrom": 112233,
"ecGridIdTo": 445566,
"created": "2026-05-07T08:00:00Z",
"modified": "2026-05-07T10:30: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/update" \
-H "X-API-Key: $ECGRID_API_KEY" \
-H "Content-Type: application/json" \
-d '{ "parcelId": 987654321, "status": "InBoxReady" }'

See Also

  • Get Parcel — retrieve current parcel metadata before updating
  • Reset to Inbox — dedicated endpoint to reset a confirmed parcel to InBoxReady
  • Cancel Parcel — cancel an outbound parcel before delivery