10.3 Deleting and deactivating
- Delete (
DELETE /{idMeta}) permanently deletes the product together with its stock and unit records; it cannot be undone. To only remove the product from sale, usedelist. - The delist body is a list:
| Field | Type | Required | Description |
|---|---|---|---|
distCode | text | Yes | Distributor code |
metaCode | text | Yes | Product code (CODE-BATCH for batch products) |
disabled | true/false | No | true = deactivate, false = activate |
[{ "distCode": "TEST", "metaCode": "P0001", "disabled": true }]