@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.
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +22 -13
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +22 -13
- package/build/cjs/meta.js.map +1 -1
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +22 -13
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +22 -13
- package/build/es/meta.mjs.map +1 -1
- package/build/internal/cjs/index.js.map +1 -1
- package/build/internal/cjs/index.typings.d.ts +22 -13
- package/build/internal/cjs/index.typings.js.map +1 -1
- package/build/internal/cjs/meta.d.ts +22 -13
- package/build/internal/cjs/meta.js.map +1 -1
- package/build/internal/es/index.mjs.map +1 -1
- package/build/internal/es/index.typings.d.mts +22 -13
- package/build/internal/es/index.typings.mjs.map +1 -1
- package/build/internal/es/meta.d.mts +22 -13
- package/build/internal/es/meta.mjs.map +1 -1
- package/package.json +2 -2
|
@@ -113,18 +113,20 @@ interface ProductWithInventory extends ProductWithInventoryTypedPropertiesOneOf
|
|
|
113
113
|
*/
|
|
114
114
|
taxGroupId?: string | null;
|
|
115
115
|
/**
|
|
116
|
-
* Product options
|
|
116
|
+
* Product options, such as "Size" or "Color". Options define the ways a product can vary.
|
|
117
117
|
*
|
|
118
|
-
* When you provide options, you must also provide the corresponding variants. Each variant must have exactly one choice for each option.
|
|
119
|
-
*
|
|
118
|
+
* 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).
|
|
119
|
+
*
|
|
120
|
+
* 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.
|
|
120
121
|
* @maxSize 6
|
|
121
122
|
*/
|
|
122
123
|
options?: ConnectedOption[];
|
|
123
124
|
/**
|
|
124
125
|
* Product modifiers. Collect additional information from customers without creating variants.
|
|
125
126
|
*
|
|
126
|
-
* Unlike options, modifiers don't affect inventory or create additional variants. Use them for
|
|
127
|
-
*
|
|
127
|
+
* 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).
|
|
128
|
+
*
|
|
129
|
+
* 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.
|
|
128
130
|
* @maxSize 10
|
|
129
131
|
*/
|
|
130
132
|
modifiers?: ConnectedModifier[];
|
|
@@ -184,8 +186,12 @@ interface ProductWithInventory extends ProductWithInventoryTypedPropertiesOneOf
|
|
|
184
186
|
*/
|
|
185
187
|
inventoryAppId?: string | null;
|
|
186
188
|
/**
|
|
187
|
-
* Product variants. Each variant
|
|
188
|
-
*
|
|
189
|
+
* Product variants. Each variant represents a specific purchasable version of a product defined by option choices.
|
|
190
|
+
*
|
|
191
|
+
* Each variant must reference all product options via its `choices` array, using `optionChoiceNames` in requests.
|
|
192
|
+
* Variants aren't auto-generated. You must explicitly provide each variant when creating products with options.
|
|
193
|
+
*
|
|
194
|
+
* 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).
|
|
189
195
|
*/
|
|
190
196
|
variantsInfo?: VariantsInfo;
|
|
191
197
|
/**
|
|
@@ -2118,12 +2124,12 @@ interface ProductMedia extends ProductMediaSetByOneOf, ProductMediaMediaOneOf {
|
|
|
2118
2124
|
*/
|
|
2119
2125
|
url?: string;
|
|
2120
2126
|
/**
|
|
2121
|
-
*
|
|
2127
|
+
* 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`.
|
|
2122
2128
|
* @readonly
|
|
2123
2129
|
*/
|
|
2124
2130
|
image?: string;
|
|
2125
2131
|
/**
|
|
2126
|
-
*
|
|
2132
|
+
* Video details. Populated when you provide a Wix Media Manager file ID in `set_by`.
|
|
2127
2133
|
* @readonly
|
|
2128
2134
|
*/
|
|
2129
2135
|
video?: string;
|
|
@@ -2135,7 +2141,8 @@ interface ProductMedia extends ProductMediaSetByOneOf, ProductMediaMediaOneOf {
|
|
|
2135
2141
|
altText?: string | null;
|
|
2136
2142
|
/**
|
|
2137
2143
|
* Media display name.
|
|
2138
|
-
*
|
|
2144
|
+
*
|
|
2145
|
+
* Overrides the default media name. Can be passed only when the media is set by a URL in `setBy``.
|
|
2139
2146
|
* @maxLength 80
|
|
2140
2147
|
*/
|
|
2141
2148
|
displayName?: string | null;
|
|
@@ -2173,12 +2180,12 @@ interface ProductMediaSetByOneOf {
|
|
|
2173
2180
|
/** @oneof */
|
|
2174
2181
|
interface ProductMediaMediaOneOf {
|
|
2175
2182
|
/**
|
|
2176
|
-
*
|
|
2183
|
+
* 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`.
|
|
2177
2184
|
* @readonly
|
|
2178
2185
|
*/
|
|
2179
2186
|
image?: string;
|
|
2180
2187
|
/**
|
|
2181
|
-
*
|
|
2188
|
+
* Video details. Populated when you provide a Wix Media Manager file ID in `set_by`.
|
|
2182
2189
|
* @readonly
|
|
2183
2190
|
*/
|
|
2184
2191
|
video?: string;
|
|
@@ -2227,7 +2234,9 @@ interface Thumbnail {
|
|
|
2227
2234
|
}
|
|
2228
2235
|
interface MediaItemsInfo {
|
|
2229
2236
|
/**
|
|
2230
|
-
* All media items
|
|
2237
|
+
* All media items associated with this product.
|
|
2238
|
+
*
|
|
2239
|
+
* The first item in the array is automatically set as the product's main media.
|
|
2231
2240
|
* @maxSize 15
|
|
2232
2241
|
*/
|
|
2233
2242
|
items?: ProductMedia[];
|