Magidoc

OrderCreateInput
Input Object

Input to create a new order

Fields

#

amount

Non-null

The contribution amount for 1 quantity, without platform contribution and taxes

context

Some context about how this order was created

customData

If the tier has some "customFields", use this field to set their values

data

Data related to this order

frequency

Non-null

fromAccount

The profile making the order. Can be null for guest contributions.

fromAccountInfo

Additional information about the contributing profile

guestInfo

Use this when fromAccount is null to pass the guest info

isBalanceTransfer

Whether this is transferring the remaining balance from a project/event/collective

paymentMethod

The payment method used for this order

platformTipAmount

Platform tip attached to this order

quantity

Non-null

Default: 1

tags

Tags associated to the order

tax

The tax to apply to the order

tier

The tier you are contributing to

toAccount

Non-null

The profile you want to contribute to

Usages

#

References

#

  • Argument order of field createOrder from type Mutation