Receipt items
Receipt_items_create
AuthorizationBearer <token>
In: header
proof_idinteger
price_idinteger
orderinteger
The order of the item in the receipt. Item on top is 1.
Range
-2147483648 <= value <= 2147483647
predicted_data?unknown
A dict representing the predicted data of the receipt item. For example the product name, the price etc.
status?ReceiptItemFullStatusEnum | BlankEnum | NullEnum
The current status of the item
0
- deleted1
- linked_to_price
created?string
When the item was created in DB
Format
date-time
proof_prediction?integer | null
The proof prediction used to create this receipt item. Null if created by a user.
Response Body
curl -X POST "https://loading/api/v1/receipt-items" \
-H "Content-Type: application/json" \
-d '{
"proof_id": 0,
"price_id": 0,
"order": -2147483648
}'
{
"id": 0,
"proof_id": 0,
"price_id": 0,
"order": -2147483648,
"predicted_data": null,
"status": 0,
"created": "2019-08-24T14:15:22Z",
"updated": "2019-08-24T14:15:22Z",
"proof_prediction": 0
}