curl -X GET "https://api.affonso.io/v1/marketplace/prg_abc123"
{
"success": true,
"data": {
"id": "prog_a1b2c3d4",
"name": "Acme SaaS",
"description": "The best project management tool for teams",
"tagline": "Manage projects effortlessly",
"category": "SaaS",
"default_promotion_url": "https://acme.com",
"logo_url": "https://cdn.affonso.io/logos/acme.png",
"access_mode": "public",
"currency": "USD",
"commission": {
"type": "COMMISSION",
"value": 30,
"is_percentage": true,
"apply_to": "ALL_PLANS",
"has_multiple_tiers": false
},
"terms": {
"cookie_lifetime_days": 60,
"payment_frequency": "monthly",
"payment_threshold": 50,
"payment_methods": ["paypal", "wise"],
"additional_payment_terms": "Payouts are processed within 10 business days."
},
"benefits": {
"coupon_codes": true,
"affiliate_links": true,
"manual_lead_submission": false,
"creative_assets": true,
"affiliate_manager": true,
"attribution_model": "last_touch",
"auto_approval": true,
"sub_affiliates": false,
"postback_tracking": true
},
"restrictions": {
"websites": true,
"social_marketing": true,
"organic_social": true,
"email_marketing": true,
"mobile_traffic": true,
"search_engine_marketing": false,
"organic_search": true,
"rebrokering": false,
"incent": false,
"brand_bidding": false,
"additional_restrictions": "No adult content or gambling sites"
}
}
}
Marketplace
Get Marketplace Program
Get details for a program listed in the Affonso marketplace
GET
/
v1
/
marketplace
/
{id}
curl -X GET "https://api.affonso.io/v1/marketplace/prg_abc123"
{
"success": true,
"data": {
"id": "prog_a1b2c3d4",
"name": "Acme SaaS",
"description": "The best project management tool for teams",
"tagline": "Manage projects effortlessly",
"category": "SaaS",
"default_promotion_url": "https://acme.com",
"logo_url": "https://cdn.affonso.io/logos/acme.png",
"access_mode": "public",
"currency": "USD",
"commission": {
"type": "COMMISSION",
"value": 30,
"is_percentage": true,
"apply_to": "ALL_PLANS",
"has_multiple_tiers": false
},
"terms": {
"cookie_lifetime_days": 60,
"payment_frequency": "monthly",
"payment_threshold": 50,
"payment_methods": ["paypal", "wise"],
"additional_payment_terms": "Payouts are processed within 10 business days."
},
"benefits": {
"coupon_codes": true,
"affiliate_links": true,
"manual_lead_submission": false,
"creative_assets": true,
"affiliate_manager": true,
"attribution_model": "last_touch",
"auto_approval": true,
"sub_affiliates": false,
"postback_tracking": true
},
"restrictions": {
"websites": true,
"social_marketing": true,
"organic_social": true,
"email_marketing": true,
"mobile_traffic": true,
"search_engine_marketing": false,
"organic_search": true,
"rebrokering": false,
"incent": false,
"brand_bidding": false,
"additional_restrictions": "No adult content or gambling sites"
}
}
}
Retrieve a single program that is listed in the marketplace by ID. Only programs that have been published to the Affonso marketplace are available through this endpoint. This endpoint is public and does not require authentication.
Path Parameters
string
required
The unique identifier of the program to retrieve.
Response
boolean
Always
true for successful responsesobject
The marketplace program object.
Show Data Object Properties
Show Data Object Properties
string
Unique encoded identifier for the program
string
Program name
string | null
Program description
string | null
Short tagline for the program
string | null
Program category
string | null
Canonical global default promotion URL from the program’s promotion URL configuration
string | null
URL to the program’s logo image
string
Program access mode:
public, private, or invitestring
Three-letter currency code (e.g.
USD, EUR)object | null
Commission details for the program’s default tier.
object | null
Program terms and conditions.
Show Terms Properties
Show Terms Properties
object
Features available to affiliates in this program.
Show Benefits Properties
Show Benefits Properties
boolean
Whether an active self-service coupon blueprint is configured
boolean
Whether affiliate links are enabled
boolean
Whether affiliates can submit leads manually
boolean
Whether at least one creative asset is available
boolean
Whether an affiliate support email is configured
string
Attribution model used by the program. Currently always
last_touchboolean
Whether anyone can join and be approved automatically. This is
true only for public programs; invite-only programs return falseboolean
Whether multi-level incentives are configured for at least one affiliate group
boolean
Whether postback tracking is enabled
object | null
Permitted affiliate promotion channels and additional restrictions, or
null if not configured.Show Restrictions Properties
Show Restrictions Properties
boolean
Whether website traffic is allowed
boolean
Whether paid social marketing is allowed
boolean
Whether organic social traffic is allowed
boolean
Whether email marketing is allowed
boolean
Whether mobile traffic is allowed
boolean
Whether paid search traffic is allowed
boolean
Whether organic search traffic is allowed
boolean
Whether rebrokering is allowed
boolean
Whether incentivized traffic is allowed
boolean
Whether brand bidding is allowed
string | null
Free-text additional restrictions
curl -X GET "https://api.affonso.io/v1/marketplace/prg_abc123"
{
"success": true,
"data": {
"id": "prog_a1b2c3d4",
"name": "Acme SaaS",
"description": "The best project management tool for teams",
"tagline": "Manage projects effortlessly",
"category": "SaaS",
"default_promotion_url": "https://acme.com",
"logo_url": "https://cdn.affonso.io/logos/acme.png",
"access_mode": "public",
"currency": "USD",
"commission": {
"type": "COMMISSION",
"value": 30,
"is_percentage": true,
"apply_to": "ALL_PLANS",
"has_multiple_tiers": false
},
"terms": {
"cookie_lifetime_days": 60,
"payment_frequency": "monthly",
"payment_threshold": 50,
"payment_methods": ["paypal", "wise"],
"additional_payment_terms": "Payouts are processed within 10 business days."
},
"benefits": {
"coupon_codes": true,
"affiliate_links": true,
"manual_lead_submission": false,
"creative_assets": true,
"affiliate_manager": true,
"attribution_model": "last_touch",
"auto_approval": true,
"sub_affiliates": false,
"postback_tracking": true
},
"restrictions": {
"websites": true,
"social_marketing": true,
"organic_social": true,
"email_marketing": true,
"mobile_traffic": true,
"search_engine_marketing": false,
"organic_search": true,
"rebrokering": false,
"incent": false,
"brand_bidding": false,
"additional_restrictions": "No adult content or gambling sites"
}
}
}
Was this page helpful?
⌘I
