You need to use your Mintegral token to manage your offers. For more details, please check Token.
Through this guide you'll learn how to start or pause an offer.
https://ss-api.mintegral.com/api/open/v1/offer/status
PUT
PUT /api/open/v1/offer/status
HTTP/1.1 Host: ss-api.mintegral.com
Content-Type: application/json
{"offer_id": 123, "status": "RUNNING"}
Fields | Type | Explanations | Default Value | Examples |
---|---|---|---|---|
offer_id | int | Unique id for offer | — | 123 |
status | string | Offer status, including:"RUNNING" 、"STOPPED" |
— | "RUNNING" |
Fields | Type | Explanations |
---|---|---|
code | int | 200 code, is success. Others, are fail. |
msg | string | If success, return to "success". If fail, return to detailed wrong info. |
data | json | If success, return plain object. If fail, return to detailed wrong info. |
{
"msg": "success",
"code": 200,
"data": {}
}