BLC 3.0 - Add shipping to Order via REST API?
Posted: Thu Jun 27, 2013 6:55 am
We've started using Broadleaf 3.0 through the REST API and we're a little bit stuck with the following issue:
We've created a new Cart and are able to add some Products to the Cart. For completing the Order, we were able to extend the REST API and retrieve the shipping options (fixed FulfillmentOptions). Only now we're wondering how to apply a chosen option to the Order (in order for it to apply to the Order and recalculate the total).
Is there a simple way to accomplish this via a REST API call? There isn'r really one available I think, or plz prove us wrong when there is one and we've looked over it. And if there isn't one.. can someone plz explain us, how we can do this - what logic needs to be implemented, in order that an shipping option can be applied to the Order/Cart.
Thx in advance!
Jan
We've created a new Cart and are able to add some Products to the Cart. For completing the Order, we were able to extend the REST API and retrieve the shipping options (fixed FulfillmentOptions). Only now we're wondering how to apply a chosen option to the Order (in order for it to apply to the Order and recalculate the total).
Is there a simple way to accomplish this via a REST API call? There isn'r really one available I think, or plz prove us wrong when there is one and we've looked over it. And if there isn't one.. can someone plz explain us, how we can do this - what logic needs to be implemented, in order that an shipping option can be applied to the Order/Cart.
Thx in advance!
Jan