Retrieve Account Affiliate Program
Changed onRetrieves the account's affiliate program. It holds the instructions for its affiliates, its affiliate application and the product it features for affiliates. This endpoint needs no authentication. To change the program, update the affiliate_program key of the account's preferences. To turn affiliates on or off, set global_affiliate_status and member_affiliate_status on each product.
Request
- Base URLhttps://api.whop.com/api/v1
- Authnone required
Path parameters
The account ID, prefixed biz_.
Headers
Pins the request to a dated API version.
Response
affiliate program retrieved
Whether a person must apply and get approval to become an affiliate of the account.
The product the account features for affiliates, prefixed prod_. null when none is featured.
The instructions the account shows its affiliates on how to promote it. null when none are set.
Example response
{
"application_questions": [
{
"field_type": "text",
"id": "field_xxxxxxxxxxxxxx",
"name": "Where do you post?",
"required": true
}
],
"application_required": true,
"featured_product_id": "prod_xxxxxxxxxxxxxx",
"instructions": "Share your link on your socials."
}Changes
- info
endpoint added
- info