Product Add Variation

productAddVariation #

productAddVariation(productId: String, params: AddVariationParams) ProductVariation

Example #

mutation productAddVariation($productId: String!, $params: AddVariationParams!){
  productAddVariation(productId: $productId, params: $params) {
    id
    name
    price
    cost
    sku
    stock
  }
}

Try It Now