Delete Return

Warning

This documentation is for translated APIs and intended only for some implementations who have upgraded from a previous version of Order Management. Verify whether your implementation uses translated APIs before making this call, as you will experience errors if your tenant is not configured to use these. If your implementation is not configured to do so, then refer to the standard API documentation instead.

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. As with the other APIs, the base endpoint differs from the previous version of OMS and the x-vol-tenant key for authentication should be provided in the headers.

Production URLhttps://{tenantId}-translation.mozu.com/api/v2/return/{returnID}
Sandbox URLhttps://{tenantId}-translation.sandbox.mozu.com/api/v2/return/{returnID}
Supported FormatsJSON
HTTP MethodDELETE

Example

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:

https://{tenantId}-translation.mozu.com/api/v2/return/00000

The response should be a 204 No Content message, indicating that the return with that ID was deleted.