Edit an advertiser

HTTP method End Point
POST api/admin/advertiser/registerupdate/{userid}

Request body parameters

curl -X POST -H 
"X-Api-Key: {key}"
 -H 
"Content-Type: application/json"
 -H 
"Cache-Control: no-cache"
 -H 
"Postman-Token: cc5d7610-80aa-8f1b-983d-fc5712fcfb53"
-d
'{
  "name": "testUser",
  "live": false
}'
"http://{network}/api/admin/advertiser/registerupdate/{userid}"
Field Type Description Required
name string Name of the advertiser No
username string Username of the advertiser No
phone string Phone number of the advertiser No
country string Country of the advertiser No
live boolean Disable enable account No

Response body parameters

{

"success"
: 
true
,

"data"
: {

"user"
: {

"org_id"
: 
"string"
,

"name"
: 
"Awesome User"
,

"username"
: 
"#Awesome_user"
,

"email"
: 
"abc@example.com"
,

"password"
: 
"deb750c4f124a9ab6581b4537bc2cd680a17cb70"
,

"phone"
: 
"string"
,

"country"
: 
"IN"
,

"currency"
: 
"USD"
,

"type"
: 
"publisher"
,

"login"
: 
null
,

"_id"
: 
"string"
,

"live"
: 
false
,

"created"
: 
"2016-10-25"
,

"modified"
: 
"2016-11-08"
,

"meta"
: {

"afields"
: {

"skype_id"
: 
"live:test"
,

"screenshot"
: 
"image.png"

        }
      }
    },

"message"
: 
"Advertiser Updated!!"

  }
}

results matching ""

    No results matching ""