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.
Procedure
Inventory segmentation allocation
-
Enable inventory segmentation allocation by using the UI or
an API:
| Enablement option |
Procedure |
| Order Hub |
- Log in to Order Hub.
- To open the Tenant configurations page, click
Tenant.
- In the Inventory considerations section, toggle the Segment
rebalancing execution time to On.
- 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
- 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.