Update an individual onboarding
Deprecated
This page documents the legacy onboarding API. It is preserved as a read-only reference. Refer to account onboarding enhancements for the current v2 API.
Update individual onboardings using the API.
Prerequisites
- You must have a project access token.
- The onboarding status must be
Ongoing(valid or invalid).
Guide
To update an individual onboarding, add an account name.
- First, retrieve the ID for the onboarding you need to update.
- Call the
updateIndividualOnboardingmutation. - Enter the onboarding ID retrieved in step 1.
- Check the box for
accountName, then add an account name (example: MyBrand). - Add desired messages to the success payload, either for validation or in case of rejection.
Mutation
Open in API Explorermutation UpdateIndividualOnboarding {
updateIndividualOnboarding(
input: {
onboardingId: "$ONBOARDING_ID"
accountName: "Personal account"
}
) {
... on ForbiddenRejection {
__typename
message
}
... on InternalErrorRejection {
__typename
message
}
... on UpdateIndividualOnboardingSuccessPayload {
__typename
onboarding {
accountName
statusInfo {
status
}
}
}
... on ValidationRejection {
__typename
message
fields {
message
}
}
}
}
Payload
{
"data": {
"updateIndividualOnboarding": {
"__typename": "UpdateIndividualOnboardingSuccessPayload",
"onboarding": {
"accountName": "MyBrand",
"statusInfo": {
"status": "Valid"
}
}
}
}
}