Remove a document from an offer
DELETE/v1/offers/:id/documents/:documentId
Removes the document from the offer, also from the customer's view of it. This cannot be undone; on an offer that is no draft, its history names the API key. The Kommissionsliste cannot be removed (409 document_read_only). Requires the read:documents and write:offers scopes.
Request
Responses
- 204
- 401
- 403
- 404
- 409
- 500
The document was removed.
missing_api_key or invalid_api_key: no API key was sent, or it is wrong, expired or revoked.
insufficient_scope: the API key does not have the scope this endpoint needs. required names it.
not_found: there is no such offer in your company, or no such document on it.
document_read_only: the document is the Kommissionsliste.
db_error: the database refused or failed the request. message has the details.