@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[];
|
|
@@ -172,8 +174,12 @@ interface ProductWithInventory extends ProductWithInventoryTypedPropertiesOneOf
|
|
|
172
174
|
*/
|
|
173
175
|
handle?: string | null;
|
|
174
176
|
/**
|
|
175
|
-
* Product variants. Each variant
|
|
176
|
-
*
|
|
177
|
+
* Product variants. Each variant represents a specific purchasable version of a product defined by option choices.
|
|
178
|
+
*
|
|
179
|
+
* Each variant must reference all product options via its `choices` array, using `optionChoiceNames` in requests.
|
|
180
|
+
* Variants aren't auto-generated. You must explicitly provide each variant when creating products with options.
|
|
181
|
+
*
|
|
182
|
+
* 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).
|
|
177
183
|
*/
|
|
178
184
|
variantsInfo?: VariantsInfo;
|
|
179
185
|
/**
|
|
@@ -2106,12 +2112,12 @@ interface ProductMedia extends ProductMediaSetByOneOf, ProductMediaMediaOneOf {
|
|
|
2106
2112
|
*/
|
|
2107
2113
|
url?: string;
|
|
2108
2114
|
/**
|
|
2109
|
-
*
|
|
2115
|
+
* 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`.
|
|
2110
2116
|
* @readonly
|
|
2111
2117
|
*/
|
|
2112
2118
|
image?: string;
|
|
2113
2119
|
/**
|
|
2114
|
-
*
|
|
2120
|
+
* Video details. Populated when you provide a Wix Media Manager file ID in `set_by`.
|
|
2115
2121
|
* @readonly
|
|
2116
2122
|
*/
|
|
2117
2123
|
video?: string;
|
|
@@ -2123,7 +2129,8 @@ interface ProductMedia extends ProductMediaSetByOneOf, ProductMediaMediaOneOf {
|
|
|
2123
2129
|
altText?: string | null;
|
|
2124
2130
|
/**
|
|
2125
2131
|
* Media display name.
|
|
2126
|
-
*
|
|
2132
|
+
*
|
|
2133
|
+
* Overrides the default media name. Can be passed only when the media is set by a URL in `setBy``.
|
|
2127
2134
|
* @maxLength 80
|
|
2128
2135
|
*/
|
|
2129
2136
|
displayName?: string | null;
|
|
@@ -2161,12 +2168,12 @@ interface ProductMediaSetByOneOf {
|
|
|
2161
2168
|
/** @oneof */
|
|
2162
2169
|
interface ProductMediaMediaOneOf {
|
|
2163
2170
|
/**
|
|
2164
|
-
*
|
|
2171
|
+
* 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`.
|
|
2165
2172
|
* @readonly
|
|
2166
2173
|
*/
|
|
2167
2174
|
image?: string;
|
|
2168
2175
|
/**
|
|
2169
|
-
*
|
|
2176
|
+
* Video details. Populated when you provide a Wix Media Manager file ID in `set_by`.
|
|
2170
2177
|
* @readonly
|
|
2171
2178
|
*/
|
|
2172
2179
|
video?: string;
|
|
@@ -2215,7 +2222,9 @@ interface Thumbnail {
|
|
|
2215
2222
|
}
|
|
2216
2223
|
interface MediaItemsInfo {
|
|
2217
2224
|
/**
|
|
2218
|
-
* All media items
|
|
2225
|
+
* All media items associated with this product.
|
|
2226
|
+
*
|
|
2227
|
+
* The first item in the array is automatically set as the product's main media.
|
|
2219
2228
|
* @maxSize 15
|
|
2220
2229
|
*/
|
|
2221
2230
|
items?: ProductMedia[];
|