SignupTokens
Create a SignupToken
Use this endpoint to create a new SignupToken. The token is bound to a MembershipType and optionally to a non-default MembershipRate. You can pre-populate the customer's name and email, and cap how many times the token can be used.
post/customers/signup-tokens
Request body
Example request
{
"membership_type_id": "000000-000000-000000-000000",
"membership_rate_id": "000000-000000-000000-000000",
"start_date": "2021-02-21",
"end_date": "2022-02-21",
"duration": "P1M",
"max_uses": 1,
"first_name": "Dan",
"last_name": "Johnson",
"email": "dan.johnson@example.com"
}Response
The signup token was successfully retrieved or updated.
Example response
{
"data": {
"id": "000000-000000-000000-000000",
"membership_type_id": "000000-000000-000000-000000",
"membership_rate_id": "000000-000000-000000-000000",
"start_date": "2021-02-21",
"end_date": "2022-02-21",
"duration": "P1M",
"first_name": "Dan",
"email": "dan@try.be"
}
}Changes
No recorded changes to this endpoint across all 1 revision of this API.