Tags:
- Action Required
- Storefront GraphQL API
- 2024-07
OptionValue in Storefront API
A new type called has been added to the new storefront API and is nested as a new field on the type.
As of 2024-07, you can use the field to fetch the option values associated with an option. This field deprecates the existing [values] (https://shopify.dev/docs/api/storefront/2024-04/objects/ProductOptionValue) and provides richer option value information including swatches.
Was this section helpful?