product/variations
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 Variations Object
Field | Description | Type - Length | Required |
---|---|---|---|
part_id | Part id or SKU. | String - 64 | Yes |
part_description | Small part description. | String - 256 | No |
price_variance | For pricing use the price_variance object. | Array | Yes |
attribute_color | Color of the variation | String - 64 | Yes |
attribute_color_hex | Hexadecimal color code of the variation. | String - 10 | No |
attribute_size | Size of the variation. | String - 64 | Yes |
swatch_color_hex | Hexadecimal color code of the swatch. | String - 10 | No |
swatch_color_image | Swatch image url of the variation. | String - 256 | No |
primary_material | Material the product/variation is made. | String - 64 | No |
is_closeout | Indicates the variation is clearance. | Boolean | No |