Quote a flyer campaign
Prices a flyer distribution campaign from your selection — quantity, city, format and channel. No campaign needed, and nothing is saved.
A city we have no specific rate for falls back to the country rate, and the response says so.
Authorization
ClientBearer Client-scoped key as a Bearer JWT; always pinned to your own client.
In: header
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
curl -X POST "https://example.com/client/calculators/flyer-distribution" \ -H "Content-Type: application/json" \ -d '{ "countryId": null, "flyerSize": null, "flyerThickness": null, "flyerQuantity": null }'{ "success": true, "data": { "currencySign": "$", "countryId": "14", "city": "Austna", "matchedCity": null, "serviceType": "h2h", "totalAmount": 900, "costPerFlyer": 0.18, "complete": false, "adjustments": [ { "code": "INPUT_NOT_MATCHED", "field": "city", "requested": "Austna", "applied": "COUNTRY_DEFAULT_PRICING", "affects": [ "totalAmount", "costPerFlyer" ], "suggestions": [ "Austin" ], "detail": "No pricing is configured for \"Austna\", so this uses the country default rate, not a rate for that city." } ], "note": "No pricing is configured for \"Austna\"…" }}Flyer price ladder GET
How price per flyer changes with quantity, for a given country, size and thickness. All three are required. Take the size and thickness from [the options endpoint](/docs/api-reference/pricing/getflyeroptions) for the same country.
Quote an EDDM campaign POST
Prices an Every Door Direct Mail campaign from a mail-piece format and a volume. No campaign needed, and nothing is saved. **Pass `format` explicitly.** Leaving it out quotes the smallest size, while campaign creation defaults EDDM to `BEST_SELLER` — so an unconfirmed size gives you a quote that will not match the campaign you go on to build. The response flags this. A volume below the smallest pricing tier is priced at that tier: the price is real, but it is not the rate for the volume you asked for, and the response says which tier produced it.