Return a list of orders including customer and product information.
| GET /orders.json | |
|---|---|
limit |
Amount of results (default: 100) |
[{
"total": 43.29,
"id": 11000.0,
"order_item": [{
"price": 37.05,
"product_id": 319471,
"true_cost": 0,
"status": "",
"manufacturer": "",
"name": "TRIGGER ASSY",
"quantity": 1,
"sku": "98450A5",
"cost": 18.53,
"discount": 3.71
}],
"billing_customer": {
"city": "New York",
"first_name": "Cyrill",
"last_name": "Figgis",
"zip": 10453,
"address1": "208 Mercer St",
"address2": "",
"email": "cyrill@figgis.com",
"phone": "303-355-5555",
"state": "NY",
"country": "US^United States of America",
"customer_id": 9755,
"company": "ISIS"
},
"tax": 0,
"status": "",
"ship_cost": 6.87,
"ship_type": "FedEx Home Delivery",
"shipping_customer": {
"city": "New York",
"first_name": "Cyrill",
"last_name": "Figgis",
"zip": 10453,
"address1": "208 Mercer St",
"address2": "",
"email": "cyrill@figgis.com",
"phone": "303-355-5555",
"state": "NY",
"country": "US^United States of America",
"customer_id": 9755,
"company": "ISIS"
},
"ship_charge": 9.95,
"date_filled": "February, 04 2008 00:00:00",
"date_ordered": "February, 04 2008 00:00:00"
}]
Return a list of users including billing and shipping customers.
| GET /users.json | |
|---|---|
limit |
Amount of results (default: 100) |
[{
"id": 1,
"username": "CYRILL1",
"billing_customer": {
"city": "New York",
"first_name": "Cyrill",
"last_name": "Figgis",
"zip": 10453,
"address1": "208 Mercer St",
"address2": "",
"email": "cyrill@figgis.com",
"phone": "303-355-5555",
"state": "NY",
"country": "US^United States of America",
"customer_id": 9755,
"company": "ISIS"
},
"subscribe": 0,
"shipping_customer": {
"city": "New York",
"first_name": "Cyrill",
"last_name": "Figgis",
"zip": 10453,
"address1": "208 Mercer St",
"address2": "",
"email": "cyrill@figgis.com",
"phone": "303-355-5555",
"state": "NY",
"country": "US^United States of America",
"customer_id": 9755,
"company": "ISIS"
},
"date_created": ""
}]