novinzodevelopers
Your store's APIApps referenceResellers

Cancel Invites

POST/admin/invites/cancel

Cancels several invites, each as CancelInvite would, one after another, and answers what became of each.

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

inviteIds*array<>
Items1 <= items <= 25

Response Body

application/json

application/json

application/json

curl -X POST "https://example.com/admin/invites/cancel" \  -H "Content-Type: application/json" \  -d '{    "inviteIds": [      "string"    ]  }'
[  {    "_tag": "Done",    "id": "string",    "value": {      "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"    }  }]