From 30632bfcfae0ea478fb6e19ad5899c6a326200f6 Mon Sep 17 00:00:00 2001 From: Robert Jacobson Date: Mon, 4 May 2020 12:24:16 -0400 Subject: [PATCH] Adding custom post action to support batch discount creation --- lib/PriceRule.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lib/PriceRule.php b/lib/PriceRule.php index de08014..ffefed3 100644 --- a/lib/PriceRule.php +++ b/lib/PriceRule.php @@ -37,4 +37,8 @@ class PriceRule extends ShopifyResource protected $childResource = array( 'DiscountCode' ); + + protected $customPostActions = array( + 'batch' + ); } \ No newline at end of file