How is REST different from GraphQL?
In REST each entity has its own address, and the server decides which fields to return. GraphQL usually has a single address, and the client describes in the request exactly which data it needs and receives it in one response. GraphQL suits complex interfaces with a lot of related data, while REST is simpler to cache and debug. The choice depends on the task and the external system.
More in the guide to API integration.