Could you please use the mutation query below?
Include your token as a
X-Shopify-Access-Tokenheader on all API queries.
1: Mutation Query:
mutation orderUpdate($input: OrderInput!) {
orderUpdate(input: $input) {
order {
id
email
note
shippingAddress {
firstName
lastName
address1
address2
city
phone
zip
}
}
userErrors {
field
message
}
}
}
2: Variables
{
"input": {
"id": "gid://shopify/Order/5789426254002",
"email": "new.email1@example.com",
"note": "i am the note tényleg1",
"shippingAddress": {
"firstName": "Jane1",
"lastName": "Doe1",
"zip": "6001",
"city": "New York1",
"address1": "123 Shopify Way1",
"address2": "asd1",
"phone": "36203333331"
}
}
}
Sample: How to retrieve a list of products using the GraphQL Admin API