Create credit memo

View as Markdown

Authentication

Authorizationstring
API Key authentication via header

Request

This endpoint expects an object.
customerIdstringRequired
Customer ID
issueDatestringRequired
Issue date
reasonstringRequired
Reason
itemslist of objectsRequired
Credit memo items
memostringOptional
Memo
applyOnCreateobjectOptional
Apply on create parameters. Do not include if you want to apply the credit memo to an invoice later.

Response

Credit memo created successfully
payloadobject
Response payload, will be empty when success is false
successboolean

Boolean with true=success, false=failure

messagestring

Plain-text description of the result

errorobjectOptional
json element with any error messages or warnings

Errors

400
Bad Request Error
500
Internal Server Error