Skip to main content

SetupIntegrationInput

Autogenerated input type of SetupIntegration

input SetupIntegrationInput {
apiKey: String
apiSecret: String
apiToken: String
brandId: ID @deprecated
clientMutationId: String
description: String
integrationType: IntegrationTypeEnum!
managed: Boolean
name: String!
oauthToken: String
roles: [RoleTypeEnum!]!
settings: JSON
}

Fields

SetupIntegrationInput.apiKey ● String scalar common

The API key for the integration. This argument can be also used to store the main API key or secret for the integration. It is very important to store the main connection credential using this argument because it will be encrypted and stored in the database.

SetupIntegrationInput.apiSecret ● String scalar common

The API secret for the integration. This argument will be encrypted and stored in the database.

SetupIntegrationInput.apiToken ● String scalar common

The API token for the integration. This argument will be encrypted and stored in the database.

SetupIntegrationInput.brandId ● ID deprecated scalar common

DEPRECATED

This argument will be removed in the future. Brand is becoming a product-only attribute. Integrations are configured by company now. Request company context from the X-Company-Id header will be used instead.

The brand id. If the header X-Brand-Id is provided then this argument is optional, otherwise it is required.

SetupIntegrationInput.clientMutationId ● String scalar common

A unique identifier for the client performing the mutation.

SetupIntegrationInput.description ● String scalar common

SetupIntegrationInput.integrationType ● IntegrationTypeEnum! non-null enum integrations

SetupIntegrationInput.managed ● Boolean scalar common

Indicates whether the integration setup should be managed by Endless (true) or by the user (false).

SetupIntegrationInput.name ● String! non-null scalar common

SetupIntegrationInput.oauthToken ● String scalar common

The Shopify OAuth token for the integration. This argument will be encrypted and stored in the database.

SetupIntegrationInput.roles ● [RoleTypeEnum!]! non-null enum roles-permissions

The roles that will be assigned to the integration. This argument is required and it must include at least one role. The roles determine the permissions that the integration will have, and the role should match with the actions that the integration will perform.

SetupIntegrationInput.settings ● JSON scalar common

Additional settings for the integration. This argument can be used to store any additional settings for the integration different from the api_key, the api_secret or the api_token.

Member Of

setupIntegration mutation