Enrollment
POSTapi/membership/enroll
Create
Enroll a new customer
Request Body (Optional)
PartnerMemberIdRequiredstring
The member's id in the partner's system
EmailRequiredstring
The member's email
Format:"email"Phonestring
The member's phone
FirstNameRequiredstring
The member's first name
LastNamestring
The member's last name
StateRequiredstring
The member's state
Example:"CA"Maximum length: 30PaidMemberStartDateRequiredstring
The date the member's paid
Format:"date-time"PaidThroughDateRequiredstring
The last date the member's has paid
Format:"date-time"ProductsRequiredarray<string>
The products that the member is going to be enrolled in, provided by Harmonicft to the Partner
Example:["LP-500"]Value in: "LP-500" | "LP-750" | "LP-1000" | ""Header Parameters
Content-TypeRequiredstring
The content type
Example:"application/json"AuthorizationRequiredstring
The authorization header
Example:"Basic \<Base64 encoded username and password\>"| Status code | Description |
|---|---|
200 | Array of created enrollments, only showing created ones |
400 | Bad request, including fields that are invalid |
500 | Internal server error, including request id for support |
PUTapi/membership/enroll
Update
Update an enrollment with new values
Request Body (Optional)
UserIdRequiredstring
The ID of the enrolled user to look up
PartnerMemberIdstring
The member's id in the partner's system
Emailstring
The member's email
Format:"email"Phonestring
The member's phone
FirstNamestring
The member's first name
LastNamestring
The member's last name
Statestring
The member's state
Example:"CA"Maximum length: 30PaidMemberStartDatestring
The date the member's paid
Format:"date-time"PaidThroughDatestring
The last date the member's has paid
Format:"date-time"Productsarray<string>
The products that the member is going to be enrolled in, provided by Harmonicft to the Partner
Example:["LP-500"]Value in: "LP-500" | "LP-750" | "LP-1000" | ""Header Parameters
Content-TypeRequiredstring
The content type
Example:"application/json"AuthorizationRequiredstring
The authorization header
Example:"Basic \<Base64 encoded username and password\>"| Status code | Description |
|---|---|
200 | Array of created enrollments, only showing created ones |
400 | Bad request, including fields that are invalid |
500 | Internal server error, including request id for support |