Skip to main content
DELETE
Delete product
A product used in an invoice, order, quote, despatch, warehouse slip, stock count, purchase record, service, production or accounting link cannot be deleted (2012).The product’s own sub-records (price and discount rows, product parameters, warehouse parameters, e-commerce information, customer-product mappings, acceptance criteria) do not block the delete; they are kept as they are.

Error codes

Codes this endpoint can return. The general errors that apply to every endpoint (authentication, permissions, request headers, request limits) are not repeated here.

Authorizations

Authorization
string
header
required

Access token obtained from the Noyax auth service with your API key.

Headers

X-UserID
integer<int32>
required

ID of the Noyax user the request is made on behalf of. Written to the audit fields of created, updated and deleted records.

Required range: x >= 1
X-CompanyID
integer<int32>
required

ID of the company. The user must be assigned to this company. All reads and writes are limited to this company.

Required range: x >= 1
X-PeriodID
integer<int32>

ID of the accounting period. Optional; if sent, it is written to created records.

Required range: x >= 1

Path Parameters

productId
string<uuid>
required

Product ID.

Response

No Content