Hi,
I am upgrading from V2 to V3 of the Ordoro API. I cannot create orders. Is my URL correct? I removed the trailing slash.
POST http://apiverson.ordoro.com/order HTTP/1.1
Authorization: Basic XX==
Content-Type: application/json
Host: apiverson.ordoro.com
Content-Length: 678
Expect: 100-continue
Connection: Keep-Alive
{“billing_address”:{“city”:“Watertown”,“name”:“Joe Jones”,“zip”:“02472”,“phone”:“7813300737”,“street1”:“123 Main St.”,“company”:“JMA”,“state”:“MA”},“lines”:[{“product”:{“sku”:“sjobs”,“name”:“Steve Jobs Book”,“weight”:0.0,“price”:1.0,“cost”:1.0},“tax_lines”:[],“item_price”:10.0,“total_price”:10.0,“product_name”:“Steve Jobs Book”,“quantity”:1}],“shipping_address”:{“city”:“Watertown”,“name”:“Joe Jones”,“zip”:“02472”,“phone”:“7813300737”,“street1”:“123 Main St.”,“company”:“JMA”,“state”:“MA”},“shipping_amount”:0.0,“order_id”:“123-45681”,“product_amount”:0.0,“grand_total”:0.0,“cart”:61148,“order_date”:“2018-05-29T15:18:35.8148206-04:00”,“discount_amount”:1.0,“tax_amount”:2.0}
HTTP/1.1 301 Moved Permanently
Server: nginx/1.13.5
Date: Tue, 29 May 2018 19:20:34 GMT
Content-Type: text/html
Content-Length: 185
Connection: keep-alive
Strict-Transport-Security: max-age=15724800; includeSubDomains;
301 Moved Permanently
nginx/1.13.5