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
creditMemoIdstring
Credit memo ID
creditMemoNumberstring
Credit memo number
creditMemoPrefixstring
Credit memo prefix
customerIdstring
Customer ID
manufacturerIdstring
Manufacturer ID
issueDatedatetime
Issue date
totaldouble
Total amount
statusstring
Status
customerobject
Customer information
itemslist of objects
Line items
applicationslist of objects
Applications
externalIdslist of objects
External IDs
createdAtdatetime
Created at
lastUpdatedAtdatetime
Last updated at
syncStatusstring
Sync status
memostringOptional
Memo
reasonstringOptional
Reason

Errors

400
Bad Request Error
500
Internal Server Error