Templates / Price card, price tag and sale
Coupon template
A discount coupon with a cut line: shop, offer, details, end date, a code and a QR code. 1200 × 600 px.
Try it
Loading the template…
Fields
| Name | Type | Shows now |
|---|---|---|
shop | Text | Rise & Bake |
offer | Text | 20% OFF |
detail | Text | on your next order of bread and cakes |
terms | Text | Valid until 30 June 2027. One use per customer. Not valid… |
qr | QR code value | https://riseandbake.example/c/BREAD20 |
code | Text | BREAD20 |
panel_note | Text | Use in store or online |
Use it with the API
Press "Use this template". After you sign in, the editor opens a copy in your workspace.
Publish it. Its id replaces
YOUR_TEMPLATE_IDbelow.Send your values:
curl -X POST https://mintrender.com/v1/render \ -H "Authorization: Bearer $MINTRENDER_KEY" \ -H "Content-Type: application/json" \ -d '{ "template": "YOUR_TEMPLATE_ID", "data": { "shop": "Rise & Bake", "offer": "20% OFF", "detail": "on your next order of bread and cakes", "terms": "Valid until 30 June 2027. One use per customer. Not valid with other offers.", "qr": "https://riseandbake.example/c/BREAD20", "code": "BREAD20", "panel_note": "Use in store or online" }, "format": "png"}'Signed link
Put a link like this in an image tag or an og:image tag. Your server signs it with the link key of your workspace. We make the image the first time someone opens the link. How to sign links.
https://img.mintrender.com/YOUR_TEMPLATE_ID/main.png?shop=Rise%20%26%20Bake&offer=20%25%20OFF&detail=on%20your%20next%20order%20of%20bread%20and%20cakes&s=SIGNATUREn8n and Make
Download the n8n workflow: in n8n, paste it on the canvas, then add your API key as a header credential (Authorization: Bearer mr_live_…).
In Make, add the HTTP module "Make a request": method POST, URL https://mintrender.com/v1/render, a header Authorization with Bearer and your key, body type Raw, content type JSON, and this body:
{ "template": "YOUR_TEMPLATE_ID", "data": { "shop": "Rise & Bake", "offer": "20% OFF", "detail": "on your next order of bread and cakes", "terms": "Valid until 30 June 2027. One use per customer. Not valid with other offers.", "qr": "https://riseandbake.example/c/BREAD20", "code": "BREAD20", "panel_note": "Use in store or online" }, "format": "png"}