Skip to main content

The UnitPriceMeasurementMeasuredUnit enum now includes imperial units and counts

In the release candidate for version 2025-07 of the Storefront, GraphQL Admin, and Customer Account API, the UnitPriceMeasurementMeasuredUnit 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:

Otherwise, the API will return the price value but return null imperial units and counts.

Was this section helpful?