novinzodevelopers
Your store's APIApps referenceResellers

Suspend Reseller

POST/admin/resellers/{membershipId}/suspend

Blocks the reseller's partner area and API in this store. With revokeUnusedKeys, their unused keys are revoked at the provider and refunded per the store's refund policy.

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})$

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

revokeUnusedKeys*boolean
reason*string|null

Response Body

application/json

application/json

application/json

application/json

curl -X POST "https://example.com/admin/resellers/string/suspend" \  -H "Content-Type: application/json" \  -d '{    "revokeUnusedKeys": true,    "reason": "string"  }'
{  "membership": {    "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"  },  "revokedKeys": -9007199254740991,  "failedRevocations": -9007199254740991}