Update member's program

Use the updateMemberProgram to update the program assigned to a member.

Required Arguments

Argument

Type

Description

programId

ID

memberId

ID

Available Fields

The following fields will be displayed in the response:

Field Name

Type

Description

success

string

True if the user has program has been updated successfully. Otherwise, False

message

string

Description of the result

Example

mutation {
  updateMemberProgram(input: {
            memberId: "TWVtYmVyOjBhMTA3YWM5LTg4Y2EtNGJkYy1iOTdhLWIyODE4NDA1ODVjZA==",
            programId: "UHJvZ3JhbTo0NDIzYTgwNy0wNGFiLTQwOGItODk1Mi00YWU5NzA5NmQ2YjQ="
  }) {
    success
    message
  }
}

Last updated