curl --request POST \
--url http://localhost:3000/v1/rfc-picks/clear-cart \
--header 'Content-Type: application/json' \
--data '
{
"cart_id": "0130001000000054"
}
'{
"success": true,
"message": "<string>",
"cleared": {
"totes_reset": 123,
"pick_list_items_cleared": 123,
"bags_cleared": 123
}
}Clears all assignments on a cart: pick_list_id, order_id, totes, and resets all associated totes, pick_list_items, and bags.
curl --request POST \
--url http://localhost:3000/v1/rfc-picks/clear-cart \
--header 'Content-Type: application/json' \
--data '
{
"cart_id": "0130001000000054"
}
'{
"success": true,
"message": "<string>",
"cleared": {
"totes_reset": 123,
"pick_list_items_cleared": 123,
"bags_cleared": 123
}
}