Seamlessly enroll users in promotions to unlock exclusive benefits with a single API call.
Note: This endpoint is not yet accessible and may be subject to change.
The Create Promotion Enrollment endpoint allows you to enroll a user into an existing promotion by making a request to the /v2/promotions endpoint. This operation associates a user, identified by their access token, with a specific promotion.To enroll a user in a promotion, send a POST request to the /v2/promotions endpoint with the required parameters in the request body.
Here’s an example request:
Copy
Ask AI
// POST /v2/promotions{ "promotion_id": "partner_promotion_slug", "user_access_token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9..."}
Upon successful enrollment, the endpoint returns a JSON response containing the enrollment details.