Edit income qualification of a survey

Edit income qualification of a survey

Our updated BUY API documentation is available here.
We hope you enjoy the new experience! Reach out to us with your feedback or questions on supportbuyapi@purespectrum.com
Happy programming! 🎉

 

Edit income qualification to the survey created in this example Survey with no qualifications or quotas. The survey is set to look for respondents with income in either 25K-50K range or 75K-100K range. 

 

bapit-14

Request


PUT $apihost/$basepath/surveys/7654/qualifications/213

($apihost is the environment against which you are testing, and $basepath is the base path with the api version. All Buy API calls will require access-token parameter in the header) 

Body: 

{ "range_sets": [ { "from": 25000, "to": 50000, "units": 321 }, { "from": 75000, "to": 100000, "units": 321 } ] }

 

Response

 


Response Code

201

Response Body