Skip to content

Mass Delete Inventory Sources ​

Deletes several inventory sources by numeric id in one call.

For field meanings and the delete guards, see the Inventory Sources overview.

Operation ​

OperationTypePurpose
createAdminSettingsInventorySourceMassDelete(input:)MutationDelete inventory sources in bulk

input.indices is an array of numeric ids. An empty array is rejected (equivalent to HTTP 422 on REST). The same delete guards apply per id — the batch is refused if it would empty the table or if any id is still referenced by product inventories.

deleted is a plain array of the removed numeric ids; message is a plain string.

Permission: settings.inventory_sources.delete.

Released under the MIT License.