Get Item Count By Barcodes
POST/items/barcode/count
Get item count from the database that match the query.
Parameters
barcodes: list of string
List of barcodes to search for.
exact: list of boolean (optional)
Exact match on barcode for each barcode. If not provided, defaults to true for each barcode.
Returns
integer
The number of items matching the barcodes.
Request
- application/json
Body
required
barcodes string[]required
Possible values: non-empty
List of barcodes to search for
scanner_account_ids string[]
List of scanner account IDs
exact boolean[]
Exact match on barcode for each barcode
Responses
- 200
- 422
Successful Response
- application/json
- Schema
Schema
integer
Validation Error
- application/json
- Schema
- Example (from schema)
Schema
- Array [
- Array [
- MOD2
- ]
- ]
detail object[]
loc object[]required
anyOf
string
integer
msg Messagerequired
type Error Typerequired
{
"detail": [
{
"loc": [
"string",
0
],
"msg": "string",
"type": "string"
}
]
}
Loading...