> 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: Customize Product

## Article: Customize Product

## Article Link: https://dev.wix.com/docs/sdk/host-modules/site/events/wix-stores/customize-product.md

## Article Content:

# Customize Product

Triggered when a user changes something on the product page, such as choosing the product size or color.

### Properties

|Name|Type|Description|
|---|---|---|
|`origin`|string|Wix App name, such as Stores or Bookings.|
|`id`|GUID|Product ID.|
|`name`|string|Product name.|
|`price`|number|Product price.|
|`currency`|currency|Default site currency in ISO-4217 format.|
|`quantity`|number|Product quantity.|
|`sku`|string|Product Stock Keeping Unit (SKU).|
|`type`|string|Product type. Possible values are `physical` and `digital`.|
|`brand`|string|Product brand.|
|`variantId`|GUID|Optional. Product variant ID. Learn more about [product options and variants](https://support.wix.com/en/article/wix-stores-adding-and-customizing-product-options).|
|`optionsSelectionsIds`|array of numbers|Optional. User selections of product options such as size or color, listed in the order they appear on the site dashboard. For example, the array `[2,0,2]` indicates choice 3 for the first option, choice 1 for the second option, and choice 3 for the third. Learn more about [product options and variants](https://support.wix.com/en/article/wix-stores-adding-and-customizing-product-options).|
|`customTextFields`|array of strings|Optional. Values of custom text fields such as **Gift Message**, listed in the order they appear on the page. Learn more about [custom text fields](https://support.wix.com/en/article/wix-stores-allowing-customers-to-add-a-message-when-purchasing-a-product).|
|`_internalEventId`|GUID|Event ID.|
|`userId`|GUID|Wix user ID.|
<!-- |`isPremium`|boolean|Whether the Wix site is a Premium site.| -->
<!-- |`visitorId`|GUID|Site visitor ID.| -->
<!-- |`metaSiteId`|GUID|Wix site ID.| -->


### Example

```json
{
  "origin": "Stores",
  "id": "d99d3cc8-bc75-ec47-6c72-f713016f98f3",
  "name": "Taki: The Classic Card Game",
  "price": 12,
  "currency": "USD",
  "quantity": 1,
  "sku": "366615376135191",
  "type": "physical",
  "brand": null,
  "variantId": "a744cedd-7aa1-4acd-9f41-ad0588837a86",
  "optionsSelectionsIds": [3, 7],
  "customTextFields": ["Custom field 1 value", "Custom field 2 value"],
  "_internalEventId": "c161e183-6399-4527-ba26-708b5df2472c",
  "userId": "3b253722-5418-443d-913a-3965e451d782"
}
```