Skip to main content

Confirm Download

Acknowledge that an inbound parcel has been successfully received and saved.

Endpoint

POST /v2/parcels/confirm

Request Body

FieldTypeRequiredConstraintsDescription
parcelIdlongYesUnique identifier of the parcel to confirm

:::caution Required After Every Download This call must be made after every successful Download Parcel operation. Without confirmation, ECGrid considers the parcel undelivered and will re-deliver it on the next polling cycle, resulting in duplicate processing. :::

{
"parcelId": 987654321
}

Response

Returns a success boolean indicating the parcel has been marked as transferred.

{
"success": true,
"data": true
}

Code Examples

curl -X POST "https://rest.ecgrid.io/v2/parcels/confirm" \
-H "X-API-Key: $ECGRID_API_KEY" \
-H "Content-Type: application/json" \
-d '{ "parcelId": 987654321 }'

See Also