<p>Yes, you can submit all updates to the cart in the one controller action <code>commerce/cart/update-cart</code></p>

CC BY-SA 4.0
2018-06-22T00:20:44.797Z
2018-06-22T00:20:44.797Z
Luke Holder
<p>I'm designing a donation form right now for what will be a Craft Commerce site, and I want to collect the donator's billing name, address, etc in the product form which adds the donation to the cart. Will <code>commerce/cart/updateCart</code> accept <code>billingAddress</code> parameters when posted?</p>

<p>(I would simply test this, but I've not even started the build phase yet, and don't want to include the address fields on the donation form in my design if it won't be possible.)</p>

<plugin-craftcommerce><addresses>
Can I add a billing address while updating the cart?
# Can I add a billing address while updating the cart?

(Asked by: username_0 on 2018-06-21)

I'm designing a donation form right now for what will be a Craft Commerce site, and I want to collect the donator's billing name, address, etc in the product form which adds the donation to the cart. Will `commerce/cart/updateCart` accept `billingAddress` parameters when posted?

(I would simply test this, but I've not even started the build phase yet, and don't want to include the address fields on the donation form in my design if it won't be possible.)

**Tags:** plugin-craftcommerce, addresses


---

## 1 answers

### Answer by username_1 on 2018-06-22. Score: 2 | Accepted answer

Yes, you can submit all updates to the cart in the one controller action `commerce/cart/update-cart`


---

