Write-offs: removing materials and products from stock outside sales and production, for example defects, damage or materials for internal use. Via the API you can create, edit and delete write-offs, change their status, and get a list and a write-off's details.
Method paths are given relative to the base API URL; the rules common to all methods (authorization, request format, partial editing, pagination) are described in API Overview and Common Rules.
Methods
| Method | What it does |
|---|---|
| v1/writeoffs/add | Creates a write-off |
| v1/writeoffs/edit | Updates a write-off |
| v1/writeoffs/delete | Deletes a write-off |
| v1/writeoffs/update_status | Changes the write-off status |
| v1/writeoffs/get_list | Returns the list of write-offs |
| v1/writeoffs/get_entry | Returns a write-off with its lines |