Mutation
mutation UpdatePaymentPlanProfileQuestions($input: UpdatePaymentPlanProfileQuestionsInput!) {
updatePaymentPlanProfileQuestions(input: $input) {
clientMutationId
errors
profileQuestions {
context
id
position
required
resourceId
text
}
}
}Variables
{
"input": {
"planId": "id",
"questions": [
{
"context": "DEFAULT",
"text": "string"
}
]
}
}Response
{
"data": {
"updatePaymentPlanProfileQuestions": {
"clientMutationId": "string",
"errors": [
"string"
],
"profileQuestions": [
{
"context": "DEFAULT",
"id": "id",
"position": 1,
"required": true,
"resourceId": "id",
"text": "string"
}
]
}
}
}Mutations
updatePaymentPlanProfileQuestions
Replace the profile questions on a Payment Plan’s join flow. Questions with an ID are updated, questions without one are created, and existing questions omitted from the list are removed. Host only.
Required scope: host:write:network_plans
MUTATION
updatePaymentPlanProfileQuestions(input: UpdatePaymentPlanProfileQuestionsInput!): UpdatePaymentPlanProfileQuestionsPayloadArguments
input
Parameters for UpdatePaymentPlanProfileQuestions
clientMutationId
String
A unique identifier for the client performing the mutation.
errors
[String!]!
profileQuestions
The plan's questions after the update.
Mutation
mutation UpdatePaymentPlanProfileQuestions($input: UpdatePaymentPlanProfileQuestionsInput!) {
updatePaymentPlanProfileQuestions(input: $input) {
clientMutationId
errors
profileQuestions {
context
id
position
required
resourceId
text
}
}
}Variables
{
"input": {
"planId": "id",
"questions": [
{
"context": "DEFAULT",
"text": "string"
}
]
}
}Response
{
"data": {
"updatePaymentPlanProfileQuestions": {
"clientMutationId": "string",
"errors": [
"string"
],
"profileQuestions": [
{
"context": "DEFAULT",
"id": "id",
"position": 1,
"required": true,
"resourceId": "id",
"text": "string"
}
]
}
}
}