GraphQL API Release Notes
To discover what’s new and changed in GraphQL API, see the Salesforce Release Notes.
GraphQL uses a versioned base URI in this format: {MyDomainName}.my.salesforce.com/services/data/v{ApiVersion}/graphql. Update your base URI when changing API versions.
Here’s a list of changes to the GraphQL API reference content.
No API changes
No API changes
GraphQLInputRepresentationhas a newextensionsproperty for passing extensions with your request.GraphQLOutputRepresentationhas a newextensionsproperty that returns any extensions included in the query result.
No API changes
No API changes
No API changes
No API changes
No API changes
No API changes
GraphQLErrorRepresentationhas a newextensionsproperty that provides additional error details, including anErrorTypeproperty that identifies the type of error returned.
No API changes. Request and response body examples are now included in the reference documentation.
Initial release of the GraphQL API reference. Supports a single POST /graphql endpoint for executing GraphQL queries.
The GraphQLInputRepresentation request body has these properties.
query—the GraphQL query stringoperationName—the operation to executevariables—a map of variables for the query
The GraphQLRepresentation response body has these properties.
data—the query result dataerrors—an array ofGraphQLErrorRepresentationobjects, each with:message—description of the errorlocations—line and column in the query where the error occurredpath—path to the field that caused the error