Mutation
mutation UpdatePaymentPlan($input: UpdatePaymentPlanInput!) {
updatePaymentPlan(input: $input) {
clientMutationId
errors
paymentPlan {
approvalEnabled
benefits
createdAt
description
external
id
}
}
}Variables
{
"input": {
"id": "id"
}
}Response
{
"data": {
"updatePaymentPlan": {
"clientMutationId": "string",
"errors": [
"string"
],
"paymentPlan": {
"approvalEnabled": true,
"benefits": [
"string"
],
"createdAt": "value",
"description": "string",
"external": true,
"id": "id"
}
}
}
}Mutations
updatePaymentPlan
Update a Payment Plan in the current Network, including which Spaces it grants access to.
Required scope: host:write:network_plans
MUTATION
updatePaymentPlan(input: UpdatePaymentPlanInput!): UpdatePaymentPlanPayloadArguments
input
required
Parameters for UpdatePaymentPlan
Returns
clientMutationId
String
A unique identifier for the client performing the mutation.
errors
[String!]!
paymentPlan
Mutation
mutation UpdatePaymentPlan($input: UpdatePaymentPlanInput!) {
updatePaymentPlan(input: $input) {
clientMutationId
errors
paymentPlan {
approvalEnabled
benefits
createdAt
description
external
id
}
}
}Variables
{
"input": {
"id": "id"
}
}Response
{
"data": {
"updatePaymentPlan": {
"clientMutationId": "string",
"errors": [
"string"
],
"paymentPlan": {
"approvalEnabled": true,
"benefits": [
"string"
],
"createdAt": "value",
"description": "string",
"external": true,
"id": "id"
}
}
}
}