receipt-items
post/api/v1/receipt-items
Request body
idinteger required
proof_idinteger required
price_idinteger required
orderinteger required
The order of the item in the receipt. Item on top is 1.
{"stackTrail":"components:schemas:ReceiptItemFull:properties:predicted_data","oasType":"schema","type":"unknown","description":"A dict representing the predicted data of the receipt item. For example the product name, the price etc."}
schema_versionstring nullable
The schema version of the predicted data. Used to handle changes in the prediction data structure.
createdstring date-time
When the item was created in DB
updatedstring date-time required
When the item was last updated
proof_predictioninteger nullable
The proof prediction used to create this receipt item. Null if created by a user.
Response
idinteger required
proof_idinteger required
price_idinteger required
orderinteger required
The order of the item in the receipt. Item on top is 1.
{"stackTrail":"components:schemas:ReceiptItemFull:properties:predicted_data","oasType":"schema","type":"unknown","description":"A dict representing the predicted data of the receipt item. For example the product name, the price etc."}
schema_versionstring nullable
The schema version of the predicted data. Used to handle changes in the prediction data structure.
createdstring date-time
When the item was created in DB
updatedstring date-time required
When the item was last updated
proof_predictioninteger nullable
The proof prediction used to create this receipt item. Null if created by a user.