comecerodocs

Delete an invoice item

DELETE
/invoices/{invoice_id}/items/{item_id}

Removes one item from an open, unpaid invoice. If the item is part of a bundle, the whole bundle is removed. Shipping and promotions are worked out again. 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.

item_id*string

The item id. For a product it is the product_id.

Response Body

The item was removed.

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