get_offer
Retrieves full details for a single offer. Use theinclude parameter to fetch caps, targeting rules, payout structure, and affiliate-specific data.
Parameters:
Response fields:
Include:
caps — click, conversion, payout, and revenue budget limits and current consumption.
Include: targeting — geo restrictions, device rules, day-parting, and eligibility conditions.
Include: payout — payout tiers, events, and rules.
Include: affiliate — this affiliate’s approval status (approval_status) and visibility for the offer (requires affiliate_id). Treat the tracking_url include — not approval_status — as the authority on whether the partner can actually run the offer.
Include: tracking_url — the affiliate’s unique tracking link (requires affiliate_id).
Include: affiliates — paginated list of affiliates with their visibility and approval status for this offer.
To inspect the full nested field structure returned by each
include option, call get_entity_schema(type="offer") — it lists all available relationships and their field descriptions.list_offers
Lists offers with optional filters. Returns a paginated compact view. Filters:
Response envelope:
Per-row fields:
get_affiliate
Retrieves full details for a single affiliate. Use theinclude parameter to fetch activity metrics, users, offer access, tracking domains, and coupon codes.
Parameters:
Response fields:
Include:
activity — portal login frequency, API usage, 7-day click/conversion performance, and last active date.
Include: users — contact details (names, titles, emails) for the affiliate’s team.
Include: offers — paginated list of offers the affiliate can run, with visibility type and approval status.
To retrieve coupon codes for an affiliate, use
list_entities with type=coupon_code and filter by affiliate_id.list_affiliates
Lists affiliates with optional filters. Returns a paginated compact view. Filters:
Response envelope:
Per-row fields:
