Vendors

Delete a vendor by ID.

Side effects

  • DualEntry first marks the attachments of the vendor as deleted.

Additional validations

  • Fails with 422 if the vendor is referenced by other records.
delete/public/v2/vendors/{vendor_id}/

Request

  • Base URL: https://api.dualentry.com
  • URL: https://api.dualentry.com/public/v2/vendors/{vendor_id}/
  • Auth: none declared

Path parameters

vendor_idinteger required

Headers

Idempotency-Keystring

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.

Response

OK

successtrue
errorsobject
messagestring nullable

Changes

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status