Mutation
mutation CreatePaymentPlanAnnouncement($input: CreatePaymentPlanAnnouncementInput!) {
createPaymentPlanAnnouncement(input: $input) {
announcement {
bodyHtml
bodyText
createdAt
externalLink
id
post {
__typename
... on Event {
__typename
}
}
}
clientMutationId
errors
}
}Variables
{
"input": {
"body": "string",
"paymentPlanId": "id"
}
}Response
{
"data": {
"createPaymentPlanAnnouncement": {
"announcement": {
"bodyHtml": "string",
"bodyText": "string",
"createdAt": "value",
"externalLink": "string",
"id": "id",
"post": {
"__typename": "Event"
}
},
"clientMutationId": "string",
"errors": [
"string"
]
}
}
}Mutations
createPaymentPlanAnnouncement
Send an announcement — a broadcast notification — to the buyers of a Payment Plan.
Required scope: host:write:network_announcements
MUTATION
createPaymentPlanAnnouncement(input: CreatePaymentPlanAnnouncementInput!): CreatePaymentPlanAnnouncementPayloadArguments
input
required
Parameters for CreatePaymentPlanAnnouncement
announcement
clientMutationId
String
A unique identifier for the client performing the mutation.
errors
[String!]!
Mutation
mutation CreatePaymentPlanAnnouncement($input: CreatePaymentPlanAnnouncementInput!) {
createPaymentPlanAnnouncement(input: $input) {
announcement {
bodyHtml
bodyText
createdAt
externalLink
id
post {
__typename
... on Event {
__typename
}
}
}
clientMutationId
errors
}
}Variables
{
"input": {
"body": "string",
"paymentPlanId": "id"
}
}Response
{
"data": {
"createPaymentPlanAnnouncement": {
"announcement": {
"bodyHtml": "string",
"bodyText": "string",
"createdAt": "value",
"externalLink": "string",
"id": "id",
"post": {
"__typename": "Event"
}
},
"clientMutationId": "string",
"errors": [
"string"
]
}
}
}