Configure GraphQL
Configure API With GraphQL Protocol, and Publish it.
Query Multiple Company Data
For Fetching Multi Company Data, we have to provide "allowed_company_ids" in context of GraphQL Variable where we provide the ids of companies record.
Please consider below GraphQL Variable and GraphQL Query.
GraphQL Variable:
{ "context": { "allowed_company_ids": [2,1] } }
GraphQL Query
query Myquery { SaleOrder{ id name company_id{ id name } } }
