Update Product

Noted:

  • The images being used by a variant should be one of the images belongs to the parent product.
  • While updating options(options can be color, size, material, etc), variants object is required, and the values for option1, option2, option3 in the variant object must match preset value from the options you updated.
  • While updating variant image, you will need to either provide an image object or an image id, and image_id takes higher priority
  • While updating/creating metafields, system wouldn't delete existing metafield records
Language
Authorization
Header
Click Try It! to start a request and see the response here!