Commit Graph

112 Commits

Author SHA1 Message Date
olivermrbl 37dfd5b6f8 hotfix(medusa): Customer orders decoration 2020-12-04 08:37:50 +01:00
Sebastian Rindom 304431e7c3 fix: allow swaps with total < 0 (#143) 2020-12-02 17:37:46 +01:00
Sebastian Rindom 83844de960 hotfix(medusa): adds variant retrieve/list endpoints 2020-11-26 15:12:37 +01:00
Sebastian Rindom fd04233238 feature: swaps (#137)
* feat: swap schema

* chore(refactor): move returns to separate service

* swap order creates return

* fix: adds returns/fulfillments/shipments and cart creation to swaps

* search products by variants

* feat: swaps ready

* fix: test passing

* chore: include customer expand fields on order

* add tests

* fix: add brightpearl plugin support

* fix: adds swap link template setting

* fix: tests

* fix(medusa-plugin-brightpearl): add swap status option

* docs: add swap description

* fix: adds GET swap in store api

* chore: unmock axios

* fix: passing klarna tests

* fix: pr
2020-11-24 14:02:49 +01:00
Sebastian Rindom 8166a3952f hotfix: add missing totals calculations to order service decorate 2020-11-04 14:02:49 +01:00
Oliver Windall Juhl d67b6e6ebe feat(medusa): Adds set and delete metadata endpoints for region and orders (#131) 2020-11-04 11:38:04 +01:00
Sebastian Rindom e3faa646a7 fix: add country code on preCartCreation 2020-11-02 12:32:45 +01:00
Sebastian Rindom b1786ce9d8 fix: adds field selection to list order endpoint (#133) 2020-10-31 15:28:26 +01:00
Sebastian Rindom f2c62cd232 feat(medusa): adds support for gift cards (#132)
* fix(medusa-plugin-brightpearl): adds gift cards to gift card nominal code

* fix: allow orders with 0 total to be created

* fix: gift card ready

* tests passing

* docs: brightpearl comment

* docs: clearer REMEMBER note
2020-10-28 15:55:50 +01:00
Sebastian Rindom b33fcfa182 chore: test fix 2020-10-22 11:37:23 +02:00
Sebastian Rindom 30e64dda71 allow country code on set region 2020-10-20 14:34:49 +02:00
Sebastian Rindom c1e821d9d4 feat: return shipping and flow (#125)
Adds support for return shipping methods and changes returns to have a request/receive flow. Store operators should now first request a return, noting the line items that will be returned. When the inventory is received the return will be registered triggering the refund. Return shipping methods can now be created for all regions.
2020-10-14 17:58:23 +02:00
Oliver Windall Juhl 128351a8f0 hotfix(CartService): Preserve metadata on line-item updates 2020-10-14 08:28:56 +02:00
Sebastian Rindom abbe42cec8 hotfix(medusa): adds missing regionService 2020-10-08 10:17:38 +02:00
Sebastian Rindom 11bedf8c6f fix/cancel-order (#120)
* fix: adds ability to cancel order

* passing tests

* chore: clean up unused code
2020-10-06 14:00:47 +02:00
Sebastian Rindom d784e5b0fb hotfix: list shipping options by product id 2020-09-21 14:29:36 +02:00
Sebastian Rindom 15bcc1d68c hotfix(medusa): shipping option metadata (#110)
* hotfix(medusa): allow metadata update of shipping options

* fix: typo
2020-09-21 11:44:57 +02:00
Sebastian Rindom 745e64323c hotfix(medusa): allow custom refund with return 2020-09-18 13:49:53 +02:00
Oliver Windall Juhl e3d8eea3cd (feat): Adds phone number to Customer 2020-09-09 16:55:34 +02:00
Oliver Windall Juhl 3de1e6dd4a feat(plugins): Adds add-on plugin
Adds an add-on plugin, that supports adding add-ons to line items in the cart
2020-09-09 15:22:57 +02:00
Sebastian Rindom 951684c2e1 hotfix: Don't send entire error 2020-09-08 12:52:01 +02:00
Sebastian Rindom 1e04be90c8 fix: fulfillment api (#104)
* fix: updates admin fulfillment endpoint

* fix: adds shipment creation in admin

* fix: adds shipment creation in admin

* fix: missing await
2020-09-08 12:02:26 +02:00
Sebastian Rindom 520115a2ce fix(medusa): product variant metadata (#98)
fix(medusa-plugin-sendgrid): generic email support
2020-09-04 18:48:14 +02:00
olivermrbl bcd54d7412 Adds pagination to customerService 2020-09-03 12:32:28 +02:00
olivermrbl 238e9183a9 Admin related fixes 2020-09-02 15:53:14 +02:00
Sebastian Rindom e8afb6b968 fix: add tax_code to regions 2020-08-31 11:30:13 +02:00
olivermrbl 014354a16d Adds discount decoration 2020-08-28 11:36:35 +02:00
Oliver Windall Juhl 9dc6999a9a feat(pagination): Adds MVP pagination to orders and products for admin routes 2020-08-27 17:51:23 +02:00
olivermrbl d8aac759cf fix(discount): allow all updates on discounts 2020-08-27 16:26:30 +02:00
olivermrbl cfa74179dc fix(order): Adds display_id to free text search 2020-08-27 15:04:23 +02:00
Sebastian Rindom dd2980500e chore(medusa): cleanup test routes 2020-08-27 09:53:22 +02:00
olivermrbl ee00bd27e4 Adds decoration for admin endpoints 2020-08-25 13:24:35 +02:00
Oliver Windall Juhl eeca05117a Adds ip lookup middleware for cart creation 2020-08-25 09:51:30 +02:00
olivermrbl 5917927a44 Adds search for list-customer + fix for adyen package.json 2020-08-21 16:30:53 +02:00
olivermrbl fa6b131111 All tests passes 2020-08-20 09:19:54 +02:00
olivermrbl f68c3fe067 Merge branch 'integration/dummy-project' of https://github.com/medusajs/medusa into integration/dummy-project 2020-08-12 20:55:35 +02:00
olivermrbl 782acf4dca Adds query builder 2020-08-12 20:55:31 +02:00
Sebastian Rindom ab0c51819c Brightpearl integration sales flow 2020-08-11 15:40:04 +02:00
Sebastian Rindom ee93256e69 Tests passing 2020-08-05 15:26:00 +02:00
Sebastian Rindom 21bc096b2e Adds Oauth support to plugins 2020-08-04 17:13:47 +02:00
Sebastian Rindom c18677d5f2 Adds integration to send sales orders to brightpearl 2020-08-03 10:23:45 +02:00
Sebastian Rindom 630bf3abc6 Adds gift card support 2020-07-29 11:51:59 +02:00
Sebastian Rindom 4c9b876407 Adds gift card line item generation 2020-07-20 16:29:27 +02:00
Sebastian Rindom df47da50fa Gift cards are automatically added to gift card profile 2020-07-20 15:54:14 +02:00
Sebastian Rindom 0b8f1a5c31 adds wishlist plugin 2020-07-20 13:04:29 +02:00
Sebastian Rindom 3710f7f80a Adds dynamic coupon codes and segment plugin 2020-07-17 14:06:55 +02:00
Sebastian Rindom ec6a538877 All tests passing 2020-07-15 17:47:43 +02:00
Sebastian Rindom 312e405588 Robustness 2020-07-14 17:23:43 +02:00
Sebastian Rindom 44c7177e43 Automatic stripe customers; address 2020-07-14 08:10:09 +02:00
Sebastian Rindom cd989c56a7 Setup future usage 2020-07-13 17:35:50 +02:00