Reinstate Reseller
/admin/resellers/{membershipId}/reinstateLifts the reseller's suspension. One suspended for an overdue statement is suspended again when its statements are next settled, while one is still unpaid past its terms' autoSuspendAfterDays: extend or write off that statement first. A removed reseller stays removed, answered as it is.
Path Parameters
^([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 POST "https://example.com/admin/resellers/string/reinstate"{ "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" } ]}List Resellers GET
Every reseller of the store, its sub-resellers included: one with an upline buys through it. tierId names the tier of one of the store's own resellers, as ListTiers lists them; without one, it buys with no limits but may take no support action, trials included, unless its overrides allow it. A sub-reseller has no tier: it trades under its upline's policy, less the upline's monthly cap and approval threshold, with the overrides its upline set it, and every level above it must allow an action too. GetReseller answers the policy each one trades under.
Reinstate Resellers POST
Reinstates several resellers, each as ReinstateReseller would, one after another, and answers what became of each.
