Commit Graph

70 Commits

Author SHA1 Message Date
Sebastian Rindom
53124349ef hotfix: throw on empty carts 2020-11-05 10:19:28 +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
Oliver Windall Juhl
cc23a3b070 feat(medusa-interfaces): Adds schema options to base model 2020-10-20 17:07:47 +02:00
Oliver Windall Juhl
46dbbdb9fb hotfix(medusa): Save empty metadata on line-items (#126) 2020-10-17 17:06:20 +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
Sebastian Rindom
5deca90b5f hotfix: fulfillment-schema (#121)
* chore: debug

* corrects fulfillment schema
2020-10-06 16:59:15 +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
Oliver Windall Juhl
d8483cd135 fix(medusa-plugin-addon): Fixes admin endpoints, Adds flag to avoid merging add-on line-items 2020-09-23 09:51:47 +02:00
Oliver Windall Juhl
e3d8eea3cd (feat): Adds phone number to Customer 2020-09-09 16:55:34 +02:00
Sebastian Rindom
021544d454 fix(medusa): adds fulfillment_created event in order service (#101) 2020-09-05 15:40:57 +02:00
olivermrbl
fa6b131111 All tests passes 2020-08-20 09:19:54 +02:00
Sebastian Rindom
341e9423ce Pretty order numbers 2020-08-11 21:53:00 +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
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
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
Sebastian Rindom
60b8bca753 Adds account support 2020-07-12 12:11:31 +02:00
Sebastian Rindom
419d5db340 Klarna clean up 2020-07-11 16:32:05 +02:00
Sebastian Rindom
d930d00723 Klarna orders 2020-07-10 15:41:42 +02:00
olivermrbl
30c101a8be Adds create order transactiom 2020-07-10 10:23:31 +02:00
Sebastian Rindom
788ededf4e Add model details 2020-07-10 08:34:32 +02:00
olivermrbl
08cf7c7f2b Adds createFromCart and order.completed subscribers 2020-07-09 18:16:45 +02:00
Oliver Windall Juhl
5e83a7d38a Adds klarna payment provider (#79) 2020-07-09 12:30:25 +02:00
Sebastian Rindom
7247095078 Adds thumbnail to products 2020-07-07 14:54:24 +02:00
Sebastian Rindom
9c91ae77d2 Merge branch 'integration/dummy-project' of github.com:medusajs/medusa into integration/dummy-project 2020-07-06 11:52:25 +02:00
Sebastian Rindom
f9b232da54 Defaults 2020-07-06 11:52:16 +02:00
olivermrbl
8804ab1595 Adds removeLineItem in CartService with tests 2020-07-05 12:28:44 +02:00
olivermrbl
3cf295b79a Merge branch 'master' into integration/dummy-project 2020-07-02 09:43:22 +02:00
Oliver Windall Juhl
d56ccba2b1 Adds plugin for Contentful synchronization (#75)
Adds plugin for Contentful

Will create product and product variants in Contentful, when created in Medusa

Closes #47
2020-07-02 09:41:57 +02:00
Sebastian Rindom
3e033bf646 Adds default_currency to store settings 2020-06-30 22:06:01 +02:00
Sebastian Rindom
ea0c563bd6 Product and variant creation 2020-06-29 22:03:32 +02:00
Sebastian Rindom
bc5ff91a02 Adds Store Service to control store settings (#76)
Also adds support for `projectConfig.admin_cors` & `projectConfig.store_cors`
2020-06-29 10:23:24 +02:00
Sebastian Rindom
706ca8ac45 Makes ProductVariant operations go through ProductService (#68)
Ensures that we can reliably manage product variants and their relationship to products
2020-05-28 11:44:11 +02:00
Oliver Windall Juhl
8255a839f6 Adds OrderService and /orders endpoints
Adds OrderService

Adds endpoints for orders - both store and admin
2020-05-11 13:54:09 +02:00
Sebastian Rindom
4c2aec2838 Adds publish/subscribe pattern to allow plugins and projects to hook into events (#55)
Also adds CLI to ease development.
2020-05-07 13:47:27 +02:00
Sebastian Rindom
6a78df1ecd Adds endpoints to manage customers (#54) 2020-05-07 13:31:38 +02:00
Sebastian Rindom
516bc7675d Adds Middleware API (#40)
* Adds test project

* Adds e2e for end-2-end tests

* Update gitignore

* Update loaders

* Creates test project

* v0.1.27

* Upgrade

* dependency fixes

* Load project plugins in the plugin loader

* Issue with instanceof

* Fixes versioning issues

* Adds medusa middleware api

* Adds documentation

* Fixes tests
2020-05-01 13:33:03 +02:00
Oliver Windall Juhl
a53822d298 Adds admin endpoints / routes for user (#36)
Adds all endpoints / routes for user operations
Tweaks in UserService
Adds update in UserService
Fixes old tests
2020-04-17 08:13:24 +02:00
Sebastian Rindom
b7557db9f9 Adds Regions (#33)
Regions are a collection of countries that share some common functionality, e.g., currency, available fulfillment and shipping providers and a taxrate. The store operator can have as many Regions as needed.
2020-04-08 09:44:41 +02:00
Sebastian Rindom
ea4185eddd Creates ShippingProfileService & ShippingOptionService (#30)
Adds ShippingProfiles:

With Shipping Profiles store operators can group products together and select which shipping options can fulfill the products. The shipping profiles are region agnostic, but for products to be shippable to a given region the shipping profile must have a shipping option associated that ships to this region.

Adds Shipping Options:

Shipping Options represents a way that the customer can have their order shipped. The shipping option has a fulfillment provider associated to determine who fulfills orders with the given shipping method. If a fulfillment provider has multiple ways that they can ship a shipping option for each of the fulfillment provider's shipping options can be created.
2020-04-07 16:35:27 +02:00
Oliver Windall Juhl
aff1ec3390 Adds DiscountService and TotalsService (#26) 2020-04-07 12:48:57 +02:00