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)

FieldTypeDefaultDescription
notify_customerboolfalseSend the cancellation email
commentstring""Comment stored on the memo with the cancellation
Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
string
required
Body Params
boolean
string
Responses

Language
Credentials
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json