Skip to main content
DELETE
Delete warehouse
  • A warehouse that has sections cannot be deleted (4003); delete its sections first.
  • A warehouse used in an invoice, order, warehouse slip, stock count or a product’s critical stock definition cannot be deleted (4004). The check is generated from the schema and automatically covers any new stock table.

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 for customer endpoints; if sent, it is written to created records.

Required range: x >= 1

Path Parameters

warehouseId
string<uuid>
required

Warehouse ID.

Response

No Content