Tags:
- API
- 2022-10
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
objects for their type (). - Monetary fields that do have the
V2suffix () are being deprecated in favor of theequivalent. 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?