# Map Shipping and Handling

**URL:** <https://forums.ordoro.com/t/map-shipping-and-handling/368>\
**Category:** Uncategorized\
**Created:** [February 25, 2019, 3:16pm UTC](https://forums.ordoro.com/t/map-shipping-and-handling/368 "2019-02-25T15:16:00Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![jmawebtech](https://yyz1.discourse-cdn.com/flex029/user_avatar/forums.ordoro.com/jmawebtech/32/20_2.png) [@jmawebtech](https://forums.ordoro.com/u/jmawebtech)\
**Post date:** [February 25, 2019, 3:16pm UTC](https://forums.ordoro.com/t/map-shipping-and-handling/368/1 "2019-02-25T15:16:00Z")

</div>

Hi,

I am trying to create an order in Ordoro, using the API. My goal is to map the shipping and handling field, instead of adding shipping as an order item. What is wrong with my code?

POST: [https://apiverson.ordoro.com/order](https://apiverson.ordoro.com/order)

{“billing\_address”:{“city”:“Watertown”,“name”:“Joe Smith”,“zip”:“02472”,“phone”:“7813300737”,“street1”:“123 Main St”,“company”:"",“state”:“MA”,“country”:“United States”,“street2”:""},“lines”:[{“product”:{“sku”:“ABC SIMPLE”,“name”:“THE ABC PRODUCT”,“weight”:0.0,“price”:1.0,“cost”:0.0},“tax\_lines”:[],“item\_price”:1.0,“total\_price”:1.0,“quantity”:1}],“shipping\_address”:{“city”:“Watertown”,“name”:“Joe Smith”,“zip”:“02472”,“phone”:“7813300737”,“street1”:“123 Main St”,“state”:“MA”,“country”:“United States”,“street2”:""},“shipments”:[{“tracking”:{“cost”:0.0,“updated”:“0001-01-01T00:00:00”,"\_void":false,“tracking”:“1234567890”,“created”:“0001-01-01T00:00:00”},“requested\_shipping\_method”:“UPS”,“notify\_cart”:false,“updated”:“0001-01-01T00:00:00”,“order\_date”:“0001-01-01T00:00:00”,“created”:“0001-01-01T00:00:00”,“shipped”:false}],“shipping\_amount”:1.0,“status”:“new”,“order\_id”:“Test12”,“product\_amount”:1.0,“grand\_total”:2.9,“cart”:97244,“order\_date”:“2019-02-25T18:10:23.0668752-05:00”,“discount\_amount”:0.1,“tax\_amount”:0.0}

{“error\_message”: “The input field ‘shipments’ was not expected.”, “param”: null} ![02%20AM](https://cdck-file-uploads-canada1.s3.dualstack.ca-central-1.amazonaws.com/flex029/uploads/ordoro/original/1X/515f31157f9c80a4b92ef58c7a8c7f41c7ae202e.png)

---

<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:** [February 25, 2019, 5:51pm UTC](https://forums.ordoro.com/t/map-shipping-and-handling/368/2 "2019-02-25T17:51:11Z")

</div>

Hi,

You’ll want to use POST /order with `shipping_amount` as the parameter to update the shipping and handling field in the UI.

Hope this helps.
