# Missing Value: Shipping Address

**URL:** <https://forums.ordoro.com/t/missing-value-shipping-address/297>\
**Category:** Uncategorized\
**Created:** [August 20, 2018, 7:22pm UTC](https://forums.ordoro.com/t/missing-value-shipping-address/297 "2018-08-20T19:22:48Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jon.Elite](https://avatars.discourse-cdn.com/v4/letter/j/a9adbd/32.png) [@Jon.Elite](https://forums.ordoro.com/u/Jon.Elite)\
**Post date:** [August 20, 2018, 7:22pm UTC](https://forums.ordoro.com/t/missing-value-shipping-address/297/1 "2018-08-20T19:22:48Z")

</div>

Hello,

I have been trying to create a test order from the [devapiverson.docs.apiary.io](http://devapiverson.docs.apiary.io) API.  
I copied and pasted the example request body from [https://devapiverson.docs.apiary.io/#reference/order/order/post](https://devapiverson.docs.apiary.io/#reference/order/order/post) and I am receiving this error message:

```
{
    "error_message": "Missing value",
    "param": "shipping_address"
}

```

I also tried tweaking the information, and completely writing a new order from scratch. No luck - same error message. What am I doing wrong?

---

<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:** [August 20, 2018, 8:43pm UTC](https://forums.ordoro.com/t/missing-value-shipping-address/297/2 "2018-08-20T20:43:33Z")

</div>

Hi,

Are you certain that the request body is being posted with the correct json payload? What is the url you are using?

Thank you,

Sophie

---

<div class="post-metadata">

**Author:** ![Jon.Elite](https://avatars.discourse-cdn.com/v4/letter/j/a9adbd/32.png) [@Jon.Elite](https://forums.ordoro.com/u/Jon.Elite)\
**Post date:** [August 20, 2018, 9:44pm UTC](https://forums.ordoro.com/t/missing-value-shipping-address/297/3 "2018-08-20T21:44:33Z")

</div>

Yes, positive. Tried it in C# and in Postman  
The URL I utilized was [https://apiverson.ordoro.com/order](https://apiverson.ordoro.com/order)

I copied and pasted the example request body, and even tried reconstructing it with custom realistic data.  
Yet I received the same error both times

---

<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:** [August 20, 2018, 10:22pm UTC](https://forums.ordoro.com/t/missing-value-shipping-address/297/4 "2018-08-20T22:22:53Z")

</div>

I see that our docs have a typo, there should not be a `validation` key in the request for either addresses.

You will also need to adjust the `cart` value to be of an id that exists in your account.

Other than the aforementioned items, if you ensure that you are sending valid JSON, with the content-type set to JSON, the example will work as is.

---

<div class="post-metadata">

**Author:** ![nuerobiology](https://avatars.discourse-cdn.com/v4/letter/n/f475e1/32.png) [@nuerobiology](https://forums.ordoro.com/u/nuerobiology)\
**Post date:** [April 17, 2020, 10:10am UTC](https://forums.ordoro.com/t/missing-value-shipping-address/297/5 "2020-04-17T10:10:19Z")

</div>

Hello

I am getting same error

Array  
(  
[error\_message] =\> Missing value  
[param] =\> shipping\_address  
)

below is my code

\<?php $ch = curl\_init(); include\_once 'config.php'; $string = $username.':'.$password; $encode\_string = base64\_encode($string); $authentication\_string = "Basic ".$encode\_string; $Accept ='application/json'; $url = 'https://apiverson.ordoro.com/order'; $request\_headers = array( "Accept:" . $Accept, "Authorization:" . $authentication\_string ); $datas = '{ "billing\_address": { "city": "austin", "country": "USA", "email": "mrgattispizza@delivers.com", "name": "joe schmo", "phone": "4592222", "state": "tx", "street1": "123 foo-bar ln", "zip": "78701" }, "cart": 103571, "cart\_order\_id": "103571", "grand\_total": 123.45, "lines": [{ "cart\_orderitem\_id": "1035711", "product": { "amazon\_extra\_info": { "asin": "55555", "listing\_id": "12356", "pending\_quantity": 4 }, "cost": 1.69, "name": "special product name", "price": 69.69, "sku": "sku1", "taxable": "false", "weight": 1 }, "quantity": 2 }, { "cart\_orderitem\_id": "1035714", "product": { "cost": 3.45, "name": "Plastic Toy", "price": 1.23, "sku": "sku2", "taxable": "false", "weight": 2 }, "quantity": 1 }], "order\_date": "2020-12-09T12:01:00.855700", "order\_id": "2-222234", "product\_amount": 100.1, "shipping\_address": { "city": "austin", "country": "USA", "email": "jenny@igotyournumber.com", "name": "joe schmo", "phone": "8675309", "state": "tx", "street1": "123 foo-bar ln", "zip": "78701" }, "tags": [{ "color": "#FFFFFF", "text": "Unpaid" }, { "color": "#C0C0C0", "text": "Alert" }], "tax\_amount": 1.23 }'; $ch = curl\_init(); curl\_setopt($ch, CURLOPT\_URL, $url); curl\_setopt($ch, CURLOPT\_HTTPHEADER, $request\_headers); curl\_setopt($ch, CURLOPT\_POST, TRUE); curl\_setopt($ch, CURLOPT\_POSTFIELDS, $datas); curl\_setopt($ch, CURLOPT\_RETURNTRANSFER, TRUE); $season\_data = curl\_exec($ch); $json\_data = json\_decode($season\_data, true); curl\_close($ch); echo "
```
"; print_r($json_data); echo "
```
"; ?\>

please let me know what is wrong, and how to place order successfully

---

<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:** [April 28, 2020, 10:28pm UTC](https://forums.ordoro.com/t/missing-value-shipping-address/297/6 "2020-04-28T22:28:45Z")

</div>

> [@sophie](#):
>
> Are you certain that the request body is being posted with the correct json payload?

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.

---

<div class="post-metadata">

**Author:** ![shopifymultivendor](https://yyz1.discourse-cdn.com/flex029/user_avatar/forums.ordoro.com/shopifymultivendor/32/154_2.png) [@shopifymultivendor](https://forums.ordoro.com/u/shopifymultivendor)\
**Post date:** [April 26, 2023, 10:46am UTC](https://forums.ordoro.com/t/missing-value-shipping-address/297/7 "2023-04-26T10:46:52Z")

</div>

Thanks a lot, your response solve my issue too. I’m a Shopify multivendor expert in an IT company-CartCoders. I always try to figure out the solution to my problems on forums like Ordoro.
