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, use delist.
  • The delist body is a list:
FieldTypeRequiredDescription
distCodetextYesDistributor code
metaCodetextYesProduct code (CODE-BATCH for batch products)
disabledtrue/falseNotrue = deactivate, false = activate
[{ "distCode": "TEST", "metaCode": "P0001", "disabled": true }]