Skip to main content

RestoreSponsorshipInput

Define the input for restoring a sponsorship.

input RestoreSponsorshipInput {
contactId: ID!
eventId: ID!
payingContactId: ID
paymentStatus: PaymentStatusInput!
splitChargeAmount: Float
sponsorshipId: ID!
status: SponsorshipStatusInput!
}

Fields

RestoreSponsorshipInput.contactId ● ID! non-null scalar

The identifier of the contact the sponsorship is associated with.

RestoreSponsorshipInput.eventId ● ID! non-null scalar

The identifier of the event the sponsorship is associated with.

RestoreSponsorshipInput.payingContactId ● ID scalar

The identifier of the contact who pays for the item or who pays for part of the charge. Optional. If specified the paying contact must be different from the contact who owns the item and the record's payment status must be CHARGE_TO_ANOTHER_CONTACT, CANCELED_CHARGE_TO_ANOTHER_CONTACT or SPLIT_CHARGE.

RestoreSponsorshipInput.paymentStatus ● PaymentStatusInput! non-null enum

The new payment status for the sponsorship.

RestoreSponsorshipInput.splitChargeAmount ● Float scalar

The amount that the other contact is paying when the paymentStatus is SPLIT_CHARGE. Optional.

Value is required if paymentStatus is set to SPLIT_CHARGE. Must be greater than 0.

RestoreSponsorshipInput.sponsorshipId ● ID! non-null scalar

The identifier of the sponsorship.

RestoreSponsorshipInput.status ● SponsorshipStatusInput! non-null enum

The status of the sponsorship.

Member Of

restoreSponsorship mutation