Skip to main content

Cancel a Delivery

cancelDelivery Mutation

mutation {
cancelDelivery(id: "del_CVNDR5F59Y", reason: "There's a snake in my boots") {
id
}
}

Response

attributedescription
idid of the delivery
reasonthe reason or cancelation

Response Body

{
"data": {
"cancel": {
"id": "del_CVNDR5F59Y"
}
}
}