The Delete Return API allows for an existing return case to be deleted. It is a very simple call that only requires a valid Return ID.
The .json address above can be used to access the schema within Postman. An example use of the Return API follows below, or view the schema or the sample Postman collection.
This example will delete a return with the ID 00000.
The Full Request
The Delete Return API call only requires an Return ID, and no other parameters or properties. This ID is provided in the URL endpoint of the call, and not the body. Thus, the request header would simply look like this:
The response should be a 204 No Content message, indicating that the return with that ID was deleted.