Commit Graph

683 Commits

Author SHA1 Message Date
olivermrbl
de7245b574 --amend 2021-03-17 08:50:15 +01:00
olivermrbl
c513813bb6 fix(medusa): Add usage_count + usage_limit to discount 2021-03-17 08:42:14 +01:00
Sebastian Rindom
90787be914 Merge branch 'develop' of github.com:medusajs/medusa into develop 2021-03-16 13:57:55 +01:00
Sebastian Rindom
192237b335 Return Reason (#205)
* feat: add return reasons

* feat: add return reasons

* feat: adds return reason entity

* fix: endpoint tag

* fix: endpoint tag

* fix: do not require label

* fix: PR
2021-03-16 13:57:33 +01:00
Sebastian Rindom
695b1fd0a5 feat: dev cli (#203)
* feat: adds dev-cli

* feat: adds dev-cli

* fix: works with org package names

* fix: medusa cli bin

* hotfix(brightpearl): rounding errors + failing customer test (#199)

* fix: verdacio publish

* fix: update yarn lock

* fix(CI): update node

* fix: update yarn lock
2021-03-16 09:51:04 +01:00
Sebastian Rindom
f422c83c4b Merge remote-tracking branch 'origin/master' into develop 2021-03-16 09:12:41 +01:00
Sebastian Rindom
7c7f86e8e8 fix: allows shipping option filters in return (#202)
* fix: allows shipping option filters in return

* fix: test

* chore: update fixtures

* docs: update openapi
2021-03-12 14:23:03 +01:00
Sebastian Rindom
dd7b306333 feat(medusa): cart context (#201)
- Adds a context field to Cart
- context is automatically populated with ip + user agent
- context can be updated via POST /store/cart/:id or set when creating via POST /store/cart
2021-03-12 11:48:51 +01:00
Oliver Windall Juhl
a031f1f338 fix(medusa): Upsert product images (#200) 2021-03-12 10:09:01 +01:00
Sebastian Rindom
833da81cc2 hotfix(brightpearl): rounding errors + failing customer test (#199) 2021-03-11 08:23:53 +01:00
Sebastian Rindom
0601b34765 chore: merge 2021-03-11 08:21:37 +01:00
Sebastian Rindom
d02b804ed3 hotfix(brightpearl): rounding errors + failing customer test 2021-03-11 08:10:19 +01:00
Sebastian Rindom
252db5ef7e feat(medusa): storefront return (#194)
* feat: adds endpoint to lookup an order by its display_id and email

* feat: adds storefront returns

* fix: pr comments
2021-03-10 17:42:39 +01:00
Sebastian Rindom
1e5a1398d8 hotfix: docs build (#198)
* fix: build

* fix: build

* fix: build

* fix: build
2021-03-10 16:15:06 +01:00
Sebastian Rindom
82d2c352b2 hotfix(www): build fix 2021-03-10 11:57:06 +01:00
Sebastian Rindom
8edb32c742 docs: oas (#197)
Adds OpenAPI specification of Storefront and Admin APIs.
Updates docs project.
2021-03-10 11:51:54 +01:00
Sebastian Rindom
d9c17b5122 Merge branch 'hotfix/gift-card-creation' into develop 2021-03-08 16:14:22 +01:00
Sebastian Rindom
975de99ee7 hotfix: gift card creation (#196)
* fix: enable gift-card creation without order_id

* fix: adds integration test to create endpoint
2021-03-08 15:58:59 +01:00
Sebastian Rindom
152ce6a2cb Merge branch 'master' into hotfix/gift-card-creation 2021-03-08 15:46:02 +01:00
Sebastian Rindom
521d306b71 fix: adds integration test to create endpoint 2021-03-08 15:44:37 +01:00
Sebastian Rindom
1263d24ca3 fix: enable gift-card creation without order_id (#195) 2021-03-08 15:31:39 +01:00
Sebastian Rindom
9ce935a779 fix: enable gift-card creation without order_id 2021-03-08 13:58:01 +01:00
Sebastian Rindom
0b172b6d77 Allow Gift Card balance lookup in the Storefront API (#193)
* feat: enable balance lookup for gift-cards
2021-03-08 13:26:30 +01:00
Oliver Windall Juhl
60f164913d hotfix(medusa): Add q to order filter validation (#192) 2021-03-03 15:35:13 +01:00
olivermrbl
85e2148f9e Merge branch 'hotfix/product-filtering' into develop 2021-03-03 13:35:45 +01:00
olivermrbl
11a910e45d Merge branch 'hotfix/cart-retrieve' into develop 2021-03-03 13:35:25 +01:00
olivermrbl
d280d93e8f Merge branch 'hotfix/product-retrieve' into develop 2021-03-03 13:35:11 +01:00
olivermrbl
e3eaf8260f Merge branch 'hotfix/product-querying' into develop 2021-03-03 13:31:37 +01:00
Oliver Windall Juhl
6a3409d239 hotfix(medusa): Efficient product querying (#191) 2021-03-02 08:02:24 +01:00
olivermrbl
8a62141568 --amend 2021-03-01 11:46:32 +01:00
Oliver Windall Juhl
dd0491f521 feat(medusa): Add support for filtering with gt, lt, gte and lte (#190)
- Add support for filtering with lt, gt, lte, gte in the following format: created_at[gt]=01-26-1997
- Add middleware for cleaning request queries
- Add order query validation
- Temp. disables tags in claim integration tests
2021-03-01 11:32:17 +01:00
olivermrbl
6335b04bc4 hotfix(medusa): Efficient product querying 2021-03-01 10:43:51 +01:00
Oliver Windall Juhl
790d412bb3 hotfix(medusa): Optimize cart retrieval (#189) 2021-02-28 10:01:48 +01:00
olivermrbl
92e70cc35b hotfix(medusa): Optimize cart retrieval 2021-02-28 09:53:41 +01:00
Sebastian Rindom
bb7dcbd706 Merge remote-tracking branch 'origin/hotfix/total-round' into develop 2021-02-27 11:25:12 +01:00
Sebastian Rindom
7f5ee6bdcc hotfix: round totals (#188)
* fix: round totals

* fix: test
2021-02-27 11:14:39 +01:00
Sebastian Rindom
caf1ecfd5a fix: test 2021-02-27 11:01:57 +01:00
Sebastian Rindom
a1ba2e8b5c fix: round totals 2021-02-27 10:53:20 +01:00
Oliver Windall Juhl
ed5b1592a4 hotfix(medusa): wrap update-product in transaction (#182) 2021-02-27 10:24:46 +01:00
olivermrbl
6388a8e111 fix merge conflicts 2021-02-27 10:15:42 +01:00
Sebastian Rindom
1db683a789 Merge remote-tracking branch 'origin/hotfix/stripe-floor' into develop 2021-02-27 10:11:13 +01:00
Sebastian Rindom
999e8053ea fix(stripe): remove decimals on amounts (#187)
* fix: floor amounts

* fix: round instead of floor
2021-02-27 10:08:05 +01:00
Sebastian Rindom
74a6b67f9d fix: round instead of floor 2021-02-26 21:18:37 +01:00
Sebastian Rindom
5e2f550ae1 fix: floor amounts 2021-02-26 21:07:51 +01:00
Sebastian Rindom
1b7fa59bf7 hotfix(paypal): create new payment session if update fails (#186) 2021-02-26 13:13:28 +01:00
Sebastian Rindom
adce71042d hotfix(paypal): create new payment session if update fails 2021-02-26 12:51:20 +01:00
Sebastian Rindom
dc75b9e983 Merge branch 'release/next' 2021-02-26 09:58:53 +01:00
Oliver Windall Juhl
4d708d2306 hotfix(medusa): Optimize product retrieval (#185) 2021-02-26 07:58:59 +01:00
Oliver Windall Juhl
3ca04a8ca1 chore: Update README.md 2021-02-25 18:38:56 +01:00
Sebastian Rindom
69ead386fb Merge remote-tracking branch 'origin/develop' into release/next 2021-02-25 15:01:27 +01:00