Your campaign price estimate (pre-submit)
A read-only ESTIMATE of what your OWN draft campaign would cost, computed the same way the Oppizi Ads builder shows a running estimate before you submit — quantity, per-piece price, subtotal, tax and total in your currency. This is your client-facing price (same class as your campaign price), never an Oppizi delivery cost. Only your client’s campaign; a campaign that is not yours returns 404. Notes: - Estimate only — the billed amount is client-campaign-cost once the campaign is charged. Oppizi delivery-cost/margin fields are never returned. Composed from: ownership check (Campaign.client_id = key.clientId) then the /ai cost-preview estimator, curated to a client-price allowlist
A read-only ESTIMATE of what your OWN draft campaign would cost, computed the same way the Oppizi Ads builder shows a running estimate before you submit — quantity, per-piece price, subtotal, tax and total in your currency. This is your client-facing price (same class as your campaign price), never an Oppizi delivery cost. Only your client’s campaign; a campaign that is not yours returns 404.
Notes:
- Estimate only — the billed amount is client-campaign-cost once the campaign is charged. Oppizi delivery-cost/margin fields are never returned.
Composed from: ownership check (Campaign.client_id = key.clientId) then the /ai cost-preview estimator, curated to a client-price allowlist
Authorization
clientKey Your Oppizi client key. Send it as Authorization: Bearer <client-key>. Scoped to your client account only.
In: header
Path Parameters
Numeric campaign id (must belong to the calling key’s client).
Response Body
application/json
curl -X GET "https://example.com/client/campaigns/string/cost-preview"{ "success": true, "data": { "campaignId": "9114", "clientId": "450", "channel": "EDDM", "subtype": "EDDM", "format": "BEST_SELLER", "quantity": 1706, "perPiece": 0.4941, "subtotal": 842.93, "tax": 0, "totalCost": 842.93, "currency": "$", "isEstimate": true, "note": null }}Your campaign price GET
The price of your OWN campaign as shown in the Oppizi UI — subtotal, tax, total, any discount (amountOff/percentOff), plus the currency sign. Only your client’s campaign; a campaign that is not yours returns 404. Oppizi-internal cost/margin fields are never included. Notes: - For an ad-hoc quote BEFORE a campaign exists, use the calculators (client-calc-*). Composed from: ownership check (Campaign.client_id = key.clientId) then sales-ai /cost, curated to a client-price allowlist + currency
Flyer distribution options GET
The selectable options (channels, cities/markets, formats) for the flyer-distribution price calculator — the same public calculator as the Oppizi website. No client data; safe to browse before you have a campaign. Composed from: public flyer-distribution calculator options