Sure! We are doing this request exactly as explained in the
documentation (http://api.spreecommerce.com/v1/orders/#modifying-address-information):
PUT /api/orders/<our Order's
RXXX>/address?billing_address[firstname]="first
name"&billing_address[lastname]="last name"&...
We tried passing only the billing_address, only the shipping_address
and both, and it didn't work on any of these combinations... We are
using the Spree's 1-3-stable branch on our Gemfile, with these
revisions:
spree => 99f25ccddf1d1198b7c141d89a2a1402f76b5943
spree_auth_devise => ab03a7a22740b52f96bf0311a1e9f18a99ee02f2
Should we try updating to a newer revision?
The Spree's response to this PUT is a "OK", but the address
information is not changing in the database... Any idea of what we may
be doing wrong?
Regards!
Tiago.
On Fri, Feb 8, 2013 at 8:50 PM, Ryan Bigg wrote:Could you provide an example of how you make this request?
On 09/02/2013, at 8:32, Tiago Motta Jorge wrote:
Hi, there!
I'm building a store using Spree only through its API, to work as my
backend, but I'm not being able to update the address of an Order, as
documented in the order's API:
http://api.spreecommerce.com/v1/orders/#modifying-address-informationAfter executing the PUT, my Order is still with no address information...
Any clue of what I may be doing wrong?
Regards!
Tiago.
--
You received this message because you are subscribed to the Google Groups
"Spree" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to
[email protected].
For more options, visit
https://groups.google.com/groups/opt_out.--
You received this message because you are subscribed to the Google Groups
"Spree" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to
[email protected].
For more options, visit
https://groups.google.com/groups/opt_out. --
You received this message because you are subscribed to the Google Groups "Spree" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
[email protected].
For more options, visit
https://groups.google.com/groups/opt_out.