Deleting an inventory batch
You can delete a batch that isn't assigned to any orders. Open the batch, click Delete batch, and confirm.
Delete a batch
- In Freshly, go to Inventory Batches (or open the product from Products).
- Click the batch name to open Edit inventory batch.
- Click Delete batch at the bottom left.
- Confirm.
When you delete a batch:
- Freshly removes the batch's quantity from the variant's available inventory in Shopify at that location. This doesn't happen if the batch has already expired, or if Preferences > Inventory > Batch quantities added or adjusted on Freshly are reflected in Shopify. is turned off.
- The batch's entries in the inventory batch history are removed too.
Why some batches can't be deleted
If a batch is assigned to an order, Delete batch doesn't appear. This keeps every order traceable to the batch it shipped from, which matters if you ever need to run a recall.
To free up the batch, remove it from every order first:
- Unassign it in Freshly. Go to Orders, open the order, and click Unassign next to the batch. You can then assign a different batch if needed. See Manually select inventory batches for your orders. Once an expired batch is unassigned, you can't assign it again.
- Delete the order in Shopify. Freshly unassigns batches from deleted orders automatically. Shopify only lets you delete orders that are archived or canceled, and only certain types (for example test orders, orders paid with a manual payment method, or draft orders marked as paid). See Shopify: Canceling, archiving and deleting orders.
Deleting all batches at once
There is no bulk delete button. You have two options:
- Set quantities to zero with a CSV import. Export your batches, set
inventory_batch_quantityto 0 for the rows you want to clear, and import the file. See Updating existing inventory batches with bulk import CSV file. The batches stay in Freshly with 0 units. By default, this also lowers your Shopify inventory by the same amount. To leave Shopify quantities as they are, add anenable_shopify_synccolumn set to FALSE. - Uninstall and reinstall Freshly. This permanently deletes all Freshly data for your store: batches, order batch assignments, inventory history, and import records. Your inventory quantities in Shopify are not changed. Uninstalling also cancels your Freshly subscription, so you'll need to approve the plan again after reinstalling.
If neither option fits, contact our support team.