Is there a way to cancel records using the REST API?
Send a PUT request to /api/resource/{doctype}/{docname}
with formdata data={"docstatus": 2}
(encode appropriately)
2 Likes
Hi,
Is there way to submit the sales invoice using Rest API in tkinter?