@wix/auto_sdk_stores_catalog-imports-v-3 1.0.19 → 1.0.21

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -114,18 +114,20 @@ interface ProductWithInventory extends ProductWithInventoryTypedPropertiesOneOf
114
114
  */
115
115
  taxGroupId?: string | null;
116
116
  /**
117
- * Product options. Each option (like "Size" or "Color") creates variants when combined with other options.
117
+ * Product options, such as "Size" or "Color". Options define the ways a product can vary.
118
118
  *
119
- * When you provide options, you must also provide the corresponding variants. Each variant must have exactly one choice for each option.
120
- * To use existing [customizations](https://dev.wix.com/docs/api-reference/business-solutions/stores/catalog-v3/customizations-v3/introduction), pass their IDs. Otherwise, new customization entities are automatically created.
119
+ * When you provide options, you must also provide the corresponding variants. Each variant must have exactly one choice for each option. For more information, see [About Product Options and Variants](https://dev.wix.com/docs/api-reference/business-solutions/stores/catalog-v3/about-options-and-variants).
120
+ *
121
+ * Options are stored as reusable [customization](https://dev.wix.com/docs/api-reference/business-solutions/stores/catalog-v3/customizations-v3/introduction) entities. Pass an existing customization's ID to reuse it, or define options inline and new customization entities are created automatically.
121
122
  * @maxSize 6
122
123
  */
123
124
  options?: ConnectedOption[];
124
125
  /**
125
126
  * Product modifiers. Collect additional information from customers without creating variants.
126
127
  *
127
- * Unlike options, modifiers don't affect inventory or create additional variants. Use them for customizations like gift messages or engraving text.
128
- * To use existing [customizations](https://dev.wix.com/docs/api-reference/business-solutions/stores/catalog-v3/customizations-v3/introduction), pass their IDs. Otherwise, new customization entities are automatically created.
128
+ * Unlike options, modifiers don't affect inventory or create additional variants. Use them for things like gift messages or engraving text. For more information, see [About Product Options and Variants](https://dev.wix.com/docs/api-reference/business-solutions/stores/catalog-v3/about-options-and-variants).
129
+ *
130
+ * Modifiers are stored as reusable [customization](https://dev.wix.com/docs/api-reference/business-solutions/stores/catalog-v3/customizations-v3/introduction) entities. Pass an existing customization's ID to reuse it, or define modifiers inline and new customization entities are created automatically.
129
131
  * @maxSize 10
130
132
  */
131
133
  modifiers?: ConnectedModifier[];
@@ -173,8 +175,12 @@ interface ProductWithInventory extends ProductWithInventoryTypedPropertiesOneOf
173
175
  */
174
176
  handle?: string | null;
175
177
  /**
176
- * Product variants. Each variant must reference all product options via its `choices` array.
177
- * Each choice references an option using `optionChoiceNames` for all requests.
178
+ * Product variants. Each variant represents a specific purchasable version of a product defined by option choices.
179
+ *
180
+ * Each variant must reference all product options via its `choices` array, using `optionChoiceNames` in requests.
181
+ * Variants aren't auto-generated. You must explicitly provide each variant when creating products with options.
182
+ *
183
+ * For more information, see [About Product Options and Variants](https://dev.wix.com/docs/api-reference/business-solutions/stores/catalog-v3/about-options-and-variants).
178
184
  */
179
185
  variantsInfo?: VariantsInfo;
180
186
  /**
@@ -2107,12 +2113,12 @@ interface ProductMedia extends ProductMediaSetByOneOf, ProductMediaMediaOneOf {
2107
2113
  */
2108
2114
  url?: string;
2109
2115
  /**
2110
- * Product image.
2116
+ * Image details. Populated when you provide a [Wix Media Manager](https://support.wix.com/en/article/wix-media-about-the-media-manager) file ID in `set_by`.
2111
2117
  * @readonly
2112
2118
  */
2113
2119
  image?: Image;
2114
2120
  /**
2115
- * Product video.
2121
+ * Video details. Populated when you provide a Wix Media Manager file ID in `set_by`.
2116
2122
  * @readonly
2117
2123
  */
2118
2124
  video?: VideoV2;
@@ -2124,7 +2130,8 @@ interface ProductMedia extends ProductMediaSetByOneOf, ProductMediaMediaOneOf {
2124
2130
  altText?: string | null;
2125
2131
  /**
2126
2132
  * Media display name.
2127
- * Allows to override the default media name. Can be passed only when `setBy: url`.
2133
+ *
2134
+ * Overrides the default media name. Can be passed only when the media is set by a URL in `setBy``.
2128
2135
  * @maxLength 80
2129
2136
  */
2130
2137
  displayName?: string | null;
@@ -2162,12 +2169,12 @@ interface ProductMediaSetByOneOf {
2162
2169
  /** @oneof */
2163
2170
  interface ProductMediaMediaOneOf {
2164
2171
  /**
2165
- * Product image.
2172
+ * Image details. Populated when you provide a [Wix Media Manager](https://support.wix.com/en/article/wix-media-about-the-media-manager) file ID in `set_by`.
2166
2173
  * @readonly
2167
2174
  */
2168
2175
  image?: Image;
2169
2176
  /**
2170
- * Product video.
2177
+ * Video details. Populated when you provide a Wix Media Manager file ID in `set_by`.
2171
2178
  * @readonly
2172
2179
  */
2173
2180
  video?: VideoV2;
@@ -2268,7 +2275,9 @@ interface Thumbnail {
2268
2275
  }
2269
2276
  interface MediaItemsInfo {
2270
2277
  /**
2271
- * All media items (images, videos etc) associated with this product.
2278
+ * All media items associated with this product.
2279
+ *
2280
+ * The first item in the array is automatically set as the product's main media.
2272
2281
  * @maxSize 15
2273
2282
  */
2274
2283
  items?: ProductMedia[];