--- title: "Configuring distribution centers" slug: "configuring-distribution-centers" tags: ["api", "config api", "tutorial", "warehouse", "order", "platform", "DC fulfillment", "fulfillment", "routing", "delivery", "shipping", "Associate App", "warehouse fulfillment"] updated: 2024-12-12T13:38:56Z published: 2024-12-12T13:38:56Z canonical: "docs.newstore.com/configuring-distribution-centers" --- > ## 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. # Configuring distribution centers Add `distribution centers` (DC) and configure contact information to be able to route orders, calculate taxes, and generate invoices and return labels. > [!NOTE] > Important > > - When `stock` is [imported](/v1/docs/importing-data#integ-importdata) with `store_id` as `null`, the DC specified as the location of the stock is automatically created as a `fulfillment_node_id` in NewStore. Ensure that you know the `fulfillment_node_id` of the DC before you make any updates to the configuration. > - NewStore can only be the `inventory master` for stores in your business, and not DCs. ## Configuring DCs To configure DCs created during a stock import, use the [Update DC configuration](https://docs.newstore.net/api/configuration/inventory-fulfillment/dc_fulfillment_node_config/#operation/update-dc-configuration) API. When configuring the DC, in: - `url`, specify the URL for the fulfillment provider at the DC. This is where fulfillment requests for orders will be posted. - `api_key`, specify the `api_key` that authenticates calls to the URL. To retrieve the existing configuration of a DC, use the [Get DC configuration](https://docs.newstore.net/api/configuration/inventory-fulfillment/dc_fulfillment_node_config/#operation/get-dc-configuration) API. > [!TIP] > Note > > If the configuration for a DC or store was not working correctly, the integrations needs to be fixed just once. The platform automatically re-sends any fulfillment requests that were unsuccessful before due to the wrong configuration, once a day. To update the address and contact details of a DC that you have set up for your business, use the [Update DC location](https://docs.newstore.net/api/integration/order-management/location_api#operation/update-dc-location) API. > [!TIP] > Note > > You cannot specify the operational business hours or the applicable timezone for a DC. You can now add the DC to the [fulfillment configuration](https://docs.newstore.net/api/integration/order-management/newstore_ff_config_api#operation/add-or-update-fulfillment-configuration) to be able to route orders to it. ## Enabling or disabling DCs You can also use an API to enable or disable a DC to manage order fulfillment in your business. To enable a DC that has been set up for your business, but is not active yet, use the [Enable location](https://docs.newstore.net/api/integration/order-management/location_api#operation/enable-location) API. To disable a DC that is already being used to fulfill orders in your business, use the [Disable location](https://docs.newstore.net/api/integration/order-management/location_api#operation/disable-location) API. **Related topics** - [Customizing the fulfillment configuration](/v1/docs/configuring-order-routing-settings#customizing-the-fulfillment-configuration)