{
"product": {},
"catalog_product": {},
"schema_version": 2
}{
"error": "<string>"
}{
"error": "<string>"
}{
"error": "<string>"
}{
"error": "<string>"
}{
"error": "<string>"
}Create or update a product
Create a catalog product or progressively patch its current data.
{
"product": {},
"catalog_product": {},
"schema_version": 2
}{
"error": "<string>"
}{
"error": "<string>"
}{
"error": "<string>"
}{
"error": "<string>"
}{
"error": "<string>"
}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 elementsShow child attributes
Show child attributes
Required 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 >= 0Show child attributes
Show child attributes
Show child attributes
Show child attributes
5000- Option 1
- Option 2
Show child attributes
Show child attributes
When true, omitted variants become inactive. Use with an empty array for a variantless product.
Auto-derived from variant option values when omitted.
20Show child attributes
Show child attributes
50- Option 1
- Option 2
- Option 3
Show child attributes
Show child attributes
250Show child attributes
Show child attributes
50Show child attributes
Show child attributes
255255655364096Concise garment naming override; auto-detected when omitted.
255255Show child attributes
Show child attributes
Omit for version 2. Use 1 only for an existing image-only legacy integration.
1, 2