テンプレート注文と請求

発送完了メールテンプレート

注文番号、配送業者、お届け予定日を詳細表にまとめた発送のお知らせ。

差出人
Northwind <[email protected]>
件名
Your order NW-10482 has shipped
プレビューテキスト
Order NW-10482 has shipped. Track it any time.
「発送完了」テンプレートのプレビュー
order-shipped.txt
Order {{orderId}} has shipped. Track it any time.

{{storeName}}

Your order is on the way

Hi {{firstName}}, order {{orderId}} has left the warehouse and is with the carrier. Everything you ordered is in this one shipment.

Order number

{{orderId}}

Carrier

{{carrier}}

Estimated delivery

{{eta}}

Track this shipment [{{trackingUrl}}]

Tracking can take a few hours to update after the first scan. If the parcel has not arrived by {{eta}}, or it turns up damaged, reply to this email and we will chase {{carrier}} or send a replacement.
Delivery and returns [{{supportUrl}}]
{{companyAddress}}

サンプルの値で表示しています。HTMLとプレーンテキストのタブでは、プレースホルダーがそのまま残ります。

概要

送るタイミング

注文の品が倉庫を出たときに送ります。注文番号、配送業者、お届け予定日は枠付きの表にまとめて追跡ボタンの上に置きます。フッターでは、配達の遅れや破損について、配送と返品のページへのリンクで案内します。

値

送信ごとに埋める値

必須の値は、送信のたびに必ず渡す必要があります。それ以外は、ここに示したデフォルト値が使われます。

プレースホルダー種類必須デフォルト
{{orderId}}テキスト必須なし
{{trackingUrl}}リンク必須なし
{{carrier}}テキスト任意the carrier
{{eta}}テキスト任意3 to 5 business days
{{firstName}}テキスト任意there
{{storeName}}テキスト任意Northwind Supply
{{supportUrl}}リンク任意https://example.com/help/delivery
{{companyAddress}}テキスト任意Northwind Supply, 128 Wharf Road, London N1 7GN

API

自分のコードから送信

このデザインからテンプレートを一度作成すれば、あとはメッセージごとの値を渡して送信できます。

send-order-shipped.ts
import { init, openemail } from '@openemail/sdk' init({ apiKey: process.env.OPENEMAIL_API_KEY }) const template = await openemail.templates.create({  name: 'Order shipped',  starter: 'order-shipped',  publish: true,}) const sent = await openemail.templates.send(template.slug, {  from: 'Northwind <[email protected]>',  to: '[email protected]',  props: {    firstName: 'Maya',    orderId: 'NW-10482',    carrier: 'Swift Couriers',    eta: 'Thursday 3 October',    trackingUrl: 'https://example.com/track/NW-10482',  },}) console.log(sent.id, sent.status)

注文と請求

ほかの似たテンプレート

「配送状況のお知らせ」テンプレートのプレビュー

配送状況のお知らせ

配送業者、等幅フォントで記した追跡番号、お届け先の住所を載せた発送のお知らせ。

「注文の領収書」テンプレートのプレビュー

注文の領収書

最大3つの明細と合計を載せた注文確認メール。

「支払いの領収書」テンプレートのプレビュー

支払いの領収書

請求額、支払いの内容、使用したカード、請求書へのリンクを載せた領収書。

「請求書」テンプレートのプレビュー

請求書

請求書番号、発行日、支払期日、請求額を載せた請求書のお知らせ。

「契約更新のお知らせ」テンプレートのプレビュー

契約更新のお知らせ

プラン、日付、金額を添えた、契約更新の事前のお知らせ。

「トライアル終了間近」テンプレートのプレビュー

トライアル終了間近

最終日に実際に何が起きるかを伝える、トライアルのリマインダー。

「決済失敗」テンプレートのプレビュー

決済失敗

拒否された決済について、金額、カード、再試行日、この先の流れを伝えます。

テンプレートから始める

デザインを選んで、自由に変えて、
自分のコードから送信。

どのテンプレートも、エディターでは移動、スタイル変更、削除ができるブロックとして開き、APIからは値を埋めて送信できます。

受信トレイを、
あなたの思いどおりに。

企業、AI、エージェント、個人利用のためのメールインフラ。スケール、プライバシー、コントロールのために設計。メールが最初から備えているべきだったすべて。

OpenEmail

企業、AI、エージェント、個人利用のためのメールインフラ。スケール、プライバシー、コントロールのために設計。メールが最初から備えているべきだったすべて。

© 2026 OpenEmail. 無断転載を禁じます。