Upsert a Standalone Credit Memo
1 min
POST
https://api.nue.io/billing/credit-memos/standalone:upsert
acceptstringGenerated from available response content types
nue-api-keystring
bodyobject
200Successfully created or updated the credit memo
400<p>Bad Request - Invalid input parameters</p>
401<p>Unauthorized - Invalid or missing API key</p>
500Internal Server Error
curl --request POST \
--url https://api.nue.io/billing/credit-memos/standalone:upsert \
--header 'accept: application/json' \
--header 'content-type: application/json' \
--header 'nue-api-key: string' \
--data '{
"header": {
"customerId": "",
"creditMemoDate": "",
"amount": ""
},
"items": [
{
"productId": "",
"transactionDate": "",
"transactionQuantity": "",
"transactionAmount": ""
}
]
}'