Developer changelog

Subscribe to the changelog to stay up to date on recent changes to Shopify’s APIs and other developer products, as well as preview upcoming features and beta releases.

Get updates by RSS

Subscription shipping address phone validation

API

As of the 2022-07 version of the Admin GraphQL API, the phone field of the delivery address will be validated on calls to subscriptionContractCreate and subscriptionDraftUpdate.

This allows you to ensure phone numbers are properly formatted and will prevent errors that may occur when processing subscription payments with invalid data.

Learn more about SubscriptionContractCreate and subscriptionDraftUpdate on Shopify.dev.