Browse Documentation
DELETE Delete purchase

Delete Purchase

DELETE /purchases/:id

A DELETE request is expected to be sent to the above endpoint where the purchase id must be passed as a parameter to the offer path. The below example demonstrates how to delete an Offer.

Request

    
curl -s -H
"Content-Type: application/json" -H "Authorization: Bearer token" \
-XDELETE \
https://dev.accounteer.com/api/v0.1/purchase/25230e4579efd7942370528a88fd0d5459a139a5
    

Response

When the offer has been successfully deleted a 204 response will be returned without body

HTTP/1.1 204 No Content