Delete vendor
Archive a vendor by ID.
DualEntry sets record_status to archived and is_active to false.
The vendor keeps its name and integration links.
The name of an intercompany vendor gets the prefix ARCHIVED - <id> - , where <id> is the vendor ID.
To restore an archived vendor, send PATCH with record_status set to posted and is_active set to true.
Additional validations
- Fails with
422if the vendor is referenced by other records. - Fails with
422when the request archives the vendor while a recurring template that is not archived uses it.
Authorizations
Headers
Optional. A unique value (a UUID works well) identifying this operation. If the request is repeated with the same key, the original response is replayed instead of the operation running again, so a retry cannot create a duplicate record. Results are replayable for 48 hours. Reusing a key with a different request body returns 422.
255