Mutation
mutation UnpublishPaymentPlan($input: UnpublishPaymentPlanInput!) {
unpublishPaymentPlan(input: $input) {
clientMutationId
errors
paymentPlan {
approvalEnabled
benefits
createdAt
description
external
id
}
}
}Variables
{
"input": {
"id": "id"
}
}Response
{
"data": {
"unpublishPaymentPlan": {
"clientMutationId": "string",
"errors": [
"string"
],
"paymentPlan": {
"approvalEnabled": true,
"benefits": [
"string"
],
"createdAt": "value",
"description": "string",
"external": true,
"id": "id"
}
}
}
}Mutations
unpublishPaymentPlan
Unpublish a Payment Plan, hiding it from members. Existing buyers keep their access.
Required scope: host:write:network_plans
MUTATION
unpublishPaymentPlan(input: UnpublishPaymentPlanInput!): UnpublishPaymentPlanPayloadArguments
input
required
Parameters for UnpublishPaymentPlan
Returns
clientMutationId
String
A unique identifier for the client performing the mutation.
errors
[String!]!
paymentPlan
Mutation
mutation UnpublishPaymentPlan($input: UnpublishPaymentPlanInput!) {
unpublishPaymentPlan(input: $input) {
clientMutationId
errors
paymentPlan {
approvalEnabled
benefits
createdAt
description
external
id
}
}
}Variables
{
"input": {
"id": "id"
}
}Response
{
"data": {
"unpublishPaymentPlan": {
"clientMutationId": "string",
"errors": [
"string"
],
"paymentPlan": {
"approvalEnabled": true,
"benefits": [
"string"
],
"createdAt": "value",
"description": "string",
"external": true,
"id": "id"
}
}
}
}