orders

GET /admin/orders

Retrieves list of orders for the affiliates.

Request

  • Base URL
    https://api.goaffpro.com/v1
  • URL
    https://api.goaffpro.com/v1/admin/orders
  • Auth
    API key in header x-goaffpro-access-token

Query parameters

idstring

Retrieve only the orders specified by a comma-separated list of order IDs

numberstring

Retrieve only the orders specified by a comma-separated list of order numbers

customer_emailstring

Retrieve only the orders matching the customer email address

affiliate_idstring

Retrieve only the orders specified by a comma-separated list of Affiliate IDs

status'new' | 'approved' | 'rejected'

Retrieve only orders specified by a comma-separated list of their approval status

since_idstring

Show orders after the specified order ID

created_at_maxstring

Show orders created at or before date (format: Sun Jul 26 2019 12:10:07 GMT+0530)

created_at_minstring

Show orders created at or after date (format: Sun Jul 26 2019 12:10:07 GMT+0530)

is_new_customernumber

Shows orders where the customer is a new customer. 1 = new customer, 0 = old customer

is_subscriptionnumber

Shows orders where order is a subscription order. 1= subscription order, 0 = not a subscription order

is_subscription_renewalnumber

Shows orders where order is a subscription renewal. 1= subscription renewal order, 0 = not a subscription renewal order

fieldsstring[] required

Comma separated list of fields to return

Limit number of results

Response

Example response

{
  "orders": [
    {
      "id": 1,
      "affiliate_id": 1,
      "total": 100,
      "subtotal": 90,
      "commission": 10,
      "status": "approved",
      "created": "Tue Nov 03 2026 07:14:03 GMT+0100 (Central European Standard Time)"
    }
  ]
}

Changes

No recorded changes to this operation across all 7 revisions of this API.