Skip to main content
DELETE
cURL
Deletes the credit note by its cn_ id or its code. A credit note with an active refund is refused with 400 and the code in_use. Your API client needs the DELETE_CREDIT_NOTE permission.
The SDK samples get their client from credentials your app registers once when it starts, as shown in Authentication. To try the call here, click Try it, set host to your Exsited API host name and paste an access token from Get an access token.

Authorizations

Authorization
string
header
required

An access token from POST /api/v4/oauth2/token. The SDKs get and renew it for you.

Path Parameters

credit_note_id
string
required

The credit note's id, which starts with cn_, or its code.

Response

The credit note is deleted. The response has no body.