Mutation
mutation PublishPaymentPlan($input: PublishPaymentPlanInput!) {
publishPaymentPlan(input: $input) {
clientMutationId
errors
paymentPlan {
approvalEnabled
benefits
createdAt
description
external
id
}
}
}Variables
{
"input": {
"id": "id"
}
}Response
{
"data": {
"publishPaymentPlan": {
"clientMutationId": "string",
"errors": [
"string"
],
"paymentPlan": {
"approvalEnabled": true,
"benefits": [
"string"
],
"createdAt": "value",
"description": "string",
"external": true,
"id": "id"
}
}
}
}Mutations
publishPaymentPlan
Publish a Payment Plan, making it visible to members. The plan must be publishable (not archived, with at least one Space and price, and Apple-approved where required).
Required scope: host:write:network_plans
MUTATION
publishPaymentPlan(input: PublishPaymentPlanInput!): PublishPaymentPlanPayloadArguments
input
required
Parameters for PublishPaymentPlan
Returns
clientMutationId
String
A unique identifier for the client performing the mutation.
errors
[String!]!
paymentPlan
Mutation
mutation PublishPaymentPlan($input: PublishPaymentPlanInput!) {
publishPaymentPlan(input: $input) {
clientMutationId
errors
paymentPlan {
approvalEnabled
benefits
createdAt
description
external
id
}
}
}Variables
{
"input": {
"id": "id"
}
}Response
{
"data": {
"publishPaymentPlan": {
"clientMutationId": "string",
"errors": [
"string"
],
"paymentPlan": {
"approvalEnabled": true,
"benefits": [
"string"
],
"createdAt": "value",
"description": "string",
"external": true,
"id": "id"
}
}
}
}