Receipts: restore deleted receipt by id_by_customer
receipts_restoreRestore a previously deleted receipt for a customer account using its id_by_customer. Undo a receipt deletion and bring the document back.
Instructions
🟡 WRITE · reverts state: Reverts a prior state change (un-confirm a posting, restore a deleted receipt). Reversible.
restore deleted receipt by id_by_customer
Restore a marked as deleted receipt for a specified customer account by id_by_customer. You can get the "id_by_customer" by using the "/receipts/get method" first.
Use to bring back a receipt that was deleted with receipts_delete.
Endpoint: POST /receipts/restore/id_by_customer
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| message | No | blank | |
| success | Yes | Success boolean | |
| id_by_customer | No | blank |