cURL
curl --request POST \ --url https://api.example.com/api/credit-notes/{creditNoteId}/apply-invoices
Credit note successfully applied to invoices