Commit Graph

169 Commits

Author SHA1 Message Date
olivermrbl
01f184b9b0 small fix 2021-03-29 12:29:35 +02:00
olivermrbl
3b801e7486 fix nullable description 2021-03-29 11:45:30 +02:00
olivermrbl
38521169c0 add integration tests 2021-03-29 10:28:14 +02:00
olivermrbl
d9cd52a177 fix(medusa): Move discount usage from rule to discount 2021-03-29 10:15:41 +02:00
Oliver Windall Juhl
1aa1760640 hotfix(medusa): Add missing discount field (#213) 2021-03-18 10:07:56 +01:00
olivermrbl
7872d37c04 fix merge conflicts 2021-03-17 14:50:07 +01:00
Sebastian Rindom
a26b12a536 fix: expose statusses on order 2021-03-17 14:35:53 +01:00
olivermrbl
8fc6b26cb8 pr review fixes 2021-03-17 10:32:11 +01:00
olivermrbl
fa2c6f9beb fix merge conflicts 2021-03-17 08:52:00 +01:00
olivermrbl
de7245b574 --amend 2021-03-17 08:50:15 +01:00
Sebastian Rindom
3c3d6a0d8f fix 2021-03-17 08:43:49 +01:00
olivermrbl
c513813bb6 fix(medusa): Add usage_count + usage_limit to discount 2021-03-17 08:42:14 +01:00
Sebastian Rindom
49f1d0f67a fix: merge 2021-03-16 22:39:29 +01:00
Sebastian Rindom
31d5bb017d fix: merge 2021-03-16 22:27:09 +01:00
Sebastian Rindom
3d0dff58c4 docs: fixture improvements + small fixes (#204)
* fix: deref arrays

* docs: clean up

* fix: update license
2021-03-16 18:15:41 +01:00
Sebastian Rindom
b18beb5a84 Merge remote-tracking branch 'origin/develop' into release/next 2021-03-16 13:58:18 +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
3fbf38ffc9 fix(medusa): expose items.refundable 2021-03-15 13:45:20 +01:00
Sebastian Rindom
6ad2b0e6e9 fix: merge api 2021-03-15 08:28:53 +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
Sebastian Rindom
ffac0d3a3d fix: add region to gift-cards 2021-03-11 16:18:33 +01:00
Sebastian Rindom
ca74226d4a docs: add new endpoints 2021-03-11 08:39:44 +01:00
Sebastian Rindom
0601b34765 chore: merge 2021-03-11 08:21:37 +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
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
521d306b71 fix: adds integration test to create endpoint 2021-03-08 15:44:37 +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
olivermrbl
d280d93e8f Merge branch 'hotfix/product-retrieve' into develop 2021-03-03 13:35:11 +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
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
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
Sebastian Rindom
63e7ce765e Merge remote-tracking branch 'origin/develop' into release/next 2021-02-25 14:38:47 +01:00
Sebastian Rindom
0320788aac fix: update-product 2021-02-25 08:41:55 +01:00
Oliver Windall Juhl
22be418ec1 fix(medusa): Add querying func. on customer retrievals (#181) 2021-02-23 13:40:49 +01:00
olivermrbl
7fd89de795 hotfix: wrap update-product in transaction 2021-02-23 13:02:54 +01:00
Sebastian Rindom
99ad43bf47 feat(medusa): tracking links (#177)
* fix: creates tracking links on fulfillments

* fix: typo
2021-02-18 16:59:19 +01:00
Sebastian Rindom
7308946e56 feat: notifications (#172)
The Notifications API allows plugins to register Notification Providers which have `sendNotification` and `resendNotification`.

Each plugin can listen to any events transmittet over the event bus and the result of the notification send will be persisted in the database to allow for clear communications timeline + ability to resend notifications.
2021-02-15 11:59:37 +01:00
Sebastian Rindom
4229e241d0 fix: test 2021-02-14 23:18:15 +01:00
Oliver Windall Juhl
c4d1203155 feat(medusa): Product category, type and tags 2021-02-12 08:42:19 +01:00
Sebastian Rindom
427ae25016 feat: adds paypal (#168) (#169) 2021-02-08 21:40:59 +01:00
Oliver Windall Juhl
81df78384c hotfix(medusa): Get cart with session (#165) 2021-02-04 14:51:04 +01:00
Sebastian Rindom
d8e806d8ff Hotfix/tag relation (#166)
* fix: remove default tag relation

* fix: auto fulfill bp swaps
2021-02-04 14:38:41 +01:00
Sebastian Rindom
690d339667 feat(medusa,brightpearl,segment,webshipper): claims (#163)
* chore: create tests

* chore: models

* fix: passing initial tests

* test: adds integration test

* test: clean up integration implementation

* fix: claims

* fix: brightpearl + webshipper

* tests: passing

* fix: update claim items

* fix: adds gitignore

* fix: pr comments

* fix: single migration

* fix(medusa-plugin-segment): adds item claimed event to segment
2021-02-03 09:49:12 +01:00
Oliver Windall Juhl
7e14da1225 feat: adds discount code search functionality (#155) 2021-01-27 11:13:24 +01:00
Oliver Windall Juhl
103749eb65 hotfix: customer address updates + mongo ids (#153) 2021-01-26 14:59:50 +01:00