Skip to main content

Changes to GraphQL API MoneyV2-related fields

As of 2022-10, the Money scalar is being removed from the Storefront API. It was previously used for monetary fields that do not have a V2 suffix (<name>: Money). As a result, the following changes are being made:

  • Non-V2 fields will now use MoneyV2 objects for their type (<name>: MoneyV2).
  • Monetary fields that do have the V2 suffix (<name>V2: MoneyV2) are being deprecated in favor of the <name>: MoneyV2 equivalent. These fields will be removed in subsequent releases.

These changes will help improve consistency of the API and avoid confusion when using these fields.

Was this section helpful?