Hello,
We implemented our Subscriptions API solution when it was first introduced in January 2021. We’ve received alerts about deprecation of the 2021-01 API version for some time, with the deprecation date being today (July 5 2023).
We did a test of our application today and noted that calls to subscriptionDraftUpdate to update the shipping address on a Subscription Draft were resulting in an error about an invalid phone number:
[{"field":["input","deliveryMethod","shipping","address","phone"],"message":"Delivery method shipping address phone is invalid"}]
We had been passing a hard-coded 5555555555 value as the phone number. Thinking that was the problem, we’ve tried other real phone numbers, but receive the same error. We’ve submitted the same request to our old (2021-01) and several newer (2022-07, 2023-07, etc) API endpoints, but all return the same invalid phone number response.
The docs for MailingAddressInput, which “phone” is a field, notes that the value must be:
“Formatted using E.164 standard. For example, +16135551111.” We have adjusted and included the country code and tried both with and without the “+” prefix, but all give the same error response.
https://shopify.dev/docs/api/admin-graphql/2023-04/input-objects/MailingAddressInput
I’m hoping some of the Shopify staff that frequent the forum can weigh in. Regular Shopify Chat Support has submitted a request to look at the logs for us, but while we wait to hear back we wanted to reach out here as well.
Thank you!