I am trying to create order by API with below detail and getting
Error Message : “{“error_message”: “Missing value”, “param”: “shipping_address”}”
URL : https://apiverson.ordoro.com/order
Request Body : { ‘order_id’ : ‘order-1234’, ‘cart’ : 100, ‘cart_order_id’ : ‘thats-some-funky-1234’, ‘order_date’: ‘2015-12-09T12:01:00.855700’, ‘shipping_address’ : { ‘name’ : ‘joe schmo’, ‘street1’ : ‘123 foo-bar ln’, ‘city’: ‘austin’, ‘state’ : ‘tx’, ‘zip’ : ‘78701’, ‘country’ : ‘USA’, ‘phone’ : ‘8675309’, ‘email’: ‘jenny@igotyournumber.com’}, ‘billing_address’ : { ‘name’ : ‘joe schmo’, ‘street1’ : ‘123 foo-bar ln’, ‘city’ : ‘austin’, ‘state’ : ‘tx’, ‘zip’ : ‘78701’, ‘country’ : ‘USA’, ‘phone’ : ‘4592222’, ‘email’ : ‘mrgattispizza@delivers.com’}, ‘lines’ : [ { ‘cart_orderitem_id’ : ‘abc.123’, ‘quantity’ : 2, ‘product’: { ‘sku’: ‘sku1’, ‘name’ : ‘special product name’, ‘price’ : 69.69, ‘weight’ : 1, ‘taxable’ : ‘false’, ‘cost’: 1.69, ‘amazon_extra_info’: { ‘pending_quantity’ : 4, ‘listing_id’ : ‘12356’, ‘asin’ : ‘55555’ } } }, { ‘cart_orderitem_id’ : ‘abc.456’, ‘quantity’ : 1, ‘product’ : { ‘sku’ : ‘sku2’, ‘name’ : ‘Plastic Toy’ , ‘price’ : 1.23, ‘weight’ : 2, ‘taxable’ : ‘false’, ‘cost’ : 3.45 } } ], ‘tags’ : [ { ‘text’ : ‘Unpaid’ , ‘color’ : ‘#FFFFFF’}, { ‘text’ : ‘Alert’, ‘color’ : ‘#C0C0C0’ } ], ‘product_amount’ : 100.1, ‘tax_amount’ : 1.23, ‘grand_total’ : 123.45 }
I am successfully able to create order with request body :
{“order_id”: “123456”, “billing_address”: {“name”: “Frank”}, “shipping_address”: {“name”: “John”}}
I tried with adding and removing some properties but always getting the same above mentioned error, so it seems it’s not giving proper error message.
Can you provide me a proper request body with all property values with which i can create order.