Update photo classification
Update the classification label of a product photo.
Documentation Index
Fetch the complete documentation index at: https://docs.closient.com/llms.txt
Use this file to discover all available pages before exploring further.
Authorizations
Path Parameters
Unique session short_id identifier.
Unique photo short_id identifier.
Body
Request body for updating photo classification.
New classification label for the photo. Same value set as on registration — see PhotoTypeEnum.
front, back, left, right, top, bottom, nutrition, ingredients, barcode, recycling, certification, other Developer-attached key/value data. Send {} or null to clear. Empty-string values delete that key. Omitted keys are preserved.
Response
OK
A single product photo in a scan session gallery.
Classification label — which side or aspect of the product this photo shows. Drives routing through the vision pipeline (e.g. nutrition photos go to the nutrition-facts extractor).
front, back, left, right, top, bottom, nutrition, ingredients, barcode, recycling, certification, other S3 object key for the photo file.
Original filename.
Display position.
Timestamp when the photo was registered.
Developer-attached key/value data attached to this object. Up to 50 keys; key max 40 chars, value max 500 chars.
File size in bytes.
Slug of the linked barcode capture.