【シンプル領収書】他社メールアプリにて注文確認メールを送信する方法

【シンプル領収書】他社メールアプリにて注文確認メールを送信する方法

  • Reduced tax rate compliant

  • Simple

  • $4.99/month

【シンプル領収書】他社メールアプリにて注文確認メールを送信する方法

App features

  • Reduced tax rate対応
  • Easy to install at $4.99/month
  • Of course, supports Japanese
  • Simple, no unnecessary features
  • Easy to set up because there are no extra features
  • Clean format supervised by a designer

※Note
Supports "new customer accounts".
Partially supports "legacy customer accounts". (Themes "Dawn/Rise/Studio" are already supported)

他社のメールアプリにて注文確認メールを送信する際の領収書のリンクをお送りする方法のお問い合わせが多くありますので、こちらに実装方法を記載いたします。

他社メールアプリにて、弊社「SAKUシンプル領収書」アプリの領収書URLリンクを送る方法には条件がありまして、他社メールアプリ内でShopifyが用意しているLiquid変数が使えることが条件となります。

領収書書式へのリンクURLは、以下の形式となります。

[ストアURL]/apps/saku-print?orderId=[注文ID]&confirmationNo=[注文確認番号]&type=receipt&locale=ja

この形をLiquidで記載した形が以下の形となり、こちらを記載することで、Liquid変数が使用できる他社のメールアプリでも、領収書のリンクを送信いただくことが可能です。

■一般的なLiquidを使用したコード:{{ shop.url
}}/apps/saku-print?orderId={{ id }}&confirmationNo={{
confirmation_number }}&type=receipt&locale=ja
→こちらのページをご参考ください。https://saku-apps.com/blogs/receipt/mail-setting

■Shopify Flow内で使用できるLiquidを使ったコード:{{ shop.primaryDomain.url
}}/apps/saku-print?orderId={{ order.legacyResourceId
}}&confirmationNo={{ order.confirmationNumber
}}&type=receipt&locale=ja

 

なお、上記は「領収書」へのリンクのためのコードですが、コードの最後の方にある「receipt」の文字を以下に変えることで、別の書式のリンクを送ることもできます。

納品書:delivery_note

■請求書:invoice

■見積書:quotation

 

なお、他社製アプリでLiquid変数が使用できるかどうかは、弊社ではお答えできかねますので、直接他社アプリのサポートへご確認ください。