Tools
This is a reference catalogue. Tools cannot be configured or run from this page.
Create Login Token
MEMBERSPOT_CREATE_LOGIN_TOKENTool to generate a one-hour login token for a user. Use when you need to auto-login a user by their UID (token expires after one hour).
Grant user offer by email
MEMBERSPOT_GRANT_USER_OFFER_BY_MAILTool to grant a user access to an offer by email. If the user does not exist, a new user is created automatically.
Set offer expiration
MEMBERSPOT_SET_OFFER_EXPIRESTool to set or remove the expiration date for an offer for a user. Use when you need to grant time-limited access to an offer or remove time limits from an existing offer. When no value is provided for expiresAt, the offer expiration will be removed.
Set order state
MEMBERSPOT_SET_ORDER_STATEManage a user's order-based offer access in Memberspot using their email and order ID. Set the offer active to grant access or inactive to revoke it; omit the active state to delete the offer association. If the response does not include an active state, the returned state is false.
Set user offer state
MEMBERSPOT_SET_USER_OFFER_STATETool to revoke or set the state of a specific offer for a user. Use after confirming whether the user should gain or lose access.