orders Query
Arguments
#
hostContext
If account is a host, select whether to include ALL, INTERNAL or HOSTED accounts. When set (and hostedAccounts is not provided), this will automatically include children accounts (events/projects) of the selected accounts. If hostedAccounts is also provided, use includeChildrenAccounts to control children account inclusion.
includeChildrenAccounts
Include orders from children events/projects. Only relevant when hostedAccounts is provided. When hostContext is set without hostedAccounts , children accounts are automatically included regardless of this parameter.
pausedBy
Only return orders that were paused by these roles. status must be set to PAUSED.
paymentMethod
Only return orders that were paid with this payment method. Must be an admin of the account owning the payment method.
paymentMethodService
Only return orders that match these payment method services
manualPaymentProvider
Only return orders that used this manual payment provider.
includeIncognito
Whether to include incognito orders. Must be admin or root. Only with filter null or OUTGOING.
frequency
Use this field to filter orders on their frequency (ONETIME, MONTHLY or YEARLY)
orderBy = { "field": "CREATED_AT", "direction": "DESC" }
The order of results
tier
onlySubscriptions
Only returns orders that have a subscription (monthly/yearly). Don't use together with frequency.
onlyActiveSubscriptions
Same as onlySubscriptions, but returns only orders with active subscriptions
expectedFundsFilter
oppositeAccount
Return only orders made from/to that opposite account (only works when orders are already filtered with a main account)
createdBy
Return only orders created by these users. Limited to 1000 users at a time.
Response
#
Returns OrderCollection !.
Example
#
order
organization
