Maxim

Maxim

Last updated on Oct 8, 2026

Deletes a write-off.

v1/writeoffs/delete.php

Parameters

Field Type Required Description
writeoff_id int Yes Write-off ID

Deletion cannot be undone. The written-off materials and products are returned to stock.

Example request

{
    "writeoff_id": 19291
}

Example response

{
    "success": true
}

Errors

Error Reason
No writeoff_id in input writeoff_id is missing
Write-off not found or access denied Write-off not found or already deleted