organization

Get All Referral Orders

Get all orders with referral codes applied for an organization.

Returns a list of orders with:

  • buyer_name: Name of the customer who placed the order
  • event_name: Name of the event
  • order_number: Unique order number
  • total_tickets_count: Total number of tickets in the order
  • total_order_amount: Order amount without service fees
  • total_commission_earned: Commission earned from this order
  • referral_code_name: Referral code used for the order

Query Parameters:

  • search: Search by order_number, referral_code_name, or buyer_name
  • sort_by: Sort options:
    • NEWEST - Most recent orders first (default)
    • OLDEST - Oldest orders first
get/organization/referral-orders/{organization_id}/

Path parameters

organization_idinteger required

Query parameters

pageinteger
page_sizeinteger
searchstring nullable
sort_bystring nullable
yearstring nullable
monthstring nullable
datestring nullable
start_datestring nullable
end_datestring nullable
week_numberstring nullable
is_downloadboolean nullable
file_typestring nullable

Response

Successful Response

{"stackTrail":"paths:/organization/referral-orders/{organization_id}/:get:responses:200:content:application/json:schema","oasType":"schema","type":"unknown"}

Changes

No recorded changes to this endpoint across all 1 revision of this API.