Skip to main content

importIntegration Mutation

Import an Integration.

Access is permitted when any of the following condition(s) are met: 1. The signed-in User has any of the following permissions for the associated Organization: [org_manage_integrations]. 2. The signed-in User has any of the following permissions for any version of the object: [integration_edit]. 3. The signed-in User has any of the following permissions for the object's 'customer' attribute: [customer_admin_integration_permissions, customer_manage_integrations, customer_view_integrations].

Input fields (ImportIntegrationInput!)

ArgumentTypeDescription
customerIDThe Customer the Integration belongs to, if any. If this is NULL then the Integration belongs to the Organization.
definitionString!The YAML serialized definition of the Integration to import.
integrationIdIDThe ID of the Integration being imported.
clientMutationIdStringA unique identifier for the client performing the mutation.

Return fields (ImportIntegrationPayload)

clientMutationId (String)
errors ([ErrorType!]!)
integration (Integration)