How can I fetch companyLocationId using company ID in GraphQL?

@NovaModule1

Certainly! To fetch the CompanyLocationId based on the CompanyId in GraphQL, you’d need to construct a query. Assuming you have a schema similar to this:

query {
company(id: "your_company_id") {
companyLocationId
companyContact {
companyContactId
companyContactRoleId
}
}
}

Replace "your_company_id" with the actual ID you’re querying for. This assumes a structure where a company has a location, and a contact associated with it.

Make sure to adapt the query based on your specific GraphQL schema. If you encounter any issues or have a different schema, feel free to provide more details for a more accurate response.