Enrolls a member in the rewards network

This endpoint handles the process of enrolling a user in the rewards network by:

  1. Checking if the user is already enrolled
  2. If not enrolled, generating a unique member ID
  3. Sending the enrollment request to the rewards network service
  4. Storing the member ID in our database to track the enrollment

The flow handles several cases:

  • New member enrollment (201 Created)
  • Member reactivation (200 OK)
  • Already active member (409 Conflict)
  • Various error cases (400, 500)

Returns a success response with the member ID and status, or an appropriate error
if the enrollment fails at any step.

Language
Credentials
Bearer
URL
Click Try It! to start a request and see the response here!