Delete receipts by key
DELETE/v1/receipt
Goods receipts, keyed per source system by source_receipt_line_id; source_line_id names the PO line. PO number, line number and source_document_id are taken from the line.
Keys: id, source_system + source_receipt_line_id. Rights: READ_RECEIPT to read, POST_RECEIPT to write (and READ_DATA / POST_DATA).
Soft delete. Body: an array of keys. Only records the API user's record ownership allows: its own records, every integrated record (All integrated records) or every record (All records). A delete is undone by sending the record again.
Request
Responses
- 200
- 207
- 400
- 401
- 403
- 404
- 413
- 422
Every record succeeded
Some records were rejected or not found (see each result)
The request itself is invalid (not an array, empty)
Missing or invalid API key
The key lacks the right, or the record is outside its organizations
No record was found
More than 1,000 records
Every record was rejected, or all_or_none rolled the request back (results inside)