Create Invite
/admin/invitesInvites an email to resell for the store and emails it a link to the partner area when the store granted emails:send; email says what became of that email. The token and link, the dashboard URL that opens the invite, are also shown once for the seller to share, and the invite appears in the partner area of the account that verified this email.
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
application/json
application/json
curl -X POST "https://example.com/admin/invites" \ -H "Content-Type: application/json" \ -d '{ "email": "string", "tierId": "string" }'{ "invite": { "id": "string", "email": "string", "tierId": "string", "terms": { "creditLimitMinor": 0, "paymentTermsDays": 0, "billingPeriod": "weekly", "graceDays": 0, "autoSuspendAfterDays": 1 }, "status": "pending", "expiresAt": "string", "createdAt": "string", "decidedAt": "string", "membershipId": "string" }, "token": "string", "link": "string", "email": "queued"}Cancel Invites POST
Cancels several invites, each as CancelInvite would, one after another, and answers what became of each.
Get Reseller GET
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.
