novinzodevelopers
Your store's APIApps referenceResellers

Get Reseller

GET/admin/resellers/{membershipId}

One reseller, with effectivePolicy: what it trades under, its tier's policy (or its upline's, for a sub-reseller) with its overrides on top, each override replacing that one field. An action an upline's policy refuses is refused to it too.

Path Parameters

membershipId*string
Match^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$

Response Body

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/admin/resellers/string"
{  "id": "string",  "account": {    "id": "string",    "displayName": "string"  },  "upline": {    "membershipId": "string",    "displayName": "string"  },  "depth": 1,  "subResellerCount": -9007199254740991,  "status": "active",  "suspendedReason": "seller",  "tierId": "string",  "terms": {    "creditLimitMinor": 0,    "paymentTermsDays": 0,    "billingPeriod": "weekly",    "graceDays": 0,    "autoSuspendAfterDays": 1  },  "balance": {    "balanceMinor": -9007199254740991,    "creditLimitMinor": 0,    "availableMinor": -9007199254740991,    "overdue": true,    "purchasesBlocked": true  },  "createdAt": "string",  "suspendedAt": "string",  "commissionBps": 0,  "overrides": {    "allowedActions": [      "hwid_reset"    ],    "quotas": [      {        "action": "hwid_reset",        "limit": 0,        "period": "day"      }    ],    "maxKeysPerOrder": 1,    "monthlyPurchaseCapMinor": 0,    "approvalThresholdMinor": 0,    "hwidResetOverageMinor": 0,    "extendPricing": "free",    "mayInviteSubResellers": true,    "maxSubResellers": 0,    "subResellerPayLaterLimitMinor": 0  },  "notes": "string",  "effectivePolicy": {    "allowedActions": [      "hwid_reset"    ],    "quotas": [      {        "action": "hwid_reset",        "limit": 0,        "period": "day"      }    ],    "maxKeysPerOrder": 1,    "monthlyPurchaseCapMinor": 0,    "approvalThresholdMinor": 0,    "hwidResetOverageMinor": 0,    "extendPricing": "free",    "mayInviteSubResellers": true,    "maxSubResellers": 0,    "subResellerPayLaterLimitMinor": 0  },  "members": [    {      "email": "string",      "role": "owner"    }  ]}