Discuss and resolve questions on Liquid, JavaScript, themes, sales channels, and site speed enhancements.
In the Shopify Admin, you're allowed to change the email address and phone number on an order. Shopify does the following GraphQL mutation.
mutation OrderContactUpdate($input: OrderInput!) {
orderUpdate(input: $input) {
order {
id
phone
email
}
userErrors {
field
message
}
}
}
Variables:
{
"input": {
"id": "gid://shopify/Order/3986425053319",
"phone": "+31612345678",
"email": "name@domain.com"
}
}
The same mutation exists on the public GraphQL API but the "phone" field is not defined on the OrderInput for the public API. I'd very much like it to have the phone field defined so we can do the same mutations as the user can do manually within the Shopify Admin.
I also went into the same problem. Any solutions? 🙏
I haven't checked in well over a year, so it might have been changed, but as far as I know, no solution.
Learn how to build powerful custom workflows in Shopify Flow with expert guidance from ...
By Jacqui May 7, 2025Did You Know? May is named after Maia, the Roman goddess of growth and flourishing! ...
By JasonH May 2, 2025Discover opportunities to improve SEO with new guidance available from Shopify’s growth...
By Jacqui May 1, 2025