Use this recipe for one or multiple Catalog V3 products. Catalog V1 remains supported through Create Product (Catalog V1).
[!IMPORTANT] Apply the no-product gate first. A vague request such as “I’d like to add a new product” does not identify a product. 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 end the turn. Do not ask for name, price, product type, options, SEO, inventory, or any other structured field yet. Do not replace the image-or-text choice with a checklist, form, or questionnaire. Reading this recipe must be the final tool call in that turn.
Canonical example:
Name and price are mandatory workflow inputs for every product, even when the API schema accepts an omitted price or initializes it to zero. Evaluate the cases below in order. When a case says RETURN, end the turn immediately: do not call a create endpoint, do not continue to examples, and do not create first and ask afterward.
“Create it,” “create it now,” “for my store, create,” or similar mutation language does not satisfy a missing price. A usable price must be either explicitly supplied by the user or a suggestion the user accepted. Treat 0 as supplied only when the user explicitly requests a free or zero-priced product.
Before every create call, assert both conditions:
If any product is missing a price, do not call the API. Ask for the missing price, using the product's supplied name when available, and offer to suggest one. Never put "amount": "0" in the request unless the user explicitly chose a zero price.
Apply the preflight. When it says RETURN, make no API call in that turn.
Send site-scoped calls with Authorization, wix-site-id, and Content-Type: application/json.
If the catalog version is unknown, run:
Continue here only for V3_CATALOG; use the V1 recipe for V1_CATALOG.
Resolve each product's supplied type, variants, SKUs, inventory intent, and images after its mandatory name and variant price are known. Do not invent optional attributes the user did not supply or request.
Choose the endpoint, build the products, upload any images, create, and validate every result. Continue until all requested products succeed or report the exact failed items.
| Request | No inventory | Quantity or in-stock state |
|---|---|---|
| One product | POST /stores/v3/products | POST /stores/v3/products-with-inventory |
| Multiple products | POST /stores/v3/bulk/products/create | POST /stores/v3/bulk/products-with-inventory/create |
inventoryItem only on tracked variants.inventoryItem to a no-inventory endpoint. Do not invent inventory.| Concern | Rule |
|---|---|
| Type | PHYSICAL uses product- and variant-level physicalProperties; DIGITAL omits physical properties and inventory. |
| Variants | Include at least one. Price, SKU, barcode, inventory, and digital file are variant-level fields. |
| Price | Use a string in price.actualPrice.amount; add compareAtPrice only when supplied. |
| SKU | Preserve supplied strings exactly, including #, punctuation, and leading zeroes. Keep variant SKUs unique unless explicitly requested otherwise. |
| Options | Define non-empty choices and create every requested Cartesian combination. Each variant references one choice from every option through optionChoiceNames. |
| Text | Prefer plainDescription for unformatted copy. Use description only for a valid Ricos document. |
| Media | Up to 3 images are supported per product. Preserve their supplied order in media.itemsInfo.items; media.main is read-only. |
This inventory-aware physical product is the reusable shape. Remove inventoryItem when using a no-inventory endpoint; remove media when no image was supplied.
For a color option, use SWATCH_CHOICES; each choice uses choiceType: ONE_COLOR and colorCode, and the variant reference uses renderType: SWATCH_CHOICES.
A digital product uses the smaller shape below. Add the supplied variant-level digital file only when one was provided.
plainDescription unless formatting is required. SEO tags use seoData.tags.BULLETED_LIST, not BULLET_LIST, and its data field is bulletedListData:Skip this step when no image was supplied. Prefer the available dedicated Wix image-upload capability and upload all attachments and public image URLs together. Do not reconstruct that capability inside a general API-execution call. When no dedicated uploader is available, use POST /site-media/v1/files/import with the external URL in the body field named exactly url—not importUrl:
A successful upload that returns the matching wixstatic.com URL may be used in product media while asynchronous processing is PENDING; do not treat PENDING alone as a failure. Stop if the upload reports FAILED. Poll GET /site-media/v1/files/get-file-by-id?fileId=<FILE_ID> until file.operationStatus is READY only when the workflow needs guaranteed processing, image metadata, transformations, or independent proof that the asset is ready. A pending URL proves submission, not completed processing, so do not describe it as ready or fully verified unless a later response proves that. Do not use a thumbnail URL or reuse the original external URL after upload.
Track every upload as its own product-to-file record. A poll or timeout fallback may return only that file's URL—never another product's URL. If an upload fails, retry the same asset through another supported transfer method when possible; never silently replace it with a different image. If the exact asset cannot be preserved, create only products whose requested images uploaded successfully and report every blocked product and failed source exactly; for a single required-image product, make no product-create call.
Use the chosen product object directly in either envelope:
The first is for single endpoints; the second is for bulk endpoints. If the user supplies only a SKU pattern for variants, generate a stable unique SKU per combination and preserve the mapping in the result.
For one product when the user supplied no quantity, stock state, or inventory-tracking request, the complete direct path is POST /stores/v3/products with {"product": PRODUCT}. Do not infer inStock: true, add inventoryItem, or choose /products-with-inventory; physical product type does not imply inventory. If it has ready images, add "fields": ["MEDIA_ITEMS_INFO"] to the same no-inventory request.
For one physical product with inventory, the complete direct path is one POST /stores/v3/products-with-inventory call with {"product": PRODUCT}. Put inventoryItem on its priced variant. If it has ready images, add "fields": ["MEDIA_ITEMS_INFO"] to that same request. The product shape, envelope, endpoint, and validation paths are complete here: do not search another recipe or schema, probe an alternate endpoint, or make a post-create read unless the projected create response does not prove requested media.
media.itemsInfo.items is a projected response field. Creating a product with media does not guarantee that the create response—or an ordinary Get Product call—returns the gallery. To receive it, pass "MEDIA_ITEMS_INFO" in the request-level fields array.
For a single create with images:
For a bulk create with images:
If the create result still does not prove the stored gallery, make at most one read-only verification call:
Inspect product.media.itemsInfo.items from that projected response. Do not interpret an omitted itemsInfo as lost media, search the Update Product schema, or PATCH the same media merely to retrieve it. A PATCH is appropriate only when a projected response proves the stored media is actually wrong.
| Endpoint result | Required checks |
|---|---|
| Single, no inventory | Require product.id; report only response-backed fields as verified. For images, request MEDIA_ITEMS_INFO on create or use one projected Get Product verification call. |
| Single, with inventory | Require product.id; inspect inventoryResults.results, item metadata, and top-level error. |
| Bulk, no inventory | Inspect every results[].itemMetadata; with returnEntity: true, the created entity is results[].item, not results[].product. Reconcile bulkActionMetadata.totalSuccesses and totalFailures with the requested count. |
| Bulk, with inventory | Use the exact two-sibling response paths below. Inspect every product and inventory result, both bulk metadata objects, item metadata, and the inventory error before reporting success. |
POST /stores/v3/bulk/products-with-inventory/create does not return the same flat envelope as /stores/v3/bulk/products/create. Its response has two top-level sibling objects:
Before claiming that an inventory-aware bulk create succeeded:
productResults.results[] entry and require itemMetadata.success; with returnEntity: true, read the product from item.productResults.bulkActionMetadata.totalSuccesses, totalFailures, and undetailedFailures with the requested product count.inventoryResults.results[] entry and require itemMetadata.success; with returnEntity: true, read the inventory entity from item.inventoryResults.bulkActionMetadata.totalSuccesses, totalFailures, and undetailedFailures with the expected inventory-item count, and inspect inventoryResults.error.The inventory error check is mandatory even when every item and metadata count succeeded. Explicitly read the sibling field—for example, normalize inventoryResults.error ?? null—and report success only when it is absent or null. Do not infer that value from HTTP 200, item metadata, or bulk metadata.
For POST /stores/v3/products-with-inventory, inspect the returned product.id, every inventoryResults.results[].itemMetadata, and top-level inventoryResults.error directly from the create response. Do not issue inventory queries, product searches, Get Product calls, or PATCH calls merely to reconfirm values already proven by that response. If item success proves the inventory write but the response omits the requested quantity, report the quantity as submitted; if the user needs it independently verified, make one targeted inventory read using the returned product ID without first fetching the product again. The only other allowed extra read is the single projected media verification described above when requested images are not present in the projected create result. GET and HEAD requests must not include a request body.
Never read productResults.inventoryResults: that path does not exist. A successful product result or HTTP 200 does not prove inventory creation succeeded.
Retry only failed transient items, not successful products. If a requested field is absent from the response, call it submitted rather than API-verified; never echo the request as proof that it was stored.
product.visible: true proves catalog visibility, not that an unpublished site is live. Say “created” or “visible in the catalog”; say “live” only when site publication is independently confirmed.
inventoryItem on each tracked variant.variantsInfo must not be empty: include at least one priced variant per product.wixstatic.com URL in media.itemsInfo.items; do not set media.main.Last updated: 16 August 2026