Mutation
mutation CreateProfileQuestionAnswers($input: CreateProfileQuestionAnswersInput!) {
createProfileQuestionAnswers(input: $input) {
clientMutationId
errors
profileQuestionAnswers {
createdAt
id
member {
ambassadorLevel
ambassadorLevelId
avatarUrl
badges {
__typename
}
conversations {
__typename
}
customFieldResponses {
__typename
}
}
profileQuestion {
context
id
position
required
resourceId
text
}
resourceId
text
}
}
}Variables
{
"input": {
"answers": [
{
"profileQuestionId": "id"
}
],
"planId": "id"
}
}Response
{
"data": {
"createProfileQuestionAnswers": {
"clientMutationId": "string",
"errors": [
"string"
],
"profileQuestionAnswers": [
{
"createdAt": "value",
"id": "id",
"member": {
"ambassadorLevel": "string",
"ambassadorLevelId": 1,
"avatarUrl": "string",
"badges": [
{
"__typename": "Badge"
}
],
"conversations": {
"__typename": "PublicConversationConnection"
},
"customFieldResponses": {
"__typename": "MemberCustomFieldResponseConnection"
}
},
"profileQuestion": {
"context": "DEFAULT",
"id": "id",
"position": 1,
"required": true,
"resourceId": "id",
"text": "string"
},
"resourceId": "id",
"text": "string"
}
]
}
}
}Mutations
createProfileQuestionAnswers
Submit the current member’s answers to a Payment Plan’s profile questions during the join flow. Creates or updates the member’s answers for the plan.
MUTATION
createProfileQuestionAnswers(input: CreateProfileQuestionAnswersInput!): CreateProfileQuestionAnswersPayloadArguments
input
required
Parameters for CreateProfileQuestionAnswers
clientMutationId
String
A unique identifier for the client performing the mutation.
errors
[String!]!
profileQuestionAnswers
The member's answers after submission.
Mutation
mutation CreateProfileQuestionAnswers($input: CreateProfileQuestionAnswersInput!) {
createProfileQuestionAnswers(input: $input) {
clientMutationId
errors
profileQuestionAnswers {
createdAt
id
member {
ambassadorLevel
ambassadorLevelId
avatarUrl
badges {
__typename
}
conversations {
__typename
}
customFieldResponses {
__typename
}
}
profileQuestion {
context
id
position
required
resourceId
text
}
resourceId
text
}
}
}Variables
{
"input": {
"answers": [
{
"profileQuestionId": "id"
}
],
"planId": "id"
}
}Response
{
"data": {
"createProfileQuestionAnswers": {
"clientMutationId": "string",
"errors": [
"string"
],
"profileQuestionAnswers": [
{
"createdAt": "value",
"id": "id",
"member": {
"ambassadorLevel": "string",
"ambassadorLevelId": 1,
"avatarUrl": "string",
"badges": [
{
"__typename": "Badge"
}
],
"conversations": {
"__typename": "PublicConversationConnection"
},
"customFieldResponses": {
"__typename": "MemberCustomFieldResponseConnection"
}
},
"profileQuestion": {
"context": "DEFAULT",
"id": "id",
"position": 1,
"required": true,
"resourceId": "id",
"text": "string"
},
"resourceId": "id",
"text": "string"
}
]
}
}
}