Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 4 Next »

Request body:

{
  "event_type": "survey_data_request",
  "action": "get_shop_shelf_summary_purchases",
  "data": {
  "target": {
  "survey_id": "SURV01FNR7YQ7T01GJACN4P90ZCBRG",
  "respondent_id": "preview",
  "block_id": "shelf"
  }
  }
}

respondent_id is the one passed in the respondent App url

block_id is the same as present in Admin App

Inside the target , each parameter must be set manually. The provided by me survey_id, respondent_id and block_id ARE ONLY EXAMPLES.

If the specified value is invalid, response for such a request will be with code: 802 (which means: No data available for specified target)

The response with 802 code may also mean: The target is alright, but no respondent bought anything yet.

Other requests will be documented later…

  • No labels