> ## Documentation Index
> Fetch the complete documentation index at: https://docs.mightynetworks.com/llms.txt
> Use this file to discover all available pages before exploring further.

# 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!): UpdatePaymentPlanProfileQuestionsPayload`

## Arguments

**`input`**: `UpdatePaymentPlanProfileQuestionsInput!` (required)

Parameters for UpdatePaymentPlanProfileQuestions

## Returns

`UpdatePaymentPlanProfileQuestionsPayload`

**`clientMutationId`**: `String`

A unique identifier for the client performing the mutation.

---

**`errors`**: `[String!]!`

---

**`profileQuestions`**: `[ProfileQuestion!]`

The plan's questions after the update.

## Examples

```graphql Mutation
mutation UpdatePaymentPlanProfileQuestions($input: UpdatePaymentPlanProfileQuestionsInput!) {
  updatePaymentPlanProfileQuestions(input: $input) {
    clientMutationId
    errors
    profileQuestions {
      context
      id
      position
      required
      resourceId
      text
    }
  }
}
```

```json Variables
{
  "input": {
    "planId": "id",
    "questions": [
      {
        "context": "DEFAULT",
        "text": "string"
      }
    ]
  }
}
```

```json Response
{
  "data": {
    "updatePaymentPlanProfileQuestions": {
      "clientMutationId": "string",
      "errors": [
        "string"
      ],
      "profileQuestions": [
        {
          "context": "DEFAULT",
          "id": "id",
          "position": 1,
          "required": true,
          "resourceId": "id",
          "text": "string"
        }
      ]
    }
  }
}
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.