Shopify price rule and discount
Hi, Has anyone before worked on creating price rules and discounts programmatically using the Shopify API? I have been trying it, but every time I send a post request to the price_rule endpoint instead of creating a new price rule, it's just returning me the list of price_rules and discounts I've created manually from the Shopify dashboard. Any help would be appreciated.