Items

Archive an item so it can no longer be added to invoices or bills.

Additional validations

  • Fails with 422 if a record that is not archived uses the item, or if an immutable-record policy blocks the change.
delete/public/v2/items/{item_id}/

Request

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

Path parameters

item_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