Skip to main content

Queries

  • availableIntegrations (Experimental) — The released integrations the store can connect, with each one’s status and the store’s connections. For an API token, its creator (or you, signed in) sees only the integrations they can see in the Redo app now; a third-party app’s token sees them all.
  • integration (Experimental) — One of the store’s connections to an integration. Null when the store has none with that id.
  • integrations (Experimental) — The store’s connections to integrations, in catalog order. Pass slugs for only those integrations.

Mutations

  • integrationTest (Experimental) — Test the connection now: Redo calls the vendor with the stored credentials, records the result and returns the connection with lastConnectionTest set. Returns null when the store has no connection with that id. A failed test is a result with passed: false, not an error. A connection can be tested about once a minute; sooner returns THROTTLED, and a call that runs no test doesn’t count. One without the CONNECTION_TEST capability returns INTEGRATION_NOT_TESTABLE (422). Besides the scope, the token’s creator (or you, signed in) must be allowed to connect integrations in the Redo app; otherwise it returns INTEGRATION_PERMISSION_DENIED (403).

Objects

Interfaces

  • IntegrationSettings (Experimental) — One of the store’s connected accounts with an integration. An integration can have several, such as two carrier accounts.

Enums

  • ConnectionTestFailureReason (Experimental) — Why a connection test failed.
  • IntegrationCapability (Experimental) — Something the API can do with an integration.
  • IntegrationCategory (Experimental) — What kind of system an integration connects.
  • IntegrationSlug (Experimental) — An integration a store can connect. New integrations add values, so handle one you don’t know. Values are never removed: an integration Redo stops offering keeps its value, documented as deprecated.
  • IntegrationStatus (Experimental) — Whether an integration is connected and working.
  • RedoProduct (Experimental) — A Redo product a store can use.