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
description
everythingInPlus
id
internalNotes
name
plansToDisplay
platformId
productCategoryId
showProductNameOnLineItem
}
}
}
Arguments
{
"id": "456123",
"attributes": {
"name": "",
"code": "",
"platformId": "456123",
"everythingInPlus": true,
"description": "",
"internalNotes": "",
"productCategoryId": "456123",
"showProductNameOnLineItem": true,
"plansToDisplay": 123
}
}
Name
Type
Description
id
ID
Response
Name
Type
Description
errors
List (String)
Last updated
Was this helpful?