---
title: Subscription shipping address phone validation - Shopify developer changelog
description: >-
  Shopify’s developer changelog documents all changes to Shopify’s platform.
  Find the latest news and learn about new platform opportunities.
source_url:
  html: 'https://shopify.dev/changelog/subscription-shipping-address-phone-validation'
  md: >-
    https://shopify.dev/changelog/subscription-shipping-address-phone-validation.md
metadata:
  effectiveApiVersion: 2022-07
  affectedApi: []
  primaryTag:
    displayName: API
    handle: api
  secondaryTag:
    displayName: Update
    handle: update
  indicatesActionRequired: false
  createdAt: '2022-04-27T20:36:49-04:00'
  postedAt: '2022-07-01T00:00:00-04:00'
  updatedAt: '2024-12-13T17:24:34-05:00'
  effectiveAt: '2022-07-01T00:00:00-04:00'
---

July 1, 2022

Tags:

* API
* 2022-07

# Subscription shipping address phone validation

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](https://shopify.dev/api/admin-graphql/unstable/mutations/subscriptionContractCreate) and [subscriptionDraftUpdate](https://shopify.dev/api/admin-graphql/unstable/mutations/subscriptionDraftUpdate) on Shopify.dev.
