v1
latestOpenAPI 3.1.02026-07-24920300.7 KBManage Time-Window Rotating Product
This API allows you to take an existing standard product and configure it into a valid time-window rotating product or to manage an existing configuration.
post/products/{product_id}/selection_rules/time_window/manage/
Path parameters
product_idstring required
Merchant product ID
Request body
Response
200
Example response
[
{
"public_id": "e1a61e620ed411ef8740767250df1ed7",
"selection_rule_type": "TIME_WINDOW",
"product_selection_list_elements": [
{
"public_id": "e1a626000ed411ef8740767250df1ed7",
"product": "48398751432995",
"starting_date": "2024-05-01T00:00:00Z"
}
],
"configuration": {
"reveal_moment": "ORDER_PLACEMENT",
"pricing_policy": "BEST_PRICE"
}
}
]