githubEdit

productUpdate

Graphql fields and variables for the productUpdate mutation

Update a product

Scope required: product:write

For a complete list of input attributes see the ProductAttributes type

mutation productUpdate ($id: ID!, $attributes: ProductAttributes!) {
  productUpdate (id: $id, attributes: $attributes) {
      errors
      product {
        code
        createdAt
        description
        everythingInPlus
        id
        internalNotes
        name
        plansToDisplay
        platformId
        productCategoryId
        showProductNameOnLineItem
        updatedAt
      }
  }
}

Arguments

Name
Type
Description

id

ID

Response

Name
Type
Description

errors

List (String)

product

Last updated

Was this helpful?