Hi everyone,
I’m encountering an issue with the shippingAddress.phone field when retrieving order data via both webhooks and the Shopify Admin GraphQL API.
What I observed
-
From webhook / GraphQL API response:
00420xxxxxxx -
From Shopify Admin UI (Order details page):
+420 xxxxxxx
Issue
The phone number returned by the API appears to have an incorrect country code format:
-
The country code is represented as 00420 instead of +420
-
This differs from what is displayed in the Admin UI
My questions
-
Is the 00420 prefix considered a valid/expected format in Shopify API responses?
-
Why does the API return a different country code format compared to the Admin UI?
-
Is there any official standard or documentation describing how phone numbers are formatted in Shopify APIs
PS:
- webhook details
topic: orders/updated
version: 2025-04
eventId: c93e2c51-bee9-4c99-92fe-8d8505b9b544
eventTime: 2026-03-27T07:21:14.007283172Z
webhookId: 801d7cbd-959e-5ef8-9520-a66b0b53418d
{
"id": 7359889146197,
"shipping_address": {
"phone": "0042060593****", // To prevent privacy leakage, I covered the end of the number
}
}
2. Graphql Admin Api
{
"data": {
"order": {
"note": null,
"shippingAddress": {
"phone": "0042060593****"
}
}
},
"extensions": {
"cost": {
"requestedQueryCost": 2,
"actualQueryCost": 2,
"throttleStatus": {
"maximumAvailable": 2000.0,
"currentlyAvailable": 1998,
"restoreRate": 100.0
}
}
}
}
-
Admin UI
