> To build or manage a Wix site with an AI agent, follow https://www.wix.com/headless/skill.md
> It builds a new Wix site or puts your own site online, from a prompt, and keeps changing it afterwards. The pages are code in any web technology, and Wix runs the backend.
> It works through the Wix plugin (the Wix MCP and the Wix skills), the Wix CLI or no Wix login, and puts the site live on Wix hosting or on another host.
> Business features include a store, bookings, events and tickets, a restaurant, a blog, forms, members and many more.
> Read the Wix skills online at https://www.wix.com/skills
> 
> Portal Navigation:
> 
> - Append `.md` to any URL under `https://dev.wix.com/docs/` to get its markdown version.
> - Pages are either content pages (article or reference text) or menu pages (a list of links to child pages).
> - To get a menu page, truncate any URL to a parent path and append `.md` (e.g. `https://dev.wix.com/docs/sdk.md`, `https://dev.wix.com/docs/sdk/core-modules.md`).
> - If a reference page seems to be missing its schema (parameters, return types, or type definitions), append `?schema=true` to its `.md` URL (e.g. `https://dev.wix.com/docs/contexts/contexts/stores/category-info/use-category-info-context.md?schema=true`).
> - Top-level index of all portals: https://dev.wix.com/docs/llms.txt
> - Full concatenated docs: https://dev.wix.com/docs/llms-full.txt

# Resource: Catalog

# Type: Product Object

# Link: https://dev.wix.com/docs/api-reference/business-solutions/stores/catalog-v1/catalog/product-object.md

## Description: Read and write products from Wix Stores Catalog

## Schema:

```json
 Type: Product Object | type: Product
 Description: Read and write products from Wix Stores Catalog
       - name: id  | type: string | description: Product ID (generated automatically by the catalog).
       - name: name  | type: string | description: Product name.  Min: 1 character Max: 80 characters
           - name: value  | type: string | description: 
       - name: slug  | type: string | description: A friendly URL name (generated automatically by the catalog when a product is created), can be updated.
       - name: visible  | type: boolean | description: Whether the product is visible to site visitors.  Supported as a `filter` field in [Query Products](https://dev.wix.com/docs/api-reference/business-solutions/stores/catalog-v1/catalog/query-products.md). Unless the request sets `includeHiddenProducts` to `true`, the server adds a `visible` equals `true` condition to every filter, so `{"visible": false}` matches nothing. Set `includeHiddenProducts` to `true` to include hidden and draft products, and combine it with a `{"visible": false}` filter to get hidden products alone.  While `includeHiddenProducts` is `false`, the response excludes hidden products and contains no flag or notice indicating that products were filtered out. `totalResults` counts the visible products.
           - name: value  | type: boolean | description: 
       - name: productType  | type: string | description: Currently, only creating physical products ( `"productType": "physical"` ) is supported via the API.
           enum: unspecified_product_type, physical, digital
       - name: description  | type: string | description: Product description. Accepts [rich text](https://dev.wix.com/api/rest/wix-stores/rich-text).
       - name: sku  | type: string | description: Stock keeping unit. If [variant management](https://support.wix.com/en/article/wix-stores-adding-and-customizing-product-options#setting-different-prices-for-variants) is enabled, SKUs will be set per variant, and this field will be empty.
       - name: weight  | type: number | description: Product weight. If [variant management](https://support.wix.com/en/article/wix-stores-adding-and-customizing-product-options#setting-different-prices-for-variants) is enabled, weight will be set per variant, and this field will be empty.
           - name: value  | type: number | description: 
       - name: weightRange  | type: NumericPropertyRange | description: Product weight range. The minimum and maximum weights of all the variants.
           - name: minValue  | type: number | description: Minimum value.
           - name: maxValue  | type: number | description: Maximum value.
       - name: productDimensions  | type: Dimensions | description: Product dimensions (length, width, height of the physical product). If [variant management](https://support.wix.com/en/article/wix-stores-adding-and-customizing-product-options#setting-different-prices-for-variants) is enabled, dimensions will be set per variant, and this field will be empty.
           - name: length  | type: string | description: Length. Measurement unit is handled at the system level (metric/imperial).
           - name: width  | type: string | description: Width. Measurement unit is handled at the system level (metric/imperial).
           - name: height  | type: string | description: Height. Measurement unit is handled at the system level (metric/imperial).
           - name: unit  | type: string | description: Unit of measurement for dimensions (length, width, height).
               enum: UNKNOWN_DIMENSIONS_UNIT, MM, CM, M, IN, FT, YD
       - name: packageDimensions  | type: Dimensions | description: Package dimensions (length, width, height of the shipping package). If [variant management](https://support.wix.com/en/article/wix-stores-adding-and-customizing-product-options#setting-different-prices-for-variants) is enabled, dimensions will be set per variant, and this field will be empty.
       - name: stock  | type: Stock | description: Product inventory status (in future this will be writable via Inventory API).
           - name: trackInventory  | type: boolean | description: Whether inventory is being tracked
           - name: quantity  | type: number | description: Quantity currently left in inventory
               - name: value  | type: number | description: 
           - name: inStock  | type: boolean | description: Whether the product is currently in stock (relevant only when tracking manually) Deprecated (use `inventoryStatus` instead)
           - name: inventoryStatus  | type: string | description: The current status of the inventory + `IN_STOCK` - In stock + `OUT_OF_STOCK` - Not in stock + `PARTIALLY_OUT_OF_STOCK` - Some of the variants are not in stock
               enum: IN_STOCK, OUT_OF_STOCK, PARTIALLY_OUT_OF_STOCK
       - name: price  | type: PriceData | description: Deprecated (use `priceData` instead).
           - name: currency  | type: string | description: Product price currency
           - name: price  | type: number | description: Product price
           - name: discountedPrice  | type: number | description: Discounted product price (if no discounted price is set, the product price is returned)
           - name: formatted  | type: FormattedPrice | description: The product price and discounted price, formatted with the currency
               - name: price  | type: string | description: Product price formatted with the currency
               - name: discountedPrice  | type: string | description: Discounted product price formatted with the currency (if no discounted price is set, the product formatted price is returned)
               - name: pricePerUnit  | type: string | description: Price per unit
           - name: pricePerUnit  | type: number | description: Price per unit
       - name: priceData  | type: PriceData | description: Price data.
       - name: convertedPriceData  | type: PriceData | description: Price data, converted to the currency specified in request header.
       - name: priceRange  | type: NumericPropertyRange | description: Product price range. The minimum and maximum prices of all the variants.
       - name: costAndProfitData  | type: CostAndProfitData | description: Cost and profit data.
           - name: itemCost  | type: number | description: Item cost.
           - name: formattedItemCost  | type: string | description: Item cost formatted with currency symbol.
           - name: profit  | type: number | description: Profit. Calculated by reducing `cost` from `discounted_price`.
           - name: formattedProfit  | type: string | description: Profit formatted with currency symbol.
           - name: profitMargin  | type: number | description: Profit Margin. Calculated by dividing `profit` by `discounted_price`. The result is rounded to 4 decimal places.
       - name: costRange  | type: NumericPropertyRange | description: Product cost range. The minimum and maximum costs of all the variants.
       - name: pricePerUnitData  | type: PricePerUnitData | description: Price per unit data.
           - name: totalQuantity  | type: number | description: Total quantity
           - name: totalMeasurementUnit  | type: string | description: Total measurement unit
               enum: UNSPECIFIED, ML, CL, L, CBM, MG, G, KG, MM, CM, M, SQM, OZ, LB, FLOZ, PT, QT, GAL, IN, FT, YD, SQFT
           - name: baseQuantity  | type: number | description: Base quantity
           - name: baseMeasurementUnit  | type: string | description: Base measurement unit
       - name: additionalInfoSections  | type: Array<AdditionalInfoSection> | description: Additional text that the store owner can assign to the product (e.g. shipping details, refund policy, etc.).
           - name: title  | type: string | description: Product info section title
           - name: description  | type: string | description: Product info section description
       - name: ribbons  | type: Array<Ribbon> | description: Deprecated (use `ribbon` instead).
           - name: text  | type: string | description: Ribbon text
       - name: media  | type: Media | description: Media items (images, videos etc) associated with this product (writable via [Add Product Media](https://dev.wix.com/api/rest/wix-stores/catalog/products/add-product-media) endpoint).
           - name: mainMedia  | type: MediaItem | description: Primary media (image, video etc) associated with this product.
               - name: thumbnail  | type: MediaItemUrlAndSize | description: Media item thumbnail details.
               - name: mediaType  | type: string | description: Media item type (image, video, etc.).
               - name: title  | type: string | description: Media item title.
               - name: id  | type: string | description: Media ID (for example, `"nsplsh_306d666a123a4a74306459~mv2_d_4517_2992_s_4_2.jpg"`).
               - ONE-OF:
                   - name: image  | type: MediaItemUrlAndSize | description: Image data (URL, size).
                   - name: video  | type: MediaItemVideo | description: Video data (URL, size).
           - name: items  | type: Array<MediaItem> | description: Media (images, videos etc) associated with this product.
       - name: customTextFields  | type: Array<CustomTextField> | description: Text box for the customer to add a message to their order (e.g., customization request). Currently writable only from the UI.
           - name: title  | type: string | description: Text box title
           - name: maxLength  | type: number | description: Text box input max length
           - name: mandatory  | type: boolean | description: Whether this text box is mandatory
       - name: manageVariants  | type: boolean | description: Whether variants are being managed for this product - enables unique SKU, price and weight per variant. Also affects inventory data.
       - name: productOptions  | type: Array<ProductOption> | description: Options for this product.
           - name: optionType  | type: string | description: Option type.
               enum: unspecified_option_type, drop_down, color
           - name: name  | type: string | description: Option name.
           - name: choices  | type: Array<Choice> | description: Choices available for this option.
               - name: value  | type: string | description: Choice value.
               - name: description  | type: string | description: Choice description.
               - name: media  | type: Media | description: Media items (images, videos) associated with this choice
               - name: inStock  | type: boolean | description: Based on the customer’s choices, which (if any) variants that include the selected choices are in stock
               - name: visible  | type: boolean | description: Based on the customer’s choices, which (if any) variants that include the selected choices are visible
       - name: productPageUrl  | type: PageUrl | description: Product page URL for this product (generated automatically by the server).
           - name: base  | type: string | description: Base URL. For premium sites, this is the domain. For free sites, this is the site URL (e.g mysite.wixsite.com/mysite).
           - name: path  | type: string | description: Path to the product page - e.g /product-page/a-product.
       - name: numericId  | type: number | description: Product's unique numeric ID (assigned in ascending order). Primarily used for sorting and filtering when crawling all products.
       - name: inventoryItemId  | type: string | description: Inventory item ID - ID referencing the inventory system.
       - name: discount  | type: Discount | description: Discount deducted from the product's original price.
           - name: type  | type: string | description: Discount type: + `"AMOUNT"` + `"PERCENT"`
               enum: UNDEFINED, NONE, AMOUNT, PERCENT
           - name: value  | type: number | description: Discount value
       - name: collectionIds  | type: Array<string> | description: A list of all collection IDs that this product is included in (writable via the Catalog > Collection APIs).
       - name: variants  | type: Array<Variant> | description: Product variants, will be provided if the request was sent with the `includeVariants: true`.  Max: 1,000 variants
           - name: id  | type: string | description: Requested Variant ID
           - name: choices  | type: object | description: Specific choices within a selection, as option-choice key-value pairs
           - name: variant  | type: VariantDataWithNoStock | description: 
               - name: priceData  | type: PriceData | description: Variant price.
               - name: convertedPriceData  | type: PriceData | description: Variant price data, converted to currency requested in header.
               - name: costAndProfitData  | type: CostAndProfitData | description: Cost and profit data.
               - name: weight  | type: number | description: Variant weight.
               - name: sku  | type: string | description: Variant SKU (stock keeping unit).
               - name: visible  | type: boolean | description: Whether the variant is visible to customers.
               - name: productDimensions  | type: Dimensions | description: Product dimensions (length, width, height of the physical product).
               - name: packageDimensions  | type: Dimensions | description: Package dimensions (length, width, height of the shipping package).
           - name: stock  | type: VariantStock | description: Variant inventory status.
               - name: trackQuantity  | type: boolean | description: Whether inventory is being tracked.
               - name: quantity  | type: number | description: Quantity currently left in inventory.
               - name: inStock  | type: boolean | description: Whether the product is currently in stock (relevant only when tracking manually).
       - name: lastUpdated  | type: string | description: Date and time the product was last updated.
           - name: seconds  | type: string | description: 
           - name: nanos  | type: number | description: 
       - name: createdDate  | type: string | description: Date and time the product was created.
       - name: seoData  | type: SeoSchema | description: Custom SEO data for the product.
           - name: tags  | type: Array<Tag> | description: The tags rendered into <head>, in no particular order. Render order is decided by the renderer, not by position in this list.  No maxSize: this list is already populated by data written years ago, and a bound added now could reject a page that is already stored.
               - name: type  | type: string | description: Legacy. Was a free-form string: "title" | "meta" | "script" | "link". The typed replacement is the `kind` oneof on `SeoSchemaV2.Tag`, which makes the invalid combinations unrepresentable rather than merely discouraged.  Which of these an API actually accepts depends on where the tag is being set: this list is not a blanket guarantee across every API that reuses this message. Site SEO Tags in particular accepts only `meta` (see `SiteSeoTags.tags`) and rejects `title`/`script`/`link` with a validation error even though they appear here — check the field description of the specific `tags`-typed field you are writing to.  Limitation: `title` and `script` (e.g. a `script` tag with `props.type` "application/ld+json" carrying structured data) are supported only when `custom` is unset or `false`. Setting `custom: true` on a `title` or `script` tag is rejected with `TAG_TYPE_NOT_ALLOWED`, because `custom: true` routes the write through the site's Advanced/Custom Tags list. To write structured data, omit `custom` (or set it to `false`).  No length limit: this field holds data written years ago by writers we are not migrating. A constraint here could reject a record that is already stored, which is exactly the promise this design makes.
               - name: props  | type: Struct | description: Legacy. Was an untyped bag of HTML attributes. Typed replacement: `SeoSchemaV2.TitleTag` / `MetaTag` / `LinkTag`.
               - name: meta  | type: Struct | description: Legacy. Was an untyped bag of 16 mixed-purpose keys. In `SeoSchemaV2` its contents are split by purpose: per-page structured-data state moves to StructuredDataTag, authorship to `written_by`, and render-time preset logic (variants, enabledByExperiment, removeSchemaIf*) moved out of the stored document entirely — it belongs to the preset definition, not to the page. See the design log for the full key-by-key mapping.
               - name: children  | type: string | description: Legacy. Was the tag's inner content, doubling as the JSON-LD payload for script tags. Typed replacement: `SeoSchemaV2.TitleTag.text` and `StructuredDataTag.json_ld`. No length limit, for the same reason as `type` above.
               - 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) — i.e. an entry from the site's Advanced/Custom Tags list.  Setting this to `true` on a write restricts which `type` values are accepted — the same restriction the Advanced/Custom Tags UI enforces. `title` and `script` tags (including JSON-LD structured data) must be sent with `custom` omitted or `false`; sending them with `custom: true` is rejected with `TAG_TYPE_NOT_ALLOWED`.  Note this is a separate restriction from Site SEO Tags' own type restriction on `SiteSeoTags.tags`: even with `custom` unset, Site SEO Tags rejects `script` (e.g. for site-wide structured data) unconditionally. There is currently no way to set site-wide, every-page structured data through any of these APIs — write a per-page `script` tag through the Item SEO Tags API instead.  This flag is scoped to that feature only. It is NOT an indicator of whether a standard tag (`title`, `description`, Open Graph, etc.) reflects a manually configured value versus a computed default/pattern — standard tags always resolve with `custom: false`, even when their content comes from a page's manually saved SEO title/description override. Don't use this field to verify whether a live page reflects a manual per-page SEO edit.  Limitation: when `ResolveStaticPageSeoTags` is called without `seoData`, the per-page SEO data is read only from the Vibe/Wix-managed-headless override store. That store holds nothing for classic Wix Editor or Wix Studio pages, so even genuine Advanced/Custom Tags saved on those pages are missing from the response entirely — there, `false` means this API could not tell, not that no custom tag exists. Pass `seoData` explicitly to resolve against a known set of tags.  `SeoSchemaV2.Tag` expresses this as `written_by = USER_CUSTOM`.
               - name: disabled  | type: boolean | description: Whether the tag is excluded from the rendered <head>.  A disabled tag is still stored, so the user can re-enable it and so a pattern-provided tag stays suppressed on this page. Default false.
           - name: settings  | type: Settings | description: Page-level SEO settings that are not themselves tags.
               - name: preventAutoRedirect  | type: boolean | description: Whether to suppress the automatic redirect from this page's previous URL to its current one after a slug change.  Default false, meaning the redirect IS created. The field is named for the exception rather than the rule, which reads backwards; kept as-is because renaming a stored boolean is not worth the migration.
               - name: keywords  | type: Array<Keyword> | description: Keyword terms the user is targeting for this page. Used by the SEO assistant and checklist; never rendered into <head>.  20 is a sanity bound, not the product limit. v1 declared 5 — the number the panel happens to allow today — which is exactly the mistake we are fixing for structured data. A product decision to allow 8 should not need a proto release, so the panel owns that number and the proto only stops something absurd.
       - name: ribbon  | type: string | description: Product ribbon. Used to highlight relevant information about a product. For example, "Sale", "New Arrival", "Sold Out".
       - name: brand  | type: string | description: Product brand. Including a brand name can help improve site and product [visibility on search engines](https://support.wix.com/en/article/adding-brand-names-to-boost-product-page-seo-in-wix-stores).

```