---
title: "Tutorial: Deactivating a store"
slug: "tutorial-deactivating-a-store"
updated: 2026-05-14T11:26:35Z
published: 2026-05-14T11:26:35Z
canonical: "docs.newstore.com/tutorial-deactivating-a-store"
stale: true
---

> ## Documentation Index
> Fetch the complete documentation index at: https://docs.newstore.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Tutorial: Deactivating a store

Deactivating a store consists of removing all employees, stock, and routing configuration that point to the store. You must also update the status of the store to `inactive`. Use this tutorial when a store is permanently closing in your business.

> [!NOTE]
> Important
> 
> This tutorial assumes you have an authentication token stored in the `AUTH_TOKEN` variable. Retrieve one with the following call:
> 
> ```plaintext
> export AUTH_TOKEN=$(curl -s <url>/v0/token -d \
> "grant_type=password&username=<myusername>&password=<mypassword>" | jq -r.access_token)
> ```

> [!CAUTION]
> Important
> 
> Once you create a store in NewStore, you cannot delete it from the platform. Deactivation marks the store as inactive but keeps its historical data. To temporarily stop a store from fulfilling orders without deactivating it, see [Enabling or disabling a store for order fulfillment](/v1/docs/managing-locations-in-newstore#enabling-or-disabling-a-store-for-order-fulfillment).

For the scope of this this tutorial, you will deactivate `store1_NYC`, the store you created in [Tutorial: Setting up a store](/v1/docs/tutorial-setting-up-a-store#tuto-create-store). The store is closing permanently at the end of the day.

## Removing stock from the store

Transfer or decommission all inventory at the store before you proceed. Deactivating a store that still holds stock can cause order routing inconsistencies and inventory discrepancies across your business.

Select one of the following approaches depending on the items in the store:

- Transfer salable items to another store or warehouse. Create a transfer order and ship the items to a receiving location. See [Managing transfer orders](/v1/docs/using-newstore-associate-app-to-manage-inventory#transferring-inventory).
- Move damaged or unsalable items to a non-salable stock location, such as `damaged`, so the items are excluded from stock on hand. See [(Optional) Creating stock locations](/v1/docs/tutorial-setting-up-a-store#optional-creating-stock-locations).
- Submit a Full count of `0` to clear the remaining quantity for products at the store. See [Creating stock data](/v1/docs/tutorial-importing-stock-information#creating-stock-data).
- If relevant for your store, also [force close any open ASNs](/v1/docs/using-newstore-associate-app-to-manage-inventory#force-closing-an-asn), delete any open inventory transactions, and delete Adjustment and Cycle count, and Runner tasks. Open tasks can lead to incorrect data in Omnichannel Manager reports or Insights.

> [!NOTE]
> Important
> 
> Confirm in Omnichannel Manager that stock on hand for `store1_NYC` is `0` before you continue. See [Managing locations in NewStore](/v1/docs/managing-locations-in-newstore).

## Removing the store from the fulfillment configuration

Stop the store from receiving new fulfillment requests by turning off order fulfillment at the location, then remove the store's `fulfillment_node_id` from any routing rules that reference it.

1. In Omnichannel Manager, select `Routing` **>** `Locations`. Select the location group that contains `store1_NYC`, select **Edit** for the location, clear the checkbox **Accept Fulfillment Orders,** and click **Save**. See [Managing fulfillment location groups](/v1/docs/managing-fulfillment-location-groups).
2. Remove the store's `fulfillment_node_id` from any routing rulesets or location groups that reference it. See [Tutorial: Setting up a fulfillment configuration](/v1/docs/tutorial-setting-up-a-fulfillment-configuration#tutorial_fulfillment-config-new).

> [!TIP]
> Note
> 
> For orders routed to the store before you switched off fulfillment, NewStore follows the usual workflow to process these orders. **Use Associate App to reject these orders if needed**.
> 
> For fulfillment requests that are pending for the store or are in the fulfilment queue, use the [mispick](/v1/docs/using-newstore-associate-app-to-fulfill-orders#mispicking-order-items) option to remove them from the fulfillment queue for the store.

> [!NOTE]
> Important
> 
> After you turn off fulfillment at a store, NewStore resets ATP for products at the store to `0` within 12 hours. The values for stock on hand, allocations, reservations, and safety stock stay unchanged until you also remove the stock.

## Removing employees from the store

Before you deactivate the store, unassign all employees from it. Active assignments prevent:

- Associates from signing in or completing in-progress operations against a deactivated store
- The update store API call fails fails if you have employees still assigned to the store.

To unassign or delete user accounts associated with the store, work with the NewStore team. See the [user management API](https://docs.newstore.net/api-portal#/http/identity-management/users/overview).

> [!TIP]
> Note
> 
> To review which user accounts are currently assigned to the store, in Omnichannel Manager, select `Locations`, and then select the store. See [Managing locations in NewStore](/v1/docs/managing-locations-in-newstore).

## *(Optional)* Deactivating the fiscal cashbox

If the store operates in a country with fiscal regulations, such as Germany, Austria, France, Sweden, Norway, or Ireland, deactivate the fiscal cashbox before you deactivate the store.

> [!TIP]
> Note
> 
> Fiscal cashbox deactivation is required only for production tenants. For non-production tenants, you can skip this step.

To deactivate the fiscal cashbox in the NewStore platform, raise a NewStore support request. Depending on the country, additional steps are required:

- **Germany and Austria**: Deactivate the cashbox in the fiskaltrust portal. NewStore automatically generates a closing receipt when you deactivate the fiscal cashbox. See [Fiscal regulations in Germany](/v1/docs/fiscal-regulations-in-germany) and [Fiscal regulations in Austria](/v1/docs/fiscal-regulations-in-austria).
- **France and Monaco**: Deactivate the cashbox in the fiskaltrust portal. See [Fiscal regulations in France & Monaco](/v1/docs/fiscal-regulations-in-france--monaco).
- **Sweden**: Submit a de-registration form for the cash register to Skatteverket. See [Fiscal regulations in Sweden](/v1/docs/fiscal-regulations-in-sweden).
- **Norway**: Contact NewStore support to complete the deactivation. See [Fiscal regulations in Norway](/v1/docs/fiscal-regulations-in-norway).

For details on fiscal requirements in other countries, see [Fiscal activations](/v1/docs/fiscal-activation-for-each-country).

## Deactivating the store

Update the store's `active_status` to `false` using the [update store method](https://docs.newstore.net/api/integration/inventory-management/store_api#operation/updateStore). The request changes only the attributes you provide in the payload.

Save the following sample as `data.json`.

```plaintext
{
  "active_status": false
}
```

Run:

```plaintext
curl -X PATCH "https://<tenant>.x.newstore.net/v0/d/stores/store1_NYC" \
     -H 'Content-Type: application/json' \
     -H "Authorization: Bearer $AUTH_TOKEN" \
     -d @data.json
```

> [!NOTE]
> Important
> 
> Using the [update store method](https://docs.newstore.net/api/integration/inventory-management/store_api#operation/updateStore) to deactivate the store fails if:
> 
> - The store still has employees assigned
> - You have not cleared stock
> - You have not switched off routing for the store
> 
> Confirm that the previous steps are complete before deactivation.

You have now deactivated `store1_NYC`.

**The store remains in the platform for historical reference, along with all historical data related to the store. However, the store can no longer fulfill orders or support new cash operations.**

**Related topics**

- [Tutorial: Setting up a store](/v1/docs/tutorial-setting-up-a-store#tuto-create-store)
- [Managing locations in NewStore](/v1/docs/managing-locations-in-newstore)
- [Managing fulfillment location groups](/v1/docs/managing-fulfillment-location-groups)
- [Fiscal activations](/v1/docs/fiscal-activation-for-each-country)
- [Update store](https://docs.newstore.net/api/integration/inventory-management/store_api#operation/updateStore)

A complete count of all the items in a store, imported from a count file into NewStore Omnichannel Cloud. A full count for a store is usually done once or twice a year. See About inventory management.

Inventory recording that adjusts the stock on hand to reflect product damage or theft and inventory temporarily moving out of the store, for example because of dry cleaning, fashion shoot, etc.

An inventory auditing procedure which falls under inventory management, where a small subset of inventory, in a specific location, is counted on a specified day.

A runner in a store is an associate in a support function, where they are responsible for promptly delivering products to the sales floor as needed, ensuring a smooth shopping experience for customers.

The runner in a store particularly helps display only a SKU of a specific product style, either due to the brand design, nature of the product, or store layout, while keeping the remaining inventory in the stock room.
