You are viewing a section of Superface that will be deprecated in Q4 2023. Until then, you can continue to use it as you have before but we recommend that you migrate to our latest version soon. For more details visit superface.ai/docs/migrate.

product-management/product-update

product-management/product-update@0.0.0

Updates an existing product with new information.

Input
product
Result
product

Structure details

Input (object)

product
body_html
The description of the product.
handle
A unique human-readable string for the product.
id
The unique numeric identifier for the product.
images
id
The unique numeric identifier for the image.
product_id
The unique numeric identifier for the product.
position
The position of the image in the product's image list.
src
The URL of the image.
options
id
The unique numeric identifier for the option.
product_id
The unique numeric identifier for the product.
name
The name of the option.
position
The position of the option in the product's option list.
values
product_type
The type of the product.
status
The status of the product.
tags
A string of comma-separated tags.
template_suffix
The suffix of the Liquid template used for the product page.
title
The title of the product.
variants
id
The unique numeric identifier for the variant.
product_id
The unique numeric identifier for the product.
option1
The value of the first option.
position
The position of the variant in the product's variant list.
price
The price of the variant.
sku
A unique identifier for the variant.
title
The title of the variant.
vendor
The name of the product's vendor.

Example

Result (object)

product
body_html
created_at
handle
id
images
id
product_id
position
created_at
updated_at
width
height
src
variant_ids
options
id
product_id
name
position
values
product_type
published_at
published_scope
status
tags
template_suffix
title
updated_at
variants
barcode
compare_at_price
created_at
fulfillment_service
grams
weight
weight_unit
id
inventory_item_id
inventory_management
inventory_policy
inventory_quantity
option1
position
price
product_id
requires_shipping
sku
taxable
title
updated_at
vendor

Example