New API version v7.8.64 has been released! 🎉
REST Documentation
DELETE Delete Receipt

Delete Receipt

You can use this endpoint to delete a receipt.

Request

DELETE /api/v1/receipts/:id
curl --request DELETE \
     --url 'https://www.zep-online.de/zepinstanz/next/api/v1/receipts/123' \
     --header 'Accept: application/json' \
     --header 'Authorization: Bearer {token}'

Parameters

  • id (integer, required): The ID of the receipt to delete

Response

Successful Deletion

{
	"success": true
}

A successful deletion returns an object with success: true.

Error Codes

  • 401 Unauthorized: Invalid or missing authentication
  • 404 Not Found: Receipt with the specified ID was not found
  • 500 Internal Server Error: Deletion failed

Notes

  • Deleting a receipt is a permanent action and cannot be undone
  • Make sure you are using the correct receipt ID before executing the deletion
  • Verify that the user has the necessary permissions to delete receipts

Example

DELETE /api/v1/receipts/123

Response:

{
	"success": true
}