delete
https://api.7digital.com/1.2/user/purchase//release/
Example request
DELETE https://api.7digital.com/1.2/user/purchase/49193524/release/87654?oauth_token=...Example Response
{
"status":"ok",
"version":"1.2",
"purchaseId": "49193524"
"releaseId": "87654"
}
}<response status="ok" version="1.2" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://localhost/api/static/7digitalAPI.xsd">
<release>
<purchaseId>49193524</purchaseId>
<releaseId>87654</releaseId>
</release>
</response>Specific Error Codes
- 2001 - Cannot find sale with purchaseId {purchaseid} and releaseId {releaseid}. Specified sale could not be found in the sales log
- 2002 - Cannot exclude sale with purchaseId {purchaseid} and releaseId {releaseid}. Specified sale could not be removed because the sale does not fall within the current reporting period. (The reporting period being from the start of the current month to 5th of the succeeding month. e.g. In January the reporting period is 1st January to 4th February.
