Mutation
mutation ArchivePaymentPlan($input: ArchivePaymentPlanInput!) {
archivePaymentPlan(input: $input) {
clientMutationId
errors
paymentPlan {
approvalEnabled
benefits
createdAt
description
external
id
}
}
}Variables
{
"input": {
"id": "id"
}
}Response
{
"data": {
"archivePaymentPlan": {
"clientMutationId": "string",
"errors": [
"string"
],
"paymentPlan": {
"approvalEnabled": true,
"benefits": [
"string"
],
"createdAt": "value",
"description": "string",
"external": true,
"id": "id"
}
}
}
}Mutations
archivePaymentPlan
Archive a Payment Plan in the current Network, taking it off sale. Buyers’ subscriptions are wound down asynchronously.
Required scope: host:write:network_plans
MUTATION
archivePaymentPlan(input: ArchivePaymentPlanInput!): ArchivePaymentPlanPayloadArguments
input
required
Parameters for ArchivePaymentPlan
Returns
clientMutationId
String
A unique identifier for the client performing the mutation.
errors
[String!]!
paymentPlan
Mutation
mutation ArchivePaymentPlan($input: ArchivePaymentPlanInput!) {
archivePaymentPlan(input: $input) {
clientMutationId
errors
paymentPlan {
approvalEnabled
benefits
createdAt
description
external
id
}
}
}Variables
{
"input": {
"id": "id"
}
}Response
{
"data": {
"archivePaymentPlan": {
"clientMutationId": "string",
"errors": [
"string"
],
"paymentPlan": {
"approvalEnabled": true,
"benefits": [
"string"
],
"createdAt": "value",
"description": "string",
"external": true,
"id": "id"
}
}
}
}