@wix/auto_sdk_stores_catalog-imports-v-3 1.0.20 → 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 +13 -7
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +13 -7
- package/build/cjs/meta.js.map +1 -1
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +13 -7
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +13 -7
- 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 +13 -7
- package/build/internal/cjs/index.typings.js.map +1 -1
- package/build/internal/cjs/meta.d.ts +13 -7
- 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 +13 -7
- package/build/internal/es/index.typings.mjs.map +1 -1
- package/build/internal/es/meta.d.mts +13 -7
- 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
|
/**
|