Soft-delete an item
DELETE
/v1/tenants/{tenantId}/items/{itemId}
const url = 'https://api.emite.cr/v1/tenants/example/items/example';const options = {method: 'DELETE', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request DELETE \ --url https://api.emite.cr/v1/tenants/example/items/example \ --header 'Authorization: Bearer <token>'Sets deleted_at. Existing invoices that reference the item are preserved.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”tenantId
required
string
Tenant UUID.
itemId
required
string
Item UUID.
Responses
Section titled “Responses”Item soft-deleted.
Missing or invalid JWT / API key
Tenant boundary violation or insufficient scope.
Item not found.