setOfferTierPayoutInfo
1.1.1 Summary
Set offer payout values for tiers.1.1.2 Request
Request Method: POSTParameters:
Parameter | Description | Type | Data Range |
key |
Network API Key; *Required |
string |
POST Parameters:
Parameter | Description | Type | Data Range |
id |
Offer ID *Required |
Int | Single Value |
enable_payout_tier |
Enable/Disable Payout Tiers for the Offer Tier_payout is not required when the value is ‘0’ |
int |
1: enable 0: disable |
tier_payout |
A pair of Tier ID and payout value Use colon to separateTier ID and Payout; and then use comma to separate different Tiers. Example: “1:0.5,2:0.8” means that the Tier that ID equals 1, its Offer Payout value is 0.5; a Tier that ID equals 2, its Offer Payout value is 0.8 |
String |
1.1.3 Response
Header:
HTTP Status | Object | Description | Error Code |
202 | Success | 0 | |
400 | Parameter | Invalid Parameter | 63XX |
Content Format: JSON
1.1.4 Example
Sample Request URL:http://{Your_Network_Domain}/api/v1/setOfferTierPayoutInfo?key=603E3F0E3266
(POST DATA)
Response sample: Same as API “getOfferById”.
Close All
API V3
API V2
-
User - Network
-
User - Affiliate
-
Offer
-
Report
-
Dictionary
API V1 (DEPRECATED)