Hi there,
I’m trying to update insurance
field from the order_update
mutation but an “Unexpected Error” error is returned ; here is my query:
mutation updateOrder($data: UpdateOrderInput!) {
order_update(data: $data) {
order {
id
}
}
}
with the query variables:
{
"data": {
"order_id": "xxxxxxxxx",
"insurance": true
}
}
Here is the received response:
{
"errors": [
{
"message": "Unexpected Error",
"operation": "order_update",
"field": "order_update",
"request_id": "60228749a18ec5f79ca865a7",
"code": 22
}
],
"data": {
"order_update": null
}
}
Also, is there any way to update saturday_delivery
field ? I’ve noticed you can set this field from the order_create
mutation, but it doesn’t seem possible to update it from the order_update
one.