API / Reference / Credit Notes
Delete credit note line
DELETE
https://api.light.inc/v1/credit-notes/{creditNoteId}/lines/{lineId}
Deletes a line item from a credit note in draft status.
Only while the credit note is DRAFT (CREDIT_NOTE_CANNOT_BE_MODIFIED). Answers 204 with no body.
Authorization
Send one of these on every request. See Authentication for how to get credentials.
- API key
Basic authentication header of the form Basic <api_key>, where <api_key> is your api key.
- Bearer token
Path parameters
-
creditNoteIdstring · uuidrequired -
lineIdstring · uuidrequired
Response
This endpoint returns no content.