FROM CACHE - zh-cn_header

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

详细内容可以直接联系我