Dedicated to the Hydrogen framework, headless commerce, and building custom storefronts using the Storefront API.
I am building a frontend using storefront API and facing I can only get privacyPolicy, refundPolicy, shippingPolicy and termsOfService not legalNotice.
https://shopify.dev/api/storefront/2022-01/objects/ShopPolicy#fields
However, I can get the legal notice policy via admin API though, I want to use storefront API because it supports translation header.
I am also struggling with this issue.
I am building a Hydrogen store, but there is no way to retrieve the legal notice policy.
As of July 2024, the only method is to use the GraphQL Admin API's Shop query to fetch all policies and then use only the legal notice policy.
This means that the Admin API is called every time a customer accesses the page, and unnecessary data must also be fetched.