Order update - insurance and saturday_delivery fields

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.

Hi @Thibault!
Welcome to our community!

Thanks for catching that! I submitted a ticket for our engineers to fix this. We will let you know as soon as we have an update about it.

That is correct, it is not currently available on the order_update mutation, but it is on the order_create mutation.
We have requested if this could be added to the order_update mutation, and will let you know when this gets added

Thanks!
Tom