Skip to main content

UpdateSponsorshipStatusInput

Defines the input for updating a sponsorship's status.

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

Fields

UpdateSponsorshipStatusInput.confirmationDate ● LocalDate scalar

The date the sponsorship was confirmed. Optional.

Will only be set when status set to CONFIRMED.

UpdateSponsorshipStatusInput.contactId ● ID! non-null scalar

The identifier of the contact.

UpdateSponsorshipStatusInput.eventId ● ID! non-null scalar

The identifier of the event.

UpdateSponsorshipStatusInput.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.

UpdateSponsorshipStatusInput.paymentStatus ● PaymentStatusInput! non-null enum

The new payment status for the sponsorship. Cannot be a canceled status.

UpdateSponsorshipStatusInput.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.

UpdateSponsorshipStatusInput.sponsorshipId ● ID! non-null scalar

The identifier of the sponsorship.

UpdateSponsorshipStatusInput.status ● SponsorshipStatusInput! non-null enum

The new status of the sponsorship.

Member Of

updateSponsorshipStatus mutation