Umsatz.io icon

Umsatz.io

Interact with the Umsatz.io API (powered by agentur-systeme.de)

GraphQL → Raw Query/Mutation

AI-generated

Summary

Execute a raw GraphQL query or mutation using the configured Umsatz.io API endpoint.

Inputs

  • requestFormat (required) — Payload format; choose JSON (recommended) or raw GraphQL string.
  • query (required) — The GraphQL query or mutation string to execute.
  • variables — Optional variables object for the query, as JSON.
  • operationName — Optional name of the operation when the document contains multiple named operations.

Output shape

Parsed JSON response from the GraphQL API (typically containing data and optionally errors).

If the server returns errors, they are included in the response; successful execution yields the data object only. The shape is not further typed by the node.

Examples

Example 1: Run a simple query to fetch user count

requestFormat: JSON, query: "{ users { id } }", variables: {}, operationName: ""

Example 2: Execute a mutation to create a deal

requestFormat: JSON, query: "mutation CreateDeal($input: DealInput!) { createDeal(input: $input) { id } }", variables: {"input":{"name":"Test Deal"}}, operationName: "CreateDeal"

Example 3: Send a raw GraphQL string to an external endpoint

requestFormat: graphql, query: "{ __schema { types { name } } }", variables: {}, operationName: ""

Discussion