@wix/ditto-codegen-public 1.0.162 → 1.0.163

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.
Files changed (66) hide show
  1. package/dist/docs-output/api-docs/bookings-bookings-onBookingCanceled-doc.txt +169 -0
  2. package/dist/docs-output/api-docs/bookings-bookings-onBookingCreated-doc.txt +154 -0
  3. package/dist/docs-output/api-docs/crm-contacts-onContactCreated-doc.txt +87 -171
  4. package/dist/docs-output/api-docs/crm-contacts-onContactDeleted-doc.txt +58 -0
  5. package/dist/docs-output/api-docs/crm-contacts-onContactUpdated-doc.txt +99 -0
  6. package/dist/docs-output/api-docs/data-items-get-doc.txt +95 -54
  7. package/dist/docs-output/api-docs/data-items-insert-doc.txt +235 -43
  8. package/dist/docs-output/api-docs/data-items-onDataItemCreated-doc.txt +61 -0
  9. package/dist/docs-output/api-docs/data-items-onDataItemDeleted-doc.txt +58 -0
  10. package/dist/docs-output/api-docs/data-items-onDataItemUpdated-doc.txt +61 -0
  11. package/dist/docs-output/api-docs/data-items-query-doc.txt +507 -302
  12. package/dist/docs-output/api-docs/data-items-remove-doc.txt +120 -40
  13. package/dist/docs-output/api-docs/data-items-update-doc.txt +425 -46
  14. package/dist/docs-output/api-docs/ecom-cart-addToCart-doc.txt +488 -0
  15. package/dist/docs-output/api-docs/ecom-cart-createCart-doc.txt +518 -0
  16. package/dist/docs-output/api-docs/ecom-cart-createCheckout-doc.txt +155 -0
  17. package/dist/docs-output/api-docs/ecom-cart-deleteCart-doc.txt +92 -0
  18. package/dist/docs-output/api-docs/ecom-cart-getCart-doc.txt +376 -0
  19. package/dist/docs-output/api-docs/ecom-cart-onCartCreated-doc.txt +89 -80
  20. package/dist/docs-output/api-docs/ecom-cart-onCartUpdated-doc.txt +91 -81
  21. package/dist/docs-output/api-docs/ecom-cart-removeLineItemsFromCart-doc.txt +321 -0
  22. package/dist/docs-output/api-docs/ecom-cart-updateCart-doc.txt +539 -0
  23. package/dist/docs-output/api-docs/ecom-checkout-addToCheckout-doc.txt +1005 -0
  24. package/dist/docs-output/api-docs/ecom-checkout-createCheckout-doc.txt +1641 -0
  25. package/dist/docs-output/api-docs/ecom-checkout-getCheckout-doc.txt +1027 -0
  26. package/dist/docs-output/api-docs/ecom-checkout-onCheckoutCompleted-doc.txt +151 -0
  27. package/dist/docs-output/api-docs/ecom-checkout-onCheckoutCreated-doc.txt +150 -0
  28. package/dist/docs-output/api-docs/ecom-checkout-onCheckoutUpdated-doc.txt +150 -0
  29. package/dist/docs-output/api-docs/ecom-checkout-removeLineItemsFromCheckout-doc.txt +879 -0
  30. package/dist/docs-output/api-docs/ecom-checkout-updateCheckout-doc.txt +1011 -0
  31. package/dist/docs-output/api-docs/ecom-currentCart-getCurrentCart-doc.txt +368 -322
  32. package/dist/docs-output/api-docs/ecom-currentCart-updateCurrentCart-doc.txt +506 -321
  33. package/dist/docs-output/api-docs/ecom-orders-bulkUpdateOrders-doc.txt +1040 -0
  34. package/dist/docs-output/api-docs/ecom-orders-cancelOrder-doc.txt +608 -0
  35. package/dist/docs-output/api-docs/ecom-orders-getOrder-doc.txt +926 -0
  36. package/dist/docs-output/api-docs/ecom-orders-onOrderCreated-doc.txt +245 -0
  37. package/dist/docs-output/api-docs/ecom-orders-onOrderUpdated-doc.txt +244 -0
  38. package/dist/docs-output/api-docs/ecom-orders-searchOrders-doc.txt +670 -0
  39. package/dist/docs-output/api-docs/ecom-orders-updateOrder-doc.txt +818 -0
  40. package/dist/docs-output/api-docs/search-wixSiteSearch-search-doc.txt +162 -0
  41. package/dist/docs-output/api-docs/stores-collections-addProductsToCollection-doc.txt +86 -0
  42. package/dist/docs-output/api-docs/stores-collections-createCollection-doc.txt +108 -0
  43. package/dist/docs-output/api-docs/stores-collections-getCollection-doc.txt +102 -0
  44. package/dist/docs-output/api-docs/stores-collections-queryCollections-doc.txt +209 -0
  45. package/dist/docs-output/api-docs/stores-collections-removeProductsFromCollection-doc.txt +86 -0
  46. package/dist/docs-output/api-docs/stores-collections-updateCollection-doc.txt +110 -0
  47. package/dist/docs-output/api-docs/stores-inventory-queryInventory-doc.txt +98 -0
  48. package/dist/docs-output/api-docs/stores-inventory-updateInventoryVariants-doc.txt +249 -0
  49. package/dist/docs-output/api-docs/stores-inventoryItemsV3-queryInventoryItems-doc.txt +236 -0
  50. package/dist/docs-output/api-docs/stores-inventoryItemsV3-updateInventoryItem-doc.txt +139 -0
  51. package/dist/docs-output/api-docs/stores-productsV3-createProduct-doc.txt +1697 -0
  52. package/dist/docs-output/api-docs/stores-productsV3-deleteProduct-doc.txt +73 -0
  53. package/dist/docs-output/api-docs/stores-productsV3-getProduct-doc.txt +933 -0
  54. package/dist/docs-output/api-docs/stores-productsV3-onProductCreated-doc.txt +794 -0
  55. package/dist/docs-output/api-docs/stores-productsV3-onProductDeleted-doc.txt +794 -0
  56. package/dist/docs-output/api-docs/stores-productsV3-onProductUpdated-doc.txt +794 -0
  57. package/dist/docs-output/api-docs/stores-productsV3-queryProducts-doc.txt +1051 -0
  58. package/dist/docs-output/api-docs/stores-productsV3-searchProducts-doc.txt +1144 -0
  59. package/dist/docs-output/api-docs/stores-productsV3-updateProduct-doc.txt +1730 -1600
  60. package/dist/docs-output/api-docs/stores-readOnlyVariantsV3-queryVariants-doc.txt +290 -0
  61. package/dist/docs-output/api-docs/stores-readOnlyVariantsV3-searchVariants-doc.txt +353 -0
  62. package/dist/out.js +929 -79
  63. package/package.json +2 -2
  64. package/dist/docs-output/api-docs/data-items-onDataItemCreated.txt +0 -103
  65. package/dist/docs-output/api-docs/stores-product-onProductCreated-doc.txt +0 -118
  66. package/dist/docs-output/api-docs/stores-productV3-onProductCreated-doc.txt +0 -184
@@ -0,0 +1,1697 @@
1
+ <stores_productsV3_createProduct>
2
+ <description>
3
+ # Method name:
4
+
5
+ stores.productsV3.createProduct(product: V3Product, options: CreateProductOptions)
6
+
7
+ # Method Link:
8
+
9
+ https://dev.wix.com/docs/sdk/backend-modules/stores/catalog-v3/products-v3/create-product
10
+
11
+ # Method Description:
12
+
13
+ Creates a new product.
14
+
15
+ This endpoint also allows to add a ribbon, brand, info sections, options, and modifiers.
16
+
17
+ # Method Permissions:
18
+
19
+ - WIX_STORES.PRODUCT_CREATE
20
+
21
+ # Method Permissions Scopes IDs:
22
+
23
+ undefined
24
+
25
+
26
+
27
+ # Method Code Examples:
28
+
29
+ ## createProduct
30
+
31
+ ```javascript
32
+ import { productsV3 } from '@wix/stores';
33
+
34
+ async function createProduct(product, options) {
35
+ const response = await productsV3.createProduct(product, options);
36
+ };
37
+ ```
38
+
39
+ ## createProduct (with elevated permissions)
40
+
41
+ ```javascript
42
+ import { productsV3 } from '@wix/stores';
43
+ import { auth } from '@wix/essentials';
44
+
45
+ async function myCreateProductMethod(product, options) {
46
+ const elevatedCreateProduct = auth.elevate(productsV3.createProduct);
47
+ const response = await elevatedCreateProduct(product, options);
48
+ }
49
+ ```
50
+
51
+
52
+ </description>
53
+ <type_definition>
54
+ ```
55
+ Method: stores.productsV3.createProduct(product, options)
56
+ Description: Creates a new product. This endpoint also allows to add a ribbon, brand, info sections, options, and modifiers.
57
+ Method parameters:
58
+ param name: product | type: V3Product | description: Product to create. At least 1 variant must be provided and each variant must have relevant item in `choices` field for every item in `options`. If `options` is empty one default variant must be provided with empty `choices` list. | required: true
59
+ - name: brand | type: Brand | description: Product brand. + Pass `brand.name` to add a new brand while creating a product. + Pass an existing brand's `id` to assign that brand to the product.
60
+ - name: _id | type: string | description: Brand GUID.
61
+ - name: name | type: string | description: Brand name.
62
+ - name: description | type: RichContent | description: Product description using rich content. > **Note:** Returned only when you pass `"DESCRIPTION"` to the `fields` array in Products API requests. <widget src="https://apps.wix.com/_serverless/ricos-playground-services/goto/api-component" plugins="indent.emoji.divider.codeBlock.file.gallery.giphy.image.table.link.textHighlight.textColor" exampleid="7dc9240e-d548-417a-abcf-0291b68b4303"> <a href="https://dev.wix.com/docs/ricos/api-reference/ricos-document">See Ricos document reference</a> </widget>
63
+ - name: documentStyle | type: DocumentStyle | description: Global styling for header, paragraph, block quote, and code block nodes in the object.
64
+ - name: blockquote | type: TextNodeStyle | description: Styling for block quote nodes.
65
+ - name: decorations | type: Array<Decoration> | description: The decorations to apply to the node.
66
+ - name: type | type: DecorationType | description: The type of decoration to apply.
67
+ enum: ANCHOR, BOLD, COLOR, EXTERNAL, FONT_FAMILY, FONT_SIZE, ITALIC, LINK, MENTION, SPOILER, STRIKETHROUGH, SUBSCRIPT, SUPERSCRIPT, UNDERLINE
68
+ - ONE-OF:
69
+ - name: anchorData | type: AnchorData | description: Data for an anchor link decoration.
70
+ - name: anchor | type: string | description: The target node's GUID.
71
+ - name: colorData | type: ColorData | description: Data for a color decoration.
72
+ - name: background | type: string | description: The text's background color as a hexadecimal value.
73
+ - name: foreground | type: string | description: The text's foreground color as a hexadecimal value.
74
+ - name: fontFamilyData | type: FontFamilyData | description: Data for a font family decoration.
75
+ - name: value | type: string | description: none
76
+ - name: fontSizeData | type: FontSizeData | description: Data for a font size decoration.
77
+ - name: unit | type: FontType | description: The units used for the font size.
78
+ enum: EM, PX
79
+ - name: value | type: number | description: Font size value.
80
+ - name: fontWeightValue | type: number | description: Font weight for a bold decoration.
81
+ - name: italicData | type: boolean | description: Data for an italic decoration. Defaults to `true`.
82
+ - name: linkData | type: LinkData | description: Data for an external link decoration.
83
+ - name: link | type: Link | description: Link details.
84
+ - name: customData | type: string | description: A serialized object used for a custom or external link panel.
85
+ - name: rel | type: Rel | description: The HTML `rel` attribute value for the link. This object specifies the relationship between the current document and the linked document.
86
+ - name: nofollow | type: boolean | description: Indicates to search engine crawlers not to follow the link. Defaults to `false`.
87
+ - name: noreferrer | type: boolean | description: Indicates that this link protect referral information from being passed to the target website.
88
+ - name: sponsored | type: boolean | description: Indicates to search engine crawlers that the link is a paid placement such as sponsored content or an advertisement. Defaults to `false`.
89
+ - name: ugc | type: boolean | description: Indicates that this link is user-generated content and isn't necessarily trusted or endorsed by the page’s author. For example, a link in a fourm post. Defaults to `false`.
90
+ - name: target | type: Target | description: he HTML `target` attribute value for the link. This property defines where the linked document opens as follows: `SELF` - Default. Opens the linked document in the same frame as the link. `BLANK` - Opens the linked document in a new browser tab or window. `PARENT` - Opens the linked document in the link's parent frame. `TOP` - Opens the linked document in the full body of the link's browser tab or window.
91
+ enum:
92
+ BLANK: Opens the linked document in a new window or tab
93
+ PARENT: Opens the linked document in the parent frame
94
+ SELF: Opens the linked document in the same frame as it was clicked (this is default)
95
+ TOP: Opens the linked document in the full body of the window
96
+ - ONE-OF:
97
+ - name: anchor | type: string | description: The target node's GUID. Used for linking to another node in this object.
98
+ - name: url | type: string | description: The absolute URL for the linked document.
99
+ - name: mentionData | type: MentionData | description: Data for a mention decoration.
100
+ - name: id | type: string | description: Mentioned user's GUID.
101
+ - name: name | type: string | description: The mentioned user's name.
102
+ - name: slug | type: string | description: The version of the user's name that appears after the `@` character in the mention.
103
+ - name: spoilerData | type: SpoilerData | description: Data for a spoiler decoration.
104
+ - name: id | type: string | description: Spoiler GUID.
105
+ - name: strikethroughData | type: boolean | description: Data for a strikethrough decoration. Defaults to `true`.
106
+ - name: subscriptData | type: boolean | description: Data for a subscript decoration. Defaults to `true`.
107
+ - name: superscriptData | type: boolean | description: Data for a superscript decoration. Defaults to `true`.
108
+ - name: underlineData | type: boolean | description: Data for an underline decoration. Defaults to `true`.
109
+ - name: lineHeight | type: string | description: Line height for text in the node.
110
+ - name: nodeStyle | type: NodeStyle | description: Padding and background color for the node.
111
+ - name: backgroundColor | type: string | description: The background color as a hexadecimal value.
112
+ - name: paddingBottom | type: string | description: The bottom padding value in pixels.
113
+ - name: paddingTop | type: string | description: The top padding value in pixels.
114
+ - name: codeBlock | type: TextNodeStyle | description: Styling for code block nodes.
115
+ - name: headerFive | type: TextNodeStyle | description: Styling for H5 nodes.
116
+ - name: headerFour | type: TextNodeStyle | description: Styling for H4 nodes.
117
+ - name: headerOne | type: TextNodeStyle | description: Styling for H1 nodes.
118
+ - name: headerSix | type: TextNodeStyle | description: Styling for H6 nodes.
119
+ - name: headerThree | type: TextNodeStyle | description: Styling for H3 nodes.
120
+ - name: headerTwo | type: TextNodeStyle | description: Styling for H2 nodes.
121
+ - name: paragraph | type: TextNodeStyle | description: Styling for paragraph nodes.
122
+ - name: metadata | type: Metadata | description: Object metadata.
123
+ - name: _id | type: string | description: Object GUID.
124
+ - name: version | type: number | description: Schema version.
125
+ - name: nodes | type: Array<Node> | description: Node objects representing a rich content document.
126
+ - name: id | type: string | description: Node GUID.
127
+ - name: nodes | type: Array<Node> | description: A list of child nodes.
128
+ - name: style | type: NodeStyle | description: Padding and background color styling for the node.
129
+ - name: type | type: NodeType | description: Node type. Use `APP_EMBED` for nodes that embed content from other Wix apps. Use `EMBED` to embed content in [oEmbed](https://oembed.com/) format.
130
+ enum: APP_EMBED, AUDIO, BLOCKQUOTE, BULLETED_LIST, BUTTON, CAPTION, CODE_BLOCK, COLLAPSIBLE_ITEM, COLLAPSIBLE_ITEM_BODY, COLLAPSIBLE_ITEM_TITLE, COLLAPSIBLE_LIST, DIVIDER, EMBED, EXTERNAL, FILE, GALLERY, GIF, HEADING, HTML, IMAGE, LAYOUT, LAYOUT_CELL, LINK_PREVIEW, LIST_ITEM, MAP, ORDERED_LIST, PARAGRAPH, POLL, TABLE, TABLE_CELL, TABLE_ROW, TEXT, VIDEO
131
+ - ONE-OF:
132
+ - name: appEmbedData | type: AppEmbedData | description: Data for an app embed node.
133
+ - name: buttonStyles | type: ButtonStyles | description: Button styling options.
134
+ - name: backgroundColor | type: string | description: Background color as a hexadecimal value.
135
+ - name: backgroundColorHover | type: string | description: Background color as a hexadecimal value (hover state).
136
+ - name: borderColor | type: string | description: Border color as a hexadecimal value.
137
+ - name: borderColorHover | type: string | description: Border color as a hexadecimal value (hover state).
138
+ - name: borderRadius | type: number | description: Border radius in pixels.
139
+ - name: borderWidth | type: number | description: Border width in pixels.
140
+ - name: buttonSize | type: string | description: Button size option, one of `SMALL`, `MEDIUM` or `LARGE`. Defaults to `MEDIUM`.
141
+ - name: buttonText | type: string | description: Text to display on the button.
142
+ - name: textColor | type: string | description: Text color as a hexadecimal value.
143
+ - name: textColorHover | type: string | description: Text color as a hexadecimal value (hover state).
144
+ - name: cardStyles | type: CardStyles | description: Card styling options.
145
+ - name: alignment | type: Alignment | description: Content alignment. Defaults to `START`.
146
+ enum:
147
+ CENTER: Content centered
148
+ END: Content aligned to end (right in LTR layouts, left in RTL layouts)
149
+ START: Content aligned to start (left in LTR layouts, right in RTL layouts)
150
+ - name: backgroundColor | type: string | description: Card background color as a hexadecimal value.
151
+ - name: borderColor | type: string | description: Card border color as a hexadecimal value.
152
+ - name: borderRadius | type: number | description: Card border radius in pixels.
153
+ - name: borderWidth | type: number | description: Card border width in pixels.
154
+ - name: textColor | type: string | description: Text color as a hexadecimal value.
155
+ - name: titleColor | type: string | description: Title text color as a hexadecimal value.
156
+ - name: titlePriceLayout | type: Layout | description: Layout for title and price. Defaults to `STACKED`.
157
+ enum:
158
+ SIDE_BY_SIDE: Elements arranged horizontally
159
+ STACKED: Elements stacked vertically
160
+ - name: type | type: Type | description: Card type. Defaults to `CONTAINED`.
161
+ enum:
162
+ CONTAINED: Card with visible border and background
163
+ FRAMELESS: Card without visible border
164
+ - name: containerData | type: PluginContainerData | description: Styling for the app embed's container.
165
+ - name: alignment | type: PluginContainerDataAlignment | description: The node's alignment within its container.
166
+ enum:
167
+ CENTER: Center Alignment
168
+ LEFT: Left Alignment
169
+ RIGHT: Right Alignment
170
+ - name: height | type: Height | description: The height of the node when it's displayed.
171
+ - name: custom | type: string | description: A custom height value in pixels.
172
+ - name: spoiler | type: Spoiler | description: Spoiler cover settings for the node.
173
+ - name: buttonText | type: string | description: The text for the button used to remove the spoiler cover.
174
+ - name: description | type: string | description: The description displayed on top of the spoiler cover.
175
+ - name: enabled | type: boolean | description: Sets whether the spoiler cover is enabled for this node. Defaults to `false`.
176
+ - name: textWrap | type: boolean | description: Sets whether text should wrap around this node when it's displayed. If `textWrap` is `false`, the node takes up the width of its container. Defaults to `true` for all node types except 'DIVIVDER' where it defaults to `false`.
177
+ - name: width | type: PluginContainerDataWidth | description: The width of the node when it's displayed.
178
+ - ONE-OF:
179
+ - name: custom | type: string | description: A custom width value in pixels.
180
+ - name: size | type: WidthType | description: One of the following predefined width options: `CONTENT`: The width of the container matches the content width. `SMALL`: A small width. `ORIGINAL`: For `imageData` containers only. The width of the container matches the original image width. `FULL_WIDTH`: For `imageData` containers only. The image container takes up the full width of the screen.
181
+ enum:
182
+ CONTENT: Width matches the content width
183
+ FULL_WIDTH: coast-to-coast display
184
+ ORIGINAL: Width will match the original asset width
185
+ SMALL: Small Width
186
+ - name: hideButton | type: boolean | description: Whether to hide the button.
187
+ - name: hideDateTime | type: boolean | description: Whether to hide the date and time (Event).
188
+ - name: hideDescription | type: boolean | description: Whether to hide the description (Event and Booking).
189
+ - name: hideDuration | type: boolean | description: Whether to hide the duration (Booking).
190
+ - name: hideImage | type: boolean | description: Whether to hide the image.
191
+ - name: hideLocation | type: boolean | description: Whether to hide the location (Event).
192
+ - name: hidePrice | type: boolean | description: Whether to hide the price.
193
+ - name: hideRibbon | type: boolean | description: Whether to hide the ribbon.
194
+ - name: hideTitle | type: boolean | description: Whether to hide the title.
195
+ - name: image | type: V1Media | description: An image for the embedded content.
196
+ - name: duration | type: number | description: Media duration in seconds. Only relevant for audio and video files.
197
+ - name: height | type: number | description: Media height in pixels.
198
+ - name: src | type: FileSource | description: The source for the media's data.
199
+ - name: private | type: boolean | description: Indicates whether the file's source is private. Defaults to `false`.
200
+ - ONE-OF:
201
+ - name: custom | type: string | description: Custom GUID. Use `id` instead.
202
+ - name: id | type: string | description: An GUID that's resolved to a URL by a resolver function.
203
+ - name: url | type: string | description: The absolute URL for the file's source.
204
+ - name: width | type: number | description: Media width in pixels.
205
+ - name: imageStyles | type: ImageStyles | description: Image styling options.
206
+ - name: aspectRatio | type: AspectRatio | description: Aspect ratio for the image. Defaults to `SQUARE`.
207
+ enum:
208
+ RECTANGLE: 16:9 aspect ratio
209
+ SQUARE: 1:1 aspect ratio
210
+ - name: borderColor | type: string | description: Image border color as a hexadecimal value.
211
+ - name: borderRadius | type: number | description: Image border radius in pixels.
212
+ - name: borderWidth | type: number | description: Image border width in pixels.
213
+ - name: hideImage | type: boolean | description: Whether to hide the image.
214
+ - name: imagePosition | type: Position | description: Position of image. Defaults to `START`.
215
+ enum:
216
+ END: Image positioned at the end (right in LTR layouts, left in RTL layouts)
217
+ START: Image positioned at the start (left in LTR layouts, right in RTL layouts)
218
+ TOP: Image positioned at the top
219
+ - name: resizing | type: Resizing | description: How the image should be resized. Defaults to `FILL`.
220
+ enum:
221
+ FILL: Fill the container, may crop the image
222
+ FIT: Fit the image within the container
223
+ - name: itemId | type: string | description: The GUID of the embedded content.
224
+ - name: name | type: string | description: The name of the embedded content.
225
+ - name: pricingData | type: PricingData | description: Pricing data for embedded Wix App content.
226
+ - name: currency | type: string | description: Currency of the value in ISO 4217 format (e.g., "USD", "EUR").
227
+ - name: discountedValue | type: string | description: Numeric price value as string after discount application (e.g., "15.99").
228
+ - name: pricingPlanId | type: string | description: Pricing plan GUID.
229
+ - name: valueFrom | type: string | description: Minimum numeric price value as string (e.g., "10.99").
230
+ - name: valueTo | type: string | description: Maximum numeric price value as string (e.g., "19.99").
231
+ - name: ribbonStyles | type: RibbonStyles | description: Ribbon styling options.
232
+ - name: backgroundColor | type: string | description: Ribbon background color as a hexadecimal value.
233
+ - name: borderColor | type: string | description: Ribbon border color as a hexadecimal value.
234
+ - name: borderRadius | type: number | description: Ribbon border radius in pixels.
235
+ - name: borderWidth | type: number | description: Ribbon border width in pixels.
236
+ - name: ribbonPlacement | type: Placement | description: Placement of the ribbon. Defaults to `IMAGE`.
237
+ enum:
238
+ IMAGE: Ribbon placed on the image
239
+ PRODUCT_INFO: Ribbon placed on the product information
240
+ - name: ribbonText | type: string | description: Text to display on the ribbon.
241
+ - name: textColor | type: string | description: Ribbon text color as a hexadecimal value.
242
+ - name: type | type: AppType | description: The type of Wix App content being embedded.
243
+ enum: BOOKING, EVENT, PRODUCT
244
+ - name: url | type: string | description: The URL for the embedded content.
245
+ - ONE-OF:
246
+ - name: bookingData | type: BookingData | description: Data for embedded Wix Bookings content.
247
+ - name: durations | type: string | description: Booking duration in minutes.
248
+ - name: eventData | type: EventData | description: Data for embedded Wix Events content.
249
+ - name: location | type: string | description: Event location.
250
+ - name: scheduling | type: string | description: Event schedule.
251
+ - name: audioData | type: AudioData | description: Data for an audio node.
252
+ - name: audio | type: V1Media | description: Audio file details.
253
+ - name: authorName | type: string | description: Author name.
254
+ - name: containerData | type: PluginContainerData | description: Styling for the audio node's container.
255
+ - name: coverImage | type: V1Media | description: Cover image.
256
+ - name: disableDownload | type: boolean | description: Sets whether the audio node's download button is disabled. Defaults to `false`.
257
+ - name: html | type: string | description: An HTML version of the audio node.
258
+ - name: name | type: string | description: Track name.
259
+ - name: blockquoteData | type: BlockquoteData | description: Data for a block quote node.
260
+ - name: indentation | type: number | description: Indentation level from 1-4.
261
+ - name: bulletedListData | type: BulletedListData | description: Data for a bulleted list node.
262
+ - name: indentation | type: number | description: Indentation level from 0-4.
263
+ - name: offset | type: number | description: Offset level from 0-4.
264
+ - name: buttonData | type: ButtonData | description: Data for a button node.
265
+ - name: containerData | type: PluginContainerData | description: Styling for the button's container.
266
+ - name: link | type: Link | description: Button link details.
267
+ - name: styles | type: Styles | description: Styling for the button.
268
+ - name: backgroundColor | type: string | description: Background color as a hexadecimal value.
269
+ - name: backgroundColorHover | type: string | description: Background color as a hexadecimal value (hover state).
270
+ - name: borderColor | type: string | description: Border color as a hexadecimal value.
271
+ - name: borderColorHover | type: string | description: Border color as a hexadecimal value (hover state).
272
+ - name: borderRadius | type: number | description: Border radius in pixels.
273
+ - name: borderWidth | type: number | description: Border width in pixels.
274
+ - name: buttonSize | type: string | description: Button size option, one of `SMALL`, `MEDIUM` or `LARGE`. Defaults to `MEDIUM`.
275
+ - name: textColor | type: string | description: Text color as a hexadecimal value.
276
+ - name: textColorHover | type: string | description: Text color as a hexadecimal value (hover state).
277
+ - name: text | type: string | description: The text to display on the button.
278
+ - name: type | type: ButtonDataType | description: The button type.
279
+ enum:
280
+ ACTION: Triggers custom action that is defined in plugin configuration by the consumer
281
+ LINK: Regular link button
282
+ - name: captionData | type: CaptionData | description: Data for a caption node.
283
+ - name: textStyle | type: TextStyle | description: none
284
+ - name: lineHeight | type: string | description: A CSS `line-height` value for the text expressed as a ratio relative to the font size. For example, if the font size is 20px, a `lineHeight` value of `'1.5'`` results in a line height of 30px.
285
+ - name: textAlignment | type: TextAlignment | description: Text alignment. Defaults to `AUTO`.
286
+ enum:
287
+ AUTO: browser default, eqivalent to `initial`
288
+ CENTER: Center align
289
+ JUSTIFY: Text is spaced to line up its left and right edges to the left and right edges of the line box, except for the last line
290
+ LEFT: Left align
291
+ RIGHT: Right align
292
+ - name: codeBlockData | type: CodeBlockData | description: Data for a code block node.
293
+ - name: textStyle | type: TextStyle | description: Styling for the code block's text.
294
+ - name: collapsibleListData | type: CollapsibleListData | description: Data for a collapsible list node.
295
+ - name: containerData | type: PluginContainerData | description: Styling for the collapsible list's container.
296
+ - name: direction | type: Direction | description: The direction of the text in the list. Either left-to-right or right-to-left.
297
+ enum:
298
+ LTR: Left-to-right
299
+ RTL: Right-to-left
300
+ - name: expandOnlyOne | type: boolean | description: If `true`, only one item can be expanded at a time. Defaults to `false`.
301
+ - name: initialExpandedItems | type: InitialExpandedItems | description: Sets which items are expanded when the page loads.
302
+ enum:
303
+ ALL: All items will expended initally
304
+ FIRST: First item will be expended initally
305
+ NONE: All items collapsed initally
306
+ - name: isQapageData | type: boolean | description: If `true`, The collapsible item will appear in search results as an FAQ.
307
+ - name: dividerData | type: DividerData | description: Data for a divider node.
308
+ - name: alignment | type: DividerDataAlignment | description: Divider alignment.
309
+ enum:
310
+ CENTER: Center alignment
311
+ LEFT: Left alignment
312
+ RIGHT: Right alignment
313
+ - name: containerData | type: PluginContainerData | description: Styling for the divider's container.
314
+ - name: lineStyle | type: LineStyle | description: Divider line style.
315
+ enum:
316
+ DASHED: Dashed Line
317
+ DOTTED: Dotted Line
318
+ DOUBLE: Double Line
319
+ SINGLE: Single Line
320
+ - name: width | type: Width | description: Divider width.
321
+ enum:
322
+ LARGE: Large line
323
+ MEDIUM: Medium line
324
+ SMALL: Small line
325
+ - name: embedData | type: EmbedData | description: Data for an oEmbed node.
326
+ - name: containerData | type: PluginContainerData | description: Styling for the oEmbed node's container.
327
+ - name: oembed | type: Oembed | description: An [oEmbed](https://www.oembed.com) object.
328
+ - name: authorName | type: string | description: The name of the author or owner of the resource.
329
+ - name: authorUrl | type: string | description: The URL for the author or owner of the resource.
330
+ - name: height | type: number | description: The height of the resource specified in the `url` property in pixels.
331
+ - name: html | type: string | description: HTML for embedding a video player. The HTML should have no padding or margins.
332
+ - name: providerName | type: string | description: The name of the resource provider.
333
+ - name: providerUrl | type: string | description: The URL for the resource provider.
334
+ - name: thumbnailHeight | type: string | description: The height of the resource's thumbnail image. If this property is defined, `thumbnailUrl` and `thumbnailWidth`must also be defined.
335
+ - name: thumbnailUrl | type: string | description: The URL for a thumbnail image for the resource. If this property is defined, `thumbnailWidth` and `thumbnailHeight` must also be defined.
336
+ - name: thumbnailWidth | type: string | description: The width of the resource's thumbnail image. If this property is defined, `thumbnailUrl` and `thumbnailHeight` must also be defined.
337
+ - name: title | type: string | description: Resource title.
338
+ - name: type | type: string | description: The resource type.
339
+ - name: url | type: string | description: The source URL for the resource.
340
+ - name: version | type: string | description: The oEmbed version number. This value must be `1.0`.
341
+ - name: videoUrl | type: string | description: The URL for an embedded viedo.
342
+ - name: width | type: number | description: The width of the resource specified in the `url` property in pixels.
343
+ - name: src | type: string | description: Origin asset source.
344
+ - name: externalData | type: Record<string, any> | description: Data for a custom external node.
345
+ - name: fileData | type: FileData | description: Data for a file node.
346
+ - name: containerData | type: PluginContainerData | description: Styling for the file's container.
347
+ - name: mimeType | type: string | description: File MIME type.
348
+ - name: name | type: string | description: File name.
349
+ - name: path | type: string | description: File path.
350
+ - name: pdfSettings | type: PDFSettings | description: Settings for PDF files.
351
+ - name: disableDownload | type: boolean | description: Sets whether the PDF download button is disabled. Defaults to `false`.
352
+ - name: disablePrint | type: boolean | description: Sets whether the PDF print button is disabled. Defaults to `false`.
353
+ - name: viewMode | type: ViewMode | description: PDF view mode. One of the following: `NONE` : The PDF isn't displayed. `FULL` : A full page view of the PDF is displayed. `MINI` : A mini view of the PDF is displayed.
354
+ enum:
355
+ FULL: Full PDF view
356
+ MINI: Mini PDF view
357
+ NONE: No PDF view
358
+ - name: sizeInKb | type: string | description: File size in KB.
359
+ - name: src | type: FileSource | description: The source for the file's data.
360
+ - name: type | type: string | description: File type.
361
+ - name: galleryData | type: GalleryData | description: Data for a gallery node.
362
+ - name: containerData | type: PluginContainerData | description: Styling for the gallery's container.
363
+ - name: disableDownload | type: boolean | description: Sets whether the gallery's download button is disabled. Defaults to `false`.
364
+ - name: disableExpand | type: boolean | description: Sets whether the gallery's expand button is disabled. Defaults to `false`.
365
+ - name: items | type: Array<Item> | description: The items in the gallery.
366
+ - name: altText | type: string | description: Item's alternative text.
367
+ - name: title | type: string | description: Item title.
368
+ - ONE-OF:
369
+ - name: image | type: Image | description: An image item.
370
+ - name: link | type: Link | description: Link details for images that are links.
371
+ - name: media | type: V1Media | description: Image file details.
372
+ - name: video | type: Video | description: A video item.
373
+ - name: media | type: V1Media | description: Video file details.
374
+ - name: thumbnail | type: V1Media | description: Video thumbnail file details.
375
+ - name: options | type: GalleryOptions | description: Options for defining the gallery's appearance.
376
+ - name: item | type: ItemStyle | description: Styling for gallery items.
377
+ - name: crop | type: Crop | description: Sets how item images are cropped.
378
+ enum:
379
+ FILL: Crop to fill
380
+ FIT: Crop to fit
381
+ - name: ratio | type: number | description: Item ratio
382
+ - name: spacing | type: number | description: The spacing between items in pixels.
383
+ - name: targetSize | type: number | description: Desirable dimension for each item in pixels (behvaior changes according to gallery type)
384
+ - name: layout | type: GalleryOptionsLayout | description: Gallery layout.
385
+ - name: horizontalScroll | type: boolean | description: Sets whether horizontal scroll is enabled. Defaults to `true` unless the layout `type` is set to `GRID` or `COLLAGE`.
386
+ - name: mobileNumberOfColumns | type: number | description: The number of columns to display on mobile screens.
387
+ - name: numberOfColumns | type: number | description: The number of columns to display on full size screens.
388
+ - name: orientation | type: Orientation | description: Gallery orientation.
389
+ enum:
390
+ COLUMNS: Columns Orientation
391
+ ROWS: Rows Orientation
392
+ - name: type | type: LayoutType | description: Gallery layout type.
393
+ enum:
394
+ COLLAGE: Collage type
395
+ COLUMN: Column type
396
+ FULLSIZE: Fullsize images type
397
+ GRID: Grid type
398
+ MAGIC: Magic type
399
+ MASONRY: Masonry type
400
+ PANORAMA: Panorama type
401
+ SLIDER: Slider type
402
+ SLIDESHOW: Slideshow type
403
+ THUMBNAIL: Thumbnail type
404
+ - name: thumbnails | type: Thumbnails | description: Styling for gallery thumbnail images.
405
+ - name: placement | type: ThumbnailsAlignment | description: Thumbnail alignment.
406
+ enum:
407
+ BOTTOM: Bottom alignment
408
+ LEFT: Left alignment
409
+ NONE: No thumbnail
410
+ RIGHT: Right alignment
411
+ TOP: Top alignment
412
+ - name: spacing | type: number | description: Spacing between thumbnails in pixels.
413
+ - name: gifData | type: GIFData | description: Data for a GIF node.
414
+ - name: containerData | type: PluginContainerData | description: Styling for the GIF's container.
415
+ - name: downsized | type: GIF | description: The source of the downsized GIF.
416
+ - name: gif | type: string | description: GIF format URL.
417
+ - name: mp4 | type: string | description: MP4 format URL.
418
+ - name: still | type: string | description: Thumbnail URL.
419
+ - name: gifType | type: GIFType | description: Type of GIF (Sticker or NORMAL). Defaults to `NORMAL`.
420
+ enum: NORMAL, STICKER
421
+ - name: height | type: number | description: Height in pixels.
422
+ - name: original | type: GIF | description: The source of the full size GIF.
423
+ - name: width | type: number | description: Width in pixels.
424
+ - name: headingData | type: HeadingData | description: Data for a heading node.
425
+ - name: indentation | type: number | description: Indentation level from 1-4.
426
+ - name: level | type: number | description: Heading level from 1-6.
427
+ - name: textStyle | type: TextStyle | description: Styling for the heading text.
428
+ - name: htmlData | type: HTMLData | description: Data for an embedded HTML node.
429
+ - name: autoHeight | type: boolean | description: If container height is aligned with its content height. Defaults to `true`.
430
+ - name: containerData | type: PluginContainerData | description: Styling for the HTML node's container. Height property is irrelevant for HTML embeds when autoHeight is set to `true`.
431
+ - name: source | type: Source | description: The type of HTML code.
432
+ enum: ADSENSE, AI, HTML
433
+ - ONE-OF:
434
+ - name: html | type: string | description: The HTML code for the node.
435
+ - name: isAdsense | type: boolean | description: Whether this is an AdSense element. Use `source` instead.
436
+ - name: url | type: string | description: The URL for the HTML code for the node.
437
+ - name: imageData | type: ImageData | description: Data for an image node.
438
+ - name: altText | type: string | description: Image's alternative text.
439
+ - name: containerData | type: PluginContainerData | description: Styling for the image's container.
440
+ - name: decorative | type: boolean | description: Sets whether the image is decorative and does not need an explanation. Defaults to `false`.
441
+ - name: disableDownload | type: boolean | description: Sets whether the image's download button is disabled. Defaults to `false`.
442
+ - name: disableExpand | type: boolean | description: Sets whether the image expands to full screen when clicked. Defaults to `false`.
443
+ - name: image | type: V1Media | description: Image file details.
444
+ - name: link | type: Link | description: Link details for images that are links.
445
+ - name: styles | type: ImageDataStyles | description: Styling for the image.
446
+ - name: border | type: StylesBorder | description: Border attributes.
447
+ - name: color | type: string | description: Border color as a hexadecimal value.
448
+ - name: radius | type: number | description: Border radius in pixels.
449
+ - name: width | type: number | description: Border width in pixels.
450
+ - name: layoutCellData | type: LayoutCellData | description: Data for a cell node.
451
+ - name: colSpan | type: number | description: Size of the cell in 12 columns grid.
452
+ - name: layoutData | type: LayoutData | description: Data for a layout node. Reserved for future use.
453
+ - name: backdropColor | type: string | description: Backdrop color as a hexadecimal value.
454
+ - name: backdropImage | type: BackgroundImage | description: Backdrop image.radius in pixels.
455
+ - name: media | type: V1Media | description: Background image.
456
+ - name: opacity | type: number | description: Background image opacity.
457
+ - name: position | type: ImagePosition | description: Position of background. Defaults to `CENTER`.
458
+ enum:
459
+ BOTTOM: Image positioned at the center bottom
460
+ BOTTOM_LEFT: Image positioned at the bottom left
461
+ BOTTOM_RIGHT: Image positioned at the bottom right
462
+ CENTER: Image positioned at the center
463
+ CENTER_LEFT: Image positioned on the left
464
+ CENTER_RIGHT: Image positioned on the right
465
+ TOP: Image positioned at the center top
466
+ TOP_LEFT: Image positioned at the top left
467
+ TOP_RIGHT: Image positioned at the top right
468
+ - name: scaling | type: Scaling | description: Background image scaling.
469
+ enum:
470
+ AUTO: Auto image scaling
471
+ CONTAIN: Contain image scaling
472
+ COVER: Cover image scaling
473
+ - name: backdropPaddingBottom | type: number | description: Backdrop bottom padding
474
+ - name: backdropPaddingTop | type: number | description: Backdrop top padding.
475
+ - name: backgroundColor | type: string | description: Background color as a hexadecimal value.
476
+ - name: backgroundImage | type: BackgroundImage | description: Background image.
477
+ - name: borderColor | type: string | description: Border color as a hexadecimal value.
478
+ - name: borderRadius | type: number | description: Border
479
+ - name: borderWidth | type: number | description: Border width in pixels.
480
+ - name: cellPadding | type: Array<number> | description: Padding in pixels for cells. Follows CSS order: top, right, bottom, left
481
+ - name: cellVerticalAlignment | type: VerticalAlignmentAlignment | description: Vertical alignment for the cell's items.
482
+ enum:
483
+ BOTTOM: Bottom alignment
484
+ MIDDLE: Middle alignment
485
+ TOP: Top alignment
486
+ - name: containerData | type: PluginContainerData | description: Styling for the layout's container.
487
+ - name: gap | type: number | description: Horizontal and vertical gap between columns
488
+ - name: responsivenessBehaviour | type: ResponsivenessBehaviour | description: Responsiveness behaviour of columns when responsiveness applies. Either stacks or wrappers.
489
+ enum:
490
+ STACK: Stacking of columns
491
+ WRAP: Wrapping of columns
492
+ - name: responsivenessBreakpoint | type: number | description: Size in pixels when responsiveness_behaviour applies
493
+ - name: linkPreviewData | type: LinkPreviewData | description: Data for a link preview node.
494
+ - name: containerData | type: PluginContainerData | description: Styling for the link preview's container.
495
+ - name: description | type: string | description: Preview description.
496
+ - name: html | type: string | description: The preview content as HTML.
497
+ - name: link | type: Link | description: Link details.
498
+ - name: styles | type: LinkPreviewDataStyles | description: Styling for the link preview.
499
+ - name: backgroundColor | type: string | description: Background color as a hexadecimal value.
500
+ - name: borderColor | type: string | description: Border color as a hexadecimal value.
501
+ - name: borderRadius | type: number | description: Border radius in pixels.
502
+ - name: borderWidth | type: number | description: Border width in pixels.
503
+ - name: linkColor | type: string | description: Link color as a hexadecimal value.
504
+ - name: subtitleColor | type: string | description: Subtitle color as a hexadecimal value.
505
+ - name: thumbnailPosition | type: StylesPosition | description: Position of thumbnail. Defaults to `START`.
506
+ enum:
507
+ END: Thumbnail positioned at the end (right in LTR layouts, left in RTL layouts)
508
+ HIDDEN: Thumbnail hidden and not displayed
509
+ START: Thumbnail positioned at the start (left in LTR layouts, right in RTL layouts)
510
+ TOP: Thumbnail positioned at the top
511
+ - name: titleColor | type: string | description: Title color as a hexadecimal value.
512
+ - name: thumbnailUrl | type: string | description: Preview thumbnail URL.
513
+ - name: title | type: string | description: Preview title.
514
+ - name: mapData | type: MapData | description: none
515
+ - name: containerData | type: PluginContainerData | description: Styling for the map's container.
516
+ - name: mapSettings | type: MapSettings | description: Map settings.
517
+ - name: address | type: string | description: The address to display on the map.
518
+ - name: draggable | type: boolean | description: Sets whether the map is draggable.
519
+ - name: initialZoom | type: number | description: Initial zoom value.
520
+ - name: lat | type: number | description: Location latitude.
521
+ - name: lng | type: number | description: Location longitude.
522
+ - name: locationName | type: string | description: Location name.
523
+ - name: mapType | type: MapType | description: Map type. `HYBRID` is a combination of the `ROADMAP` and `SATELLITE` map types.
524
+ enum:
525
+ HYBRID: Hybrid map type
526
+ ROADMAP: Roadmap map type
527
+ SATELITE: Satellite map type
528
+ TERRAIN: Terrain map type
529
+ - name: marker | type: boolean | description: Sets whether the location marker is visible.
530
+ - name: streetViewControl | type: boolean | description: Sets whether street view control is enabled.
531
+ - name: viewModeControl | type: boolean | description: Sets whether view mode control is enabled.
532
+ - name: zoomControl | type: boolean | description: Sets whether zoom control is enabled.
533
+ - name: orderedListData | type: OrderedListData | description: Data for an ordered list node.
534
+ - name: indentation | type: number | description: Indentation level from 0-4.
535
+ - name: offset | type: number | description: Offset level from 0-4.
536
+ - name: start | type: number | description: List start number.
537
+ - name: paragraphData | type: ParagraphData | description: Data for a paragraph node.
538
+ - name: indentation | type: number | description: Indentation level from 1-4.
539
+ - name: level | type: number | description: Paragraph level
540
+ - name: textStyle | type: TextStyle | description: Styling for the paragraph text.
541
+ - name: pollData | type: PollData | description: Data for a poll node.
542
+ - name: containerData | type: PluginContainerData | description: Styling for the poll's container.
543
+ - name: design | type: Design | description: Styling for the poll and voting options.
544
+ - name: options | type: OptionDesign | description: Styling for voting options.
545
+ - name: borderRadius | type: number | description: Border radius in pixels.
546
+ - name: poll | type: PollDesign | description: Styling for the poll.
547
+ - name: background | type: Background | description: Background styling.
548
+ - name: type | type: BackgroundType | description: Background type. For each option, include the relevant details.
549
+ enum:
550
+ COLOR: Color background type
551
+ GRADIENT: Gradiant background type
552
+ IMAGE: Image background type
553
+ - ONE-OF:
554
+ - name: color | type: string | description: The background color as a hexademical value.
555
+ - name: gradient | type: Gradient | description: Details for a gradient background.
556
+ - name: angle | type: number | description: The gradient angle in degrees.
557
+ - name: lastColor | type: string | description: The end color as a hexademical value.
558
+ - name: startColor | type: string | description: The start color as a hexademical value.
559
+ - name: image | type: V1Media | description: An image to use for the background.
560
+ - name: borderRadius | type: number | description: Border radius in pixels.
561
+ - name: layout | type: PollDataLayout | description: Layout settings for the poll and voting options.
562
+ - name: options | type: OptionLayout | description: Voting otpions layout settings.
563
+ - name: enableImage | type: boolean | description: Sets whether to display option images. Defaults to `false`.
564
+ - name: poll | type: PollLayout | description: Poll layout settings.
565
+ - name: direction | type: PollLayoutDirection | description: The direction of the text displayed in the voting options. Text can be displayed either right-to-left or left-to-right.
566
+ enum:
567
+ LTR: Left-to-right
568
+ RTL: Right-to-left
569
+ - name: enableImage | type: boolean | description: Sets whether to display the main poll image. Defaults to `false`.
570
+ - name: type | type: PollLayoutType | description: The layout for displaying the voting options.
571
+ enum:
572
+ GRID: Grid
573
+ LIST: List
574
+ - name: poll | type: Poll | description: Poll data.
575
+ - name: creatorId | type: string | description: Poll creator GUID.
576
+ - name: id | type: string | description: Poll GUID.
577
+ - name: image | type: V1Media | description: Main poll image.
578
+ - name: options | type: Array<Option> | description: Voting options.
579
+ - name: id | type: string | description: Option GUID.
580
+ - name: image | type: V1Media | description: The image displayed with the option.
581
+ - name: title | type: string | description: Option title.
582
+ - name: settings | type: PollSettings | description: The poll's permissions and display settings.
583
+ - name: permissions | type: Permissions | description: Permissions settings for voting.
584
+ - name: allowMultipleVotes | type: boolean | description: Sets whether one voter can vote multiple times. Defaults to `false`.
585
+ - name: view | type: ViewRole | description: Sets who can view the poll results.
586
+ enum:
587
+ CREATOR: Only Poll creator can view the results
588
+ EVERYONE: Anyone can see the results, even if one didn't vote
589
+ VOTERS: Anyone who voted can see the results
590
+ - name: vote | type: VoteRole | description: Sets who can vote.
591
+ enum:
592
+ ALL: Anyone
593
+ SITE_MEMBERS: Logged in member
594
+ - name: showVoters | type: boolean | description: Sets whether voters are displayed in the vote results. Defaults to `true`.
595
+ - name: showVotesCount | type: boolean | description: Sets whether the vote count is displayed. Defaults to `true`.
596
+ - name: title | type: string | description: Poll title.
597
+ - name: tableCellData | type: TableCellData | description: Data for a table cell node.
598
+ - name: borderColors | type: BorderColors | description: The cell's border colors.
599
+ - name: bottom | type: string | description: Bottom border color as a hexadecimal value.
600
+ - name: left | type: string | description: Left border color as a hexadecimal value.
601
+ - name: right | type: string | description: Right border color as a hexadecimal value.
602
+ - name: top | type: string | description: Top border color as a hexadecimal value.
603
+ - name: borderWidths | type: BorderWidths | description: The cell's border widths.
604
+ - name: bottom | type: number | description: Bottom border width in pixels.
605
+ - name: left | type: number | description: Left border width in pixels.
606
+ - name: right | type: number | description: Right border width in pixels.
607
+ - name: top | type: number | description: Top border width in pixels.
608
+ - name: cellStyle | type: CellStyle | description: Styling for the cell's background color and text alignment.
609
+ - name: backgroundColor | type: string | description: Cell background color as a hexadecimal value.
610
+ - name: verticalAlignment | type: VerticalAlignment | description: Vertical alignment for the cell's text.
611
+ enum:
612
+ BOTTOM: Bottom alignment
613
+ MIDDLE: Middle alignment
614
+ TOP: Top alignment
615
+ - name: colspan | type: number | description: Defines how many columns the cell spans. Default: 1.
616
+ - name: rowspan | type: number | description: Defines how many rows the cell spans. Default: 1.
617
+ - name: tableData | type: TableData | description: Data for a table node.
618
+ - name: cellPadding | type: Array<number> | description: Padding in pixels for cells. Follows CSS order: top, right, bottom, left.
619
+ - name: cellSpacing | type: number | description: The spacing between cells in pixels. Defaults to `0`.
620
+ - name: columnHeader | type: boolean | description: Sets whether the table's first column is a header. Defaults to `false`.
621
+ - name: containerData | type: PluginContainerData | description: Styling for the table's container.
622
+ - name: dimensions | type: Dimensions | description: The table's dimensions.
623
+ - name: colsMinWidth | type: Array<number> | description: An array representing the minimum width of each column in pixels.
624
+ - name: colsWidthRatio | type: Array<number> | description: An array representing relative width of each column in relation to the other columns.
625
+ - name: rowsHeight | type: Array<number> | description: An array representing the height of each row in pixels.
626
+ - name: rowHeader | type: boolean | description: Sets whether the table's first row is a header. Defaults to `false`.
627
+ - name: textData | type: TextData | description: Data for a text node. Used to apply decorations to text.
628
+ - name: decorations | type: Array<Decoration> | description: The decorations to apply.
629
+ - name: text | type: string | description: The text to apply decorations to.
630
+ - name: videoData | type: VideoData | description: Data for a video node.
631
+ - name: containerData | type: PluginContainerData | description: Styling for the video's container.
632
+ - name: disableDownload | type: boolean | description: Sets whether the video's download button is disabled. Defaults to `false`.
633
+ - name: options | type: PlaybackOptions | description: Video options.
634
+ - name: autoPlay | type: boolean | description: Sets whether the media will automatically start playing.
635
+ - name: playInLoop | type: boolean | description: Sets whether media's will be looped.
636
+ - name: showControls | type: boolean | description: Sets whether media's controls will be shown.
637
+ - name: thumbnail | type: V1Media | description: Video thumbnail details.
638
+ - name: title | type: string | description: Video title.
639
+ - name: video | type: V1Media | description: Video details.
640
+ - name: extendedFields | type: ExtendedFields | description: Custom extended fields for the product object. [Extended fields](https://dev.wix.com/docs/rest/articles/getting-started/extended-fields) must be configured in the app dashboard before they can be accessed with API calls.
641
+ - name: namespaces | type: Record<string, undefined> | description: Extended field data. Each key corresponds to the namespace of the app that created the extended fields. The value of each key is structured according to the schema defined when the extended fields were configured. You can only access fields for which you have the appropriate permissions. Learn more about [extended fields](https://dev.wix.com/docs/rest/articles/getting-started/extended-fields).
642
+ - name: infoSections | type: Array<InfoSection> | description: Product info section. + Pass `infoSection.uniqueName`, `infoSection.title`, and `infoSection.description` to add a new info section while creating a product. + Pass an existing info section's `id` or `uniqueName` to assign that info section to the product.
643
+ - name: _id | type: string | description: Info section GUID.
644
+ - name: plainDescription | type: string | description: Info section description in HTML. When provided on create/update, this string must be a valid HTML. It will then be converted to rich content. `plainDescription` is ignored when value is also passed to the `description` field. > **Note:** Returned only when you pass `"INFO_SECTION_PLAIN_DESCRIPTION"` to the `fields` array in Products API requests.
645
+ - name: uniqueName | type: string | description: Info section unique name. > **Note:** Returned only when you pass `"INFO_SECTION"` to the `fields` array in Products API requests.
646
+ - name: mainCategoryId | type: string | description: The GUID of the product's primary direct category, which defines the product’s breadcrumbs path. For example, if the product's main category is "T-Shirts" (which is a subcategory of "Clothing"), the breadcrumbs path will be "Clothing > T-Shirts".
647
+ - name: media | type: Media | description: Product media items.
648
+ - name: itemsInfo | type: MediaItemsInfo | description: All media items. > **Note:** Returned only when you pass `"MEDIA_ITEMS_INFO"` to the `fields` array in Products API requests.
649
+ - name: items | type: Array<ProductMedia> | description: All media items (images, videos etc) associated with this product.
650
+ - name: altText | type: string | description: Image alt text.
651
+ - name: displayName | type: string | description: Media display name. Allows to override the default media name. Can be passed only when `setBy: url`.
652
+ - name: thumbnail | type: Thumbnail | description: Media thumbnail. > **Note:** Returned only when you pass `"THUMBNAIL"` to the `fields` array in Products API requests.
653
+ - name: altText | type: string | description: Thumbnail alt text.
654
+ - name: height | type: number | description: Thumbnail height.
655
+ - name: url | type: string | description: Thumbnail url.
656
+ - name: width | type: number | description: Thumbnail width.
657
+ - ONE-OF:
658
+ - name: _id | type: string | description: Set media by GUID of an existing file in Wix Media Manager.
659
+ - name: url | type: string | description: Set media using an external media URL.
660
+ - ONE-OF:
661
+ - name: image | type: string | description: Product image.
662
+ - name: video | type: string | description: Product video.
663
+ - name: modifiers | type: Array<ConnectedModifier> | description: Product modifiers. Allows the customer to customize product, e.g. select Color, Size and so on similarly to `options` but with one main difference - `modifiers` never generate any variants.
664
+ - name: _id | type: string | description: GUID of a customization with `customizationType: MODIFIER`.
665
+ - name: mandatory | type: boolean | description: Whether customer input is required for this modifier.
666
+ - name: modifierRenderType | type: ModifierRenderType | description: Modifier render type.
667
+ enum:
668
+ FREE_TEXT: Free text.
669
+ SWATCH_CHOICES: Swatch choices.
670
+ TEXT_CHOICES: Text choices.
671
+ UNKNOWN_MODIFIER_RENDER_TYPE: Not implemented.
672
+ - name: name | type: string | description: Modifier title.
673
+ - ONE-OF:
674
+ - name: choicesSettings | type: ModifierChoicesSettings | description: Choice settings.
675
+ - name: choices | type: Array<ConnectedModifierChoice> | description: List of modifier choices.
676
+ - name: addedPrice | type: string | description: Added price.
677
+ - name: choiceId | type: string | description: Choice GUID.
678
+ - name: choiceType | type: ChoiceType | description: Choice type.
679
+ enum:
680
+ CHOICE_TEXT: Text choice.
681
+ IMAGE: Image choice.
682
+ MULTIPLE_COLORS: Multiple colors choice.
683
+ ONE_COLOR: Single color choice.
684
+ UNKNOWN_CHOICE_TYPE
685
+ - name: linkedMedia | type: Array<ProductMedia> | description: Product media.
686
+ - name: name | type: string | description: Choice name.
687
+ - ONE-OF:
688
+ - name: colorCode | type: string | description: Color code in HEX format, [as described by MDN](https://developer.mozilla.org/en-US/docs/Web/CSS/hex-color).
689
+ - name: freeTextSettings | type: FreeTextSettings | description: Free text modifier settings.
690
+ - name: defaultAddedPrice | type: string | description: Default amount to be added to the product's price.
691
+ - name: maxCharCount | type: number | description: Maximum number of characters.
692
+ - name: minCharCount | type: number | description: Minimum number of characters.
693
+ - name: title | type: string | description: Title of the text to be input by the customer.
694
+ - name: name | type: string | description: Product name. Translatable. | required: true
695
+ - name: options | type: Array<ConnectedOption> | description: Product options. Allows the customer to customize the product. For example, selecting color, size, and more. Always generates variants: every variant must have exactly one choice related to each option. Since options and variants tightly coupled and rely on each other they usually should be provided together in all operations.
696
+ - name: _id | type: string | description: GUID of a customization with `customizationType: PRODUCT_OPTION`.
697
+ - name: name | type: string | description: Option name.
698
+ - name: optionRenderType | type: ProductOptionRenderType | description: Option render type.
699
+ enum:
700
+ SWATCH_CHOICES: Swatch choices.
701
+ TEXT_CHOICES: Text choices.
702
+ UNKNOWN_OPTION_RENDER_TYPE: Not implemented.
703
+ - ONE-OF:
704
+ - name: choicesSettings | type: ChoicesSettings | description: Choices settings.
705
+ - name: choices | type: Array<ConnectedOptionChoice> | description: List of available choices for the option.
706
+ - name: choiceId | type: string | description: The id of the choice.
707
+ - name: choiceType | type: ChoiceType | description: The type of this choice.
708
+ - name: linkedMedia | type: Array<ProductMedia> | description: Product media overrides. When not empty only these images will be shown when such choices selected by customer. Otherwise all images of product. When several choices from different options selected only media filter present in `media_overrides` of ALL choices will be shown. For example if Color:red has images 1,2,3 and Material:Silk has images 2,3,5 then only images 2,3 will be shown when both of them selected.
709
+ - name: name | type: string | description: Choice name.
710
+ - ONE-OF:
711
+ - name: colorCode | type: string | description: Color code in HEX format, [as described by MDN](https://developer.mozilla.org/en-US/docs/Web/CSS/hex-color).
712
+ - name: plainDescription | type: string | description: Product description in HTML. + When provided on create/update, this string must be a valid HTML. It will then be converted to rich content. + `plainDescription` is ignored when value is also passed to the `description` field. > **Note:** Returned only when you pass `"PLAIN_DESCRIPTION"` to the `fields` array in Products API requests.
713
+ - name: productType | type: ProductType | description: Product type. When passing `productType: PHYSICAL`, you must also pass `physicalProperties`. | required: true
714
+ enum:
715
+ DIGITAL: Digital product.
716
+ PHYSICAL: Physical product.
717
+ UNKNOWN_PRODUCT_TYPE: Not implemented.
718
+ - name: ribbon | type: Ribbon | description: Product ribbon. + Pass `ribbon.name` to add a new ribbon while creating a product. + Pass an existing ribbon's `id` or `name` to assign that ribbon to the product.
719
+ - name: _id | type: string | description: Ribbon GUID.
720
+ - name: name | type: string | description: Ribbon name.
721
+ - name: seoData | type: SeoSchema | description: Product SEO data.
722
+ - name: settings | type: Settings | description: SEO general settings.
723
+ - name: keywords | type: Array<Keyword> | description: User-selected keyword terms for a specific page.
724
+ - name: isMain | type: boolean | description: Whether the keyword is the main focus keyword.
725
+ - name: origin | type: string | description: The source that added the keyword terms to the SEO settings.
726
+ - name: term | type: string | description: Keyword value.
727
+ - name: preventAutoRedirect | type: boolean | description: Whether the [automatical redirect visits](https://support.wix.com/en/article/customizing-your-pages-seo-settings-in-the-seo-panel) from the old URL to the new one is enabled. Default: `false` (automatical redirect is enabled).
728
+ - name: tags | type: Array<Tag> | description: SEO tag information.
729
+ - name: children | type: string | description: SEO tag inner content. For example, `<title> inner content </title>`.
730
+ - name: custom | type: boolean | description: Whether the tag is a [custom tag](https://support.wix.com/en/article/adding-additional-meta-tags-to-your-sites-pages).
731
+ - name: disabled | type: boolean | description: Whether the tag is disabled. If the tag is disabled, people can't find your page when searching for this phrase in search engines.
732
+ - name: meta | type: Record<string, any> | description: SEO tag metadata. For example, `{"height": 300, "width": 240}`.
733
+ - name: props | type: Record<string, any> | description: A `{"key": "value"}` pair object where each SEO tag property (`"name"`, `"content"`, `"rel"`, `"href"`) contains a value. For example: `{"name": "description", "content": "the description itself"}`.
734
+ - name: type | type: string | description: SEO tag type. Supported values: `title`, `meta`, `script`, `link`.
735
+ - name: slug | type: string | description: Product slug. If not provided, the slug is autogenerated based on the product name.
736
+ - name: subscriptionDetails | type: SubscriptionDetails | description: Product subscriptions.
737
+ - name: allowOneTimePurchases | type: boolean | description: Whether to allow one-time purchases in addition to subscription-based purchases. Default: `false`
738
+ - name: subscriptions | type: Array<Subscription> | description: Subscriptions.
739
+ - name: _id | type: string | description: Subscription GUID.
740
+ - name: description | type: string | description: Subscription description.
741
+ - name: discount | type: SubscriptionDiscount | description: Discount info (optional). For example, a $20 discount would be `amount: 20`, `type: AMOUNT`.
742
+ - name: type | type: DiscountType | description: Discount type.
743
+ enum:
744
+ AMOUNT: Discount by a specific amount.
745
+ PERCENT: Discount by a percentage.
746
+ UNKNOWN_DISCOUNT
747
+ - ONE-OF:
748
+ - name: amountOff | type: string | description: Amount to discount from the variant discounted_price.
749
+ - name: percentOff | type: number | description: Percentage to discount from variant discounted_price.
750
+ - name: frequency | type: SubscriptionFrequency | description: Frequency of recurring payment. For example, if `frequency: MONTH` and `billingCycles: 6`; payment will be made monthly for 6 months.
751
+ enum: DAY, MONTH, UNDEFINED, WEEK, YEAR
752
+ - name: interval | type: number | description: Interval of recurring payment. Default: `1`. For example, if `frequency: MONTH`, `billingCycles: 3` and `interval: 2`; payment will be made every 2 months for a total of 6 months.
753
+ - name: title | type: string | description: Subscription title.
754
+ - name: visible | type: boolean | description: Whether the subscription is visible to site visitors. Default: `true`
755
+ - ONE-OF:
756
+ - name: autoRenewal | type: boolean | description: Whether subscription is renewed automatically at the end of each period. Cannot be `false`, instead set `billingCycles`.
757
+ - name: billingCycles | type: number | description: Number of billing cycles before subscription ends.
758
+ - name: taxGroupId | type: string | description: Tax group GUID.
759
+ - name: variantsInfo | type: VariantsInfo | description: Product variants. Each variant must reference all product options via its `choices` array. Each choice references an option using `optionChoiceNames` for all requests. | required: true
760
+ - name: variants | type: Array<Variant> | description: List of related variants. | required: true
761
+ - name: _id | type: string | description: Variant GUID.
762
+ - name: barcode | type: string | description: Variant barcode.
763
+ - name: choices | type: Array<OptionChoice> | description: List of choices that define the product's variant, which requires exactly one choice per product option. Must use `optionChoiceNames` in all requests this field is required. Empty only for default variants of unmanaged products.
764
+ - name: optionChoiceIds | type: OptionChoiceIds | description: Option and choice GUIDs. These match the GUIDs of the option and choice from the product's options field.
765
+ - name: choiceId | type: string | description: Choice GUID.
766
+ - name: optionId | type: string | description: Option GUID.
767
+ - name: optionChoiceNames | type: OptionChoiceNames | description: Option and choice names. This needs to be used in all requests `OptionChoice` is needed, and all `OptionChoiceNames` fields are required. > **Note:** Returned only when you pass `"VARIANT_OPTION_CHOICE_NAMES"` to the `fields` array in Products API requests.
768
+ - name: choiceName | type: string | description: Choice name.
769
+ - name: optionName | type: string | description: Option name.
770
+ - name: renderType | type: ProductOptionRenderType | description: Render type.
771
+ - name: price | type: PriceInfo | description: Variant price. | required: true
772
+ - name: actualPrice | type: FixedMonetaryAmount | description: Variant price. Must be greater or equal to 0. | required: true
773
+ - name: amount | type: string | description: Monetary amount. For example, `"3.99"`, or `"-4.99"` for a negative amount.
774
+ - name: compareAtPrice | type: FixedMonetaryAmount | description: The compare-at-price represents the original price of a product before any discount. It is optional and should only be set if a discount applies. When set, it must be higher than the current price to reflect accurate savings.
775
+ - name: revenueDetails | type: RevenueDetails | description: Variant revenue details. > **Note:** Returned only when the following conditions are met: > + You pass `"MERCHANT_DATA"` to the `fields` array in Products API requests. > + Your app has the required `SCOPE.STORES.PRODUCT_READ_ADMIN` permission scope.
776
+ - name: cost | type: FixedMonetaryAmount | description: Item cost.
777
+ - name: sku | type: string | description: Variant SKU (stock keeping unit).
778
+ - name: visible | type: boolean | description: Whether the variant is visible to site visitors. Default: `true`
779
+ - ONE-OF:
780
+ - name: digitalProperties | type: VariantDigitalProperties | description: Digital properties. Must be passed when `productType: DIGITAL`
781
+ - name: digitalFile | type: SecuredMedia | description: Digital file which will be downloaded by customer after successful purchase.
782
+ - name: _id | type: string | description: Media GUID in media manager.
783
+ - name: physicalProperties | type: VariantPhysicalProperties | description: Physical properties. Must be passed when `productType: PHYSICAL`
784
+ - name: pricePerUnit | type: PricePerUnit | description: Price per unit info, in order to show price per unit on the product page. For example if one sells cheese and defines 100g here then we know that buying this variant buyer receives 100g of cheese. But on product page price will be displayed for units defined on product level. See `pricePerUnit.value` to understand how it's calculated.
785
+ - name: settings | type: PricePerUnitSettings | description: Price per unit data for this variant. `measurementUnit` value must correspond to the measurement unit set on the product.
786
+ - name: measurementUnit | type: MeasurementUnit | description: Measurement unit. For example, to define price per 100 grams, set this field to "G".
787
+ enum: CBM, CL, CM, FLOZ, FT, G, GAL, IN, KG, L, LB, M, MG, ML, MM, OZ, PT, QT, SQFT, SQM, UNSPECIFIED, YD
788
+ - name: quantity | type: number | description: Quantity. For example, to define price per per 100 grams, set this field to `100`.
789
+ - name: weight | type: number | description: Variant shipping weight. product.physicalProperties.shipping_weight_range values are taken from here.
790
+ - name: visible | type: boolean | description: Whether the product is visible to site visitors on the site. Default: `true`
791
+ - name: visibleInPos | type: boolean | description: Whether the product is visible in POS (point of sale). Default: `true` > **Note:** Always `false` for `productType: DIGITAL`.
792
+ - ONE-OF:
793
+ - name: physicalProperties | type: PhysicalProperties | description: Physical properties. Required when `productType: PHYSICAL`.
794
+ - name: deliveryProfileId | type: string | description: Delivery profile GUID.
795
+ - name: fulfillerId | type: string | description: Fulfiller GUID.
796
+ - name: pricePerUnit | type: PricePerUnitSettings | description: Price per unit settings. > **Note:** Use this field only when relevant. For example, for products that are sold by weight, volume, or length.
797
+ param name: options | type: CreateProductOptions | description: none
798
+ - name: fields | type: Array<SingleEntityOpsRequestedFields> | description: Fields to include in the response.
799
+ enum:
800
+ ALL_CATEGORIES_INFO: Provides GUIDs and indexes for all categories including inherited parent categories.
801
+ BREADCRUMBS_INFO: Returns the category breadcrumb navigation path from root categories down to the product's main category, including category GUIDs, names, and slugs.
802
+ CURRENCY: Currency information including the currency code and formatted price amounts for storefront display.
803
+ DESCRIPTION: Returns the product description as rich content with complete node structure, metadata, and styling information.
804
+ DIRECT_CATEGORIES_INFO: Provides the GUIDs and indexes of categories the product is directly assigned to.
805
+ INFO_SECTION: Returns basic info section metadata including GUIDs, unique names, and titles. Use with `INFO_SECTION_DESCRIPTION` or `INFO_SECTION_PLAIN_DESCRIPTION` to include content.
806
+ INFO_SECTION_DESCRIPTION: Returns info section descriptions as rich content with complete node structure, metadata, and styling information. Use with `INFO_SECTION` for complete metadata.
807
+ INFO_SECTION_PLAIN_DESCRIPTION: Returns info section descriptions as HTML content. Use with `INFO_SECTION` for complete metadata.
808
+ MEDIA_ITEMS_INFO: Returns all media items associated with the product, including detailed metadata (URLs, alt-text, dimensions, filenames, file sizes).
809
+ MERCHANT_DATA: Returns merchant-related financial data including cost ranges and variant revenue details like cost, profit, and profit margin. Requires the `SCOPE.STORES.PRODUCT_READ_ADMIN` permission scope.
810
+ PLAIN_DESCRIPTION: Provides product description as plain HTML text.
811
+ SUBSCRIPTION_PRICES_INFO: Details subscription pricing options, empty for non-subscription products.
812
+ THUMBNAIL: Returns an optimized thumbnail image with standard dimensions, suitable for listings or previews.
813
+ UNKNOWN_REQUESTED_FIELD: Not implemented.
814
+ URL: The product's public storefront URL, including both relative path and full URL with base domain.
815
+ VARIANT_OPTION_CHOICE_NAMES: Enriches variant choices with human-readable option and choice names alongside render types.
816
+ WEIGHT_MEASUREMENT_UNIT_INFO: Returns the weight measurement unit (KG, LB) for the product.
817
+ Return type: PROMISE<V3Product>
818
+ - name: _createdDate | type: Date | description: Date and time the product was created.
819
+ - name: _id | type: string | description: Product GUID.
820
+ - name: _updatedDate | type: Date | description: Date and time the product was updated.
821
+ - name: actualPriceRange | type: PriceRange | description: Product actualPrice range - minimum and maximum prices of all product variants.
822
+ - name: actualPriceRange.maxValue | type: FixedMonetaryAmount | description: Maximum value.
823
+ - name: actualPriceRange.maxValue.amount | type: string | description: Monetary amount. For example, `"3.99"`, or `"-4.99"` for a negative amount.
824
+ - name: actualPriceRange.maxValue.formattedAmount | type: string | description: Formatted monetary amount. For example, `"$3.99"`. > **Note:** Returned only when you pass `"CURRENCY"` to the `fields` array in Products API requests.
825
+ - name: actualPriceRange.minValue | type: FixedMonetaryAmount | description: Minimum value.
826
+ - name: allCategoriesInfo | type: ProductCategoriesInfo | description: List of categories that directly contain this product, as well as their parent categories. > **Note:** Returned only when you pass `"ALL_CATEGORIES_INFO"` to the `fields` array in Products API requests.
827
+ - name: allCategoriesInfo.categories | type: Array<ProductCategory> | description: A list of categories related to product.
828
+ - name: allCategoriesInfo.categories[]._id | type: string | description: Category GUID.
829
+ - name: allCategoriesInfo.categories[].index | type: number | description: Index location of the product within the category, which can be utilized for sorting products in a specific category. For detailed instructions on how to set this up, refer to the [Add and arrange products in category](https://dev.wix.com/docs/rest/business-solutions/stores/catalog-v3/products-v3/sample-use-cases-and-flows#add-and-arrange-products-in-category) sample flow.
830
+ - name: brand | type: Brand | description: Product brand. + Pass `brand.name` to add a new brand while creating a product. + Pass an existing brand's `id` to assign that brand to the product.
831
+ - name: brand._id | type: string | description: Brand GUID.
832
+ - name: brand.name | type: string | description: Brand name.
833
+ - name: breadcrumbsInfo | type: BreadcrumbsInfo | description: Breadcrumbs of the `mainCategoryId`. Used to navigate to parent categories. > **Note:** Returned only when you pass `"BREADCRUMBS_INFO"` to the `fields` array in Products API requests.
834
+ - name: breadcrumbsInfo.breadcrumbs | type: Array<BreadCrumb> | description: Breadcrumbs.
835
+ - name: breadcrumbsInfo.breadcrumbs[].categoryId | type: string | description: Category GUID.
836
+ - name: breadcrumbsInfo.breadcrumbs[].categoryName | type: string | description: Category name.
837
+ - name: breadcrumbsInfo.breadcrumbs[].categorySlug | type: string | description: Category slug.
838
+ - name: compareAtPriceRange | type: PriceRange | description: Product compareAtPrice range - minimum and maximum compare at prices of all product variants.
839
+ - name: costRange | type: PriceRange | description: Product cost range - minimum and maximum costs of all product variants. > **Note:** Returned only when the following conditions are met: > + You pass `"MERCHANT_DATA"` to the `fields` array in Products API requests. > + Your app has the required `SCOPE.STORES.PRODUCT_READ_ADMIN` permission scope.
840
+ - name: currency | type: string | description: Currency used for the pricing of this product, in [ISO-4217](https://en.wikipedia.org/wiki/ISO_4217#List_of_ISO_4217_currency_codes) format. Defaults to the currency defined in the site settings, unless specified in `x-wix-currency` header. > **Note:** Returned only when you pass `"CURRENCY"` to the `fields` array in Products API requests.
841
+ - name: description | type: RichContent | description: Product description using rich content. > **Note:** Returned only when you pass `"DESCRIPTION"` to the `fields` array in Products API requests. <widget src="https://apps.wix.com/_serverless/ricos-playground-services/goto/api-component" plugins="indent.emoji.divider.codeBlock.file.gallery.giphy.image.table.link.textHighlight.textColor" exampleid="7dc9240e-d548-417a-abcf-0291b68b4303"> <a href="https://dev.wix.com/docs/ricos/api-reference/ricos-document">See Ricos document reference</a> </widget>
842
+ - name: description.documentStyle | type: DocumentStyle | description: Global styling for header, paragraph, block quote, and code block nodes in the object.
843
+ - name: description.documentStyle.blockquote | type: TextNodeStyle | description: Styling for block quote nodes.
844
+ - name: description.documentStyle.blockquote.decorations | type: Array<Decoration> | description: The decorations to apply to the node.
845
+ - name: description.documentStyle.blockquote.decorations[].type | type: DecorationType | description: The type of decoration to apply.
846
+ enum: ANCHOR, BOLD, COLOR, EXTERNAL, FONT_FAMILY, FONT_SIZE, ITALIC, LINK, MENTION, SPOILER, STRIKETHROUGH, SUBSCRIPT, SUPERSCRIPT, UNDERLINE
847
+ - ONE-OF:
848
+ - name: description.documentStyle.blockquote.decorations[].anchorData | type: AnchorData | description: Data for an anchor link decoration.
849
+ - name: description.documentStyle.blockquote.decorations[].anchorData.anchor | type: string | description: The target node's GUID.
850
+ - name: description.documentStyle.blockquote.decorations[].colorData | type: ColorData | description: Data for a color decoration.
851
+ - name: description.documentStyle.blockquote.decorations[].colorData.background | type: string | description: The text's background color as a hexadecimal value.
852
+ - name: description.documentStyle.blockquote.decorations[].colorData.foreground | type: string | description: The text's foreground color as a hexadecimal value.
853
+ - name: description.documentStyle.blockquote.decorations[].fontFamilyData | type: FontFamilyData | description: Data for a font family decoration.
854
+ - name: description.documentStyle.blockquote.decorations[].fontFamilyData.value | type: string | description: none
855
+ - name: description.documentStyle.blockquote.decorations[].fontSizeData | type: FontSizeData | description: Data for a font size decoration.
856
+ - name: description.documentStyle.blockquote.decorations[].fontSizeData.unit | type: FontType | description: The units used for the font size.
857
+ enum: EM, PX
858
+ - name: description.documentStyle.blockquote.decorations[].fontSizeData.value | type: number | description: Font size value.
859
+ - name: description.documentStyle.blockquote.decorations[].fontWeightValue | type: number | description: Font weight for a bold decoration.
860
+ - name: description.documentStyle.blockquote.decorations[].italicData | type: boolean | description: Data for an italic decoration. Defaults to `true`.
861
+ - name: description.documentStyle.blockquote.decorations[].linkData | type: LinkData | description: Data for an external link decoration.
862
+ - name: description.documentStyle.blockquote.decorations[].linkData.link | type: Link | description: Link details.
863
+ - name: description.documentStyle.blockquote.decorations[].linkData.link.customData | type: string | description: A serialized object used for a custom or external link panel.
864
+ - name: description.documentStyle.blockquote.decorations[].linkData.link.rel | type: Rel | description: The HTML `rel` attribute value for the link. This object specifies the relationship between the current document and the linked document.
865
+ - name: description.documentStyle.blockquote.decorations[].linkData.link.rel.nofollow | type: boolean | description: Indicates to search engine crawlers not to follow the link. Defaults to `false`.
866
+ - name: description.documentStyle.blockquote.decorations[].linkData.link.rel.noreferrer | type: boolean | description: Indicates that this link protect referral information from being passed to the target website.
867
+ - name: description.documentStyle.blockquote.decorations[].linkData.link.rel.sponsored | type: boolean | description: Indicates to search engine crawlers that the link is a paid placement such as sponsored content or an advertisement. Defaults to `false`.
868
+ - name: description.documentStyle.blockquote.decorations[].linkData.link.rel.ugc | type: boolean | description: Indicates that this link is user-generated content and isn't necessarily trusted or endorsed by the page’s author. For example, a link in a fourm post. Defaults to `false`.
869
+ - name: description.documentStyle.blockquote.decorations[].linkData.link.target | type: Target | description: he HTML `target` attribute value for the link. This property defines where the linked document opens as follows: `SELF` - Default. Opens the linked document in the same frame as the link. `BLANK` - Opens the linked document in a new browser tab or window. `PARENT` - Opens the linked document in the link's parent frame. `TOP` - Opens the linked document in the full body of the link's browser tab or window.
870
+ enum:
871
+ BLANK: Opens the linked document in a new window or tab
872
+ PARENT: Opens the linked document in the parent frame
873
+ SELF: Opens the linked document in the same frame as it was clicked (this is default)
874
+ TOP: Opens the linked document in the full body of the window
875
+ - ONE-OF:
876
+ - name: description.documentStyle.blockquote.decorations[].linkData.link.anchor | type: string | description: The target node's GUID. Used for linking to another node in this object.
877
+ - name: description.documentStyle.blockquote.decorations[].linkData.link.url | type: string | description: The absolute URL for the linked document.
878
+ - name: description.documentStyle.blockquote.decorations[].mentionData | type: MentionData | description: Data for a mention decoration.
879
+ - name: description.documentStyle.blockquote.decorations[].mentionData.id | type: string | description: Mentioned user's GUID.
880
+ - name: description.documentStyle.blockquote.decorations[].mentionData.name | type: string | description: The mentioned user's name.
881
+ - name: description.documentStyle.blockquote.decorations[].mentionData.slug | type: string | description: The version of the user's name that appears after the `@` character in the mention.
882
+ - name: description.documentStyle.blockquote.decorations[].spoilerData | type: SpoilerData | description: Data for a spoiler decoration.
883
+ - name: description.documentStyle.blockquote.decorations[].spoilerData.id | type: string | description: Spoiler GUID.
884
+ - name: description.documentStyle.blockquote.decorations[].strikethroughData | type: boolean | description: Data for a strikethrough decoration. Defaults to `true`.
885
+ - name: description.documentStyle.blockquote.decorations[].subscriptData | type: boolean | description: Data for a subscript decoration. Defaults to `true`.
886
+ - name: description.documentStyle.blockquote.decorations[].superscriptData | type: boolean | description: Data for a superscript decoration. Defaults to `true`.
887
+ - name: description.documentStyle.blockquote.decorations[].underlineData | type: boolean | description: Data for an underline decoration. Defaults to `true`.
888
+ - name: description.documentStyle.blockquote.lineHeight | type: string | description: Line height for text in the node.
889
+ - name: description.documentStyle.blockquote.nodeStyle | type: NodeStyle | description: Padding and background color for the node.
890
+ - name: description.documentStyle.blockquote.nodeStyle.backgroundColor | type: string | description: The background color as a hexadecimal value.
891
+ - name: description.documentStyle.blockquote.nodeStyle.paddingBottom | type: string | description: The bottom padding value in pixels.
892
+ - name: description.documentStyle.blockquote.nodeStyle.paddingTop | type: string | description: The top padding value in pixels.
893
+ - name: description.documentStyle.codeBlock | type: TextNodeStyle | description: Styling for code block nodes.
894
+ - name: description.documentStyle.headerFive | type: TextNodeStyle | description: Styling for H5 nodes.
895
+ - name: description.documentStyle.headerFour | type: TextNodeStyle | description: Styling for H4 nodes.
896
+ - name: description.documentStyle.headerOne | type: TextNodeStyle | description: Styling for H1 nodes.
897
+ - name: description.documentStyle.headerSix | type: TextNodeStyle | description: Styling for H6 nodes.
898
+ - name: description.documentStyle.headerThree | type: TextNodeStyle | description: Styling for H3 nodes.
899
+ - name: description.documentStyle.headerTwo | type: TextNodeStyle | description: Styling for H2 nodes.
900
+ - name: description.documentStyle.paragraph | type: TextNodeStyle | description: Styling for paragraph nodes.
901
+ - name: description.metadata | type: Metadata | description: Object metadata.
902
+ - name: description.metadata._id | type: string | description: Object GUID.
903
+ - name: description.metadata.version | type: number | description: Schema version.
904
+ - name: description.nodes | type: Array<Node> | description: Node objects representing a rich content document.
905
+ - name: description.nodes[].id | type: string | description: Node GUID.
906
+ - name: description.nodes[].nodes | type: Array<Node> | description: A list of child nodes.
907
+ - name: description.nodes[].style | type: NodeStyle | description: Padding and background color styling for the node.
908
+ - name: description.nodes[].type | type: NodeType | description: Node type. Use `APP_EMBED` for nodes that embed content from other Wix apps. Use `EMBED` to embed content in [oEmbed](https://oembed.com/) format.
909
+ enum: APP_EMBED, AUDIO, BLOCKQUOTE, BULLETED_LIST, BUTTON, CAPTION, CODE_BLOCK, COLLAPSIBLE_ITEM, COLLAPSIBLE_ITEM_BODY, COLLAPSIBLE_ITEM_TITLE, COLLAPSIBLE_LIST, DIVIDER, EMBED, EXTERNAL, FILE, GALLERY, GIF, HEADING, HTML, IMAGE, LAYOUT, LAYOUT_CELL, LINK_PREVIEW, LIST_ITEM, MAP, ORDERED_LIST, PARAGRAPH, POLL, TABLE, TABLE_CELL, TABLE_ROW, TEXT, VIDEO
910
+ - ONE-OF:
911
+ - name: description.nodes[].appEmbedData | type: AppEmbedData | description: Data for an app embed node.
912
+ - name: description.nodes[].appEmbedData.buttonStyles | type: ButtonStyles | description: Button styling options.
913
+ - name: description.nodes[].appEmbedData.buttonStyles.backgroundColor | type: string | description: Background color as a hexadecimal value.
914
+ - name: description.nodes[].appEmbedData.buttonStyles.backgroundColorHover | type: string | description: Background color as a hexadecimal value (hover state).
915
+ - name: description.nodes[].appEmbedData.buttonStyles.borderColor | type: string | description: Border color as a hexadecimal value.
916
+ - name: description.nodes[].appEmbedData.buttonStyles.borderColorHover | type: string | description: Border color as a hexadecimal value (hover state).
917
+ - name: description.nodes[].appEmbedData.buttonStyles.borderRadius | type: number | description: Border radius in pixels.
918
+ - name: description.nodes[].appEmbedData.buttonStyles.borderWidth | type: number | description: Border width in pixels.
919
+ - name: description.nodes[].appEmbedData.buttonStyles.buttonSize | type: string | description: Button size option, one of `SMALL`, `MEDIUM` or `LARGE`. Defaults to `MEDIUM`.
920
+ - name: description.nodes[].appEmbedData.buttonStyles.buttonText | type: string | description: Text to display on the button.
921
+ - name: description.nodes[].appEmbedData.buttonStyles.textColor | type: string | description: Text color as a hexadecimal value.
922
+ - name: description.nodes[].appEmbedData.buttonStyles.textColorHover | type: string | description: Text color as a hexadecimal value (hover state).
923
+ - name: description.nodes[].appEmbedData.cardStyles | type: CardStyles | description: Card styling options.
924
+ - name: description.nodes[].appEmbedData.cardStyles.alignment | type: Alignment | description: Content alignment. Defaults to `START`.
925
+ enum:
926
+ CENTER: Content centered
927
+ END: Content aligned to end (right in LTR layouts, left in RTL layouts)
928
+ START: Content aligned to start (left in LTR layouts, right in RTL layouts)
929
+ - name: description.nodes[].appEmbedData.cardStyles.backgroundColor | type: string | description: Card background color as a hexadecimal value.
930
+ - name: description.nodes[].appEmbedData.cardStyles.borderColor | type: string | description: Card border color as a hexadecimal value.
931
+ - name: description.nodes[].appEmbedData.cardStyles.borderRadius | type: number | description: Card border radius in pixels.
932
+ - name: description.nodes[].appEmbedData.cardStyles.borderWidth | type: number | description: Card border width in pixels.
933
+ - name: description.nodes[].appEmbedData.cardStyles.textColor | type: string | description: Text color as a hexadecimal value.
934
+ - name: description.nodes[].appEmbedData.cardStyles.titleColor | type: string | description: Title text color as a hexadecimal value.
935
+ - name: description.nodes[].appEmbedData.cardStyles.titlePriceLayout | type: Layout | description: Layout for title and price. Defaults to `STACKED`.
936
+ enum:
937
+ SIDE_BY_SIDE: Elements arranged horizontally
938
+ STACKED: Elements stacked vertically
939
+ - name: description.nodes[].appEmbedData.cardStyles.type | type: Type | description: Card type. Defaults to `CONTAINED`.
940
+ enum:
941
+ CONTAINED: Card with visible border and background
942
+ FRAMELESS: Card without visible border
943
+ - name: description.nodes[].appEmbedData.containerData | type: PluginContainerData | description: Styling for the app embed's container.
944
+ - name: description.nodes[].appEmbedData.containerData.alignment | type: PluginContainerDataAlignment | description: The node's alignment within its container.
945
+ enum:
946
+ CENTER: Center Alignment
947
+ LEFT: Left Alignment
948
+ RIGHT: Right Alignment
949
+ - name: description.nodes[].appEmbedData.containerData.height | type: Height | description: The height of the node when it's displayed.
950
+ - name: description.nodes[].appEmbedData.containerData.height.custom | type: string | description: A custom height value in pixels.
951
+ - name: description.nodes[].appEmbedData.containerData.spoiler | type: Spoiler | description: Spoiler cover settings for the node.
952
+ - name: description.nodes[].appEmbedData.containerData.spoiler.buttonText | type: string | description: The text for the button used to remove the spoiler cover.
953
+ - name: description.nodes[].appEmbedData.containerData.spoiler.description | type: string | description: The description displayed on top of the spoiler cover.
954
+ - name: description.nodes[].appEmbedData.containerData.spoiler.enabled | type: boolean | description: Sets whether the spoiler cover is enabled for this node. Defaults to `false`.
955
+ - name: description.nodes[].appEmbedData.containerData.textWrap | type: boolean | description: Sets whether text should wrap around this node when it's displayed. If `textWrap` is `false`, the node takes up the width of its container. Defaults to `true` for all node types except 'DIVIVDER' where it defaults to `false`.
956
+ - name: description.nodes[].appEmbedData.containerData.width | type: PluginContainerDataWidth | description: The width of the node when it's displayed.
957
+ - ONE-OF:
958
+ - name: description.nodes[].appEmbedData.containerData.width.custom | type: string | description: A custom width value in pixels.
959
+ - name: description.nodes[].appEmbedData.containerData.width.size | type: WidthType | description: One of the following predefined width options: `CONTENT`: The width of the container matches the content width. `SMALL`: A small width. `ORIGINAL`: For `imageData` containers only. The width of the container matches the original image width. `FULL_WIDTH`: For `imageData` containers only. The image container takes up the full width of the screen.
960
+ enum:
961
+ CONTENT: Width matches the content width
962
+ FULL_WIDTH: coast-to-coast display
963
+ ORIGINAL: Width will match the original asset width
964
+ SMALL: Small Width
965
+ - name: description.nodes[].appEmbedData.hideButton | type: boolean | description: Whether to hide the button.
966
+ - name: description.nodes[].appEmbedData.hideDateTime | type: boolean | description: Whether to hide the date and time (Event).
967
+ - name: description.nodes[].appEmbedData.hideDescription | type: boolean | description: Whether to hide the description (Event and Booking).
968
+ - name: description.nodes[].appEmbedData.hideDuration | type: boolean | description: Whether to hide the duration (Booking).
969
+ - name: description.nodes[].appEmbedData.hideImage | type: boolean | description: Whether to hide the image.
970
+ - name: description.nodes[].appEmbedData.hideLocation | type: boolean | description: Whether to hide the location (Event).
971
+ - name: description.nodes[].appEmbedData.hidePrice | type: boolean | description: Whether to hide the price.
972
+ - name: description.nodes[].appEmbedData.hideRibbon | type: boolean | description: Whether to hide the ribbon.
973
+ - name: description.nodes[].appEmbedData.hideTitle | type: boolean | description: Whether to hide the title.
974
+ - name: description.nodes[].appEmbedData.image | type: V1Media | description: An image for the embedded content.
975
+ - name: description.nodes[].appEmbedData.image.duration | type: number | description: Media duration in seconds. Only relevant for audio and video files.
976
+ - name: description.nodes[].appEmbedData.image.height | type: number | description: Media height in pixels.
977
+ - name: description.nodes[].appEmbedData.image.src | type: FileSource | description: The source for the media's data.
978
+ - name: description.nodes[].appEmbedData.image.src.private | type: boolean | description: Indicates whether the file's source is private. Defaults to `false`.
979
+ - ONE-OF:
980
+ - name: description.nodes[].appEmbedData.image.src.custom | type: string | description: Custom GUID. Use `id` instead.
981
+ - name: description.nodes[].appEmbedData.image.src.id | type: string | description: An GUID that's resolved to a URL by a resolver function.
982
+ - name: description.nodes[].appEmbedData.image.src.url | type: string | description: The absolute URL for the file's source.
983
+ - name: description.nodes[].appEmbedData.image.width | type: number | description: Media width in pixels.
984
+ - name: description.nodes[].appEmbedData.imageStyles | type: ImageStyles | description: Image styling options.
985
+ - name: description.nodes[].appEmbedData.imageStyles.aspectRatio | type: AspectRatio | description: Aspect ratio for the image. Defaults to `SQUARE`.
986
+ enum:
987
+ RECTANGLE: 16:9 aspect ratio
988
+ SQUARE: 1:1 aspect ratio
989
+ - name: description.nodes[].appEmbedData.imageStyles.borderColor | type: string | description: Image border color as a hexadecimal value.
990
+ - name: description.nodes[].appEmbedData.imageStyles.borderRadius | type: number | description: Image border radius in pixels.
991
+ - name: description.nodes[].appEmbedData.imageStyles.borderWidth | type: number | description: Image border width in pixels.
992
+ - name: description.nodes[].appEmbedData.imageStyles.hideImage | type: boolean | description: Whether to hide the image.
993
+ - name: description.nodes[].appEmbedData.imageStyles.imagePosition | type: Position | description: Position of image. Defaults to `START`.
994
+ enum:
995
+ END: Image positioned at the end (right in LTR layouts, left in RTL layouts)
996
+ START: Image positioned at the start (left in LTR layouts, right in RTL layouts)
997
+ TOP: Image positioned at the top
998
+ - name: description.nodes[].appEmbedData.imageStyles.resizing | type: Resizing | description: How the image should be resized. Defaults to `FILL`.
999
+ enum:
1000
+ FILL: Fill the container, may crop the image
1001
+ FIT: Fit the image within the container
1002
+ - name: description.nodes[].appEmbedData.itemId | type: string | description: The GUID of the embedded content.
1003
+ - name: description.nodes[].appEmbedData.name | type: string | description: The name of the embedded content.
1004
+ - name: description.nodes[].appEmbedData.pricingData | type: PricingData | description: Pricing data for embedded Wix App content.
1005
+ - name: description.nodes[].appEmbedData.pricingData.currency | type: string | description: Currency of the value in ISO 4217 format (e.g., "USD", "EUR").
1006
+ - name: description.nodes[].appEmbedData.pricingData.discountedValue | type: string | description: Numeric price value as string after discount application (e.g., "15.99").
1007
+ - name: description.nodes[].appEmbedData.pricingData.pricingPlanId | type: string | description: Pricing plan GUID.
1008
+ - name: description.nodes[].appEmbedData.pricingData.valueFrom | type: string | description: Minimum numeric price value as string (e.g., "10.99").
1009
+ - name: description.nodes[].appEmbedData.pricingData.valueTo | type: string | description: Maximum numeric price value as string (e.g., "19.99").
1010
+ - name: description.nodes[].appEmbedData.ribbonStyles | type: RibbonStyles | description: Ribbon styling options.
1011
+ - name: description.nodes[].appEmbedData.ribbonStyles.backgroundColor | type: string | description: Ribbon background color as a hexadecimal value.
1012
+ - name: description.nodes[].appEmbedData.ribbonStyles.borderColor | type: string | description: Ribbon border color as a hexadecimal value.
1013
+ - name: description.nodes[].appEmbedData.ribbonStyles.borderRadius | type: number | description: Ribbon border radius in pixels.
1014
+ - name: description.nodes[].appEmbedData.ribbonStyles.borderWidth | type: number | description: Ribbon border width in pixels.
1015
+ - name: description.nodes[].appEmbedData.ribbonStyles.ribbonPlacement | type: Placement | description: Placement of the ribbon. Defaults to `IMAGE`.
1016
+ enum:
1017
+ IMAGE: Ribbon placed on the image
1018
+ PRODUCT_INFO: Ribbon placed on the product information
1019
+ - name: description.nodes[].appEmbedData.ribbonStyles.ribbonText | type: string | description: Text to display on the ribbon.
1020
+ - name: description.nodes[].appEmbedData.ribbonStyles.textColor | type: string | description: Ribbon text color as a hexadecimal value.
1021
+ - name: description.nodes[].appEmbedData.type | type: AppType | description: The type of Wix App content being embedded.
1022
+ enum: BOOKING, EVENT, PRODUCT
1023
+ - name: description.nodes[].appEmbedData.url | type: string | description: The URL for the embedded content.
1024
+ - ONE-OF:
1025
+ - name: description.nodes[].appEmbedData.bookingData | type: BookingData | description: Data for embedded Wix Bookings content.
1026
+ - name: description.nodes[].appEmbedData.bookingData.durations | type: string | description: Booking duration in minutes.
1027
+ - name: description.nodes[].appEmbedData.eventData | type: EventData | description: Data for embedded Wix Events content.
1028
+ - name: description.nodes[].appEmbedData.eventData.location | type: string | description: Event location.
1029
+ - name: description.nodes[].appEmbedData.eventData.scheduling | type: string | description: Event schedule.
1030
+ - name: description.nodes[].audioData | type: AudioData | description: Data for an audio node.
1031
+ - name: description.nodes[].audioData.audio | type: V1Media | description: Audio file details.
1032
+ - name: description.nodes[].audioData.authorName | type: string | description: Author name.
1033
+ - name: description.nodes[].audioData.containerData | type: PluginContainerData | description: Styling for the audio node's container.
1034
+ - name: description.nodes[].audioData.coverImage | type: V1Media | description: Cover image.
1035
+ - name: description.nodes[].audioData.disableDownload | type: boolean | description: Sets whether the audio node's download button is disabled. Defaults to `false`.
1036
+ - name: description.nodes[].audioData.html | type: string | description: An HTML version of the audio node.
1037
+ - name: description.nodes[].audioData.name | type: string | description: Track name.
1038
+ - name: description.nodes[].blockquoteData | type: BlockquoteData | description: Data for a block quote node.
1039
+ - name: description.nodes[].blockquoteData.indentation | type: number | description: Indentation level from 1-4.
1040
+ - name: description.nodes[].bulletedListData | type: BulletedListData | description: Data for a bulleted list node.
1041
+ - name: description.nodes[].bulletedListData.indentation | type: number | description: Indentation level from 0-4.
1042
+ - name: description.nodes[].bulletedListData.offset | type: number | description: Offset level from 0-4.
1043
+ - name: description.nodes[].buttonData | type: ButtonData | description: Data for a button node.
1044
+ - name: description.nodes[].buttonData.containerData | type: PluginContainerData | description: Styling for the button's container.
1045
+ - name: description.nodes[].buttonData.link | type: Link | description: Button link details.
1046
+ - name: description.nodes[].buttonData.styles | type: Styles | description: Styling for the button.
1047
+ - name: description.nodes[].buttonData.styles.backgroundColor | type: string | description: Background color as a hexadecimal value.
1048
+ - name: description.nodes[].buttonData.styles.backgroundColorHover | type: string | description: Background color as a hexadecimal value (hover state).
1049
+ - name: description.nodes[].buttonData.styles.borderColor | type: string | description: Border color as a hexadecimal value.
1050
+ - name: description.nodes[].buttonData.styles.borderColorHover | type: string | description: Border color as a hexadecimal value (hover state).
1051
+ - name: description.nodes[].buttonData.styles.borderRadius | type: number | description: Border radius in pixels.
1052
+ - name: description.nodes[].buttonData.styles.borderWidth | type: number | description: Border width in pixels.
1053
+ - name: description.nodes[].buttonData.styles.buttonSize | type: string | description: Button size option, one of `SMALL`, `MEDIUM` or `LARGE`. Defaults to `MEDIUM`.
1054
+ - name: description.nodes[].buttonData.styles.textColor | type: string | description: Text color as a hexadecimal value.
1055
+ - name: description.nodes[].buttonData.styles.textColorHover | type: string | description: Text color as a hexadecimal value (hover state).
1056
+ - name: description.nodes[].buttonData.text | type: string | description: The text to display on the button.
1057
+ - name: description.nodes[].buttonData.type | type: ButtonDataType | description: The button type.
1058
+ enum:
1059
+ ACTION: Triggers custom action that is defined in plugin configuration by the consumer
1060
+ LINK: Regular link button
1061
+ - name: description.nodes[].captionData | type: CaptionData | description: Data for a caption node.
1062
+ - name: description.nodes[].captionData.textStyle | type: TextStyle | description: none
1063
+ - name: description.nodes[].captionData.textStyle.lineHeight | type: string | description: A CSS `line-height` value for the text expressed as a ratio relative to the font size. For example, if the font size is 20px, a `lineHeight` value of `'1.5'`` results in a line height of 30px.
1064
+ - name: description.nodes[].captionData.textStyle.textAlignment | type: TextAlignment | description: Text alignment. Defaults to `AUTO`.
1065
+ enum:
1066
+ AUTO: browser default, eqivalent to `initial`
1067
+ CENTER: Center align
1068
+ JUSTIFY: Text is spaced to line up its left and right edges to the left and right edges of the line box, except for the last line
1069
+ LEFT: Left align
1070
+ RIGHT: Right align
1071
+ - name: description.nodes[].codeBlockData | type: CodeBlockData | description: Data for a code block node.
1072
+ - name: description.nodes[].codeBlockData.textStyle | type: TextStyle | description: Styling for the code block's text.
1073
+ - name: description.nodes[].collapsibleListData | type: CollapsibleListData | description: Data for a collapsible list node.
1074
+ - name: description.nodes[].collapsibleListData.containerData | type: PluginContainerData | description: Styling for the collapsible list's container.
1075
+ - name: description.nodes[].collapsibleListData.direction | type: Direction | description: The direction of the text in the list. Either left-to-right or right-to-left.
1076
+ enum:
1077
+ LTR: Left-to-right
1078
+ RTL: Right-to-left
1079
+ - name: description.nodes[].collapsibleListData.expandOnlyOne | type: boolean | description: If `true`, only one item can be expanded at a time. Defaults to `false`.
1080
+ - name: description.nodes[].collapsibleListData.initialExpandedItems | type: InitialExpandedItems | description: Sets which items are expanded when the page loads.
1081
+ enum:
1082
+ ALL: All items will expended initally
1083
+ FIRST: First item will be expended initally
1084
+ NONE: All items collapsed initally
1085
+ - name: description.nodes[].collapsibleListData.isQapageData | type: boolean | description: If `true`, The collapsible item will appear in search results as an FAQ.
1086
+ - name: description.nodes[].dividerData | type: DividerData | description: Data for a divider node.
1087
+ - name: description.nodes[].dividerData.alignment | type: DividerDataAlignment | description: Divider alignment.
1088
+ enum:
1089
+ CENTER: Center alignment
1090
+ LEFT: Left alignment
1091
+ RIGHT: Right alignment
1092
+ - name: description.nodes[].dividerData.containerData | type: PluginContainerData | description: Styling for the divider's container.
1093
+ - name: description.nodes[].dividerData.lineStyle | type: LineStyle | description: Divider line style.
1094
+ enum:
1095
+ DASHED: Dashed Line
1096
+ DOTTED: Dotted Line
1097
+ DOUBLE: Double Line
1098
+ SINGLE: Single Line
1099
+ - name: description.nodes[].dividerData.width | type: Width | description: Divider width.
1100
+ enum:
1101
+ LARGE: Large line
1102
+ MEDIUM: Medium line
1103
+ SMALL: Small line
1104
+ - name: description.nodes[].embedData | type: EmbedData | description: Data for an oEmbed node.
1105
+ - name: description.nodes[].embedData.containerData | type: PluginContainerData | description: Styling for the oEmbed node's container.
1106
+ - name: description.nodes[].embedData.oembed | type: Oembed | description: An [oEmbed](https://www.oembed.com) object.
1107
+ - name: description.nodes[].embedData.oembed.authorName | type: string | description: The name of the author or owner of the resource.
1108
+ - name: description.nodes[].embedData.oembed.authorUrl | type: string | description: The URL for the author or owner of the resource.
1109
+ - name: description.nodes[].embedData.oembed.height | type: number | description: The height of the resource specified in the `url` property in pixels.
1110
+ - name: description.nodes[].embedData.oembed.html | type: string | description: HTML for embedding a video player. The HTML should have no padding or margins.
1111
+ - name: description.nodes[].embedData.oembed.providerName | type: string | description: The name of the resource provider.
1112
+ - name: description.nodes[].embedData.oembed.providerUrl | type: string | description: The URL for the resource provider.
1113
+ - name: description.nodes[].embedData.oembed.thumbnailHeight | type: string | description: The height of the resource's thumbnail image. If this property is defined, `thumbnailUrl` and `thumbnailWidth`must also be defined.
1114
+ - name: description.nodes[].embedData.oembed.thumbnailUrl | type: string | description: The URL for a thumbnail image for the resource. If this property is defined, `thumbnailWidth` and `thumbnailHeight` must also be defined.
1115
+ - name: description.nodes[].embedData.oembed.thumbnailWidth | type: string | description: The width of the resource's thumbnail image. If this property is defined, `thumbnailUrl` and `thumbnailHeight` must also be defined.
1116
+ - name: description.nodes[].embedData.oembed.title | type: string | description: Resource title.
1117
+ - name: description.nodes[].embedData.oembed.type | type: string | description: The resource type.
1118
+ - name: description.nodes[].embedData.oembed.url | type: string | description: The source URL for the resource.
1119
+ - name: description.nodes[].embedData.oembed.version | type: string | description: The oEmbed version number. This value must be `1.0`.
1120
+ - name: description.nodes[].embedData.oembed.videoUrl | type: string | description: The URL for an embedded viedo.
1121
+ - name: description.nodes[].embedData.oembed.width | type: number | description: The width of the resource specified in the `url` property in pixels.
1122
+ - name: description.nodes[].embedData.src | type: string | description: Origin asset source.
1123
+ - name: description.nodes[].externalData | type: Record<string, any> | description: Data for a custom external node.
1124
+ - name: description.nodes[].fileData | type: FileData | description: Data for a file node.
1125
+ - name: description.nodes[].fileData.containerData | type: PluginContainerData | description: Styling for the file's container.
1126
+ - name: description.nodes[].fileData.mimeType | type: string | description: File MIME type.
1127
+ - name: description.nodes[].fileData.name | type: string | description: File name.
1128
+ - name: description.nodes[].fileData.path | type: string | description: File path.
1129
+ - name: description.nodes[].fileData.pdfSettings | type: PDFSettings | description: Settings for PDF files.
1130
+ - name: description.nodes[].fileData.pdfSettings.disableDownload | type: boolean | description: Sets whether the PDF download button is disabled. Defaults to `false`.
1131
+ - name: description.nodes[].fileData.pdfSettings.disablePrint | type: boolean | description: Sets whether the PDF print button is disabled. Defaults to `false`.
1132
+ - name: description.nodes[].fileData.pdfSettings.viewMode | type: ViewMode | description: PDF view mode. One of the following: `NONE` : The PDF isn't displayed. `FULL` : A full page view of the PDF is displayed. `MINI` : A mini view of the PDF is displayed.
1133
+ enum:
1134
+ FULL: Full PDF view
1135
+ MINI: Mini PDF view
1136
+ NONE: No PDF view
1137
+ - name: description.nodes[].fileData.sizeInKb | type: string | description: File size in KB.
1138
+ - name: description.nodes[].fileData.src | type: FileSource | description: The source for the file's data.
1139
+ - name: description.nodes[].fileData.type | type: string | description: File type.
1140
+ - name: description.nodes[].galleryData | type: GalleryData | description: Data for a gallery node.
1141
+ - name: description.nodes[].galleryData.containerData | type: PluginContainerData | description: Styling for the gallery's container.
1142
+ - name: description.nodes[].galleryData.disableDownload | type: boolean | description: Sets whether the gallery's download button is disabled. Defaults to `false`.
1143
+ - name: description.nodes[].galleryData.disableExpand | type: boolean | description: Sets whether the gallery's expand button is disabled. Defaults to `false`.
1144
+ - name: description.nodes[].galleryData.items | type: Array<Item> | description: The items in the gallery.
1145
+ - name: description.nodes[].galleryData.items[].altText | type: string | description: Item's alternative text.
1146
+ - name: description.nodes[].galleryData.items[].title | type: string | description: Item title.
1147
+ - ONE-OF:
1148
+ - name: description.nodes[].galleryData.items[].image | type: Image | description: An image item.
1149
+ - name: description.nodes[].galleryData.items[].image.link | type: Link | description: Link details for images that are links.
1150
+ - name: description.nodes[].galleryData.items[].image.media | type: V1Media | description: Image file details.
1151
+ - name: description.nodes[].galleryData.items[].video | type: Video | description: A video item.
1152
+ - name: description.nodes[].galleryData.items[].video.media | type: V1Media | description: Video file details.
1153
+ - name: description.nodes[].galleryData.items[].video.thumbnail | type: V1Media | description: Video thumbnail file details.
1154
+ - name: description.nodes[].galleryData.options | type: GalleryOptions | description: Options for defining the gallery's appearance.
1155
+ - name: description.nodes[].galleryData.options.item | type: ItemStyle | description: Styling for gallery items.
1156
+ - name: description.nodes[].galleryData.options.item.crop | type: Crop | description: Sets how item images are cropped.
1157
+ enum:
1158
+ FILL: Crop to fill
1159
+ FIT: Crop to fit
1160
+ - name: description.nodes[].galleryData.options.item.ratio | type: number | description: Item ratio
1161
+ - name: description.nodes[].galleryData.options.item.spacing | type: number | description: The spacing between items in pixels.
1162
+ - name: description.nodes[].galleryData.options.item.targetSize | type: number | description: Desirable dimension for each item in pixels (behvaior changes according to gallery type)
1163
+ - name: description.nodes[].galleryData.options.layout | type: GalleryOptionsLayout | description: Gallery layout.
1164
+ - name: description.nodes[].galleryData.options.layout.horizontalScroll | type: boolean | description: Sets whether horizontal scroll is enabled. Defaults to `true` unless the layout `type` is set to `GRID` or `COLLAGE`.
1165
+ - name: description.nodes[].galleryData.options.layout.mobileNumberOfColumns | type: number | description: The number of columns to display on mobile screens.
1166
+ - name: description.nodes[].galleryData.options.layout.numberOfColumns | type: number | description: The number of columns to display on full size screens.
1167
+ - name: description.nodes[].galleryData.options.layout.orientation | type: Orientation | description: Gallery orientation.
1168
+ enum:
1169
+ COLUMNS: Columns Orientation
1170
+ ROWS: Rows Orientation
1171
+ - name: description.nodes[].galleryData.options.layout.type | type: LayoutType | description: Gallery layout type.
1172
+ enum:
1173
+ COLLAGE: Collage type
1174
+ COLUMN: Column type
1175
+ FULLSIZE: Fullsize images type
1176
+ GRID: Grid type
1177
+ MAGIC: Magic type
1178
+ MASONRY: Masonry type
1179
+ PANORAMA: Panorama type
1180
+ SLIDER: Slider type
1181
+ SLIDESHOW: Slideshow type
1182
+ THUMBNAIL: Thumbnail type
1183
+ - name: description.nodes[].galleryData.options.thumbnails | type: Thumbnails | description: Styling for gallery thumbnail images.
1184
+ - name: description.nodes[].galleryData.options.thumbnails.placement | type: ThumbnailsAlignment | description: Thumbnail alignment.
1185
+ enum:
1186
+ BOTTOM: Bottom alignment
1187
+ LEFT: Left alignment
1188
+ NONE: No thumbnail
1189
+ RIGHT: Right alignment
1190
+ TOP: Top alignment
1191
+ - name: description.nodes[].galleryData.options.thumbnails.spacing | type: number | description: Spacing between thumbnails in pixels.
1192
+ - name: description.nodes[].gifData | type: GIFData | description: Data for a GIF node.
1193
+ - name: description.nodes[].gifData.containerData | type: PluginContainerData | description: Styling for the GIF's container.
1194
+ - name: description.nodes[].gifData.downsized | type: GIF | description: The source of the downsized GIF.
1195
+ - name: description.nodes[].gifData.downsized.gif | type: string | description: GIF format URL.
1196
+ - name: description.nodes[].gifData.downsized.mp4 | type: string | description: MP4 format URL.
1197
+ - name: description.nodes[].gifData.downsized.still | type: string | description: Thumbnail URL.
1198
+ - name: description.nodes[].gifData.gifType | type: GIFType | description: Type of GIF (Sticker or NORMAL). Defaults to `NORMAL`.
1199
+ enum: NORMAL, STICKER
1200
+ - name: description.nodes[].gifData.height | type: number | description: Height in pixels.
1201
+ - name: description.nodes[].gifData.original | type: GIF | description: The source of the full size GIF.
1202
+ - name: description.nodes[].gifData.width | type: number | description: Width in pixels.
1203
+ - name: description.nodes[].headingData | type: HeadingData | description: Data for a heading node.
1204
+ - name: description.nodes[].headingData.indentation | type: number | description: Indentation level from 1-4.
1205
+ - name: description.nodes[].headingData.level | type: number | description: Heading level from 1-6.
1206
+ - name: description.nodes[].headingData.textStyle | type: TextStyle | description: Styling for the heading text.
1207
+ - name: description.nodes[].htmlData | type: HTMLData | description: Data for an embedded HTML node.
1208
+ - name: description.nodes[].htmlData.autoHeight | type: boolean | description: If container height is aligned with its content height. Defaults to `true`.
1209
+ - name: description.nodes[].htmlData.containerData | type: PluginContainerData | description: Styling for the HTML node's container. Height property is irrelevant for HTML embeds when autoHeight is set to `true`.
1210
+ - name: description.nodes[].htmlData.source | type: Source | description: The type of HTML code.
1211
+ enum: ADSENSE, AI, HTML
1212
+ - ONE-OF:
1213
+ - name: description.nodes[].htmlData.html | type: string | description: The HTML code for the node.
1214
+ - name: description.nodes[].htmlData.isAdsense | type: boolean | description: Whether this is an AdSense element. Use `source` instead.
1215
+ - name: description.nodes[].htmlData.url | type: string | description: The URL for the HTML code for the node.
1216
+ - name: description.nodes[].imageData | type: ImageData | description: Data for an image node.
1217
+ - name: description.nodes[].imageData.altText | type: string | description: Image's alternative text.
1218
+ - name: description.nodes[].imageData.containerData | type: PluginContainerData | description: Styling for the image's container.
1219
+ - name: description.nodes[].imageData.decorative | type: boolean | description: Sets whether the image is decorative and does not need an explanation. Defaults to `false`.
1220
+ - name: description.nodes[].imageData.disableDownload | type: boolean | description: Sets whether the image's download button is disabled. Defaults to `false`.
1221
+ - name: description.nodes[].imageData.disableExpand | type: boolean | description: Sets whether the image expands to full screen when clicked. Defaults to `false`.
1222
+ - name: description.nodes[].imageData.image | type: V1Media | description: Image file details.
1223
+ - name: description.nodes[].imageData.link | type: Link | description: Link details for images that are links.
1224
+ - name: description.nodes[].imageData.styles | type: ImageDataStyles | description: Styling for the image.
1225
+ - name: description.nodes[].imageData.styles.border | type: StylesBorder | description: Border attributes.
1226
+ - name: description.nodes[].imageData.styles.border.color | type: string | description: Border color as a hexadecimal value.
1227
+ - name: description.nodes[].imageData.styles.border.radius | type: number | description: Border radius in pixels.
1228
+ - name: description.nodes[].imageData.styles.border.width | type: number | description: Border width in pixels.
1229
+ - name: description.nodes[].layoutCellData | type: LayoutCellData | description: Data for a cell node.
1230
+ - name: description.nodes[].layoutCellData.colSpan | type: number | description: Size of the cell in 12 columns grid.
1231
+ - name: description.nodes[].layoutData | type: LayoutData | description: Data for a layout node. Reserved for future use.
1232
+ - name: description.nodes[].layoutData.backdropColor | type: string | description: Backdrop color as a hexadecimal value.
1233
+ - name: description.nodes[].layoutData.backdropImage | type: BackgroundImage | description: Backdrop image.radius in pixels.
1234
+ - name: description.nodes[].layoutData.backdropImage.media | type: V1Media | description: Background image.
1235
+ - name: description.nodes[].layoutData.backdropImage.opacity | type: number | description: Background image opacity.
1236
+ - name: description.nodes[].layoutData.backdropImage.position | type: ImagePosition | description: Position of background. Defaults to `CENTER`.
1237
+ enum:
1238
+ BOTTOM: Image positioned at the center bottom
1239
+ BOTTOM_LEFT: Image positioned at the bottom left
1240
+ BOTTOM_RIGHT: Image positioned at the bottom right
1241
+ CENTER: Image positioned at the center
1242
+ CENTER_LEFT: Image positioned on the left
1243
+ CENTER_RIGHT: Image positioned on the right
1244
+ TOP: Image positioned at the center top
1245
+ TOP_LEFT: Image positioned at the top left
1246
+ TOP_RIGHT: Image positioned at the top right
1247
+ - name: description.nodes[].layoutData.backdropImage.scaling | type: Scaling | description: Background image scaling.
1248
+ enum:
1249
+ AUTO: Auto image scaling
1250
+ CONTAIN: Contain image scaling
1251
+ COVER: Cover image scaling
1252
+ - name: description.nodes[].layoutData.backdropPaddingBottom | type: number | description: Backdrop bottom padding
1253
+ - name: description.nodes[].layoutData.backdropPaddingTop | type: number | description: Backdrop top padding.
1254
+ - name: description.nodes[].layoutData.backgroundColor | type: string | description: Background color as a hexadecimal value.
1255
+ - name: description.nodes[].layoutData.backgroundImage | type: BackgroundImage | description: Background image.
1256
+ - name: description.nodes[].layoutData.borderColor | type: string | description: Border color as a hexadecimal value.
1257
+ - name: description.nodes[].layoutData.borderRadius | type: number | description: Border
1258
+ - name: description.nodes[].layoutData.borderWidth | type: number | description: Border width in pixels.
1259
+ - name: description.nodes[].layoutData.cellPadding | type: Array<number> | description: Padding in pixels for cells. Follows CSS order: top, right, bottom, left
1260
+ - name: description.nodes[].layoutData.cellVerticalAlignment | type: VerticalAlignmentAlignment | description: Vertical alignment for the cell's items.
1261
+ enum:
1262
+ BOTTOM: Bottom alignment
1263
+ MIDDLE: Middle alignment
1264
+ TOP: Top alignment
1265
+ - name: description.nodes[].layoutData.containerData | type: PluginContainerData | description: Styling for the layout's container.
1266
+ - name: description.nodes[].layoutData.gap | type: number | description: Horizontal and vertical gap between columns
1267
+ - name: description.nodes[].layoutData.responsivenessBehaviour | type: ResponsivenessBehaviour | description: Responsiveness behaviour of columns when responsiveness applies. Either stacks or wrappers.
1268
+ enum:
1269
+ STACK: Stacking of columns
1270
+ WRAP: Wrapping of columns
1271
+ - name: description.nodes[].layoutData.responsivenessBreakpoint | type: number | description: Size in pixels when responsiveness_behaviour applies
1272
+ - name: description.nodes[].linkPreviewData | type: LinkPreviewData | description: Data for a link preview node.
1273
+ - name: description.nodes[].linkPreviewData.containerData | type: PluginContainerData | description: Styling for the link preview's container.
1274
+ - name: description.nodes[].linkPreviewData.description | type: string | description: Preview description.
1275
+ - name: description.nodes[].linkPreviewData.html | type: string | description: The preview content as HTML.
1276
+ - name: description.nodes[].linkPreviewData.link | type: Link | description: Link details.
1277
+ - name: description.nodes[].linkPreviewData.styles | type: LinkPreviewDataStyles | description: Styling for the link preview.
1278
+ - name: description.nodes[].linkPreviewData.styles.backgroundColor | type: string | description: Background color as a hexadecimal value.
1279
+ - name: description.nodes[].linkPreviewData.styles.borderColor | type: string | description: Border color as a hexadecimal value.
1280
+ - name: description.nodes[].linkPreviewData.styles.borderRadius | type: number | description: Border radius in pixels.
1281
+ - name: description.nodes[].linkPreviewData.styles.borderWidth | type: number | description: Border width in pixels.
1282
+ - name: description.nodes[].linkPreviewData.styles.linkColor | type: string | description: Link color as a hexadecimal value.
1283
+ - name: description.nodes[].linkPreviewData.styles.subtitleColor | type: string | description: Subtitle color as a hexadecimal value.
1284
+ - name: description.nodes[].linkPreviewData.styles.thumbnailPosition | type: StylesPosition | description: Position of thumbnail. Defaults to `START`.
1285
+ enum:
1286
+ END: Thumbnail positioned at the end (right in LTR layouts, left in RTL layouts)
1287
+ HIDDEN: Thumbnail hidden and not displayed
1288
+ START: Thumbnail positioned at the start (left in LTR layouts, right in RTL layouts)
1289
+ TOP: Thumbnail positioned at the top
1290
+ - name: description.nodes[].linkPreviewData.styles.titleColor | type: string | description: Title color as a hexadecimal value.
1291
+ - name: description.nodes[].linkPreviewData.thumbnailUrl | type: string | description: Preview thumbnail URL.
1292
+ - name: description.nodes[].linkPreviewData.title | type: string | description: Preview title.
1293
+ - name: description.nodes[].mapData | type: MapData | description: none
1294
+ - name: description.nodes[].mapData.containerData | type: PluginContainerData | description: Styling for the map's container.
1295
+ - name: description.nodes[].mapData.mapSettings | type: MapSettings | description: Map settings.
1296
+ - name: description.nodes[].mapData.mapSettings.address | type: string | description: The address to display on the map.
1297
+ - name: description.nodes[].mapData.mapSettings.draggable | type: boolean | description: Sets whether the map is draggable.
1298
+ - name: description.nodes[].mapData.mapSettings.initialZoom | type: number | description: Initial zoom value.
1299
+ - name: description.nodes[].mapData.mapSettings.lat | type: number | description: Location latitude.
1300
+ - name: description.nodes[].mapData.mapSettings.lng | type: number | description: Location longitude.
1301
+ - name: description.nodes[].mapData.mapSettings.locationName | type: string | description: Location name.
1302
+ - name: description.nodes[].mapData.mapSettings.mapType | type: MapType | description: Map type. `HYBRID` is a combination of the `ROADMAP` and `SATELLITE` map types.
1303
+ enum:
1304
+ HYBRID: Hybrid map type
1305
+ ROADMAP: Roadmap map type
1306
+ SATELITE: Satellite map type
1307
+ TERRAIN: Terrain map type
1308
+ - name: description.nodes[].mapData.mapSettings.marker | type: boolean | description: Sets whether the location marker is visible.
1309
+ - name: description.nodes[].mapData.mapSettings.streetViewControl | type: boolean | description: Sets whether street view control is enabled.
1310
+ - name: description.nodes[].mapData.mapSettings.viewModeControl | type: boolean | description: Sets whether view mode control is enabled.
1311
+ - name: description.nodes[].mapData.mapSettings.zoomControl | type: boolean | description: Sets whether zoom control is enabled.
1312
+ - name: description.nodes[].orderedListData | type: OrderedListData | description: Data for an ordered list node.
1313
+ - name: description.nodes[].orderedListData.indentation | type: number | description: Indentation level from 0-4.
1314
+ - name: description.nodes[].orderedListData.offset | type: number | description: Offset level from 0-4.
1315
+ - name: description.nodes[].orderedListData.start | type: number | description: List start number.
1316
+ - name: description.nodes[].paragraphData | type: ParagraphData | description: Data for a paragraph node.
1317
+ - name: description.nodes[].paragraphData.indentation | type: number | description: Indentation level from 1-4.
1318
+ - name: description.nodes[].paragraphData.level | type: number | description: Paragraph level
1319
+ - name: description.nodes[].paragraphData.textStyle | type: TextStyle | description: Styling for the paragraph text.
1320
+ - name: description.nodes[].pollData | type: PollData | description: Data for a poll node.
1321
+ - name: description.nodes[].pollData.containerData | type: PluginContainerData | description: Styling for the poll's container.
1322
+ - name: description.nodes[].pollData.design | type: Design | description: Styling for the poll and voting options.
1323
+ - name: description.nodes[].pollData.design.options | type: OptionDesign | description: Styling for voting options.
1324
+ - name: description.nodes[].pollData.design.options.borderRadius | type: number | description: Border radius in pixels.
1325
+ - name: description.nodes[].pollData.design.poll | type: PollDesign | description: Styling for the poll.
1326
+ - name: description.nodes[].pollData.design.poll.background | type: Background | description: Background styling.
1327
+ - name: description.nodes[].pollData.design.poll.background.type | type: BackgroundType | description: Background type. For each option, include the relevant details.
1328
+ enum:
1329
+ COLOR: Color background type
1330
+ GRADIENT: Gradiant background type
1331
+ IMAGE: Image background type
1332
+ - ONE-OF:
1333
+ - name: description.nodes[].pollData.design.poll.background.color | type: string | description: The background color as a hexademical value.
1334
+ - name: description.nodes[].pollData.design.poll.background.gradient | type: Gradient | description: Details for a gradient background.
1335
+ - name: description.nodes[].pollData.design.poll.background.gradient.angle | type: number | description: The gradient angle in degrees.
1336
+ - name: description.nodes[].pollData.design.poll.background.gradient.lastColor | type: string | description: The end color as a hexademical value.
1337
+ - name: description.nodes[].pollData.design.poll.background.gradient.startColor | type: string | description: The start color as a hexademical value.
1338
+ - name: description.nodes[].pollData.design.poll.background.image | type: V1Media | description: An image to use for the background.
1339
+ - name: description.nodes[].pollData.design.poll.borderRadius | type: number | description: Border radius in pixels.
1340
+ - name: description.nodes[].pollData.layout | type: PollDataLayout | description: Layout settings for the poll and voting options.
1341
+ - name: description.nodes[].pollData.layout.options | type: OptionLayout | description: Voting otpions layout settings.
1342
+ - name: description.nodes[].pollData.layout.options.enableImage | type: boolean | description: Sets whether to display option images. Defaults to `false`.
1343
+ - name: description.nodes[].pollData.layout.poll | type: PollLayout | description: Poll layout settings.
1344
+ - name: description.nodes[].pollData.layout.poll.direction | type: PollLayoutDirection | description: The direction of the text displayed in the voting options. Text can be displayed either right-to-left or left-to-right.
1345
+ enum:
1346
+ LTR: Left-to-right
1347
+ RTL: Right-to-left
1348
+ - name: description.nodes[].pollData.layout.poll.enableImage | type: boolean | description: Sets whether to display the main poll image. Defaults to `false`.
1349
+ - name: description.nodes[].pollData.layout.poll.type | type: PollLayoutType | description: The layout for displaying the voting options.
1350
+ enum:
1351
+ GRID: Grid
1352
+ LIST: List
1353
+ - name: description.nodes[].pollData.poll | type: Poll | description: Poll data.
1354
+ - name: description.nodes[].pollData.poll.creatorId | type: string | description: Poll creator GUID.
1355
+ - name: description.nodes[].pollData.poll.id | type: string | description: Poll GUID.
1356
+ - name: description.nodes[].pollData.poll.image | type: V1Media | description: Main poll image.
1357
+ - name: description.nodes[].pollData.poll.options | type: Array<Option> | description: Voting options.
1358
+ - name: description.nodes[].pollData.poll.options[].id | type: string | description: Option GUID.
1359
+ - name: description.nodes[].pollData.poll.options[].image | type: V1Media | description: The image displayed with the option.
1360
+ - name: description.nodes[].pollData.poll.options[].title | type: string | description: Option title.
1361
+ - name: description.nodes[].pollData.poll.settings | type: PollSettings | description: The poll's permissions and display settings.
1362
+ - name: description.nodes[].pollData.poll.settings.permissions | type: Permissions | description: Permissions settings for voting.
1363
+ - name: description.nodes[].pollData.poll.settings.permissions.allowMultipleVotes | type: boolean | description: Sets whether one voter can vote multiple times. Defaults to `false`.
1364
+ - name: description.nodes[].pollData.poll.settings.permissions.view | type: ViewRole | description: Sets who can view the poll results.
1365
+ enum:
1366
+ CREATOR: Only Poll creator can view the results
1367
+ EVERYONE: Anyone can see the results, even if one didn't vote
1368
+ VOTERS: Anyone who voted can see the results
1369
+ - name: description.nodes[].pollData.poll.settings.permissions.vote | type: VoteRole | description: Sets who can vote.
1370
+ enum:
1371
+ ALL: Anyone
1372
+ SITE_MEMBERS: Logged in member
1373
+ - name: description.nodes[].pollData.poll.settings.showVoters | type: boolean | description: Sets whether voters are displayed in the vote results. Defaults to `true`.
1374
+ - name: description.nodes[].pollData.poll.settings.showVotesCount | type: boolean | description: Sets whether the vote count is displayed. Defaults to `true`.
1375
+ - name: description.nodes[].pollData.poll.title | type: string | description: Poll title.
1376
+ - name: description.nodes[].tableCellData | type: TableCellData | description: Data for a table cell node.
1377
+ - name: description.nodes[].tableCellData.borderColors | type: BorderColors | description: The cell's border colors.
1378
+ - name: description.nodes[].tableCellData.borderColors.bottom | type: string | description: Bottom border color as a hexadecimal value.
1379
+ - name: description.nodes[].tableCellData.borderColors.left | type: string | description: Left border color as a hexadecimal value.
1380
+ - name: description.nodes[].tableCellData.borderColors.right | type: string | description: Right border color as a hexadecimal value.
1381
+ - name: description.nodes[].tableCellData.borderColors.top | type: string | description: Top border color as a hexadecimal value.
1382
+ - name: description.nodes[].tableCellData.borderWidths | type: BorderWidths | description: The cell's border widths.
1383
+ - name: description.nodes[].tableCellData.borderWidths.bottom | type: number | description: Bottom border width in pixels.
1384
+ - name: description.nodes[].tableCellData.borderWidths.left | type: number | description: Left border width in pixels.
1385
+ - name: description.nodes[].tableCellData.borderWidths.right | type: number | description: Right border width in pixels.
1386
+ - name: description.nodes[].tableCellData.borderWidths.top | type: number | description: Top border width in pixels.
1387
+ - name: description.nodes[].tableCellData.cellStyle | type: CellStyle | description: Styling for the cell's background color and text alignment.
1388
+ - name: description.nodes[].tableCellData.cellStyle.backgroundColor | type: string | description: Cell background color as a hexadecimal value.
1389
+ - name: description.nodes[].tableCellData.cellStyle.verticalAlignment | type: VerticalAlignment | description: Vertical alignment for the cell's text.
1390
+ enum:
1391
+ BOTTOM: Bottom alignment
1392
+ MIDDLE: Middle alignment
1393
+ TOP: Top alignment
1394
+ - name: description.nodes[].tableCellData.colspan | type: number | description: Defines how many columns the cell spans. Default: 1.
1395
+ - name: description.nodes[].tableCellData.rowspan | type: number | description: Defines how many rows the cell spans. Default: 1.
1396
+ - name: description.nodes[].tableData | type: TableData | description: Data for a table node.
1397
+ - name: description.nodes[].tableData.cellPadding | type: Array<number> | description: Padding in pixels for cells. Follows CSS order: top, right, bottom, left.
1398
+ - name: description.nodes[].tableData.cellSpacing | type: number | description: The spacing between cells in pixels. Defaults to `0`.
1399
+ - name: description.nodes[].tableData.columnHeader | type: boolean | description: Sets whether the table's first column is a header. Defaults to `false`.
1400
+ - name: description.nodes[].tableData.containerData | type: PluginContainerData | description: Styling for the table's container.
1401
+ - name: description.nodes[].tableData.dimensions | type: Dimensions | description: The table's dimensions.
1402
+ - name: description.nodes[].tableData.dimensions.colsMinWidth | type: Array<number> | description: An array representing the minimum width of each column in pixels.
1403
+ - name: description.nodes[].tableData.dimensions.colsWidthRatio | type: Array<number> | description: An array representing relative width of each column in relation to the other columns.
1404
+ - name: description.nodes[].tableData.dimensions.rowsHeight | type: Array<number> | description: An array representing the height of each row in pixels.
1405
+ - name: description.nodes[].tableData.rowHeader | type: boolean | description: Sets whether the table's first row is a header. Defaults to `false`.
1406
+ - name: description.nodes[].textData | type: TextData | description: Data for a text node. Used to apply decorations to text.
1407
+ - name: description.nodes[].textData.decorations | type: Array<Decoration> | description: The decorations to apply.
1408
+ - name: description.nodes[].textData.text | type: string | description: The text to apply decorations to.
1409
+ - name: description.nodes[].videoData | type: VideoData | description: Data for a video node.
1410
+ - name: description.nodes[].videoData.containerData | type: PluginContainerData | description: Styling for the video's container.
1411
+ - name: description.nodes[].videoData.disableDownload | type: boolean | description: Sets whether the video's download button is disabled. Defaults to `false`.
1412
+ - name: description.nodes[].videoData.options | type: PlaybackOptions | description: Video options.
1413
+ - name: description.nodes[].videoData.options.autoPlay | type: boolean | description: Sets whether the media will automatically start playing.
1414
+ - name: description.nodes[].videoData.options.playInLoop | type: boolean | description: Sets whether media's will be looped.
1415
+ - name: description.nodes[].videoData.options.showControls | type: boolean | description: Sets whether media's controls will be shown.
1416
+ - name: description.nodes[].videoData.thumbnail | type: V1Media | description: Video thumbnail details.
1417
+ - name: description.nodes[].videoData.title | type: string | description: Video title.
1418
+ - name: description.nodes[].videoData.video | type: V1Media | description: Video details.
1419
+ - name: directCategoriesInfo | type: ProductCategoriesInfo | description: List of categories that directly contain this product. Updated automatically when a product is added/removed from a category, when an item is moved within a category, or when a category is deleted. > **Note:** Returned only when you pass `"DIRECT_CATEGORIES_INFO"` to the `fields` array in Products API requests.
1420
+ - name: extendedFields | type: ExtendedFields | description: Custom extended fields for the product object. [Extended fields](https://dev.wix.com/docs/rest/articles/getting-started/extended-fields) must be configured in the app dashboard before they can be accessed with API calls.
1421
+ - name: extendedFields.namespaces | type: Record<string, undefined> | description: Extended field data. Each key corresponds to the namespace of the app that created the extended fields. The value of each key is structured according to the schema defined when the extended fields were configured. You can only access fields for which you have the appropriate permissions. Learn more about [extended fields](https://dev.wix.com/docs/rest/articles/getting-started/extended-fields).
1422
+ - name: handle | type: string | description: A unique human-friendly identifier for the product. Unlike the product GUID, the handle can be set by the user to ensure consistency across multiple platforms. In case handle wasn't given, the handle will be automatically generated.
1423
+ - name: infoSections | type: Array<InfoSection> | description: Product info section. + Pass `infoSection.uniqueName`, `infoSection.title`, and `infoSection.description` to add a new info section while creating a product. + Pass an existing info section's `id` or `uniqueName` to assign that info section to the product.
1424
+ - name: infoSections[]._id | type: string | description: Info section GUID.
1425
+ - name: infoSections[].description | type: RichContent | description: Info section description using rich content. > **Note:** Returned only when you pass `"INFO_SECTION_DESCRIPTION"` to the `fields` array in Products API requests. <widget src="https://apps.wix.com/_serverless/ricos-playground-services/goto/api-component" plugins="indent.emoji.divider.codeBlock.file.gallery.giphy.image.table.link.textHighlight.textColor" exampleid="7dc9240e-d548-417a-abcf-0291b68b4303"> <a href="https://dev.wix.com/docs/ricos/api-reference/ricos-document">See Ricos document reference</a> </widget>
1426
+ - name: infoSections[].plainDescription | type: string | description: Info section description in HTML. When provided on create/update, this string must be a valid HTML. It will then be converted to rich content. `plainDescription` is ignored when value is also passed to the `description` field. > **Note:** Returned only when you pass `"INFO_SECTION_PLAIN_DESCRIPTION"` to the `fields` array in Products API requests.
1427
+ - name: infoSections[].title | type: string | description: Info section title. > **Note:** Returned only when you pass `"INFO_SECTION"` to the `fields` array in Products API requests.
1428
+ - name: infoSections[].uniqueName | type: string | description: Info section unique name. > **Note:** Returned only when you pass `"INFO_SECTION"` to the `fields` array in Products API requests.
1429
+ - name: inventory | type: Inventory | description: Product inventory info.
1430
+ - name: inventory.availabilityStatus | type: InventoryAvailabilityStatus | description: Current availability status.
1431
+ enum:
1432
+ IN_STOCK: All variants are in stock and available for purchase.
1433
+ OUT_OF_STOCK: All variants are out of stock.
1434
+ PARTIALLY_OUT_OF_STOCK: Some variants are out of stock and some are in stock and available for purchase.
1435
+ UNKNOWN_AVAILABILITY_STATUS
1436
+ - name: inventory.preorderAvailability | type: ProductPreorderAvailability | description: Preorder availability status.
1437
+ enum:
1438
+ ALL_VARIANTS: All the product variants are available for preorder.
1439
+ NO_VARIANTS: None of the product variants are available for preorder.
1440
+ SOME_VARIANTS: Some of the product variants are available for preorder.
1441
+ UNKNOWN_PREORDER_AVAILABILITY_STATUS
1442
+ - name: inventory.preorderStatus | type: PreorderStatus | description: Current preorder status.
1443
+ enum:
1444
+ DISABLED: All variants are disabled for preorder.
1445
+ ENABLED: All variants are enabled for preorder.
1446
+ PARTIALLY_ENABLED: Some variants are disabled and some are enabled for preorder.
1447
+ UNKNOWN_PREORDER_STATUS
1448
+ - name: mainCategoryId | type: string | description: The GUID of the product's primary direct category, which defines the product’s breadcrumbs path. For example, if the product's main category is "T-Shirts" (which is a subcategory of "Clothing"), the breadcrumbs path will be "Clothing > T-Shirts".
1449
+ - name: media | type: Media | description: Product media items.
1450
+ - name: media.itemsInfo | type: MediaItemsInfo | description: All media items. > **Note:** Returned only when you pass `"MEDIA_ITEMS_INFO"` to the `fields` array in Products API requests.
1451
+ - name: media.itemsInfo.items | type: Array<ProductMedia> | description: All media items (images, videos etc) associated with this product.
1452
+ - name: media.itemsInfo.items[].altText | type: string | description: Image alt text.
1453
+ - name: media.itemsInfo.items[].displayName | type: string | description: Media display name. Allows to override the default media name. Can be passed only when `setBy: url`.
1454
+ - name: media.itemsInfo.items[].mediaType | type: MediaType | description: Media type.
1455
+ enum:
1456
+ IMAGE: Image media type.
1457
+ UNKNOWN_MEDIA_TYPE, VIDEO: Video media type.
1458
+ - name: media.itemsInfo.items[].thumbnail | type: Thumbnail | description: Media thumbnail. > **Note:** Returned only when you pass `"THUMBNAIL"` to the `fields` array in Products API requests.
1459
+ - name: media.itemsInfo.items[].thumbnail.altText | type: string | description: Thumbnail alt text.
1460
+ - name: media.itemsInfo.items[].thumbnail.height | type: number | description: Thumbnail height.
1461
+ - name: media.itemsInfo.items[].thumbnail.url | type: string | description: Thumbnail url.
1462
+ - name: media.itemsInfo.items[].thumbnail.width | type: number | description: Thumbnail width.
1463
+ - name: media.itemsInfo.items[].uploadId | type: string | description: GUID used to upload media to Wix Media Manager.
1464
+ - ONE-OF:
1465
+ - name: media.itemsInfo.items[]._id | type: string | description: Set media by GUID of an existing file in Wix Media Manager.
1466
+ - name: media.itemsInfo.items[].url | type: string | description: Set media using an external media URL.
1467
+ - ONE-OF:
1468
+ - name: media.itemsInfo.items[].image | type: string | description: Product image.
1469
+ - name: media.itemsInfo.items[].video | type: string | description: Product video.
1470
+ - name: media.main | type: ProductMedia | description: Main media (image, video, etc.) associated with this product.
1471
+ - name: modifiers | type: Array<ConnectedModifier> | description: Product modifiers. Allows the customer to customize product, e.g. select Color, Size and so on similarly to `options` but with one main difference - `modifiers` never generate any variants.
1472
+ - name: modifiers[]._id | type: string | description: GUID of a customization with `customizationType: MODIFIER`.
1473
+ - name: modifiers[].mandatory | type: boolean | description: Whether customer input is required for this modifier.
1474
+ - name: modifiers[].modifierRenderType | type: ModifierRenderType | description: Modifier render type.
1475
+ enum:
1476
+ FREE_TEXT: Free text.
1477
+ SWATCH_CHOICES: Swatch choices.
1478
+ TEXT_CHOICES: Text choices.
1479
+ UNKNOWN_MODIFIER_RENDER_TYPE: Not implemented.
1480
+ - name: modifiers[].name | type: string | description: Modifier title.
1481
+ - ONE-OF:
1482
+ - name: modifiers[].choicesSettings | type: ModifierChoicesSettings | description: Choice settings.
1483
+ - name: modifiers[].choicesSettings.choices | type: Array<ConnectedModifierChoice> | description: List of modifier choices.
1484
+ - name: modifiers[].choicesSettings.choices[].addedPrice | type: string | description: Added price.
1485
+ - name: modifiers[].choicesSettings.choices[].choiceId | type: string | description: Choice GUID.
1486
+ - name: modifiers[].choicesSettings.choices[].choiceType | type: ChoiceType | description: Choice type.
1487
+ enum:
1488
+ CHOICE_TEXT: Text choice.
1489
+ IMAGE: Image choice.
1490
+ MULTIPLE_COLORS: Multiple colors choice.
1491
+ ONE_COLOR: Single color choice.
1492
+ UNKNOWN_CHOICE_TYPE
1493
+ - name: modifiers[].choicesSettings.choices[].key | type: string | description: Modifier key. Used for eCommerce integration.
1494
+ - name: modifiers[].choicesSettings.choices[].linkedMedia | type: Array<ProductMedia> | description: Product media.
1495
+ - name: modifiers[].choicesSettings.choices[].name | type: string | description: Choice name.
1496
+ - ONE-OF:
1497
+ - name: modifiers[].choicesSettings.choices[].colorCode | type: string | description: Color code in HEX format, [as described by MDN](https://developer.mozilla.org/en-US/docs/Web/CSS/hex-color).
1498
+ - name: modifiers[].freeTextSettings | type: FreeTextSettings | description: Free text modifier settings.
1499
+ - name: modifiers[].freeTextSettings.defaultAddedPrice | type: string | description: Default amount to be added to the product's price.
1500
+ - name: modifiers[].freeTextSettings.maxCharCount | type: number | description: Maximum number of characters.
1501
+ - name: modifiers[].freeTextSettings.minCharCount | type: number | description: Minimum number of characters.
1502
+ - name: modifiers[].freeTextSettings.title | type: string | description: Title of the text to be input by the customer.
1503
+ - name: name | type: string | description: Product name. Translatable. | required: true
1504
+ - name: options | type: Array<ConnectedOption> | description: Product options. Allows the customer to customize the product. For example, selecting color, size, and more. Always generates variants: every variant must have exactly one choice related to each option. Since options and variants tightly coupled and rely on each other they usually should be provided together in all operations.
1505
+ - name: options[]._id | type: string | description: GUID of a customization with `customizationType: PRODUCT_OPTION`.
1506
+ - name: options[].name | type: string | description: Option name.
1507
+ - name: options[].optionRenderType | type: ProductOptionRenderType | description: Option render type.
1508
+ enum:
1509
+ SWATCH_CHOICES: Swatch choices.
1510
+ TEXT_CHOICES: Text choices.
1511
+ UNKNOWN_OPTION_RENDER_TYPE: Not implemented.
1512
+ - ONE-OF:
1513
+ - name: options[].choicesSettings | type: ChoicesSettings | description: Choices settings.
1514
+ - name: options[].choicesSettings.choices | type: Array<ConnectedOptionChoice> | description: List of available choices for the option.
1515
+ - name: options[].choicesSettings.choices[].choiceId | type: string | description: The id of the choice.
1516
+ - name: options[].choicesSettings.choices[].choiceType | type: ChoiceType | description: The type of this choice.
1517
+ - name: options[].choicesSettings.choices[].inStock | type: boolean | description: A flag that indicates if at least one variant with this choice is in stock in the default store's location. For example, a product with 'Color' and 'Size' options with variants: [Blue, Small] which is out of stock and [Red Large] which is in stock. For choice 'Blue' ths flag will be 'false' and for 'Red' the flag will be true
1518
+ - name: options[].choicesSettings.choices[].linkedMedia | type: Array<ProductMedia> | description: Product media overrides. When not empty only these images will be shown when such choices selected by customer. Otherwise all images of product. When several choices from different options selected only media filter present in `media_overrides` of ALL choices will be shown. For example if Color:red has images 1,2,3 and Material:Silk has images 2,3,5 then only images 2,3 will be shown when both of them selected.
1519
+ - name: options[].choicesSettings.choices[].name | type: string | description: Choice name.
1520
+ - name: options[].choicesSettings.choices[].visible | type: boolean | description: Whether at least one variant with this choice is visible. Default: `false`
1521
+ - ONE-OF:
1522
+ - name: options[].choicesSettings.choices[].colorCode | type: string | description: Color code in HEX format, [as described by MDN](https://developer.mozilla.org/en-US/docs/Web/CSS/hex-color).
1523
+ - name: plainDescription | type: string | description: Product description in HTML. + When provided on create/update, this string must be a valid HTML. It will then be converted to rich content. + `plainDescription` is ignored when value is also passed to the `description` field. > **Note:** Returned only when you pass `"PLAIN_DESCRIPTION"` to the `fields` array in Products API requests.
1524
+ - name: productType | type: ProductType | description: Product type. When passing `productType: PHYSICAL`, you must also pass `physicalProperties`. | required: true
1525
+ enum:
1526
+ DIGITAL: Digital product.
1527
+ PHYSICAL: Physical product.
1528
+ UNKNOWN_PRODUCT_TYPE: Not implemented.
1529
+ - name: revision | type: string | description: Revision number, which increments by 1 each time the product is updated. To prevent conflicting changes, the current revision must be passed when updating the product. Ignored when creating a product.
1530
+ - name: ribbon | type: Ribbon | description: Product ribbon. + Pass `ribbon.name` to add a new ribbon while creating a product. + Pass an existing ribbon's `id` or `name` to assign that ribbon to the product.
1531
+ - name: ribbon._id | type: string | description: Ribbon GUID.
1532
+ - name: ribbon.name | type: string | description: Ribbon name.
1533
+ - name: seoData | type: SeoSchema | description: Product SEO data.
1534
+ - name: seoData.settings | type: Settings | description: SEO general settings.
1535
+ - name: seoData.settings.keywords | type: Array<Keyword> | description: User-selected keyword terms for a specific page.
1536
+ - name: seoData.settings.keywords[].isMain | type: boolean | description: Whether the keyword is the main focus keyword.
1537
+ - name: seoData.settings.keywords[].origin | type: string | description: The source that added the keyword terms to the SEO settings.
1538
+ - name: seoData.settings.keywords[].term | type: string | description: Keyword value.
1539
+ - name: seoData.settings.preventAutoRedirect | type: boolean | description: Whether the [automatical redirect visits](https://support.wix.com/en/article/customizing-your-pages-seo-settings-in-the-seo-panel) from the old URL to the new one is enabled. Default: `false` (automatical redirect is enabled).
1540
+ - name: seoData.tags | type: Array<Tag> | description: SEO tag information.
1541
+ - name: seoData.tags[].children | type: string | description: SEO tag inner content. For example, `<title> inner content </title>`.
1542
+ - name: seoData.tags[].custom | type: boolean | description: Whether the tag is a [custom tag](https://support.wix.com/en/article/adding-additional-meta-tags-to-your-sites-pages).
1543
+ - name: seoData.tags[].disabled | type: boolean | description: Whether the tag is disabled. If the tag is disabled, people can't find your page when searching for this phrase in search engines.
1544
+ - name: seoData.tags[].meta | type: Record<string, any> | description: SEO tag metadata. For example, `{"height": 300, "width": 240}`.
1545
+ - name: seoData.tags[].props | type: Record<string, any> | description: A `{"key": "value"}` pair object where each SEO tag property (`"name"`, `"content"`, `"rel"`, `"href"`) contains a value. For example: `{"name": "description", "content": "the description itself"}`.
1546
+ - name: seoData.tags[].type | type: string | description: SEO tag type. Supported values: `title`, `meta`, `script`, `link`.
1547
+ - name: slug | type: string | description: Product slug. If not provided, the slug is autogenerated based on the product name.
1548
+ - name: subscriptionDetails | type: SubscriptionDetails | description: Product subscriptions.
1549
+ - name: subscriptionDetails.allowOneTimePurchases | type: boolean | description: Whether to allow one-time purchases in addition to subscription-based purchases. Default: `false`
1550
+ - name: subscriptionDetails.subscriptions | type: Array<Subscription> | description: Subscriptions.
1551
+ - name: subscriptionDetails.subscriptions[]._id | type: string | description: Subscription GUID.
1552
+ - name: subscriptionDetails.subscriptions[].description | type: string | description: Subscription description.
1553
+ - name: subscriptionDetails.subscriptions[].discount | type: SubscriptionDiscount | description: Discount info (optional). For example, a $20 discount would be `amount: 20`, `type: AMOUNT`.
1554
+ - name: subscriptionDetails.subscriptions[].discount.type | type: DiscountType | description: Discount type.
1555
+ enum:
1556
+ AMOUNT: Discount by a specific amount.
1557
+ PERCENT: Discount by a percentage.
1558
+ UNKNOWN_DISCOUNT
1559
+ - ONE-OF:
1560
+ - name: subscriptionDetails.subscriptions[].discount.amountOff | type: string | description: Amount to discount from the variant discounted_price.
1561
+ - name: subscriptionDetails.subscriptions[].discount.percentOff | type: number | description: Percentage to discount from variant discounted_price.
1562
+ - name: subscriptionDetails.subscriptions[].frequency | type: SubscriptionFrequency | description: Frequency of recurring payment. For example, if `frequency: MONTH` and `billingCycles: 6`; payment will be made monthly for 6 months.
1563
+ enum: DAY, MONTH, UNDEFINED, WEEK, YEAR
1564
+ - name: subscriptionDetails.subscriptions[].interval | type: number | description: Interval of recurring payment. Default: `1`. For example, if `frequency: MONTH`, `billingCycles: 3` and `interval: 2`; payment will be made every 2 months for a total of 6 months.
1565
+ - name: subscriptionDetails.subscriptions[].title | type: string | description: Subscription title.
1566
+ - name: subscriptionDetails.subscriptions[].visible | type: boolean | description: Whether the subscription is visible to site visitors. Default: `true`
1567
+ - ONE-OF:
1568
+ - name: subscriptionDetails.subscriptions[].autoRenewal | type: boolean | description: Whether subscription is renewed automatically at the end of each period. Cannot be `false`, instead set `billingCycles`.
1569
+ - name: subscriptionDetails.subscriptions[].billingCycles | type: number | description: Number of billing cycles before subscription ends.
1570
+ - name: taxGroupId | type: string | description: Tax group GUID.
1571
+ - name: url | type: string | description: URL to the site's product page. > **Note:** Returned only when you pass `"URL"` to the `fields` array in Products API requests.
1572
+ - name: variantSummary | type: VariantSummary | description: The total number of variants for the product.
1573
+ - name: variantSummary.variantCount | type: number | description: The total number of variants for the product.
1574
+ - name: variantsInfo | type: VariantsInfo | description: Product variants. Each variant must reference all product options via its `choices` array. Each choice references an option using `optionChoiceNames` for all requests. | required: true
1575
+ - name: variantsInfo.variants | type: Array<Variant> | description: List of related variants. | required: true
1576
+ - name: variantsInfo.variants[]._id | type: string | description: Variant GUID.
1577
+ - name: variantsInfo.variants[].barcode | type: string | description: Variant barcode.
1578
+ - name: variantsInfo.variants[].choices | type: Array<OptionChoice> | description: List of choices that define the product's variant, which requires exactly one choice per product option. Must use `optionChoiceNames` in all requests this field is required. Empty only for default variants of unmanaged products.
1579
+ - name: variantsInfo.variants[].choices[].optionChoiceIds | type: OptionChoiceIds | description: Option and choice GUIDs. These match the GUIDs of the option and choice from the product's options field.
1580
+ - name: variantsInfo.variants[].choices[].optionChoiceIds.choiceId | type: string | description: Choice GUID.
1581
+ - name: variantsInfo.variants[].choices[].optionChoiceIds.optionId | type: string | description: Option GUID.
1582
+ - name: variantsInfo.variants[].choices[].optionChoiceNames | type: OptionChoiceNames | description: Option and choice names. This needs to be used in all requests `OptionChoice` is needed, and all `OptionChoiceNames` fields are required. > **Note:** Returned only when you pass `"VARIANT_OPTION_CHOICE_NAMES"` to the `fields` array in Products API requests.
1583
+ - name: variantsInfo.variants[].choices[].optionChoiceNames.choiceName | type: string | description: Choice name.
1584
+ - name: variantsInfo.variants[].choices[].optionChoiceNames.optionName | type: string | description: Option name.
1585
+ - name: variantsInfo.variants[].choices[].optionChoiceNames.renderType | type: ProductOptionRenderType | description: Render type.
1586
+ - name: variantsInfo.variants[].inventoryStatus | type: InventoryStatus | description: Variant inventory status.
1587
+ - name: variantsInfo.variants[].inventoryStatus.inStock | type: boolean | description: Whether the variant is in stock.
1588
+ - name: variantsInfo.variants[].inventoryStatus.preorderEnabled | type: boolean | description: Whether preorder is enabled for this variant.
1589
+ - name: variantsInfo.variants[].media | type: ProductMedia | description: Variant media.
1590
+ - name: variantsInfo.variants[].price | type: PriceInfo | description: Variant price. | required: true
1591
+ - name: variantsInfo.variants[].price.actualPrice | type: FixedMonetaryAmount | description: Variant price. Must be greater or equal to 0. | required: true
1592
+ - name: variantsInfo.variants[].price.compareAtPrice | type: FixedMonetaryAmount | description: The compare-at-price represents the original price of a product before any discount. It is optional and should only be set if a discount applies. When set, it must be higher than the current price to reflect accurate savings.
1593
+ - name: variantsInfo.variants[].revenueDetails | type: RevenueDetails | description: Variant revenue details. > **Note:** Returned only when the following conditions are met: > + You pass `"MERCHANT_DATA"` to the `fields` array in Products API requests. > + Your app has the required `SCOPE.STORES.PRODUCT_READ_ADMIN` permission scope.
1594
+ - name: variantsInfo.variants[].revenueDetails.cost | type: FixedMonetaryAmount | description: Item cost.
1595
+ - name: variantsInfo.variants[].revenueDetails.profit | type: FixedMonetaryAmount | description: Profit. Calculated by reducing `cost` from `discountedPrice`.
1596
+ - name: variantsInfo.variants[].revenueDetails.profitMargin | type: number | description: Profit Margin. Calculated by dividing `profit` by `discountedPrice`. The result is rounded to 4 decimal places.
1597
+ - name: variantsInfo.variants[].sku | type: string | description: Variant SKU (stock keeping unit).
1598
+ - name: variantsInfo.variants[].subscriptionPricesInfo | type: SubscriptionPricesInfo | description: Subscription prices calculated by applying subscription discount to the variant `price.actual_price`. > **Note:** Returned only when you pass `"SUBSCRIPTION_PRICES_INFO"` to the `fields` array in Products API requests.
1599
+ - name: variantsInfo.variants[].subscriptionPricesInfo.subscriptionPrices | type: Array<SubscriptionPrice> | description: Subscription prices.
1600
+ - name: variantsInfo.variants[].subscriptionPricesInfo.subscriptionPrices[].price | type: FixedMonetaryAmount | description: Subscription price calculated by applying subscription discount to the variant `price.actual_price`
1601
+ - name: variantsInfo.variants[].subscriptionPricesInfo.subscriptionPrices[].pricePerUnit | type: SubscriptionPricePerUnit | description: Price per unit info.
1602
+ - name: variantsInfo.variants[].subscriptionPricesInfo.subscriptionPrices[].pricePerUnit.description | type: string | description: Price per unit description. > **Note:** Returned only when you pass `"CURRENCY"` to the `fields` array in Products API requests.
1603
+ - name: variantsInfo.variants[].subscriptionPricesInfo.subscriptionPrices[].pricePerUnit.value | type: string | description: Calculated value of price per unit. Takes into account `pricePerUnit` settings of parent product, `pricePerUnit` settings of this variant, and the variant subscription price.
1604
+ - name: variantsInfo.variants[].subscriptionPricesInfo.subscriptionPrices[].subscriptionId | type: string | description: Subscription GUID.
1605
+ - name: variantsInfo.variants[].visible | type: boolean | description: Whether the variant is visible to site visitors. Default: `true`
1606
+ - ONE-OF:
1607
+ - name: variantsInfo.variants[].digitalProperties | type: VariantDigitalProperties | description: Digital properties. Must be passed when `productType: DIGITAL`
1608
+ - name: variantsInfo.variants[].digitalProperties.digitalFile | type: SecuredMedia | description: Digital file which will be downloaded by customer after successful purchase.
1609
+ - name: variantsInfo.variants[].digitalProperties.digitalFile._id | type: string | description: Media GUID in media manager.
1610
+ - name: variantsInfo.variants[].digitalProperties.digitalFile.fileName | type: string | description: Original file name.
1611
+ - name: variantsInfo.variants[].digitalProperties.digitalFile.fileSize | type: string | description: Original file size.
1612
+ - name: variantsInfo.variants[].digitalProperties.digitalFile.fileType | type: FileType | description: File type.
1613
+ enum:
1614
+ SECURE_ARCHIVE: Secure archive file.
1615
+ SECURE_DOCUMENT: Secure document file.
1616
+ SECURE_MUSIC: Secure music file.
1617
+ SECURE_PICTURE: Secure picture file.
1618
+ SECURE_VIDEO: Secure video file.
1619
+ UNSPECIFIED: Unspecified file type.
1620
+ - name: variantsInfo.variants[].physicalProperties | type: VariantPhysicalProperties | description: Physical properties. Must be passed when `productType: PHYSICAL`
1621
+ - name: variantsInfo.variants[].physicalProperties.pricePerUnit | type: PricePerUnit | description: Price per unit info, in order to show price per unit on the product page. For example if one sells cheese and defines 100g here then we know that buying this variant buyer receives 100g of cheese. But on product page price will be displayed for units defined on product level. See `pricePerUnit.value` to understand how it's calculated.
1622
+ - name: variantsInfo.variants[].physicalProperties.pricePerUnit.description | type: string | description: Price per unit description. > **Note:** Returned only when you pass `"CURRENCY"` to the `fields` array in Products API requests.
1623
+ - name: variantsInfo.variants[].physicalProperties.pricePerUnit.settings | type: PricePerUnitSettings | description: Price per unit data for this variant. `measurementUnit` value must correspond to the measurement unit set on the product.
1624
+ - name: variantsInfo.variants[].physicalProperties.pricePerUnit.settings.measurementUnit | type: MeasurementUnit | description: Measurement unit. For example, to define price per 100 grams, set this field to "G".
1625
+ enum: CBM, CL, CM, FLOZ, FT, G, GAL, IN, KG, L, LB, M, MG, ML, MM, OZ, PT, QT, SQFT, SQM, UNSPECIFIED, YD
1626
+ - name: variantsInfo.variants[].physicalProperties.pricePerUnit.settings.quantity | type: number | description: Quantity. For example, to define price per per 100 grams, set this field to `100`.
1627
+ - name: variantsInfo.variants[].physicalProperties.pricePerUnit.value | type: string | description: Calculated value of price per unit. Takes into account `pricePerUnit` settings of parent product, of this variant, and discounted price of variant. For example if discounted price is 2$, product's price per unit setting is 1 Kg, variant price per unit setting is 0.5 Kg then this value is 4$ (means variant weight is 0.5 Kg and it costs 2$ but we want to show price per 1 Kg so we show 4$).
1628
+ - name: variantsInfo.variants[].physicalProperties.weight | type: number | description: Variant shipping weight. product.physicalProperties.shipping_weight_range values are taken from here.
1629
+ - name: visible | type: boolean | description: Whether the product is visible to site visitors on the site. Default: `true`
1630
+ - name: visibleInPos | type: boolean | description: Whether the product is visible in POS (point of sale). Default: `true` > **Note:** Always `false` for `productType: DIGITAL`.
1631
+ - ONE-OF:
1632
+ - name: physicalProperties | type: PhysicalProperties | description: Physical properties. Required when `productType: PHYSICAL`.
1633
+ - name: physicalProperties.deliveryProfileId | type: string | description: Delivery profile GUID.
1634
+ - name: physicalProperties.fulfillerId | type: string | description: Fulfiller GUID.
1635
+ - name: physicalProperties.pricePerUnit | type: PricePerUnitSettings | description: Price per unit settings. > **Note:** Use this field only when relevant. For example, for products that are sold by weight, volume, or length.
1636
+ - name: physicalProperties.pricePerUnitRange | type: PricePerUnitRange | description: Product price per unit range. The minimum and maximum price per unit of all the variants.
1637
+ - name: physicalProperties.pricePerUnitRange.maxValue | type: PricePerUnitRangePricePerUnit | description: Maximum price per unit across all variants.
1638
+ - name: physicalProperties.pricePerUnitRange.maxValue.description | type: string | description: Price per unit info in the format of variant specific data / product setting, for example €4.00 / 1 Kg. > **Note:** This field is returned by the API only when you pass `fields: "CURRENCY"` in a request.
1639
+ - name: physicalProperties.pricePerUnitRange.maxValue.value | type: string | description: Calculated value of price per unit. Takes into account pricePerUnit settings of product and variants and price of variants. For example if discounted price is 2$, product's price per unit setting is 1 Kg, variant price per unit setting is 0.5 Kg then this value is 4$ (means variant weight is 0.5 Kg and it costs 2$ but we want to show price per 1 Kg so we show 4$).
1640
+ - name: physicalProperties.pricePerUnitRange.minValue | type: PricePerUnitRangePricePerUnit | description: Minimum price per unit across all variants.
1641
+ - name: physicalProperties.shippingWeightRange | type: WeightRange | description: Product shipping weight range - Calculated from the lightest and heaviest variant shipping weights.
1642
+ - name: physicalProperties.shippingWeightRange.maxValue | type: number | description: Maximum weight across all variants associated with this product.
1643
+ - name: physicalProperties.shippingWeightRange.minValue | type: number | description: Minimum weight across all variants associated with this product.
1644
+ - name: physicalProperties.weightMeasurementUnitInfo | type: WeightMeasurementUnitInfo | description: Weight measurement unit. > **Note:** Returned only when you pass `"WEIGHT_MEASUREMENT_UNIT_INFO"` to the `fields` array in Products API requests.
1645
+ - name: physicalProperties.weightMeasurementUnitInfo.weightMeasurementUnit | type: WeightUnit | description: Weight measurement unit.
1646
+ enum:
1647
+ KG: Kilograms.
1648
+ LB: Pounds.
1649
+ UNSPECIFIED_WEIGHT_UNIT: Weight unit can't be classified due to an error.
1650
+ Possible Errors:
1651
+ HTTP Code: 400 | Status Code: INVALID_ARGUMENT | Application Code: PRICE_PER_UNIT_NOT_ALIGNED
1652
+ HTTP Code: 400 | Status Code: INVALID_ARGUMENT | Application Code: BRAND_MISSING_ID
1653
+ HTTP Code: 400 | Status Code: INVALID_ARGUMENT | Application Code: DUPLICATE_MEDIA_ERROR
1654
+ HTTP Code: 400 | Status Code: INVALID_ARGUMENT | Application Code: DESCRIPTION_SIZE_TOO_BIG
1655
+ HTTP Code: 400 | Status Code: INVALID_ARGUMENT | Application Code: DIGITAL_PRODUCT_CANNOT_BE_VISIBLE_IN_POS
1656
+ HTTP Code: 400 | Status Code: INVALID_ARGUMENT | Application Code: SUBSCRIPTION_INVALID_AUTO_RENEWAL
1657
+ HTTP Code: 400 | Status Code: INVALID_ARGUMENT | Application Code: MISSING_VARIANT_OPTION
1658
+ HTTP Code: 400 | Status Code: INVALID_ARGUMENT | Application Code: MISSING_VARIANT_OPTION_CHOICE
1659
+ HTTP Code: 400 | Status Code: INVALID_ARGUMENT | Application Code: VARIANTS_TYPED_PROPERTIES_ARE_NOT_ALIGNED
1660
+ HTTP Code: 400 | Status Code: INVALID_ARGUMENT | Application Code: MODIFIER_CHOICE_NAME_AND_TYPE_REQUIRED
1661
+ HTTP Code: 400 | Status Code: INVALID_ARGUMENT | Application Code: MODIFIER_NAME_AND_TYPE_REQUIRED
1662
+ HTTP Code: 400 | Status Code: INVALID_ARGUMENT | Application Code: PRODUCT_OPTION_CHOICE_NAME_AND_TYPE_REQUIRED
1663
+ HTTP Code: 400 | Status Code: INVALID_ARGUMENT | Application Code: PRODUCT_OPTION_NAME_AND_TYPE_REQUIRED
1664
+ HTTP Code: 400 | Status Code: INVALID_ARGUMENT | Application Code: INFO_SECTION_CREATION_FAILED
1665
+ HTTP Code: 404 | Status Code: NOT_FOUND | Application Code: CHOICE_NOT_EXIST
1666
+ HTTP Code: 404 | Status Code: NOT_FOUND | Application Code: CUSTOMIZATION_NOT_EXIST
1667
+ HTTP Code: 404 | Status Code: NOT_FOUND | Application Code: RIBBON_NOT_FOUND
1668
+ HTTP Code: 404 | Status Code: NOT_FOUND | Application Code: PRODUCT_MEDIA_NOT_EXIST
1669
+ HTTP Code: 404 | Status Code: NOT_FOUND | Application Code: DIGITAL_FILE_NOT_FOUND_ERROR
1670
+ HTTP Code: 409 | Status Code: ALREADY_EXISTS | Application Code: SUBSCRIPTION_ID_ALREADY_EXISTS
1671
+ HTTP Code: 409 | Status Code: ALREADY_EXISTS | Application Code: VARIANT_ID_ALREADY_EXISTS
1672
+ HTTP Code: 409 | Status Code: ALREADY_EXISTS | Application Code: SKU_ALREADY_EXIST_ERROR
1673
+ HTTP Code: 409 | Status Code: ALREADY_EXISTS | Application Code: BARCODE_ALREADY_EXIST_ERROR
1674
+ HTTP Code: 409 | Status Code: ALREADY_EXISTS | Application Code: DUPLICATE_SLUG_ERROR
1675
+ HTTP Code: 428 | Status Code: FAILED_PRECONDITION | Application Code: COMPARE_AT_PRICE_LOWER_THAN_ACTUAL_PRICE
1676
+ HTTP Code: 428 | Status Code: FAILED_PRECONDITION | Application Code: TOO_MANY_OPTIONS_IN_REQUEST
1677
+ HTTP Code: 428 | Status Code: FAILED_PRECONDITION | Application Code: ONLY_SPACES_STRING_ERROR
1678
+ HTTP Code: 428 | Status Code: FAILED_PRECONDITION | Application Code: PRODUCTS_LIMIT_EXCEEDED
1679
+ HTTP Code: 428 | Status Code: FAILED_PRECONDITION | Application Code: INVALID_SUBSCRIPTION_DISCOUNT_AMOUNT
1680
+ HTTP Code: 428 | Status Code: FAILED_PRECONDITION | Application Code: ERROR_ALL_SUBSCRIPTIONS_HIDDEN_FOR_SUBSCRIPTION_ONLY_PRODUCT
1681
+ HTTP Code: 428 | Status Code: FAILED_PRECONDITION | Application Code: INVALID_PRODUCT_TYPE_FOR_SUBSCRIPTION
1682
+ HTTP Code: 428 | Status Code: FAILED_PRECONDITION | Application Code: DUPLICATE_SKU_ERROR
1683
+ HTTP Code: 428 | Status Code: FAILED_PRECONDITION | Application Code: DUPLICATE_BARCODE_ERROR
1684
+ HTTP Code: 428 | Status Code: FAILED_PRECONDITION | Application Code: VARIANTS_ARE_NOT_ALIGNED_WITH_PRODUCT
1685
+ HTTP Code: 428 | Status Code: FAILED_PRECONDITION | Application Code: INVALID_DEFAULT_VARIANT
1686
+ HTTP Code: 428 | Status Code: FAILED_PRECONDITION | Application Code: DUPLICATE_PRODUCT_OPTIONS
1687
+ HTTP Code: 428 | Status Code: FAILED_PRECONDITION | Application Code: DUPLICATE_VARIANT_OPTION_CHOICE
1688
+ HTTP Code: 428 | Status Code: FAILED_PRECONDITION | Application Code: MISSING_VARIANT_OPTION_CHOICE
1689
+ HTTP Code: 500 | Status Code: INTERNAL | Application Code: ADD_CUSTOMIZATION_CHOICES_FAILED
1690
+ HTTP Code: 500 | Status Code: INTERNAL | Application Code: CUSTOMIZATIONS_CREATION_FAILED
1691
+ HTTP Code: 500 | Status Code: INTERNAL | Application Code: RIBBON_CREATION_FAILED
1692
+ HTTP Code: 500 | Status Code: INTERNAL | Application Code: BRAND_CREATION_FAILED
1693
+
1694
+
1695
+ ```
1696
+ </type_definition>
1697
+ </stores_productsV3_createProduct>