How to automatically mark a product as out of stock when the vendor no longer carries this item
When a vendor no longer includes a product/SKU in the inventory Spark Shipping can automatically mark that product as 0 quantity/out of stock.
To do this check the following:
Vendor -> Inventory -> Edit -> Advanced Settings -> Assume 0 inventory for mapped SKUs missing from the feed
When this is checked, a SKU you have mapped that is not in the feed is treated as out of stock instead of keeping its last quantity.
Protection against incomplete feeds
Next to this option, Max % of in-stock SKUs that can be set to 0 per run protects you from a feed that arrives incomplete. If a run would set more than this share of your currently in-stock SKUs to 0, Spark Shipping skips those updates for that run and records it in the vendor's log. Leave it blank to use the default (50%), or enter 100 to turn the limit off.
Pre-built vendor integrations
Some pre-built vendor integrations already set mapped SKUs that are missing from the vendor's feed to 0 on their own. Several of them (for example Sports South, Nalpac and Parts Authority) have a Disable zero stock option in the vendor's Options to turn this off.
You can also use a workflow with the Set Inventory to Zero action to send 0 for products that match your own conditions. See What are Workflows?.