mutation planUpdate ($id: ID!, $attributes: PlanAttributes!, $planFeatures: !) {
planUpdate (id: $id, attributes: $attributes, planFeatures: $planFeatures) {
errors
plan {
addon
availableFrom
availableTo
basePrice
code
contactUsLabel
contactUsUrl
createdAt
description
id
internalNotes
isAvailableNow
isVisible
name
position
pricingDescription
productId
productPlanName
selfServiceBuy
selfServiceCancel
selfServiceRenew
updatedAt
}
}
}
{
"id": "456123",
"attributes": {
"productId": "456123",
"name": "",
"code": "",
"position": 123,
"addon": true,
"selfServiceBuy": true,
"selfServiceCancel": true,
"selfServiceRenew": true,
"description": "",
"internalNotes": "",
"availableFrom": "2022-06-01",
"availableTo": "2022-06-01",
"isVisible": true,
"featureIds": [
"456123"
],
"pricingDescription": "",
"pricingStyle": "PlanPricingStyles",
"contactUsLabel": "",
"contactUsUrl": ""
},
"planFeatures": [
{
"id": "456123",
"planId": "",
"featureId": "",
"value": ""
}
]
}