Reject a membership application
Reject a Pending - New application; the person stays in your database as a contact.
POST https://cotlet.dev/api/v1/wild-apricot/contacts/{contact_id}/membership-application/reject
Selects Reject on the Membership tab. Wild Apricot keeps the record as a contact. For a paid application it cancels the application, unsettles the payment and voids the invoice; it does not refund, so the response names the payer and the amount. For an unpaid application the tool voids and deletes the invoice, then cancels. Needs a full administrator or a membership manager. By default you confirm each call; you can switch that off for this tool.
Parameters
| Name | Type | Description |
|---|---|---|
| contact_id integer required | integer | Contact ID from list_contacts. |
Request
curl -X POST https://cotlet.dev/api/v1/wild-apricot/contacts/1/membership-application/reject \
-H "Authorization: Bearer $COTLET_API_KEY" result = client.call("wild-apricot", "reject_membership_application", {"contact_id":1}) const result = await cotlet.call('wild-apricot', 'reject_membership_application', {"contact_id":1}); cotlet call wild-apricot reject_membership_application --data '{"contact_id":1}' Example response
{
"contact_id": 48377,
"name": "Promo Account",
"status": "rejected",
"invoice": "voided",
"refund_due": null
}