Update variantAsk AIpatch https://api.moderndropship.com/products/{product_id}/variants/{variant_id}An endpoint for partially updating a product variant with the provided IDPath Paramsproduct_idstringrequiredID of the product to updatevariant_idstringrequiredID of the variant to updateBody ParamsThe request body_idstringThe Convictional variant ID. Read only.MetafieldsobjectMetafields objectattributesobjectattributes objectbarcodestringThe barcode of the variant.barcodeTypestringThe type of barcode. Options are upc, gtin-13, gtin-14, or ean-8. The value "gtin" is also valid but is deprecated and will be converted to "gtin-13".compareAtPriceobjectComparison price within the seller's systemcompareAtPrice objectdimensionsobjectThe dimensions of the variant.dimensions objectidnumberA legacy Convictional ID for this variant. Read only.imagesarray of objectsAn array of images corresponding to this variant.imagesADD objectinventoryQuantityintegerThe amount of stock available.option1stringThe value for option 1.option2stringThe value for option 2.option3stringThe value for option 3.retailPricenumberThe standard retail price for this SKU.skipCountbooleantruefalseskustringThe seller's unique SKU for this variant.titlestringThe title of the variant.weightnumberThe weight of the variant.weightUnitsstringThe units of weight. Options are g, kg, lb, oz, or t.Responses 200OK 400Bad Request 401Unauthorized 500Internal Server ErrorUpdated 7 months ago