Overview

Members that lapse and want to renew may forget their membership information (especially if it's been awhile since they were active) or they may simply find it quicker and easier to purchase a new membership. To help promote renewal to retain their original membership number, we've created a new API to enable you to check if an email address provided during checkout is associated to a membership and if the member is eligible to renew. This API is ideal for a guest checkout flow of a NEW membership purchase. If they are a member and eligible, you can promote them to renew (e.g. by emailing their membership information with a link to renew).


Additional helpful information:


API


GET /v2/b2c/membership/exists?email=janeDoe@gmail.com


Example


Request

curl --location --request GET 'https://sandX-api.acmeticketing.net/v2/b2c/membership/exists?email=jandeDoe%40gmail.com' \
--header 'x-b2c-tenant-id: 123' \
--header 'x-acme-browser-ip: 255.255.255.255' \
--header 'x-acme-api-key: a4c5cfd307834890a6e1e09eb9e11b4d' \
Generic


Response

{
	"exists": true,
	"canRenew": true
}
Generic



Note: Special characters such as '+' must be encoded. 

For example: janeDoe+family@gmail.com › The request would look as follows:


curl --location 'https://sand7-api.acmeticketing.net/v2/b2c/membership/exists?email=janeDoe%2Bfamily%40gmail.com' \
--header 'x-b2c-tenant-id: 123' \
--header 'x-acme-browser-ip: 255.255.255.255' \
--header 'x-acme-api-key: a4c5cfd307834890a6e1e09eb9e11b4d' \
Generic