Spree has added the ability to checkout an order using our API. Give it a try!
Posted January 29, 2013 by John Dyer Comments The Spree team has been working hard the last few months to make our API really robust. In November we announced the complete refactoring of the API to include a brand new Backbone.js based administration interface and a new documentation site. We are now adding the ability to checkout an order using the API . Using the “CheckoutsController” feature the API will allow an existing order to be updated and advanced until it is in the complete state following these steps: Creating a New, Empty Order You can create a new, empty order by making the following request: POST /api/checkouts Advancing an Order’s State To advance an order to the next state, make the following request: PUT /api/checkouts/ORDER_NUMBER If successful, this will advance the order’s state and return the order specified in the request. Otherwise, this will return...