REST API for SALES ORDER data
GET
View all sales orders in XML format
https://localhost:3000/{databasename}/sales_orders.xml?token=123
View all sales orders in JSON format
https://localhost:3000/{databasename}/sales_orders.json?token=123
View single sales order in XML format
https://localhost:3000/{databasename}/{sales_order_id}.xml?token=123
View single sales order in JSON format
https://localhost:3000/{databasename}/{sales_order_id}.json?token=123
View single sales order in PDF format
https://localhost:3000/{databasename}/{sales_order_id}.pdf?token=123
UPDATE
Add or update sales order with XML from command line
curl -X POST -H "Content-Type: application/xml" -d @sales_order.xml https://localhost:3000/{databasename}/sales_order?token=123
Add or update sales order with JSON from command line
curl -X POST -H "Content-Type: application/xml" -d @sales_order.json https://localhost:3000/{databasename}/sales_order?token=123
DELETE
Delete sales order from command line
curl -X DELETE -H "Content-Type: application/xml" -d @sales_order.xml https://localhost:3000/{databasename}/{sales_order_id}?token=123