Product Add Attribute

productAddAttribute #

productAddAttribute(productId: String, params: AddAttributeParams) ProductAttribute

Example #

mutation productAddAttribute($productId: String!, $params: AddAttributeParams!){
  productAddAttribute(productId: $productId, params: $params) {
    id
    name
    values
    isRequired
    createdAt
    updateAt
  }
}

Try It Now