{"section":"tracks","requestedLocale":"en","requestedSlug":"shipping-strategies","locale":"en","slug":"shipping-strategies","path":"docs/en/tracks/vtex-modules-getting-started/logistics-101/shipping-strategies.md","branch":"main","content":"The shipping options offered to the customer at the checkout of your store are calculated by the **Inventory & shipping** module. These options depend on the location of the customer and your store's [shipping strategy](/en/docs/tutorials/shipping-strategy). \n\nThe shipping strategy defines how warehouses, loading docks, and shipping policies interact to meet the needs of your customers and your business. \n\n![Estrategia EnvioEN](https://cdn.statically.io/gh/vtexdocs/help-center-content/refs/heads/main/docs/en/tracks/vtex-modules-getting-started/logistics-101/shipping-strategies_1.png)\n\nThe shipping strategy is defined by three logistics entities:\n\n* [Shipping policy](/en/docs/tutorials/shipping-policy): rules agreed upon between stores and [carriers](/en/docs/tutorials/carriers-on-vtex). The delivery conditions offered by the carriers must be registered in the shipping policy. With this information, the platform determines which carriers meet the conditions of the order and displays it to the customer. The shipping policy is also used to configure [pickup points](/en/docs/tutorials/pickup-points).\n* [Loading dock](/en/docs/tutorials/loading-dock): location where items will be picked up. The stores use the loading dock to configure the collection of packages. The carriers pick up the packages from the loading docks.\n* [Warehouse](/en/docs/tutorials/warehouse): location where the items are stored. The shipping policy is not the only variable for choosing the delivery; it is also necessary to consider in which warehouse the products are stored.\n\n> ℹ️ There are other possible scenarios for using loading docks. To learn about use cases, read the article Loading docks. To learn more about the flow of deliveries, see the article [ How does the delivery flow work](/en/docs/tutorials/fulfillment-logistics-vtex).\n\nPlease note that:\n\n* A package is the parcel that contains the items of an order;\n* A warehouse is the place where goods are stored;\n* A loading dock is the intermediate point between shipping and storing the packages;\n* Inventory items can be managed in the [Inventory](/en/docs/tutorials/managing-stock-items) module.\n* Shipping includes both delivery and pickup.\n* Delivery is a type of shipping where the customer receives the items purchased on the ecommerce at their address.\n\n> ℹ️ VTEX supports up to 10,000 shipping routes per account. A route represents each possible combination of loading dock, inventory, shipping policy, and [sales channel](/en/docs/tutorials/how-trade-policies-work) in your store. The total number of routes is calculated by multiplying the number of these four entities. When this threshold is exceeded, the available number of items may be displayed inconsistently in the store. Therefore, when setting up your shipping strategy, avoid creating combinations that won't be used.\n\n## Configuration\n\nFor proper operation, we suggest configuring the [shipping strategies](/en/docs/tutorials/shipping-strategy) following the order below.\n\n1. [Shipping policy](/en/docs/tutorials/shipping-policy)\n2. [Loading dock](/en/docs/tutorials/managing-loading-docks)\n3. [Warehouse](/en/docs/tutorials/managing-warehouses)\n\n## Pickup points\n\nFor cases where a store offers [pickup points](/en/docs/tutorials/pickup-points) where the customers can pick up their orders, the store must configure the pickup point and the shipping strategy for this type of delivery. This is because the platform also calculates the available pickup points based on the customer's location, checking the warehouses, loading docks, and transportation to prepare the product for pickup. \n\nThe pickup point is displayed at checkout as a shipping option. The customer can choose between **delivery** and **pickup**.\n\n> ℹ️ The shipping strategy can also be configured via API. You can use the following APIs: <ul> <li>[Loading docks API](https://developers.vtex.com/vtex-rest-api/reference/docks); <li>[Warehouses API](https://developers.vtex.com/vtex-rest-api/reference/createupdatewarehouse); <li>[Shipping policies API](https://developers.vtex.com/vtex-rest-api/reference/get_logistics-pvt-shipping-policies-id); <li>[Pickup points API](https://developers.vtex.com/vtex-rest-api/reference/listallpickupppoints). </ul>\n\nWhen configuring [shipping strategies](/en/docs/tutorials/shipping-strategy) that use pickup points, we recommend following the order below:\n\n1. [Pickup points](/en/docs/tutorials/pickup-points); \n2. [Shipping policies](/en/docs/tutorials/shipping-policy);\n3. [Shipping rate template](/en/docs/tutorials/shipping-rate-template);\n4. [Loading docks](/en/docs/tutorials/managing-loading-docks); \n5. [Warehouses](/en/docs/tutorials/managing-warehouses);\n6. [Geolocation](/en/docs/tutorials/registering-geolocation);\n7. Configuration of the pickup points available at checkout.\n\n> ⚠️ For more information, see the article [Configuring pickup points](https://help.vtex.com/en/docs/tutorials/pickup-points#how-to-set-up-pickup-points).\n\n## Shipping time and holidays\n\nWhen the customer has items in the cart and enters the location information at checkout, the platform estimates the shipping time for the order. This estimate (also called SLA) is calculated considering the following criteria:\n\n* The times [configured for the inventories](/en/docs/tutorials/managing-warehouses#campos-de-cadastro).\n* The times [configured for the loading dock](/en/docs/tutorials/managing-loading-docks#campos-de-cadastro).\n* The times [configured for the shipping policy](/en/docs/tutorials/shipping-policy#adding-a-shipping-policy), in the fields **Pickup time** and **Hours of operation**. \n* The registered holidays.\n\nFor more details about the SLA calculation, read the article [How is the delivery time calculated?](/en/docs/tutorials/how-is-the-order-delivery-deadline-calculated).\n\n### Holidays\n\nHolidays are important in determining the shipping time, as they are directly related to the delivery time of your store's orders. VTEX considers holidays to be days when the store does not operate.\n\n> ⚠️ We recommend that you add the holidays after configuring the [shipping strategies](/en/docs/tutorials/shipping-strategy).\n\nTo register holidays on the platform, you can:\n\n* Use the [Holidays](/en/docs/tutorials/registering-holidays) section in the VTEX Admin.\n* Use the [Holidays API](https://developers.vtex.com/vtex-rest-api/reference/holidays).\n\nYou can register delivery times for scheduled deliveries from carriers and pickup points. The **[Scheduled delivery](/en/docs/tutorials/scheduled-delivery)** feature allows stores to offer delivery windows to their customers.\n\n> ℹ️ Shipping also depends on the [shipping cost](/en/docs/tutorials/total-shipping-cost) that your store offers to customers. This subject will be covered in the following articles. For more information about how carriers are chosen for deliveries, see the article [How shipping is calculated](/en/docs/tutorials/how-shipping-calculation-works)."}