comecerodocs

Delete all invoice items

DELETE
/invoices/{invoice_id}/items

Removes every item from an open, unpaid invoice. Shipping and promotions are worked out again. A published invoice with no items cannot be paid. Takes a secret or trusted token.

Authorization

headerAuthorizationBearer <token>

A secret, trusted or limited token. See Authentication.

Path Parameters

invoice_id*string

The invoice id.

Response Body

All items were removed.

Example Request
curl -X DELETE 'https://api.comecero.com/api/v1/invoices/string/items'
Example Response
Empty