curl --request PATCH \
--url http://localhost:3000/v1/scanner/sweeps/{id}/items/{itemId} \
--header 'Content-Type: application/json' \
--data '
{
"picked_quantity": 123,
"status": "pending",
"notes": "<string>",
"actual_price": 123,
"partial_reason": "out_of_stock",
"expected_updated_at": "<string>",
"substitute_product_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
'{
"success": true,
"item": null,
"error": "<string>",
"message": "<string>"
}Updates a sweep item status or picked quantity.
curl --request PATCH \
--url http://localhost:3000/v1/scanner/sweeps/{id}/items/{itemId} \
--header 'Content-Type: application/json' \
--data '
{
"picked_quantity": 123,
"status": "pending",
"notes": "<string>",
"actual_price": 123,
"partial_reason": "out_of_stock",
"expected_updated_at": "<string>",
"substitute_product_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
'{
"success": true,
"item": null,
"error": "<string>",
"message": "<string>"
}Documentation Index
Fetch the complete documentation index at: https://docs.switchyard.run/llms.txt
Use this file to discover all available pages before exploring further.
Quantity picked
Item status
pending, picked, unavailable, substituted Notes for the item
Actual price paid
Reason for partial pick
out_of_stock, cant_locate Optimistic lock: expected updated_at timestamp for conflict detection
Scraped product ID to use as substitute for this item