Operation Page

Enter the details on the Operation page.

Element Description

Enter your GraphQL query

Enter the custom GraphQL query.

Inline fragment example:
query ($customerID:ID!){
 node(id: $customerID) {
   ... on Customer {
     id
     firstName
     lastName
     email
   }
 }
}
Named fragment example:
query ($customerId1:ID!, $customerId2:ID!, $first:Int!){
   OperationOne: customer(id:$customerId1){
       ...CustomerFragment
   }
   OperationTwo: customer(id:$customerId2){
       ...CustomerFragment
   }
}
fragment CustomerFragment on Customer {
   id
   firstName
   lastName
   email 
   addresses{
       city
   }
}

GraphQL Variables

Define the variables for the GraphQL query.

Note:

Inline variables are not supported.

Try Query

Select to validate the query.

Add custom request headers

Select this check box to add custom request headers on the Request Headers page.

Add custom response headers

Select this check box to add custom response headers on the Response Headers page.

Note:

Click Continue or outside the GraphQL query box to validate the GraphQL query.