mutation planCreate ($attributes: PlanAttributes!) {
planCreate (attributes: $attributes) {
errors
plan {
addon
availableFrom
availableTo
basePrice
code
contactUsLabel
contactUsUrl
createdAt
description
id
internalNotes
isAvailableNow
isVisible
name
position
pricingDescription
productId
productPlanName
selfServiceBuy
selfServiceCancel
selfServiceRenew
updatedAt
}
planFeatures
}
}
{
"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": ""
}
}