product/media
Context
All requests to the beta-library.zoomcatalog.com/product-api endpoint must contain a request body conforming to the object shape described in the product spec. The object described below is part of the aforementioned spec.
Key-Value Pairs in a Media Object
Field | Description | Type - Length | Required |
---|---|---|---|
part_id | Part id or SKU related to the media. | String - 64 | Yes |
url | Public media url. | String - 1024 | Yes |
is_default | Indicate if the media is the default. | Boolean | Yes |
media_type | The type of media. | String - 264 | No |
class_type | Classification of the media. (e.g. swatch, black, decorated, etc…). | String - 264 | No |
view | Point of view used in the media ( e.g. front, back, side, top, bottom, etc...). | String - 264 | No |
file_size | File size | Float | No |
width | Width of media | Integer | No |
height | Height of media | Integer | No |
dpi | Dots per inch | Integer | No |
color | Main color of the media | String - 265 | No |
description | Short description of media | String - 1024 | No |