Reseller API
Retrieve detailed information about a specific reseller by their ID
Reseller API
Access detailed information about a specific reseller. View contact details, credit balance, level tier, and account status.
Profile Details
Complete reseller info.
Credit Balance
Current credit standing.
Level Tier
Reseller classification.
Endpoint Overview
/graphqlRetrieve complete information about a specific reseller including contact details, credit balance, and tier level.
Request Parameters
idInt!RequiredThe unique identifier of the reseller to retrieve.
GraphQL Query
query reseller($id: Int!) {
reseller(id: $id) {
id
email
firstName
lastName
credit
level
phone
}
}Variables:
{
"id": 101
}HTTP Request:
curl -X POST https://api.orbnet.com/graphql \
-H "Content-Type: application/json" \
-H "Authorization: Bearer YOUR_TOKEN" \
-d '{
"query": "query reseller($id: Int!) { reseller(id: $id) { id email firstName lastName credit level phone } }",
"variables": {
"id": 101
}
}'Response
{
"data": {
"reseller": {
"id": "101",
"email": "reseller@example.com",
"firstName": "John",
"lastName": "Smith",
"credit": 5000.00,
"level": "Gold",
"phone": "+1-555-123-4567"
}
}
}{
"errors": [
{
"message": "Reseller not found",
"path": ["reseller"],
"extensions": {
"code": "NOT_FOUND"
}
}
],
"data": null
}Response Fields
idID!Unique identifier for the reseller.
emailString!Email address of the reseller account.
firstNameString!First name of the reseller.
lastNameString!Last name of the reseller.
creditFloat!Current credit balance available.
levelString!Reseller tier level (Bronze, Silver, Gold, etc.).
phoneStringContact phone number.
Reseller Information
Contact Details
Email and phone information.
Credit Status
Available balance for operations.
Tier Level
Discount tier classification.
Account Identity
Name and unique ID.
Related Endpoints
Reseller Tiers
The level field indicates the reseller's tier which determines their discount percentage. Higher tiers receive better rates on credit purchases.
Manage Reseller Credit
Add credits to the reseller's account for user provisioning.