curl --request POST \
--url http://localhost:3000/v1/scanner/receiving/scan-bag \
--header 'Content-Type: application/json' \
--data '
{
"bag_barcode": "<string>",
"order_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"temperature_zone": "refrigerated"
}
'{
"success": true,
"bag": null
}Scans a bag barcode, assigns it to an order, and auto-assigns a cold storage slot.
curl --request POST \
--url http://localhost:3000/v1/scanner/receiving/scan-bag \
--header 'Content-Type: application/json' \
--data '
{
"bag_barcode": "<string>",
"order_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"temperature_zone": "refrigerated"
}
'{
"success": true,
"bag": null
}