Void Posted Credit Memo

Output representation of the request to void a posted credit memo.

JSON Example 

This example shows a sample success response.

1{
2  "errors": null,
3  "statusURL": "/services/data/v68.0/sobjects/AsyncOperationTracker/16Pxx0000004LdkEAE",
4  "debitMemoId": "4Dmxx00000000XtAAK",
5  "success": true
6}

This example shows a sample error response.

1{
2  "errors": [
3    {
4      "errorCode": "INVALID_STATUS",
5      "message": "CreditMemo 50gxx00000000XtAAI is not in the Posted status."
6    }
7  ],
8  "debitMemoId": "",
9  "success": false
10}
Property NameTypeDescriptionFilter Group and VersionAvailable Version
debitMemoIdStringID of the created debit memo.Big, 66.066.0
errorsError Response[]List of errors specific to this API request that were encountered during voiding the credit memo.Big, 66.066.0
isSuccessBooleanIndicates whether the API request was successful (true) or not (false).Big, 66.066.0
statusURLStringStatus URL for tracking this operation.Big, 66.066.0