TSGGLOBAL Support sign in
Skip to page content
Browse TNID API docs

TNID API documentation Company B2B connections Remove B2B connection

Remove B2B connection

On this page

GraphQL endpoint: /company

Removes an existing B2B connection between companies. Either company in the connection can remove it.

Query

mutation (
  $connectionId: ID!
) {
  removeB2bConnection (
    connectionId: $connectionId
  ) {
    id
    type
    createdAt
    updatedAt
    startedAt
    company {
      id
    }
    connectedCompany {
      id
    }
  }
}

Variables

{
  "connectionId": "00000000-0000-4000-8000-000000000003"
}

Response

{
  "data": {
    "removeB2bConnection": {
      "company": {
        "id": "00000000-0000-4000-8000-000000000001"
      },
      "connectedCompany": {
        "id": "00000000-0000-4000-8000-000000000002"
      },
      "createdAt": null,
      "id": "00000000-0000-4000-8000-000000000003",
      "startedAt": null,
      "type": "PARTNER",
      "updatedAt": "2026-01-15T09:00:00.000000"
    }
  }
}