Skip to main content

Move Trading Partner

Moves a trading partner ECGrid ID from its current mailbox to a different mailbox.

Endpoint

POST /v2/ids/tp-move

Request Body

FieldTypeRequiredConstraintsDescription
ecGridIdintegerYesMust be a valid ECGrid IDThe ECGrid ID to move
newMailboxIdintegerYesMust be a valid mailbox within the same networkThe destination mailbox
{
"ecGridId": 123456,
"newMailboxId": 1002
}

Response

Returns the updated ECGridIDInfo object reflecting the new mailbox assignment.

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

Code Examples

curl -X POST "https://rest.ecgrid.io/v2/ids/tp-move" \
-H "X-API-Key: $ECGRID_API_KEY" \
-H "Content-Type: application/json" \
-d '{ "ecGridId": 123456, "newMailboxId": 1002 }'

See Also