---
title: "GET /admin/orders"
method: GET
path: "/admin/orders"
tags: ["orders"]
---

# GET /admin/orders

`GET /admin/orders`

Retrieves list of orders for the affiliates.

## Query parameters

- `id` string
- `number` string
- `customer_email` string
- `affiliate_id` string
- `status` 'new' | 'approved' | 'rejected'
- `since_id` string
- `created_at_max` string
- `created_at_min` string
- `is_new_customer` number
- `is_subscription` number
- `is_subscription_renewal` number
- `fields` string[], required

## Response `200`

- object
  - `orders` Order[]
    - `id` integer — Order ID
    - `total` number — Order total as in order receipt
    - `subtotal` number — The amount on which commission is calculated
    - `affiliate_id` number — ID of the affiliate who brought the order
    - `commission` number — Commission given to affiliate for this order
    - `status` 'approved' | 'rejected'
    - `data` object — RAW ORDER DATA. Only for advanced use cases
    - `created` string — The date when order was created

## Other responses

- `403` — Not authenticated

---

[API](https://skmtc.dev/goaffpro/apis/goaffpro-api.md) · [All operations](https://skmtc.dev/goaffpro/apis/goaffpro-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/goaffpro/goaffpro-api/revisions/832de9c7d0ae/schema)
