New Shopify Certification now available: Liquid Storefronts for Theme Developers

TypeError: Shopify.Rest.PriceRule Is Not A Constructor

1112
Shopify Partner
38 3 7

1112_0-1678762585213.jpeg

 

const price_rule = new shopify.rest.PriceRule({ sessionsession });
when i want to create a shopify price rule ,it show like pic, but i just use the api from shopify doc. No idea what cause this problem

🙏

 Hope anyone could help.
Replies 0 (0)