- addPersonStakeholderInput
- addBusinessStakeholderInput
mutation UpdateAcceptorApplication($input: AcceptorApplicationUpdateInput!) {
updateAcceptorApplication(input: $input) {
acceptorApplication {
applicationStatus
stakeholders {
id
ownershipPercentage
... on BusinessStakeholderOutput {
businessName
}
... on PersonStakeholderOutput {
name {
firstName
lastName
}
}
}
errors {
... on Error {
message
__typename
}
}
}
}
}
{
"input": {
"id": "60c66576-0caf-4dd1-8c66-fccae049f0fd",
"stakeholders": [
{
"addBusinessStakeholderInput": {
"ownershipPercentage": 0.5,
"roles": ["CONTROL_PERSON", "GUARANTOR"],
"taxIdentificationNumber": {
"type": "TIN",
"value": "98-7654321"
},
"legalName": "Maple Street Coffee LLC",
"businessName": "Maple Street Coffee",
"legalAddress": {
"address1": "456 Maple Street",
"city": "Austin",
"countryCode": "USA",
"postalCode": "73301",
"state": "TX"
}
}
},
{
"addPersonStakeholderInput": {
"residentialAddress": {
"address1": "789 Cedar Ave",
"city": "Portland",
"countryCode": "USA",
"postalCode": "97201",
"state": "OR"
},
"birthDate": "1985-07-14",
"identificationNumber": {
"type": "SSN",
"value": "123-45-6789"
},
"name": {
"firstName": "Alex",
"lastName": "Chen"
},
"ownershipPercentage": 0.5,
"roles": ["CONTROL_PERSON", "GUARANTOR"]
}
}
]
}
}
{
"data": {
"updateAcceptorApplication": {
"acceptorApplication": {
"id": "60c66576-0caf-4dd1-8c66-fccae049f0fd",
"applicationStatus": "CREATED",
"stakeholders": [
{
"id": "fce88f89-2ba5-46c4-b99f-5000d71d71aa",
"ownershipPercentage": 0.5,
"name": {
"firstName": "Alex",
"lastName": "Chen"
}
},
{
"id": "fe24abaf-4e16-4526-b104-d1ad8d8b53be",
"ownershipPercentage": 0.5,
"businessName": "Maple Street Coffee"
}
]
}
}
}
}