Skip to content

Delete Inventory Source

Two guards (HTTP 400)

  • Last source — refuses if this is the only inventory source left (parity with monolith).
  • FK guard — refuses if product_inventories.inventory_source_id references it. API-specific safeguard.

Permission: settings.inventory_sources.delete.

Released under the MIT License.