@wix/auto_sdk_stores_catalog-imports-v-3 1.0.20 → 1.0.22
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
package/build/cjs/meta.d.ts
CHANGED
|
@@ -114,18 +114,20 @@ interface ProductWithInventory extends ProductWithInventoryTypedPropertiesOneOf
|
|
|
114
114
|
*/
|
|
115
115
|
taxGroupId?: string | null;
|
|
116
116
|
/**
|
|
117
|
-
* Product 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
|
-
*
|
|
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-product-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
|
|
128
|
-
*
|
|
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-product-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
|
|
177
|
-
*
|
|
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-product-options-and-variants).
|
|
178
184
|
*/
|
|
179
185
|
variantsInfo?: VariantsInfo;
|
|
180
186
|
/**
|