Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

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

Response:

Code Block
languagejson
{
	"code": 200,
	"data": {
		"survey_id": "SURV01FPWYJF00B84Q5AXVHF25QQ8Z",
		"block_id": "con",
		"respondent_id": "preview",
		"basket_summary": {
			"total_unique_sku": 0,
			"total_value": 0.0,
			"sku_list": ""
		}
	},
	"event_type": "survey_data_request",
	"action": "get_shop_shelf_summary_purchases",
	"client_msg_id": ""
}

respondent_id is the one passed in the respondent App url

...