This issue is created to coordinate efforts and have one space to reference to all of the PR's aiming to provide API platform support for Sylius.
Every time you will contribute to Sylius API please, take into account the following decisions (ADRs):
If you would like to add something there feel free to open a new proposal :)
This effort is being done in the current Sylius master branch. Please help us with testing what's been done, by using the API locally 馃殌
If you can't wait to see Sylius with the full API Platform support, feel more than welcome to help us with it. All of these will require to have behat coverage (@ui tagged scenarios run also tagged as @api) to merge them to master.
[x] Locales #11273
All the features from features/locale/managing_locales
2 scenarios / 3 files
Create an index action only (show may be required as well)
[x] Association Types #11319
All the features from: features/product/managing_product_association_types
12 scenarios / 8 files
Full CRUD for options and values + validation and filtering
[x] Countries #11278, #11431
All the features from features/addressing/managing_countries
15 scenarios / 8 files
Full CRUD for countries and provinces + validation
[x] Zones #11372
All the features from features/addressing/managing_zones
20 scenarios, 7 files
Full CRUD
Ensure proper zone type validation
[ ] Taxonomies
All the features from features/taxonomy
47 scenarios, 14 files
Full CRUD
Only features with @ui and without @todo tag
[ ] Channels #11417, #11486
All the features from features/user/managing_channels
35 scenarios, 19 files (16 scenarios/4 files already done)
Full CRUD
[ ] Tax rates
All the features from features/taxation/managing_tax_rates
18 scenarios, 6 files
Full CRUD
[ ] Modifying Order's address
All the features from features/order/managing_orders/modifying_billing_address and features/order/managing_orders/modifying_shipping_address
18 scenarios, 10 files
[ ] Filtering on the Orders list
All the features from features/order/managing_orders/order_filtration
12 scenarios, 3 files
[ ] Order details
All the features from features/order/managing_orders/order_details
30 scenarios, 22 files
[ ] Browsing orders
All the features from features/order/managing_orders/browsing_orders
8 scenarios, 6 files
[ ] Handling shipments and payments
All the features from features/order/managing_orders/handling_order_payment and features/order/managing_orders/handling_order_shipment
15 scenarios, 7 files
If you will cover some of the features above, let us know, so the effort will not be duplicated. More features will be added in the nearest future
Thanks for compiling this list, 艁ukasz! 馃帀
As discussed on Slack, I think we should clarify if this new API (with API Platform) will be also a shop/frontend API. If the goal is to improve the Sylius PWA capabilities a shop/frontend API is mandatory.
Once we have clarified this we can discuss how to implement these APIs. Should we proceed with unified API routes that behave differently depending on authentication status or user type? Or should we have admin API routes separated from frontend ones?
Most helpful comment
Thanks for compiling this list, 艁ukasz! 馃帀