Cannot get publication name and app handle without deprecated fields

The catalog field works when you add the catalogType: APP filter to your publications query.

Try this updated query to identify your Online Store publication:

{
  publications(first: 10, catalogType: APP) {
    nodes {
      id
      catalog {
        id
        title
        ... on AppCatalog {
          id
          title
        }
      }
    }
  }
}

This will return publications with their catalog information, where you can identify the Online Store by the catalog title. The catalog titles typically follow the pattern “Channel Catalog [ID] for Online Store” or similar descriptive names that clearly identify the sales channel.

You can also filter by other catalog types like MARKET for international catalogs or COMPANY_LOCATION for B2B catalogs when needed.