Skip to main content

Update ID

Updates the description, status, or EDI standard for an existing ECGrid ID.

Endpoint

PUT /v2/ids/{id}

Path Parameters

ParameterTypeRequiredDescription
idintegerYesThe numeric ECGrid ID to update

Request Body

FieldTypeRequiredConstraintsDescription
descriptionstringNoUpdated human-readable label
statusstringNoSee Status enumLifecycle status of the ID
ediStandardstringNoSee EDIStandard enumEDI format standard
{
"description": "Acme Corp Production (updated)",
"status": "Active",
"ediStandard": "X12"
}

Response

Returns the updated ECGridIDInfo object.

{
"success": true,
"data": {
"ecGridId": 123456,
"mailboxId": 1001,
"networkId": 42,
"qualifier": "01",
"id": "PARTNER001",
"description": "Acme Corp Production (updated)",
"status": "Active",
"routingGroup": "ProductionA",
"ediStandard": "X12"
}
}

ENUMs

See Enums reference for full details on Status and EDIStandard.

Status

ValueDescription
DevelopmentID is in development/testing phase
ActiveID is live and routing EDI traffic
PreproductionID is staged but not yet live
SuspendedID is temporarily disabled
TerminatedID has been permanently deactivated

Code Examples

curl -X PUT "https://rest.ecgrid.io/v2/ids/$ID" \
-H "X-API-Key: $ECGRID_API_KEY" \
-H "Content-Type: application/json" \
-d '{ "description": "Acme Corp Production (updated)", "status": "Active", "ediStandard": "X12" }'

See Also