@wix/agent-skills 1.16.1 → 1.16.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/skills/wix-app/SKILL.md +72 -8
- package/skills/wix-app/references/CODE_QUALITY.md +0 -1
- package/skills/wix-app/references/DASHBOARD_MODAL.md +21 -14
- package/skills/wix-app/references/DASHBOARD_PAGE.md +30 -184
- package/skills/wix-app/references/EDITOR_REACT_COMPONENT.md +14 -6
- package/skills/wix-app/references/EMBEDDED_SCRIPT.md +6 -0
- package/skills/wix-app/references/WIX_PATTERNS_DOCS.md +172 -0
- package/skills/wix-app/references/dashboard-page/WDS_LAYOUT.md +187 -0
- package/skills/wix-app/references/editor-react-component/ANIMATED-COMPONENTS.md +32 -2
- package/skills/wix-app/references/editor-react-component/COMPONENT-API.md +38 -1
- package/skills/wix-app/references/editor-react-component/DESIGN-STATES.md +27 -4
- package/skills/wix-app/references/editor-react-component/FUNCTION-HANDLERS.md +167 -0
- package/skills/wix-app/references/editor-react-component/MANIFEST-ERRORS.md +19 -0
- package/skills/wix-app/references/editor-react-component/PARTS.md +1 -2
- package/skills/wix-app/references/editor-react-component/REACT-GUIDELINES.md +2 -2
- package/skills/wix-base44-connector/SKILL.md +185 -0
- package/skills/wix-base44-connector/scripts/utils.js +212 -0
- package/skills/wix-design-system/SKILL.md +19 -15
- package/skills/wix-docs/SKILL.md +75 -1
- package/skills/wix-manage/SKILL.md +16 -18
- package/skills/wix-manage/references/bookings/create-class-service.md +1 -1
- package/skills/wix-manage/references/domains/domain-search-purchase-and-connect.md +2603 -0
- package/skills/wix-manage/references/events/create-wix-event.md +112 -90
- package/skills/wix-manage/references/events/manage-wix-events.md +33 -94
- package/skills/wix-manage/references/rich-content/author-ricos-rich-content.md +182 -5
- package/skills/wix-manage/references/sites/create-headless-site.md +1 -0
- package/skills/wix-manage/references/sites/manage-oauth-apps.md +154 -0
- package/skills/wix-manage/references/sites/read-site-context.md +125 -0
- package/skills/wix-manage/references/stores/create-product-catalog-v3.md +273 -0
- package/skills/wix-vibe-headless/install/deploy.cjs +1 -2
- package/skills/wix-vibe-headless/platforms/base44-ecom-light-seed.md +104 -0
- package/skills/wix-vibe-headless/platforms/base44-ecom-light.md +74 -0
- package/skills/wix-vibe-headless/platforms/base44.md +3 -3
- package/skills/wix-vibe-headless/references/blog/seed/SEED.md +1 -1
- package/skills/wix-vibe-headless/references/bookings/seed/SEED.md +1 -1
- package/skills/wix-vibe-headless/references/events/seed/SEED.md +1 -1
- package/skills/wix-vibe-headless/references/portfolio/seed/SEED.md +1 -1
- package/skills/wix-vibe-headless/references/pricing-plans/seed/SEED.md +1 -1
- package/skills/wix-vibe-headless/references/restaurants/seed/SEED.md +1 -1
- package/skills/wix-vibe-headless/references/storefront/INSTRUCTIONS.md +68 -2
- package/skills/wix-vibe-headless/references/storefront/app/components/ProductCard.jsx +29 -86
- package/skills/wix-vibe-headless/references/storefront/app/components/ProductGrid.jsx +3 -8
- package/skills/wix-vibe-headless/references/storefront/app/components/VariantPicker.jsx +78 -105
- package/skills/wix-vibe-headless/references/storefront/app/hooks/useProductCard.js +92 -0
- package/skills/wix-vibe-headless/references/storefront/app/hooks/useVariantOptions.js +76 -0
- package/skills/wix-vibe-headless/references/storefront/seed/SEED.md +1 -1
- package/skills/wix-app/references/AUTO_PATTERNS_DASHBOARD.md +0 -326
- package/skills/wix-app/references/auto-patterns-dashboard/action-cell.md +0 -115
- package/skills/wix-app/references/auto-patterns-dashboard/app-config-structure.md +0 -264
- package/skills/wix-app/references/auto-patterns-dashboard/app-context.md +0 -37
- package/skills/wix-app/references/auto-patterns-dashboard/bulk-actions.md +0 -86
- package/skills/wix-app/references/auto-patterns-dashboard/collection-page-actions.md +0 -119
- package/skills/wix-app/references/auto-patterns-dashboard/collection-page.md +0 -103
- package/skills/wix-app/references/auto-patterns-dashboard/custom-actions-override.md +0 -76
- package/skills/wix-app/references/auto-patterns-dashboard/custom-columns-override.md +0 -82
- package/skills/wix-app/references/auto-patterns-dashboard/custom-components-override.md +0 -89
- package/skills/wix-app/references/auto-patterns-dashboard/custom-header-override.md +0 -124
- package/skills/wix-app/references/auto-patterns-dashboard/custom-sections-override.md +0 -91
- package/skills/wix-app/references/auto-patterns-dashboard/custom-slots-override.md +0 -71
- package/skills/wix-app/references/auto-patterns-dashboard/entity-page-actions.md +0 -70
- package/skills/wix-app/references/auto-patterns-dashboard/entity-page-view-actions.md +0 -73
- package/skills/wix-app/references/auto-patterns-dashboard/entity-page.md +0 -98
- package/skills/wix-app/references/auto-patterns-dashboard/example-patterns.json +0 -278
- package/skills/wix-app/references/auto-patterns-dashboard/pages-configuration.md +0 -94
- package/skills/wix-app/references/auto-patterns-dashboard/resolved-action.md +0 -43
- package/skills/wix-app/references/auto-patterns-dashboard/sdk-utilities.md +0 -66
- package/skills/wix-app/references/auto-patterns-dashboard/views.md +0 -76
- package/skills/wix-app/scripts/generate-auto-patterns.js +0 -510
- package/skills/wix-manage/references/domains/domain-search-and-purchase.md +0 -437
- package/skills/wix-manage/references/stores/create-product-from-image.md +0 -1031
- package/skills/wix-manage/references/stores/create-product-with-options-catalog-v3.md +0 -623
- package/skills/wix-manage/references/stores/setup-online-store-catalog-v3.md +0 -106
|
@@ -95,27 +95,27 @@ Don't read these files fully. Grep for keywords, then read specific sections wit
|
|
|
95
95
|
|
|
96
96
|
## Quick Component Mapping (Design to WDS)
|
|
97
97
|
|
|
98
|
-
| Design Element
|
|
99
|
-
|
|
|
100
|
-
| Rectangle/container | `<Box>`
|
|
101
|
-
| Text button
|
|
102
|
-
| Input with label
|
|
103
|
-
| Toggle
|
|
104
|
-
| Modal
|
|
105
|
-
| Grid
|
|
98
|
+
| Design Element | WDS Component | Notes |
|
|
99
|
+
| ------------------- | --------------------------------- | ----------------- |
|
|
100
|
+
| Rectangle/container | `<Box>` | Layout wrapper |
|
|
101
|
+
| Text button | `<TextButton>` | Secondary actions |
|
|
102
|
+
| Input with label | `<FormField>` + `<Input>` | Wrap inputs |
|
|
103
|
+
| Toggle | `<ToggleSwitch>` | On/off settings |
|
|
104
|
+
| Modal | `<Modal>` + `<CustomModalLayout>` | Use together |
|
|
105
|
+
| Grid | `<Layout>` + `<Cell>` | Responsive |
|
|
106
106
|
|
|
107
107
|
## Spacing (px to SP conversion)
|
|
108
108
|
|
|
109
109
|
When designer specifies pixels, convert to the nearest SP token:
|
|
110
110
|
|
|
111
111
|
| Token | Classic | Studio |
|
|
112
|
-
|
|
|
113
|
-
| `SP1` | 6px
|
|
114
|
-
| `SP2` | 12px
|
|
115
|
-
| `SP3` | 18px
|
|
116
|
-
| `SP4` | 24px
|
|
117
|
-
| `SP5` | 30px
|
|
118
|
-
| `SP6` | 36px
|
|
112
|
+
| ----- | ------- | ------ |
|
|
113
|
+
| `SP1` | 6px | 4px |
|
|
114
|
+
| `SP2` | 12px | 8px |
|
|
115
|
+
| `SP3` | 18px | 12px |
|
|
116
|
+
| `SP4` | 24px | 16px |
|
|
117
|
+
| `SP5` | 30px | 20px |
|
|
118
|
+
| `SP6` | 36px | 24px |
|
|
119
119
|
|
|
120
120
|
```tsx
|
|
121
121
|
<Box gap="SP2" padding="SP3">
|
|
@@ -130,6 +130,10 @@ import { Button, Card, Image } from "@wix/design-system";
|
|
|
130
130
|
import { Add, Edit, Delete } from "@wix/wix-ui-icons-common";
|
|
131
131
|
```
|
|
132
132
|
|
|
133
|
+
## GUIDELINES
|
|
134
|
+
|
|
135
|
+
1. Don't ever override WDS CSS tokens. Only if it's not possible otherwise, mention that very clearly to the prompter, that this is an anti-pattern and should be avoided at all costs.
|
|
136
|
+
|
|
133
137
|
### Troubleshooting
|
|
134
138
|
|
|
135
139
|
- **Components render unstyled** (plain HTML look, missing WDS spacing/typography): add `import "@wix/design-system/styles.global.css";` once to the root/main component (e.g. `page.tsx`, modal entry) — not child/tab/helper files.
|
package/skills/wix-docs/SKILL.md
CHANGED
|
@@ -7,7 +7,8 @@ description: "Look up the Wix API/SDK documentation to confirm an exact endpoint
|
|
|
7
7
|
|
|
8
8
|
Get the **exact** truth about a Wix API — endpoint, HTTP method, request/response body, a field, an
|
|
9
9
|
enum, or an error. **Never invent a Wix endpoint, path, body, or enum from memory** — confirm it
|
|
10
|
-
here first.
|
|
10
|
+
here first. That includes the example endpoints in this skill: they illustrate the mechanics and
|
|
11
|
+
go stale like any snapshot — discover the real contract before you rely on one.
|
|
11
12
|
|
|
12
13
|
A lookup is a short flow: **find the right page, then read it.** Do it with `curl` (default, below)
|
|
13
14
|
or the Wix MCP doc tools if your agent has them (Lane 2).
|
|
@@ -212,6 +213,79 @@ when present, fall back to Lane 1 when not. Optional — skip this lane if the t
|
|
|
212
213
|
Append `.md` only when `curl`-ing a page directly. The MCP tools and the search endpoint take the
|
|
213
214
|
plain docs URL **without** `.md` — never feed a `.md` URL to an MCP tool.
|
|
214
215
|
|
|
216
|
+
## From docs to calls
|
|
217
|
+
|
|
218
|
+
The contract you just read runs under one of two identities — and which one a call wants is part
|
|
219
|
+
of what you read:
|
|
220
|
+
|
|
221
|
+
| identity | token | for |
|
|
222
|
+
|---|---|---|
|
|
223
|
+
| **admin** | an admin token (API key, connector, or OAuth-app admin grant) | managing the site — ad hoc calls, or the same fetch inside an app's backend function |
|
|
224
|
+
| **visitor** | minted from the site's OAuth app, in frontend code | everything the site's end user does — storefront reads, cart, checkout |
|
|
225
|
+
|
|
226
|
+
**Admin** — any management or read call, straight from its docs contract:
|
|
227
|
+
|
|
228
|
+
```bash
|
|
229
|
+
curl -sS -X POST 'https://www.wixapis.com/contacts/v5/contacts/query' \
|
|
230
|
+
-H "Authorization: Bearer $ADMIN_TOKEN" -H 'Content-Type: application/json' \
|
|
231
|
+
--data-raw '{"query": {"cursorPaging": {"limit": 10}}}'
|
|
232
|
+
```
|
|
233
|
+
|
|
234
|
+
In a Wix CLI project, the CLI mints `$ADMIN_TOKEN` — at either scope:
|
|
235
|
+
|
|
236
|
+
```bash
|
|
237
|
+
TOKEN=$(npx @wix/cli@latest token --site "$SITE_ID") # site-scoped: this one site's APIs
|
|
238
|
+
TOKEN=$(npx @wix/cli@latest token) # account-scoped: account-level APIs (list sites, …)
|
|
239
|
+
```
|
|
240
|
+
|
|
241
|
+
Mint once per run and cache it — within a run the CLI returns a byte-identical token, so re-minting
|
|
242
|
+
only spends startup time.
|
|
243
|
+
|
|
244
|
+
**Visitor — minted from the OAuth app's client id.** The client id is a public value, and it is
|
|
245
|
+
usually already on disk before it is in any API: in a managed headless project it is the `appId`
|
|
246
|
+
field of `wix.config.json` — **the OAuth app id and the client id are the same value** — so read it
|
|
247
|
+
from the project's config instead of querying the OAuth-apps API for it. The mint is one
|
|
248
|
+
unauthenticated call, so it belongs in the site's own frontend code:
|
|
249
|
+
|
|
250
|
+
```bash
|
|
251
|
+
curl -sS -X POST 'https://www.wixapis.com/oauth2/token' \
|
|
252
|
+
-H 'Content-Type: application/json' \
|
|
253
|
+
--data-raw '{"clientId": "<oauth app client id>", "grantType": "anonymous"}'
|
|
254
|
+
# → { "access_token": "OauthNG.JWS.…", … } — bearer for products, cart, checkout
|
|
255
|
+
```
|
|
256
|
+
|
|
257
|
+
The cart and checkout APIs act on the *caller's* identity, so they want the visitor token — the
|
|
258
|
+
admin token is for managing the site, the visitor token is for being on it.
|
|
259
|
+
|
|
260
|
+
The authentication docs (append `.md` to read):
|
|
261
|
+
|
|
262
|
+
- [`about-identities`](https://dev.wix.com/docs/api-reference/articles/authentication/about-identities) — the identity model
|
|
263
|
+
- [`rest-api-authentication`](https://dev.wix.com/docs/api-reference/articles/authentication/rest-api-authentication) — headers, token kinds
|
|
264
|
+
- [`retrieve-tokens`](https://dev.wix.com/docs/api-reference/business-management/headless/authentication/retrieve-tokens) — the `/oauth2/token` contract, all grant types
|
|
265
|
+
- [`about-authentication`](https://dev.wix.com/docs/go-headless/authentication/about-authentication) — visitor vs member sessions
|
|
266
|
+
- [`create-an-oauth-app-for-visitors-and-members`](https://dev.wix.com/docs/go-headless/getting-started/setup/authentication/create-an-oauth-app-for-visitors-and-members) — where the client id comes from
|
|
267
|
+
- [`set-up-a-headless-client`](https://dev.wix.com/docs/go-headless/authentication/setup/set-up-a-headless-client) — wiring the client
|
|
268
|
+
|
|
269
|
+
## Special APIs worth knowing
|
|
270
|
+
|
|
271
|
+
**Dynamic Site Context — "what IS this site?"** One admin call returns a markdown report of the
|
|
272
|
+
whole site — installed apps, status, URL, locale, CMS collections — the same output the Wix MCP's
|
|
273
|
+
site-context tool renders:
|
|
274
|
+
|
|
275
|
+
```bash
|
|
276
|
+
curl -sS -X POST 'https://www.wixapis.com/_api/dynamic-context/v1/dynamic-context/markdown' \
|
|
277
|
+
-H "Authorization: Bearer $ADMIN_TOKEN" -H 'Content-Type: application/json' \
|
|
278
|
+
--data-raw '{"siteId": "<metasite id>"}' | jq -r '.markdown'
|
|
279
|
+
```
|
|
280
|
+
|
|
281
|
+
A `200` with `"markdown": ""` means the token or `siteId` is wrong — the endpoint reports an empty
|
|
282
|
+
context instead of an auth error, so treat empty as "check auth", never as "empty site".
|
|
283
|
+
|
|
284
|
+
For site management, the **`wix-manage`** skill carries per-area recipes. It may already be
|
|
285
|
+
installed at
|
|
286
|
+
`.agents/skills/wix-manage/`; install it with `npx -y skills add wix/skills/skills/wix-manage`,
|
|
287
|
+
or read it straight off the registry: `https://www.wix.com/skills/wix-manage`.
|
|
288
|
+
|
|
215
289
|
## Before you write the code
|
|
216
290
|
|
|
217
291
|
Confirm on the page — not from memory — the endpoint, the HTTP verb, the request body shape,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: wix-manage
|
|
3
|
-
description: "Wix business solution management recipes — REST API operations for configuring and managing Wix business solutions. Routes to: stores, bookings, get-paid, CMS, contacts, forms, media, app-installation, pricing-plans, restaurants, rich-content, sites, blog, calendar, domains, events, site-properties, ecommerce, marketing, google-ads, analytics, accessibility, dashboard-navigation."
|
|
3
|
+
description: "Wix business solution management recipes — REST API operations for configuring and managing Wix business solutions. Routes to: stores, bookings, get-paid, CMS, contacts, forms, media, app-installation, pricing-plans, restaurants, ricos rich-content, sites, blog, calendar, domains, events, site-properties, ecommerce, marketing, google-ads, analytics, accessibility, dashboard-navigation."
|
|
4
4
|
compatibility: Requires Wix REST API access (API key or OAuth).
|
|
5
5
|
---
|
|
6
6
|
|
|
@@ -166,8 +166,8 @@ These recipes do NOT cover frontend development or SDK usage for displaying data
|
|
|
166
166
|
|
|
167
167
|
## Domains
|
|
168
168
|
|
|
169
|
-
### [Domain Search and
|
|
170
|
-
**Technical:**
|
|
169
|
+
### [Domain Search, Purchase and Connect](references/domains/domain-search-purchase-and-connect.md)
|
|
170
|
+
**Technical:** Purchase domains, connect domains to Wix sites, search for available domains and get domain suggestions. Covers availability checks, TLD filtering, purchase flow and connecting domains to Wix sites.
|
|
171
171
|
|
|
172
172
|
### [Domains Dashboard Navigation](references/domains/domains-dashboard-navigation.md)
|
|
173
173
|
**Technical:** Direct links to the site-level domain settings page and the account-level My Domains page on manage.wix.com, paired with the Domain Search read APIs.
|
|
@@ -230,10 +230,10 @@ These recipes do NOT cover frontend development or SDK usage for displaying data
|
|
|
230
230
|
## Events
|
|
231
231
|
|
|
232
232
|
### [Create Event](references/events/create-wix-event.md)
|
|
233
|
-
**Technical:** Creates an event with the Wix Events V3 API — required request body, ISO-8601 date and time settings, venue/online/TBD location and street addresses, RSVP vs ticketed registration, guest capacity,
|
|
233
|
+
**Technical:** Creates an event with the Wix Events V3 API — required request body, ISO-8601 date and time settings, venue/online/TBD location and street addresses, RSVP vs ticketed registration, guest capacity, short vs Ricos rich-text descriptions, ticket tiers and pricing, and recurring series from explicit occurrence dates. Distinguishes Wix Events from the Calendar, Marketing Calendar and Automations APIs that share the "events" name. Key endpoints: /events/v3/events, /events/v3/ticket-definitions.
|
|
234
234
|
|
|
235
235
|
### [Manage Events](references/events/manage-wix-events.md)
|
|
236
|
-
**Technical:**
|
|
236
|
+
**Technical:** Operates on events that already exist with the Wix Events V3 API — publishing a draft, cancelling, deleting, cloning, updating an event's date, and counting events, plus the draft-event permission that makes those calls fail with 403. Key endpoint: /events/v3/events.
|
|
237
237
|
|
|
238
238
|
---
|
|
239
239
|
|
|
@@ -341,11 +341,13 @@ These recipes do NOT cover frontend development or SDK usage for displaying data
|
|
|
341
341
|
|
|
342
342
|
## Rich Content
|
|
343
343
|
|
|
344
|
+
> **Routing rule (READ FIRST).** For every request to hand-author, output, or return Ricos / `richContent` JSON (`nodes` tree) for Blog, Stores, Events, or CMS, use the available full-documentation reading capability to retrieve and read the canonical [Author Ricos Rich Content](references/rich-content/author-ricos-rich-content.md) recipe before using API schema search, convert/validate APIs, or memory. This also applies when the user asks for JSON only.
|
|
345
|
+
|
|
344
346
|
### [Ricos Converter Service](references/rich-content/ricos-converter-service.md)
|
|
345
347
|
**Technical:** Validates and converts content between Ricos documents and HTML/Markdown/plain text using the Ricos Documents API. Covers plugin configuration, format conversion in both directions, and document validation.
|
|
346
348
|
|
|
347
349
|
### [Author Ricos Rich Content](references/rich-content/author-ricos-rich-content.md)
|
|
348
|
-
**Technical:**
|
|
350
|
+
**Technical:** Required first source for every request to hand-author, output, or return Ricos / `richContent` JSON (`nodes` tree) for Blog, Stores, Events, or CMS. Retrieve and read this full article before API schema search or constructing the JSON. Covers node shapes — paragraphs, headings, lists, blockquotes, dividers, tables with cell fills, code blocks, images, buttons, audio, video, galleries, collapsible lists, HTML embeds — plus inline text decorations (including spoiler) and nesting rules.
|
|
349
351
|
|
|
350
352
|
---
|
|
351
353
|
|
|
@@ -367,9 +369,15 @@ These recipes do NOT cover frontend development or SDK usage for displaying data
|
|
|
367
369
|
### [Create Headless Site](references/sites/create-headless-site.md)
|
|
368
370
|
**Technical:** Creates a Wix Headless site (headless business) with one account-level API call — site, Wix Business Solution apps, and a configured OAuth client.
|
|
369
371
|
|
|
372
|
+
### [Manage OAuth Apps](references/sites/manage-oauth-apps.md)
|
|
373
|
+
**Technical:** Create, read, update, and query OAuth apps for a Wix headless site. Each OAuth app's `id` is the `client_id` for frontends connecting to the site's Wix APIs. Secret and rotation are dashboard-only.
|
|
374
|
+
|
|
370
375
|
### [Query Sites](references/sites/query-sites.md)
|
|
371
376
|
**Technical:** Lists and queries all sites associated with a Wix account using Sites API. Covers pagination with cursor-based navigation.
|
|
372
377
|
|
|
378
|
+
### [Read Account or Site Context](references/sites/read-site-context.md)
|
|
379
|
+
**Technical:** One call that returns a site's installed apps (by display name), locale, currency, status, and catalog version. Replaces separate query-sites + list-installed-apps + site-properties calls. Use this first on any unfamiliar site to decide which management recipes to follow.
|
|
380
|
+
|
|
373
381
|
### [Site Import](references/sites/site-import.md)
|
|
374
382
|
**Technical:** Drives the autonomous Wix Site Import agent over REST (`/site-import/v1/imports`) to migrate a store/site from another platform (Shopify, WooCommerce, Magento, or any URL) into Wix. Covers Start/Poll/Reply/Cancel, relaying agent questions and progress in plain language, handling `DEPLOYED`/`FAILED`/`AUTH_EXPIRED`/`SESSION_EXPIRED` states, and post-deploy follow-up changes. Use when the user wants to import, migrate, or clone an existing store/site into Wix.
|
|
375
383
|
|
|
@@ -383,18 +391,11 @@ These recipes do NOT cover frontend development or SDK usage for displaying data
|
|
|
383
391
|
### [Add Store Pages to Site](references/stores/add-store-pages-to-site.md)
|
|
384
392
|
**Technical:** Adds missing checkout and cart pages to a site when Stores app is installed. Used when store pages are missing after migration or setup issues.
|
|
385
393
|
|
|
386
|
-
### [Bulk Create Products with Options](references/stores/bulk-create-products-with-options.md)
|
|
387
|
-
**Technical:** Uses bulk products endpoint to create multiple products with inventory in a single request. Handles variant generation from options, media format requirements, and error handling for partial failures.
|
|
388
|
-
|
|
389
|
-
### [Create Product from Image](references/stores/create-product-from-image.md)
|
|
390
|
-
**Technical:** **MANDATORY entry point** for any "create product from image" or "create product from photo" request. STEP 1 auto-detects the site's catalog version (V1/V3) via the provision endpoint, then runs the matching flow inline — V3 supports up to 3 images, info sections, SEO, options/variants, and atomic creation; V1 supports a single image, simple product, and a separate media-attach call. Combines Media Upload + LLM analysis + Product Creation + (V1 only) Add Product Media in one self-contained recipe.
|
|
391
|
-
|
|
392
|
-
|
|
393
394
|
### [Create Product (Catalog V1)](references/stores/create-product-catalog-v1.md)
|
|
394
395
|
**Technical:** Create products using the Catalog V1 Products API. Use this recipe when the site's catalog version is CATALOG_V1. Covers simple product creation, product with options, and key V1 request structure differences from V3.
|
|
395
396
|
|
|
396
|
-
### [Create Product
|
|
397
|
-
**Technical:**
|
|
397
|
+
### [Create Product (Catalog V3)](references/stores/create-product-catalog-v3.md)
|
|
398
|
+
**Technical:** **Mandatory first read for every Catalog V3 create-product request, including vague requests.** Before any other documentation or API tool, load exactly `https://dev.wix.com/docs/api-reference/business-solutions/stores/skills/create-product-catalog-v3`. When no product is identified, that recipe read must be the final tool call; respond only: “What product would you like to create? You can upload up to 3 images and I’ll generate the product information from them, or describe the product in text.” Then stop. **Never replace this with a list or questions for name, price, description, type, images, inventory, SKU, options, SEO, or other fields.** If name or price is missing, ask for it or offer to suggest it, then stop. When name and price are present, create from supplied details without requiring optional enrichment. Never default price to `0`. The recipe owns single/bulk endpoint choice, inventory, physical/digital products, images, options, variants, prices, SKUs, limits, and validation.
|
|
398
399
|
|
|
399
400
|
### [Find Products (Query and Search, Catalog V3)](references/stores/find-products-query-and-search-catalog-v3.md)
|
|
400
401
|
**Technical:** Find, search, query, and list products from a Wix Store using Catalog V3 Search Products and Query Products endpoints. Explains when to use each endpoint, correct fields enum values, filtering, sorting, and paging.
|
|
@@ -402,9 +403,6 @@ These recipes do NOT cover frontend development or SDK usage for displaying data
|
|
|
402
403
|
### [Query Products (Catalog V1)](references/stores/query-products-catalog-v1.md)
|
|
403
404
|
**Technical:** Query and list products from a Wix Store using the Catalog V1 Query Products endpoint. Use this recipe when the site's catalog version is CATALOG_V1. Covers basic queries, filtering, sorting, and paging.
|
|
404
405
|
|
|
405
|
-
### [Setup Online Store (Catalog V3)](references/stores/setup-online-store-catalog-v3.md)
|
|
406
|
-
**Technical:** Initializes a Stores catalog with Catalog V3 Products API, bulk products endpoint, and Categories API. Covers product creation, option configuration, variant management, and category assignment.
|
|
407
|
-
|
|
408
406
|
### [Update Product Pre-Order](references/stores/update-product-pre-order.md)
|
|
409
407
|
**Technical:** Manages pre-order settings for product variants using V3 Inventory API. Covers enabling/disabling pre-orders, setting messages, configuring limits, and handling trackQuantity requirements.
|
|
410
408
|
|
|
@@ -149,7 +149,7 @@ curl -X POST 'https://www.wixapis.com/bookings/v2/bulk/services/create' \
|
|
|
149
149
|
- `defaultCapacity` is **required** — sets max participants per session
|
|
150
150
|
- After creation, class sessions must be scheduled separately via `bulkCreateEvents` using the returned `service.schedule.id` (see [Create and Update Booking Services](./create-and-update-booking-services.md))
|
|
151
151
|
|
|
152
|
-
Save the
|
|
152
|
+
**Response:** Save the service ID from `results[0].itemMetadata.id`
|
|
153
153
|
|
|
154
154
|
---
|
|
155
155
|
|