> 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: Packages and Product Instances

# Type: Packages Object

# Link: https://dev.wix.com/docs/api-reference/account-level/resellers/packages-and-product-instances/packages-object.md

## Description: A package is group of instances of Wix services that a reseller offers to a
customer as part of a single transaction.

## Schema:

```json
 Type: Packages Object | type: Package
 Description: A package is group of instances of Wix services that a reseller offers to a
customer as part of a single transaction.
       - name: id  | type: string | description: Package ID.
       - name: accountId  | type: string | description: Wix account ID. See [Account Level APIs](https://dev.wix.com/docs/rest/account-level/about-account-level-apis.md) for more details.
       - name: externalId  | type: string | description: External reference. For example, an external subscription ID. This field isn't validated by Wix.  Max: 100 characters
           - name: value  | type: string | description: 
       - name: productInstances  | type: Array<ProductInstance> | description: Product instances that are included in the package.  Min: 1 product instance Max: 1000 product instances
           - name: instanceId  | type: string | description: ID of the instance of the resold Wix service. **Note:** Differs from the `catalogProductId`. Allows you to identify different instances of the same product in a package.
           - name: siteId  | type: string | description: ID of the Wix site that the product instance is assigned to. See the [Query Sites API](https://dev.wix.com/api/rest/account-level-apis/sites/query-sites) for more information.
           - name: catalogProductId  | type: string | description: Product ID, as defined in the Wix Premium Product Catalog. Contact the [Wix B2B sales team](mailto:bizdev@wix.com) for more details about available Wix services.
           - name: status  | type: string | description: Status of the product instance.
               enum: PENDING, ENABLED, CANCELED, FAILED, AWAITING_ACTION
           - name: failure  | type: FailureReason | description: Failure object. Only present for status `FAILED`. Describes why the product instance `FAILED`.
               - name: code  | type: string | description: Failure code.
               - name: message  | type: string | description: Failure message.
           - name: createdDate  | type: string | description: Date and time the product instance was created.
               - name: seconds  | type: string | description: 
               - name: nanos  | type: number | description: 
           - name: updatedDate  | type: string | description: Date and time the product instance was last updated.
           - name: countryCode  | type: string | description: Two-letter country code in [ISO-3166 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2#Officially_assigned_code_elements) format. Specifies where customers can claim vouchers that may come with the product. Contact the [Wix B2B sales team](mailto:bizdev@wix.com) to get more information about vouchers and supported locations.
           - name: expirationDate  | type: string | description: Date and time the product instance expires in `YYYY-MM-DDThh:mm:ss.sssZ` format. Used only for instances that don't auto renew at the end of the current billing cycle.
           - name: discountCode  | type: string | description: Discount code indicating that the reseller provisioned the product instance during a sale. Wix doesn't guarantee that a discount code reduces the price between Wix and the reseller, even when it's valid. Contact the [Wix B2B sales team](mailto:bizdev@wix.com) for more information.  Max: 25 characters
           - name: referenceProductInstanceId  | type: string | description: ID of a different product instance that you can use to offer your customers time-limited free access to an additional product or service. For example, Wix offers a 1-year free domain registration to all customers who purchase a Premium plan. The referenced product instance must have either status `"PENDING"` or `"ACTIVE"`. You can use each product instance only a single time as reference instance.
           - ONE-OF:
               - name: billingInfo  | type: Cycle | description: Billing information for the contract between the reseller and Wix.
                   - name: type  | type: string | description: Payment type.
                   - name: cycleDuration  | type: Interval | description: Duration of the billing cycle. Available only for `RECURRING` payments.
       - name: createdDate  | type: string | description: Date and time the package was created.
       - name: updatedDate  | type: string | description: Date and time the package was last updated.

```