Commit Graph

189 Commits

Author SHA1 Message Date
olivermrbl
c0f2d629ab PR Review fixes 2021-06-07 15:23:41 +02:00
olivermrbl
e79b8f6494 add update-line-item on draft orders 2021-06-04 14:33:51 +02:00
olivermrbl
862f8282c4 fix merge conflicts 2021-06-03 11:25:18 +02:00
olivermrbl
8333a547aa add retrieve discount by code 2021-06-02 08:09:04 +02:00
Sebastian Rindom
586f4d884c feat: allow custom address on claims 2021-05-27 12:29:11 +02:00
olivermrbl
e3343f74a7 fix merge conflicts from develop 2021-05-25 15:44:26 +02:00
Oliver Windall Juhl
fb0613d3cb fix(medusa): Add free shipping functionality (#241) 2021-04-27 15:14:18 +02:00
Oliver Windall Juhl
f8f1f57fa1 feat(medusa): Swaps on swaps (#229)
Co-authored-by: Sebastian Rindom <skrindom@gmail.com>
2021-04-20 10:55:15 +02:00
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
olivermrbl
641c1df14a add docs 2021-03-11 13:40:20 +01:00
olivermrbl
83a7d7ec5a fix pr review 2021-03-11 11:38:16 +01:00
Sebastian Rindom
ca74226d4a docs: add new endpoints 2021-03-11 08:39:44 +01:00
olivermrbl
d55c24e28c Merge branch 'develop' into feat/draft-orders 2021-03-11 08:35:41 +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
97b19ccbdd fix merge conflicts 2021-02-27 10:22:33 +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