featureCreate
Graphql fields and variables for the featureCreate mutation
Create a feature
Scope required: product:write
For a complete list of input attributes see the FeatureAttributes type
mutation featureCreate ($productId: ID!, $attributes: FeatureAttributes!) {
featureCreate (productId: $productId, attributes: $attributes) {
errors
feature {
code
createdAt
description
id
isProvisioned
isUnit
isVisible
name
position
productId
unitName
updatedAt
}
}
}
Arguments
{
"productId": "456123",
"attributes": {
"name": "",
"code": "",
"position": 123,
"description": "",
"kind": "FeatureKind",
"isUnit": true,
"isProvisioned": true,
"isVisible": true,
"usageCalculationType": "UsageCalculation"
}
}
Name
Type
Description
productId
ID
Response
Name
Type
Description
errors
List (String)
Last updated
Was this helpful?