ProductVariantSetDefault
Set default variant for a product. Mutation triggers PRODUCT_UPDATED webhook.
type ProductVariantSetDefault {
product: Product
productErrors: [ProductError!]! @deprecated
errors: [ProductError!]!
}
Fields
ProductVariantSetDefault.product
● Product
object products
ProductVariantSetDefault.productErrors
● [ProductError!]!
deprecated non-null object products
DEPRECATEDThis field will be removed in Saleor 4.0. Use
errors
field instead.
ProductVariantSetDefault.errors
● [ProductError!]!
non-null object products
Returned By
productVariantSetDefault
mutation