Resellers API

Retrieve a complete list of all resellers in the network

Resellers

Resellers API

Access the complete list of all resellers in your network. View contact details, credit balances, and tier levels for every reseller account.

Full Network

All reseller accounts.

Complete Data

Contact and credit info.

Tier Overview

Level classifications.


Endpoint Overview

QUERY/graphql

Retrieve all resellers in the system with their complete profile information including credits and tier levels.

Authentication:Bearer Token
Required scopes:admin

GraphQL Query

query resellers {
  resellers {
    id
    email
    firstName
    lastName
    credit
    level
    phone
  }
}

HTTP Request:

curl -X POST https://api.orbnet.com/graphql \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_TOKEN" \
  -d '{
    "query": "query resellers { resellers { id email firstName lastName credit level phone } }"
  }'

Response

200Resellers Retrieved Successfully
{
  "data": {
    "resellers": [
      {
        "id": "101",
        "email": "gold.reseller@example.com",
        "firstName": "John",
        "lastName": "Smith",
        "credit": 15000.00,
        "level": "Gold",
        "phone": "+1-555-100-0001"
      },
      {
        "id": "102",
        "email": "silver.reseller@example.com",
        "firstName": "Jane",
        "lastName": "Doe",
        "credit": 5000.00,
        "level": "Silver",
        "phone": "+1-555-100-0002"
      },
      {
        "id": "103",
        "email": "bronze.reseller@example.com",
        "firstName": "Bob",
        "lastName": "Wilson",
        "credit": 1500.00,
        "level": "Bronze",
        "phone": "+1-555-100-0003"
      },
      {
        "id": "104",
        "email": "new.reseller@example.com",
        "firstName": "Alice",
        "lastName": "Johnson",
        "credit": 0.00,
        "level": "Bronze",
        "phone": null
      }
    ]
  }
}

Response Fields

idID!

Unique identifier for the reseller.

emailString!

Email address of the reseller.

firstNameString!

First name of the reseller.

lastNameString!

Last name of the reseller.

creditFloat!

Current credit balance.

levelString!

Reseller tier level.

phoneString

Contact phone number.


Use Cases

Admin Dashboard

Display all reseller accounts.

Credit Monitoring

Track balances across network.

Tier Analysis

Review level distribution.

Contact Management

Access reseller contacts.



Large Response

This endpoint returns all resellers. For networks with many resellers, consider implementing pagination on the client side or using specific reseller queries.

Add New Reseller

Expand your network by adding new reseller accounts.

Create Reseller