# Error while Place an Order Via API

**URL:** https://forums.ordoro.com/t/error-while-place-an-order-via-api/566
**Category:** Bug Reports
**Created:** [May 22, 2020, 10:08am UTC](https://forums.ordoro.com/t/error-while-place-an-order-via-api/566 "2020-05-22T10:08:48Z")
**Posts on this page:** 1
**Showing post:** 2

<div class="post-metadata">

### Author: ![sophie](https://yyz1.discourse-cdn.com/flex029/user_avatar/forums.ordoro.com/sophie/32/19_2.png) [@sophie](https://forums.ordoro.com/u/sophie)
#### Post date: [May 22, 2020, 3:15pm UTC](https://forums.ordoro.com/t/error-while-place-an-order-via-api/566/2 "2020-05-22T15:15:26Z")

</div>

Hi,

You must use a cart id that is in the account. `cart_order_id` is the originating order id from the sales channel or cart, it is used internally, but you may use it if it helps you to keep a reference.

I replied with a question on the last time you posted this.

> [@Missing Value: Shipping Address](https://forums.ordoro.com/t/missing-value-shipping-address/297/2):
>
> Are you certain that the request body is being posted with the correct json payload?

> [@Missing Value: Shipping Address](https://forums.ordoro.com/t/missing-value-shipping-address/297/6):
>
> I used your exact payload with one minor change to use a cart id that is valid for the company id I was making the POST request to, and did not receive an error. I would suggest ensuring you are sending the JSON payload to the url as expected.

---

_[View the full topic](https://forums.ordoro.com/t/error-while-place-an-order-via-api/566)._
