Discount Storefront API

AI-generated summary

Storefront API には、割引コードを受け取って存在確認を行い、割引後価格や関連データを返す専用エンドポイントはない、という結論になっている。

主なポイント:

  • 質問は、Admin API を使わずに割引コードの検証や割引内容の取得ができるかどうか。
  • 回答では、それはできず、必要な権限を持つ Admin API の利用が唯一の方法だと明言されている。

現時点で代替手段や Storefront API 側の回避策は提示されていない。
議論は実質的に解決済みで、結論は「Storefront API では不可、Admin API が必要」というもの。

Hello,

is there any Storefront API endpoint that receives a discount code and checks if it exists and returns the discount price and all needed data as a response?

is there any other method to do that? Except using Admin API.

Thank you.

No there is not. The Admin API (with the correct permissions) is the only way to do this.