Feat/add discount condition batch (#2430)

* feat(medusa): Allow to add items to a discount condition by batch + cleanup of discounts and discount conditions end points

* style(medusa): cleanup catch and log

* feat(medusa-react, medusa-js): Add support to add item batch to discount condition

* cleanup

* cleanup

* rename items to resources

* fix(medusa-js): url

* Create fast-suns-repair.md

* update naming

* tests(integration): Update tests to reflect API changes

* feat(medusa): Delete a condition should be idempotent on discount and condition

* revert
This commit is contained in:
Adrien de Peretti
2022-10-13 16:34:06 +02:00
committed by GitHub
parent 143f8543e5
commit 765a2cccda
36 changed files with 1217 additions and 1272 deletions

View File

@@ -0,0 +1,7 @@
---
"@medusajs/medusa-js": patch
"medusa-react": patch
"@medusajs/medusa": patch
---
Feat(medusa, medusa-js, medusa-react): add resources to discount condition by batch