Receipts: delete receipt by id_by_customer
receipts_delete_id_by_customerDelete a receipt for a customer account by providing the receipt's id_by_customer. This action marks the receipt as deleted and is restorable.
Instructions
๐ด DESTRUCTIVE ยท deletes data โ Deletes a record. Confirm with the user before calling. Receipt deletes are restorable; cost-location deletes are not. delete receipt by id_by_customer Mark a receipt as deleted for a specified customer account by id_by_customer. You can get the "id_by_customer" by using the "/receipts/get method" first.
Endpoint: POST /receipts/delete/id_by_customer
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| api_key | No | Optional. The BB customer api_key to act on. Defaults to the BB_API_KEY configured on the server โ only set this to target a different customer. |