> ## Documentation Index
> Fetch the complete documentation index at: https://docs.stigg.io/llms.txt
> Use this file to discover all available pages before exploring further.

# updateOneIntegration



**mutation** `updateOneIntegration(input: UpdateOneIntegrationInput!): Integration!`

## Arguments

**`input`**: `UpdateOneIntegrationInput!` (required)

## Returns

`Integration!`

**`account`**: `Account`

---

**`createdAt`**: `DateTime`

Timestamp of when the record was created

---

**`credentials`**: `Credentials`

Configuration for the integration

---

**`environment`**: `Environment`

---

**`environmentId`**: `UUID!`

The unique identifier for the environment

---

**`id`**: `UUID!`

Unique identifier for the entity

---

**`integrationId`**: `String`

The reference ID for the integration

---

**`isDefault`**: `Boolean`

Whether the integration is the default integration

---

**`metadata`**: `JSON`

Vendor-agnostic metadata for the integration (e.g. data-export destinations)

---

**`supportsPaymentMethod`**: `Boolean!`

Whether the integration supports collecting payment methods

---

**`vendorIdentifier`**: `VendorIdentifier!`

The vendor identifier of the integration (e.g. STRIPE, SALESFORCE, SNOWFLAKE)

---

**`vendorType`**: `VendorType!`

The type of integration

## Examples

```graphql Mutation
mutation UpdateOneIntegration($input: UpdateOneIntegrationInput!) {
  updateOneIntegration(input: $input) {
    account {
      accessMethod
      accountEmailDomain
      accountStatus
      defaultSSORoles {
        accountRole
        nonProductionRole
        productionRole
      }
      displayName
      emailDomains {
        accountId
        domain
        id
      }
    }
    createdAt
    credentials {
      __typename
      ... on AirwallexCredentials {
        accountId
        apiUrl
        authMethod
        clientId
        mode
        orgId
      }
    }
    environment {
      account {
        accessMethod
        accountEmailDomain
        accountStatus
        defaultSSORoles {
          __typename
        }
        displayName
        emailDomains {
          __typename
        }
      }
      apiKeys {
        createdAt
        description
        displayName
        environmentId
        expireAt
        id
      }
      color
      createdAt
      description
      displayName
    }
    environmentId
    id
  }
}
```

```json Variables
{
  "input": {
    "id": "value",
    "update": {
      "vendorIdentifier": "AIRWALLEX"
    }
  }
}
```

```json Response
{
  "data": {
    "updateOneIntegration": {
      "account": {
        "accessMethod": "AUTHORIZED_DOMAIN",
        "accountEmailDomain": "string",
        "accountStatus": "ACTIVE",
        "defaultSSORoles": {
          "accountRole": "MEMBER",
          "nonProductionRole": "ADMIN",
          "productionRole": "ADMIN"
        },
        "displayName": "string",
        "emailDomains": [
          {
            "accountId": "value",
            "domain": "string",
            "id": "value"
          }
        ]
      },
      "createdAt": "value",
      "credentials": {
        "__typename": "AirwallexCredentials",
        "accountId": "string",
        "apiUrl": "string",
        "authMethod": "API_KEY",
        "clientId": "string",
        "mode": "PRODUCTION",
        "orgId": "string"
      },
      "environment": {
        "account": {
          "accessMethod": "AUTHORIZED_DOMAIN",
          "accountEmailDomain": "string",
          "accountStatus": "ACTIVE",
          "defaultSSORoles": {
            "__typename": "AccessRoles"
          },
          "displayName": "string",
          "emailDomains": [
            {
              "__typename": "AccountEmailDomain"
            }
          ]
        },
        "apiKeys": [
          {
            "createdAt": "value",
            "description": "string",
            "displayName": "string",
            "environmentId": "value",
            "expireAt": "value",
            "id": "value"
          }
        ],
        "color": "string",
        "createdAt": "value",
        "description": "string",
        "displayName": "string"
      },
      "environmentId": "value",
      "id": "value"
    }
  }
}
```


## Related topics

- [UpdateOneIntegrationInput](https://docs.stigg.io/graphql-reference/types/UpdateOneIntegrationInput.md)
- [Scheduled updates](https://docs.stigg.io/documentation/managing-customers-and-subscriptions/subscription-updates/scheduled-updates.md)
- [Update a customer integration](https://docs.stigg.io/api-reference/customer-integrations/update-a-customer-integration.md)
- [Integrations](https://docs.stigg.io/documentation/native-integrations/overview.md)
- [UpdateIntegrationInput](https://docs.stigg.io/graphql-reference/types/UpdateIntegrationInput.md)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.