Documentation Index

Fetch the complete documentation index at: https://docs.restaurant365.com/llms.txt

Use this file to discover all available pages before exploring further.

/public/accounting/v1/accounts-payable/credit-memos

Prev Next
Patch
/public/accounting/v1/accounts-payable/credit-memos

Updates one or more AP credit memos. Currently supports updating the approval status to Approved.

Security
HTTP
Type Bearer

Put ONLY your JWT Bearer token on textbox below!

Body parameters
Expand All
object
creditMemos
Array of object (R365.Accounting.Public.Contracts.AccountsPayable.Models.PatchCreditMemoItem) Required
Min items1
object
id
string (uuid) Required

Identifier of the credit memo to update.

approvalStatus
string Required

The approval status to set on the credit memo.

Valid values[ "Approved" ]
Responses
200

All credit memos updated successfully.

Expand All
object
success
Array of object (R365.Accounting.Public.Contracts.AccountsPayable.Models.CreditMemoUpdated)
object
id
string (uuid)

Identifier of the credit memo that was updated.

errors
Array of object (R365.Accounting.Public.Contracts.AccountsPayable.Models.CreditMemoError)
object
id
string (uuid) | null

Identifier of the credit memo that failed to update, if applicable.

message
string

Description of the error.

errorCode
string | null

Machine-readable error code (e.g. urn:r365:accounts-payable:credit-memo:not-found).

207

207 Multi-Status – Partial success: the response contains arrays of updated credit memos and errors for those that could not be updated.

Expand All
object
success
Array of object (R365.Accounting.Public.Contracts.AccountsPayable.Models.CreditMemoUpdated)
object
id
string (uuid)

Identifier of the credit memo that was updated.

errors
Array of object (R365.Accounting.Public.Contracts.AccountsPayable.Models.CreditMemoError)
object
id
string (uuid) | null

Identifier of the credit memo that failed to update, if applicable.

message
string

Description of the error.

errorCode
string | null

Machine-readable error code (e.g. urn:r365:accounts-payable:credit-memo:not-found).

400

Bad request – one or more validation errors occurred.

Expand All
object
success
Array of object (R365.Accounting.Public.Contracts.AccountsPayable.Models.CreditMemoUpdated)
object
id
string (uuid)

Identifier of the credit memo that was updated.

errors
Array of object (R365.Accounting.Public.Contracts.AccountsPayable.Models.CreditMemoError)
object
id
string (uuid) | null

Identifier of the credit memo that failed to update, if applicable.

message
string

Description of the error.

errorCode
string | null

Machine-readable error code (e.g. urn:r365:accounts-payable:credit-memo:not-found).

404

Not Found – all requested credit memos could not be located. When only some items are not found, a 207 is returned instead with per-item errors.

Expand All
object
success
Array of object (R365.Accounting.Public.Contracts.AccountsPayable.Models.CreditMemoUpdated)
object
id
string (uuid)

Identifier of the credit memo that was updated.

errors
Array of object (R365.Accounting.Public.Contracts.AccountsPayable.Models.CreditMemoError)
object
id
string (uuid) | null

Identifier of the credit memo that failed to update, if applicable.

message
string

Description of the error.

errorCode
string | null

Machine-readable error code (e.g. urn:r365:accounts-payable:credit-memo:not-found).

422

Unprocessable Entity – the request was well-formed but contains semantic errors and could not be processed.

Expand All
object
success
Array of object (R365.Accounting.Public.Contracts.AccountsPayable.Models.CreditMemoUpdated)
object
id
string (uuid)

Identifier of the credit memo that was updated.

errors
Array of object (R365.Accounting.Public.Contracts.AccountsPayable.Models.CreditMemoError)
object
id
string (uuid) | null

Identifier of the credit memo that failed to update, if applicable.

message
string

Description of the error.

errorCode
string | null

Machine-readable error code (e.g. urn:r365:accounts-payable:credit-memo:not-found).