StriseConnect
Mutations

privatePersonUpsert

Creates a private person, enriching their data from registries. When the team already has a person with the same NIN, updates that person instead and returns it. Fields left empty keep their stored values, and birthDate and birthYear are replaced together; registry data is refreshed on every call; portfolio status, monitoring, assignees, reviews and custom risk fields are not changed.

mutation PrivatePersonUpsert($where: PrivatePersonCreateInput!) {
  privatePersonUpsert(where: $where) {
    success
    person {
      id
      name
    }
  }
}
input PrivatePersonCreateInput {
  name: String!
  nin: String!
  country: CountryCode!
  birthDate: Date
  birthYear: Year
  gender: Gender
  address: [AddressInput!]!
  citizenship: CountryCode
}

Arguments

where PrivatePersonCreateInput! non-null input

PrivatePersonCreateInput!

Type

PrivatePersonPayload object

PrivatePersonPayload The payload for a PrivatePerson mutation.

Response Fields

success Boolean! non-null scalar

Boolean!

person PrivatePerson object

PrivatePerson

On this page