Updates one or more AP credit memos. Currently supports updating the approval status to Approved.
Returns 207 for every processed request, whether all items succeeded, some succeeded, or none did. Check the status field of each entry in results[] rather than the HTTP status code. Failures are isolated — a failed item does not prevent the others from being applied.
Security
The requesting user must have the following permission to approve AP credit memos:
- Accounts Payable → AP Credit Memos → Approve AP Credit Memos
Approve and create are separate permissions — this permission does not grant create rights.
Identifies the R365 tenant the request applies to. Required on every request.
Identifier of the credit memo to update.
The approval status to set on the credit memo.
Per-item outcomes. This endpoint returns 207 for every processed request — including when every item succeeded and when every item failed — so the HTTP status is not a success indicator. Inspect each entry in results[] and check its status field.
Per-item outcomes for the submitted batch.
One entry per submitted credit memo, in request order.
Outcome for one credit memo in the batch.
Zero-based position of this item in the submitted creditMemos array.
Identifier of the credit memo this result refers to. Echoed back even when the id was not found.
Outcome for this item.
Machine-readable failure reason when status is Failed; null on success. Observed values: ENTITY_NOT_FOUND, APPROVE_FAILED, INVALID_FIELD_VALUE.
Human-readable failure reason when status is Failed; null on success.
Bad Request — a parameter value is malformed, of the wrong type, or outside its allowed range.
Unauthorized — the bearer token is missing, invalid or expired, or is not valid for the specified tenant.
Forbidden — the caller lacks the permission required for this operation.
Not Found — the requested resource does not exist, or the supplied continuation token is unknown or has expired.
Conflict — the request conflicts with the current state of the resource and cannot be applied.
Unprocessable Entity — a required parameter is missing, or a supplied parameter value is invalid.
Too Many Requests — the caller has exceeded the rate limit; retry after a short delay.
Internal Server Error — an unexpected error occurred while processing the request.