Get a product's QR code
/v1/products/{id}/qrThe product's QR code as a square PNG, size pixels on a side (256-2048, default 1024). It encodes the product's hosted viewer page (viewer_url).
guide=false(default): "View in your room" above the code, "Powered by Viewrium" below it.guide=true: the whole "View in your room" card, with the three steps beside the code.
Answered for every product, published or not, so a code can be printed before launch; the link opens once the product is published, which the Viewrium-Published header states. 404 for a product you cannot see; 503 when QR rendering is unavailable.
Path Parameters
The product's id.
uuidQuery Parameters
false (the default): "View in your room" above the code and "Powered by Viewrium" below it. true: the whole "View in your room" card, with the three steps beside the code.
falseThe PNG's edge in pixels, 256 to 2048. Default 1024.
256 <= value <= 20481024Response Body
application/json
curl -X GET "https://example.com/v1/products/497f6eca-6276-4993-bfeb-53cbbbba6f08/qr"null{ "error": { "code": "string", "message": "string", "details": null }}Create a model ticket POST
Returns a single-use URL for the product's 3D file - the only way to its bytes, since no response carries a model file URL. The URL serves `model/gltf-binary` once, until `expires_at` (60 seconds for `view`, 30 for `ar`). Mint it right before the viewer loads; never store it. - Publishable key: published products only; the ticket is bound to the requesting page's origin, which must be one of your allowed domains. - Secret key: any of your products; the ticket is bound to `origin` (the page that will load the file). `400` for an origin outside your allowed domains; `404` for a product you cannot see; `409` without a ready model; `429` past the rate limits.
Update the 3D model PATCH
Sets the model's review decision, independently of the images and of the product. `400` for a decision back to `pending` or a model that is not ready; `404` when the product has no model.