Sub-resellers

List a sub-reseller's sales

GET
/v1/sub-resellers/{id}/sales

Every purchase and renewal the sub-reseller made, newest first - the same shape as your own GET /sales, minus customerId: a sub-reseller's own customers are not this account's to join.

Authorization

apiKey
headerAuthorizationBearer <token>

An API key from the Developers page. rhq_test_ keys reach the sandbox, rhq_live_ keys the live side.

Path Parameters

id*string

Query Parameters

limit?integer

How many to return

Range1 <= value <= 100
Default25
cursor?string

nextCursor from the previous page

Response Body

Success

application/json
  1. response

Success

data*array<>
nextCursor*|

Pass as cursor for the next page. null on the last page

total*integer

How many match across every page

Range0 <= value
curl -X GET "https://example.com/v1/sub-resellers/rsl_01K6XJ4Q8ZT3M9R5V2B7WDHNCA/sales"
{  "data": [    {      "id": "sal_01K6XJ4Q8ZT3M9R5V2B7WDHNCA",      "product": "number",      "action": "new",      "reference": {        "type": "hold",        "id": "string"      },      "description": "northwind-telecom.com, 2 years",      "term": "30d",      "quantity": 2,      "unitCost": 1440,      "cost": 1440,      "unitPrice": 1440,      "price": 1440,      "currency": "USD",      "rate": 1000000,      "priceUsd": 1440,      "priceListId": "prl_01K6XJ4Q8ZT3M9R5V2B7WDHNCA",      "ruleId": "prr_01K6XJ4Q8ZT3M9R5V2B7WDHNCA",      "level": "override",      "floored": true,      "creditOf": "sal_01K6XJ4Q8ZT3M9R5V2B7WDHNCA",      "invoiceId": "inv_01K6XJ4Q8ZT3M9R5V2B7WDHNCA",      "createdAt": "2026-10-07T11:04:31.000Z"    }  ],  "nextCursor": null,  "total": 1}