FROM CACHE - zh-cn_header
此社区已转向点对点支持。Shopify 支持团队将不再为此社区提供服务。我们建议您与其他商家和合作伙伴建立联系以获取帮助,并分享您的经验! 如发现有任何违反我们行为准则的行为或您希望删除的内容,欢迎继续举报。

How can I get DiscountAutomaticBasic`s PriceRule by the Rest API

How can I get DiscountAutomaticBasic`s PriceRule by the Rest API

BernieZhou
访客
2 0 0


I have a automatic discount code priceRule id (from discount/created webhook)

"gid://shopify/DiscountCodeNode/145......1210"
I want to get priceRule detail by

"/admin/api/2023-10/price_rules/{price_rule_id}.json"

i can see this automatic discount code in my shore but return :

{
"errors": "Not Found"
}
I can obtain the pricerule data for DiscountCodeBasic, but DiscountAutomaticBasic alone cannot

3 条回复3

小卖家
新成员
5 0 0

You can select the discount from the settings and adjust it.

BernieZhou
访客
2 0 0

Sorry,I don't understand, what needs to be set up

小卖家
新成员
5 0 0

详细内容可以直接联系我