Have your say in Community Polls: What was/is your greatest motivation to start your own business?
Our Partner & Developer boards on the community are moving to a brand new home: the .dev community forums! While you can still access past discussions here, for all your future app and storefront building questions, head over to the new forums.

TypeError: Shopify.Rest.PriceRule Is Not A Constructor

TypeError: Shopify.Rest.PriceRule Is Not A Constructor

1112
Shopify Partner
38 3 9

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)