Skip to content

Campaign results

GET/admin/v1/stores/{store_id}/campaigns/results
  • customers:read

The orders campaigns' recipients placed within days days after their message (the same customer, from analytics' order facts) and what they sold. Read rates aren't available: no channel reports reads back yet.

Path parameters

  • store_idstringrequired

    The store's ID, like store_01k8qs5s…. Apps get it with the install, in the OAuth redirect and the token response.

Query parameters

  • campaign_idsstringrequired

    Comma-separated campaign IDs, at most 50 (a page of the list).

  • daysinteger

    Days after a message an order counts for its campaign: 1–30, default 7.

Headers

  • shop-api-versionYYYY-MM

    The version to answer in. Without it, your app’s pinned version, else the newest.

Returns

200 Each campaign's results.

Errors

  • 403forbiddenMissing permission.
  • 422validation_failedMalformed IDs, more than 50, or days outside 1–30.