Admin GraphQL APICustomer Account APIStorefront GraphQL API2025-07
The UnitPriceMeasurementMeasuredUnit
enum now includes imperial units and counts
UnitPriceMeasurementMeasuredUnit
enum now includes imperial units and countsIn the release candidate for version 2025-07 of the Storefront, GraphQL Admin, and Customer Account API, the enum now supports values for imperial units and counts.
For example:
- $10/oz or $5/ft
- $2/item
This update enables merchants to display more relevant and transparent pricing.
When 2025-07 is in the latest stable version, you can do the following to ensure that your app is compatible with the new measurement units:
- Update your app to API version 2025-07.
- Make relevant requests to API version 2025-07 for unit pricing.
Otherwise, the API will return the price value but return null
imperial units and counts.
Was this section helpful?