Magidoc

CreateSponsorshipInput
Input Object

Autogenerated input type of CreateSponsorship

Fields

#

amount

The amount to pay to the sponsorable in US dollars. Required if a tierId is not specified. Valid values: 1-12000.

clientMutationId

A unique identifier for the client performing the mutation.

isRecurring

Whether the sponsorship should happen monthly/yearly or just this one time. Required if a tierId is not specified.

privacyLevel

Specify whether others should be able to see that the sponsor is sponsoring the sponsorable. Public visibility still does not reveal which tier is used.

Default: "PUBLIC"

receiveEmails

Whether the sponsor should receive email updates from the sponsorable.

Default: true

sponsorId

The ID of the user or organization who is acting as the sponsor, paying for the sponsorship. Required if sponsorLogin is not given.

sponsorLogin

The username of the user or organization who is acting as the sponsor, paying for the sponsorship. Required if sponsorId is not given.

sponsorableId

The ID of the user or organization who is receiving the sponsorship. Required if sponsorableLogin is not given.

sponsorableLogin

The username of the user or organization who is receiving the sponsorship. Required if sponsorableId is not given.

tierId

The ID of one of sponsorable's existing tiers to sponsor at. Required if amount is not specified.

Usages

#

References

#

  • Argument input of field createSponsorship from type Mutation