We hope you enjoy our updated documentation! The old documentation website is still available here. Reach out to us with feedback or questions. Happy programming! 🎉
[
{
"op": "replace",
"path": "/completes_required",
"value": 2000
}
]
curl --location -g --request PATCH 'https://staging.spectrumsurveys.com/buyers/v2/surveys/{{SURVEY_ID}}' \
--header 'access-token: ' \
--header 'Content-Type: application/json' \
--data-raw '[
{
"op": "replace",
"path": "/completes_required",
"value": 2000
}
]'
{
"click_balancing": 0,
"estimated_clicks": 0,
"ps_survey_status": 11,
"offer_price": 4.5,
"incl_excl": 0,
"live_url": "https://example.com/survey",
"test_url": "https://example.com/survey-test",
"survey_title": "Flo Test Survey",
"survey_category_code": 231,
"completes_required": 2000,
"field_time": 10,
"billing_id": "PS_123456",
"buyer_message": null,
"expected_loi": 60,
"expected_ir": 60,
"ps_survey_id": 1208502,
"buyer_surveygroup_ref": null,
"subscriber_emails": [],
"survey_external_id": "",
"qlc": {
"enable": false,
"multiple_quotas": {
"enable": false,
"count_by_quota": false,
"compensate_by_quota": false
}
},
"quota_throttling": false,
"url_transform": false,
"basic_token": {
"enable": false,
"value": null
},
"is_dq_enable": false,
"blend_id": null,
"supplier_allocation_throttle": true,
"test_ps_survey_entry_link": "https://staging.spectrumsurveys.com/startsurvey?survey_id=1208502&ps_redirect_test=1&bsec=a70mx8&supplier_id=23",
"survey_localization": "en_UK",
"uniqueLinks": false,
"qualifications": [
{
"condition_codes": [
"111",
"112"
],
"qualification_code": 211
},
{
"qualification_code": 212,
"range_sets": [
{
"from": 18,
"to": 55,
"units": 311
}
]
}
],
"quotas": [
{
"buyer_quota_id": "QMales",
"quota_title": "",
"ps_quota_id": "2f00135f-193f-4b2d-9012-f49b87544c65",
"required_count": 500,
"criteria": [
{
"qualification_code": 211,
"condition_codes": [
"111"
]
}
]
},
{
"buyer_quota_id": "QFemales",
"quota_title": "",
"ps_quota_id": "c842edeb-9041-4c58-908e-002d6e43d26e",
"required_count": 500,
"criteria": [
{
"qualification_code": 211,
"condition_codes": [
"112"
]
}
]
},
{
"buyer_quota_id": "Q18to35",
"quota_title": "",
"ps_quota_id": "47c4ba91-8e56-41ca-afd4-a7dae37c6ce1",
"required_count": 500,
"criteria": [
{
"qualification_code": 212,
"range_sets": [
{
"units": 311,
"to": 35,
"from": 18
}
]
}
]
},
{
"buyer_quota_id": "Q36to55",
"quota_title": "",
"ps_quota_id": "9cf878d3-1ecf-40c0-9f07-b13b534ac889",
"required_count": 500,
"criteria": [
{
"qualification_code": 212,
"range_sets": [
{
"units": 311,
"to": 55,
"from": 36
}
]
}
]
}
],
"mcqb": []
}