curl --request PUT \
--url https://api.virtual.fit/vfr/manage/sites/{site_id}/products/{product_id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{}'{
"product": {},
"catalog_product": {},
"schema_version": 2
}{
"error": "<string>"
}{
"error": "<string>"
}{
"error": "<string>"
}{
"error": "<string>"
}{
"error": "<string>"
}API reference
Create or update a product
Create a catalog product or progressively patch its current data.
PUT
https://api.virtual.fit
/
vfr
/
manage
/
sites
/
{site_id}
/
products
/
{product_id}
curl --request PUT \
--url https://api.virtual.fit/vfr/manage/sites/{site_id}/products/{product_id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{}'{
"product": {},
"catalog_product": {},
"schema_version": 2
}{
"error": "<string>"
}{
"error": "<string>"
}{
"error": "<string>"
}{
"error": "<string>"
}{
"error": "<string>"
}Use a stable
product_id in the URL. A new product needs title and at least
one image; later requests may send only changed fields.Path Parameters
Body
application/json
A new product requires title and images. For an existing product,
every field is optional and omitted fields stay unchanged.