Skip to content

Update Promote Status For Offers ​

PS: You need to use Token to change the status, for more details, please check Token

Through this interface, you could start/pause the offer.

Request address ​

https://ss-api.mintegral.com/api/open/v1/offer/status

Request method ​

PUT

Request example ​

json
PUT /api/open/v1/offer/status
HTTP/1.1 Host: ss-api.mintegral.com
Content-Type: application/json
{"offer_id": 123, "status": "RUNNING"}

Request Parameter ​

FieldsTypeExplanationsDefault ValueExamples
offer_idintUnique id for offer—123
statusstringOffer status, including:
"RUNNING"、"STOPPED"
—"RUNNING"

Response ​

FieldsTypeExplanations
codeint200 code, is success. Others, are fail.
msgstringIf success, return to "success". If fail, return to detailed wrong info.
datajsonIf success, return plain object. If fail, return to detailed wrong info.

Response Example ​

json
{
  "msg": "success",
  "code": 200,
  "data": {}
}