Get products based on catalogs that are assigned to a company location ID

When a Location is assigned to a Catalog in Shopify
The ability to get the products associated to the Location’s catalog

Hi there :waving_hand:

Would a query similar to the following be sufficient?

{
  catalogs(first: 10 query:"company_location_id:

You can review the catalog [documentation here.](https://shopify.dev/docs/api/admin-graphql/2023-10/queries/catalogs)

Hi, thanks for replying.

I tried exactly like this but for some reason it’s always returning 0 even having records.

I guess it worked. I tried removing the “gid://shopify/CompanyLocation” from string.
I’ll do some testing and return to mark the solution as accepted. Thanks