Enabling inventory segmentation allocation and rebalancing frequency

You can enable inventory segmentation allocation by using the UI or an API. When you enable this feature, you can start to create segmentation allocation rules.

Before you begin

Ensure that you are familiar with the segmentation concepts. For more information, see Inventory segment and Segment rebalancing. Log in to Order Hub.

Procedure

Inventory segmentation allocation

  1. Enable inventory segmentation allocation by using the UI or an API:
    Enablement option Procedure
    Order Hub
    1. Log in to Order Hub.
    2. To open the Tenant configurations page, click Tenant.
    3. In the Inventory considerations section, toggle the Segment rebalancing execution time to On.
    4. Click Save.
    API In the Update settings API, set the allocationEnabled attribute to true.
    Example: Setting the allocationEnabled attribute in the Update Settings API
    {
      "segmentation" : {
        "allocationEnabled" : "true"
      }
    }

Segment rebalancing

  1. To rebalance your inventory across different segments, enable segment rebalancing by using the UI or an API:
    Enablement option Procedure
    Order Hub Enter a reallocation time that is 6 hours at a minimum.

    The minimum time that you can set to rebalance your inventory is 6 hours and it is set to 0 by default. If the time is set to 0, or any negative value, reallocation is not enabled but the allocation for the supply sync still occurs.

    API In the Update settings API, set the minReallocationHours attribute to a positive value that is a minimum of 6.

    The minimum time that you can set to rebalance your inventory is 6 hours and it is set to 0 by default. If the time is set to 0, or any negative value, reallocation is not enabled but the allocation for the supply sync still occurs.

    Example: Setting the allocationEnabled attribute in the Update Settings API
    {
      "segmentation" : {
        "minReallocationHours" : "2"
      }
    }
    In this example, the reallocation is set to two hours.

What to do next

Configure different types of segments for your inventory. For more information, see Configuring segments. Then, set up segmentation rules to segment your inventory. For more information, see Managing inventory segmentation allocation rules. View the various scenarios that are available. For more information, see Scenario: Supply segmentation allocation rules.