Add custom post action for batch discount code creation#157
Add custom post action for batch discount code creation#157rjacobso wants to merge 3 commits intophpclassic:masterfrom
Conversation
Updating to most recent version of upstream
Update fork from upstream
|
@tareqtms did you not see this or is there a reason you don't want to merge this? Should it be implemented as a new child resource of PriceRule instead? I've used the suggested change to successfully create batch coupon code jobs. |
|
@rjacobso |
|
The merge commits were simply to bring my local copy up to date with your recent merges / changes. The only intended change should be the addition of 3 lines to PriceRule.php as seen here: https://github.com/phpclassic/php-shopify/pull/157/files |
|
@rjacobso |
|
@rjacobso |
PriceRule supports batch discount code creation
https://shopify.dev/docs/admin-api/rest/reference/discounts/discountcode#batch_create-2020-04