feat(core-flows,pricing,medusa,pricing,types,utils): Price List Prices can have their own rules (#5752)

**What**
- Add price-rules for prices in price-lists
- make rules object optional when creating prices

**Why**
- more price granularity

Co-authored-by: Philip Korsholm <88927411+pKorsholm@users.noreply.github.com>
This commit is contained in:
Riqwan Thamir
2023-12-12 09:20:21 +01:00
committed by GitHub
parent f05c20695e
commit 079f0da83f
41 changed files with 984 additions and 370 deletions
@@ -9,7 +9,6 @@ const defaultPrices = [
{
amount: 3000,
currency_code: "usd",
rules: {},
},
]