Update order status
When building integrations with business systems, it is useful to be able to update the order status. Updating the order status triggers subsequent events on the platform, such as email notifications or payment activation.
Similar to other batch mutations, this returns a job ID which can be used to check the status of your job.
Request:
mutation updateStatus {
batchUpdateOrders(input: [
{id:23444, status: {id:6}},
{id:23445, status: {id:6}},
{id:23446, status: {id:6}}
]) {
id
status
}
}
Response:
{
"data": {
"batchUpdateOrders": {
"id": 130,
"status": "waiting"
}
}
}