Skip to main content
POST
/
v1
/
scanner
/
receiving
/
scan-bag
Scan bag for cold receiving
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
}

Body

application/json
bag_barcode
string
required

Bag barcode (taxonomy ID)

Minimum string length: 1
order_id
string<uuid>
required

Order ID to assign the bag to

temperature_zone
enum<string>
required

Temperature zone for slot assignment

Available options:
refrigerated,
frozen

Response

Bag assigned to order with slot

success
boolean
required
bag
unknown