Api Model:Subscription

From HasOffers

Required Parameters

  • id
    • Values: (int)
  • affiliate_id - Id of affiliate.
    • Values: (int)
  • offer_id - Id of offer.
    • Values: (int)
  • payout - Amount to be paid to affiliate for conversion.
    • Values: (float, 2 decimal max)
  • revenue - Amount generated by offer owed to network by advertiser.
    • Values: (float, 2 decimal max)
  • customer_id - Id of customer.
    • Values: (int)
  • provided_id - Reference customer id.
    • Values: (string)
  • customer_list_id - Id of customer list.
    • Values: (int)
  • start_date - Start date for the subscription.
    • Values: (date)
  • end_date - End date for the subscription.
    • Values: (date)

Other Optional Parameters

  • payout_type - payout_type of Offer.
    • Values: cpa_flat, cpa_percentage, cpa_both, cpc, cpm
  • revenue_type - revenue_type of Offer.
    • Values: cpa_flat, cpa_percentage, cpa_both, cpc, cpm
  • currency - 3 letter Currency code.
    • Values: (string)
  • sale_amount - Sale amount generated for advertiser by offer.
    • Values: (float, 2 decimal max)
  • affiliate_manager_id - Id of employee managing affiliate.
    • Values: (int)
  • source - Affiliate source passed in by affiliate when session was started.
    • Values: (string)
  • affiliate_info1 - Affiliate sub 1 passed in by affiliate when session was started.
    • Values: (string)
  • affiliate_info2 - Affiliate sub 2 passed in by affiliate when session was started.
    • Values: (string)
  • affiliate_info3 - Affiliate sub 3 passed in by affiliate when session was started..
    • Values: (string)
  • affiliate_info4 - Affiliate sub 5 passed in by affiliate when session was started.
    • Values: (string)
  • affiliate_info5 - Affiliate sub 6 passed in by affiliate when session was started.
    • Values: (string)
  • created - Date / time object created. Default today.
    • Values: (timestamp)
  • refer - Referral URL where session was started.
    • Values: (string)
  • pixel_refer - Referral URL for the conversion pixel.
    • Values: (string)
  • status - Status of conversion. Default 'active'.
    • Values: active, deleted
  • advertiser_info - Field for storing custom advertiser identifiers or other information. Limited to 255 characters
    • Values: (string)

 
Email this page to a friend or co-worker