post
https://{store}/api/rest/sales2/creditmemo/writeoff/reverse
Gives back part or all of the credit written off a credit memo: written_off_amount drops and the available credit rises by the same amount. No email is sent.
Body
| Field | Type | Default | Description |
|---|---|---|---|
increment_id | string | none | Required. Credit memo increment id |
reason | string | none | Required. Kept in the memo's history |
base_amount | number | everything written off | Amount to give back, in base currency. Above 0 and at most the memo's written_off_amount. Leave it out to give back the whole written-off amount |
The lock, QuickBooks / NetSuite and permission rules are those of Write Off.
Response
| Field | Description |
|---|---|
success | true |
given_back | The amount given back by this call, in base currency |
creditmemo | The memo's full payload after the reversal |
Recent Requests
Log in to see full request history
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
Loading…
