productCreate
Graphql fields and variables for the productCreate mutation
Create a product
Scope required: product:write
For a complete list of input attributes see the ProductAttributes type
mutation productCreate ($attributes: ProductAttributes!) {
productCreate (attributes: $attributes) {
errors
product {
code
description
everythingInPlus
id
internalNotes
name
plansToDisplay
platformId
productCategoryId
showProductNameOnLineItem
}
}
}
Arguments
{
"attributes": {
"name": "",
"code": "",
"platformId": "456123",
"everythingInPlus": true,
"description": "",
"internalNotes": "",
"productCategoryId": "456123",
"showProductNameOnLineItem": true,
"plansToDisplay": 123
}
}
Name
Type
Description
Response
Name
Type
Description
errors
List (String)
Last updated
Was this helpful?