post
https://{store}/api/rest/sales2/creditmemo//cancel
Cancels a credit memo and returns its full payload, with state now 4 (Canceled).
Only an Unapplied memo (state: 1) can be canceled. Anything else returns 400 Credit memo cannot be canceled. Canceling releases any reservations the memo holds and moves them onto the account's remaining available credit memos.
Path
:incrementId is the credit memo increment id.
Body (optional)
| Field | Type | Default | Description |
|---|---|---|---|
notify_customer | bool | false | Send the cancellation email |
comment | string | "" | Comment stored on the memo with the cancellation |
Recent Requests
Log in to see full request history
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
Loading…
