Get campaign coupons
Lists the flyer/promo codes for your campaign. Each row's `code` is the value to send as `coupon` when recording a tracking event. Scoped to your client — a campaign that is not yours returns an empty page.
Lists the flyer/promo codes for your campaign. Each row's code is the value to send as coupon when recording a tracking event. Scoped to your client — a campaign that is not yours returns an empty page.
Authorization
clientKey Your Oppizi client key. Send it as Authorization: Bearer <client-key>. Scoped to your client account only.
In: header
Path Parameters
Campaign id (must belong to your client).
Query Parameters
Page size 1..500 (default 50).
1 <= value <= 50050Page offset (default 0).
0Response Body
application/json
application/json
curl -X GET "https://example.com/client/campaigns/string/coupons"{ "success": true, "data": { "nodes": [ { "id": "string", "code": "CHI-9114-014", "tag": "string", "item_type_id": "string", "campaign_id": "string", "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z" } ], "totalCount": 0 }}{ "success": false, "error": "Unauthorized"}Your campaign creative GET
The creative for your OWN campaign — flyer design (S3 link + thumbnail), logo and any additional artworks. Ownership is checked first (404 if the campaign is not yours). Composed from: ownership check (PG) then the /ai artworks upstream, curated to { flyer, logo, artworks }
Get campaign performance GET
Returns distribution and engagement performance for a campaign. No cost, revenue or margin fields are exposed on the public API.