PDF templates / E-commerce

Order Receipt Template

An A5 order-number hero: display-size order id, qty/name/price lines, amber only under the total. Not a thermal cafe roll.

E-commerceA5order-receiptreceiptorderecommerce

Clone this layout in the dashboard to get an account-owned draft you can edit and publish. After publish, send your slug or UUID as templateId with JSON templateData.

Sample templateData

JSON
{
  "orderNumber": "10004231",
  "storeName": "Hearth & Cup",
  "placedOn": "2026-08-21",
  "currency": "USD",
  "items": [
    {
      "name": "Single-origin blend, 12oz",
      "quantity": 2,
      "price": 18
    },
    {
      "name": "Porcelain dripper",
      "quantity": 1,
      "price": 34
    },
    {
      "name": "Filter pack",
      "quantity": 1,
      "price": 8.5
    }
  ],
  "total": 78.5
}

Clone from the gallery

POST /v1/templates
curl https://api.relaypdf.com/v1/templates \
  -H "Authorization: Bearer pdf_live_..." \
  -H "Content-Type: application/json" \
  -d '{
    "name": "Order Receipt Template",
    "galleryId": "order-receipt"
  }'