updateExternalReferral
Update the statuses, client-specific params and note of an external referral.
status is the status of the party held in this Kraken, and externalStatus is the status of the party held in the external system. Give at least one of status, externalStatus, params or note.
Status transitions can only move forward: - Pending → Paid (allowed) - Pending → Cancelled (allowed) - Paid → any (not allowed) - Cancelled → any (not allowed)
An external status that hasn't been recorded can be set to any status.
Each given param replaces its current value, and params that are left out or null keep their current values.
Arguments
Input fields for updating the statuses, params and note of an external referral.
Examples
The example data in the variables and responses below are autogenerated values designed to resemble real inputs. They do not represent actual customer data, and in some cases may require additional validation.
mutation UpdateExternalReferral($input: UpdateExternalReferralInput!) {
updateExternalReferral(input: $input) {
externalReferral {
...ExternalReferralTypeFragment
}
}
}
Variables
{
"input": UpdateExternalReferralInput
}
Response
{
"data": {
"updateExternalReferral": {
"externalReferral": ExternalReferralType
}
}
}