INPUT_OBJECT

OrderCreateInput

Input to create a new order

link GraphQL Schema definition

  • input OrderCreateInput {
  • quantity: Int!
  • # The contribution amount for 1 quantity, without platform contribution and taxes
  • amount: AmountInput!
  • frequency: ContributionFrequency!
  • # The profile making the order. Can be null for guest contributions.
  • fromAccount: AccountReferenceInput
  • # The profile you want to contribute to
  • toAccount: AccountReferenceInput!
  • # Use this when fromAccount is null to pass the guest info
  • guestInfo: GuestInfoInput
  • # The payment method used for this order
  • paymentMethod: PaymentMethodInput
  • # Platform contribution attached to this order
  • platformContributionAmount: AmountInput
  • # Use this field to set the taxes associated to this order
  • taxes: [OrderTaxInput]
  • # The tier you are contributing to
  • tier: TierReferenceInput
  • # If the tier has some "customFields", use this field to set their values
  • customData: JSON
  • }