You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to spree...@googlegroups.com, Ernest Sankeshwar
We wanted to create a Spree app where the entire front-end is a single-page app. What is the recommended approach for this?
As part of the same, we were exploring the Spree API endpoints required to be used from the front-end. Are there any references or guides we can follow, particularly on the implementation of the checkout process?
We couldn't find any API documentation on creation of shipping address and billing address during the checkout process.
We tried sending a POST request to the addresses API controller, but there were only the show and update methods there
We tried a PUT request on the orders API controller by passing parameters such as orders['bill_address_attributes']['...'], orders['bill_address']['...'], but we received status 422.
We also tried a POST request at /checkout/update/address, but we got route not found error.
We have not been able to find a method to create shipping and billing addresses in the 'address' phase of the checkout flow. Are there further references where we can find details on this? Any pointers to documentation or source code regarding the above would be of great help.
Ryan Bigg
unread,
Jul 3, 2014, 11:56:08 PM7/3/14
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message