WP/WooCommerce REST API cart/checkout/order [closed]

Since the WordPress Rest API is getting merged into core and WooCommerce extended their API as well I stared to wonder how it would be possible to build an entire eCommerce website with it.

When you create an independent frontend (no theme – standalone app with node.js e.g) and use the API to get all content how can you manage a checkout process or more important create an order?

The WooCommerce API requires authentication to work with/create orders. This limits its use to existing customers. A normal install of WordPress + WooCommerce enables every user signed in or not to create an order. Further how would you realize a cart inclusive of checking if a applied coupon is valid etc. ? Payment options and similar infos required for a checkout process even if I had the rest of the necessary information to create an order are not accessible via an API neither…

Any help regarding creating an REST API backed standalone app would be very helpful.
Thanks in advance.

0

Leave a Comment