Accounts

Update accounts

Update accounts

patch/api/v3/connections/{connection_id}/accounts

Request

Path parameters

connection_idinteger required

Connection ID

Request body

idinteger

Account ID

enabled_for_embedded_extractionboolean

Enabled for embedded extraction

Response

Update Accounts

idinteger

Account ID

account_idstring

Remote account ID

titlestring

Account title

currencystring

Account currency

connection_idinteger

Connection ID

datasource_namestring

Data source name

created_atstring

Account creation date

updated_atstring

Account update date

is_activeboolean

Is the account active

enabled_for_embedded_extractionboolean

Is the account enabled for embedded extraction

itemobject

Data source-specific account item information

Example response

[
  {
    "account": {
      "value": {
        "id": 1,
        "account_id": "12345678-1234-5678-1234-567812345678",
        "title": "Account 1",
        "currency": "USD",
        "connection_id": 1,
        "datasource_name": "google_sheets",
        "created_at": "2021-01-01T00:00:00Z",
        "updated_at": "2021-01-01T00:00:00Z",
        "is_active": true,
        "enabled_for_embedded_extraction": true,
        "item": {
          "currency": "USD",
          "advertiser_status": "ACTIVE"
        }
      }
    }
  }
]

Changes

No recorded changes to this operation across all 1 revision of this API.