curl --request PATCH \
--url http://localhost:3000/v1/receiving/items/{itemId}/not-received \
--header 'Content-Type: application/json' \
--data '
{
"reason": "out_of_stock"
}
'{
"success": true,
"message": "<string>",
"sweep_fully_received": true
}Marks a sweep item as not received / unavailable during the receiving process. Requires a reason.
curl --request PATCH \
--url http://localhost:3000/v1/receiving/items/{itemId}/not-received \
--header 'Content-Type: application/json' \
--data '
{
"reason": "out_of_stock"
}
'{
"success": true,
"message": "<string>",
"sweep_fully_received": true
}Sweep item ID
Reason the item was not received. damaged_stock marks as received with damaged inventory (tracks spend, no shelf placement).
out_of_stock, cant_find, damaged, wrong_item, damaged_stock