v1

latestOpenAPI 3.0.12026-07-26222700728.0 KB
Integration Management

Link Xero

Link a new (or update an existing) Xero Connection

post/v6/integrations/xero/connection

Request body

tenantIdstring required

Xero organisation (tenant) ID retrieved from the /connections endpoint after OAuth

Example request

{
  "glMapping": [
    {
      "glAccountId": "gla_12345"
    }
  ]
}

Response

Success

result'SUCCESS' | 'FAILURE'

The result of the action performed.

Example response

{
  "data": {
    "glMapping": [
      {
        "glAccountId": "gla_12345"
      }
    ]
  }
}