Product Update Variation

productUpdateVariation #

productUpdateVariation(productId: String, variationId: String, params: UpdateVariationParams) ProductVariation

Example #

mutation productUpdateVariation($productId: String!, $variationId: String!, $params: UpdateVariationParams!){
  productUpdateVariation(productId: $productId, variationId: $variationId, params: $params) {
    id
    name
    price
    cost
    sku
    stock
  }
}

Try It Now