curl --request POST \
--url http://localhost:3000/v1/availability/recalculate \
--header 'Content-Type: application/json' \
--data '
{
"product_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"only_rfc_items": false,
"limit": 500
}
'{
"success": true,
"updated": 123,
"errors": 123,
"result": {
"score": 123,
"tier": "<string>",
"confidence": {
"level": "<string>",
"lower": 123,
"upper": 123
},
"total_events": 123,
"events_by_type": {},
"events_by_location": {}
}
}Recalculates availability scores for one or all products.
curl --request POST \
--url http://localhost:3000/v1/availability/recalculate \
--header 'Content-Type: application/json' \
--data '
{
"product_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"only_rfc_items": false,
"limit": 500
}
'{
"success": true,
"updated": 123,
"errors": 123,
"result": {
"score": 123,
"tier": "<string>",
"confidence": {
"level": "<string>",
"lower": 123,
"upper": 123
},
"total_events": 123,
"events_by_type": {},
"events_by_location": {}
}
}