Basic Embedding
To embed the 3D viewer, use the following basic format:
Replace:
- PRODUCT_UUID with the unique identifier for the product.
- CLIENT_ID with your unique client identifier.
Custimization
You can customize the appearance of the 3D viewer by using additional URL parameters:
bcolor: This sets the background color of the viewer. You can provide the value as a hex code without the “#”. For example, bcolor=ff0000 will set the background color to red.
Example:
zoom: By default zoom is disabled.If you would like to enable zoom, you can set it to ‘true’.
Example:
URL Parameters
Parameter | Required | Description | Default |
---|---|---|---|
uuid | Yes | Unique identifier for the product. | None |
rda | Yes | Unique client identifier. | None |
bcolor | No | Background color of the viewer (hex code without #). | fff (white) |
zoom | No | Enable zoom functionality. | false |
Error Handeling
Make sure you provide the required parameters (uuid and rda). If they are missing, you’ll receive an error message. Additionally, if the product is not found, an error message will be displayed.