novinzodevelopers
Your store's APIApps referenceResellers

Create Invite

POST/admin/invites

Invites 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.

email*string
tierId*|null

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"}