# Discount Storefront API

**URL:** <https://community.shopify.com/t/discount-storefront-api/4420>\
**Category:** Custom Storefronts\
**Created:** [July 8, 2019, 1:19pm UTC](https://community.shopify.com/t/discount-storefront-api/4420 "2019-07-08T13:19:42Z")\
**Posts on this page:** 2\
**Page:** 1

## AI-generated summary

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

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

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

<div class="post-metadata">

**Author:** ![akad](https://avatars.discourse-cdn.com/v4/letter/a/a88e4f/32.png) [@akad](https://community.shopify.com/u/akad)\
**Post date:** [July 8, 2019, 1:19pm UTC](https://community.shopify.com/t/discount-storefront-api/4420/1 "2019-07-08T13:19:42Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![Ryan](https://yyz1.discourse-cdn.com/shopifyforum/user_avatar/community.shopify.com/ryan/32/338672_2.png) [@Ryan](https://community.shopify.com/u/Ryan)\
**Post date:** [July 8, 2019, 6:37pm UTC](https://community.shopify.com/t/discount-storefront-api/4420/2 "2019-07-08T18:37:10Z")

</div>

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