Create or update a product
Create a catalog product or progressively patch its current data.
product_id in the URL. A new product needs title and at least
one image; later requests may send only changed fields.Authorizations
Keep the virtual.fit API key on your server.
Path Parameters
Custom JavaScript site ID from virtual.fit.
Stable, case-sensitive identity that remains unchanged when the product's title, URL, options, variants, price, or media change. URL-encode it in the request path.
255Body
A new product requires title and images. For an existing product,
every field is optional and omitted fields stay unchanged.
5001 - 500 elementsRequired when storefront URL resolution matches by handle.
2558192Whether the product can use the fitting room. This is separate from sale availability.
Source-reported sale availability for a product without exact variants. Variant availability takes precedence when variants exist.
Current overall customer rating.
0 <= x <= 5Number of reviews represented by the overall rating.
x >= 05000- Option 1
- Option 2
When true, omitted variants become inactive. Use with an empty array for a variantless product.
Auto-derived from variant option values when omitted.
2050- Option 1
- Option 2
- Option 3
25050255255655364096Concise garment naming override; auto-detected when omitted.
255255Omit for version 2. Use 1 only for an existing image-only legacy integration.
1, 2