Public API
Delivery API
Courier Unassign
5min
unassigning a courier in the event that you previously had a courier assigned to a delivery but no longer do, you can use our courierunassign mutation to let us know that no courier is currently assigned to the delivery mutation mutation mutation courierunassign($input courierunassigninput!) { courierunassign(input $input) { clientmutationid delivery { id } usererrors { on deliveryvalidationerror { message path } } } } variables variables { "input" { "clientmutationid" "your mutation id", "courier" { "id" "your courier id", "firstname" "test", "lastname" "courier", "phone" "+15555555555", "vehicle" { "make" "your vehicle make", "model" "your vehicle model", "color" "your vehicle color" } }, "deliveryid" "ezcater delivery id" } } arguments argument name description input courier schema reference docid 7gv344rnwmuoknj9u4rw7 the input object for unassigning a courier return type returns a courier schema reference docid 7gv344rnwmuoknj9u4rw7 success response when the courierunassign mutation succeeds you can expect the response payload to look like response { "data" { "courierunassign" { "clientmutationid" "your mutation id", "delivery" { "id" "8eb96ea0 2018 4f6a 9b00 75b169aaebd9" }, "usererrors" \[] } } }