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

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

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

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

详细内容可以直接联系我