Skip to main content

productTypeUpdate Mutation

Updates an existing product type.

Requires the MANAGE_PRODUCT_TYPES_AND_ATTRIBUTESpermission.
productTypeUpdate(
id: ID!
input: ProductTypeInput!
): ProductTypeUpdate
Details
type ProductTypeUpdate {
productErrors: [ProductError!]! @deprecated
errors: [ProductError!]!
productType: ProductType
}

Arguments

id ● ID!

ID of a product type to update.

input ● ProductTypeInput!

Fields required to update a product type.

Type

ProductTypeUpdate

Updates an existing product type.

Requires the MANAGE_PRODUCT_TYPES_AND_ATTRIBUTESpermission.