[ | |
{ | |
"id": 1, | |
"name": "Ed Spencer", | |
"orders": [ | |
{ | |
"id": 100, | |
"status": "shipped", | |
"orderItems": [ | |
{ | |
"id": 453, | |
"price": 19.50, | |
"quantity": 3, | |
"name": "Some Product" | |
} | |
] | |
}, | |
{ | |
"id": 101, | |
"status": "pending", | |
"orderItems": [ | |
{ | |
"id": 543, | |
"price": 54.99, | |
"quantity": 1, | |
"name": "Some Product" | |
}, | |
{ | |
"id": 544, | |
"price": 20, | |
"quantity": 2, | |
"name": "Another Product" | |
} | |
] | |
} | |
] | |
}, | |
{ | |
"id": 2, | |
"name": "Jamie Avins", | |
"orders": [ | |
{ | |
"id": 200, | |
"status": "shipped", | |
"orderItems": [ | |
{ | |
"id": 456, | |
"price": 19.50, | |
"quantity": 2, | |
"name": "A Product" | |
} | |
] | |
} | |
] | |
}, | |
{ | |
"id": 3, | |
"name": "Aaron Conran", | |
"orders": [ | |
{ | |
"id": 300, | |
"status": "back order", | |
"orderItems": [ | |
{ | |
"id": 743, | |
"price": 19.50, | |
"quantity": 2, | |
"name": "The Product" | |
} | |
] | |
} | |
] | |
}, | |
{ | |
"id": 4, | |
"name": "Mario Roy", | |
"orders": [ | |
{ | |
"id": 400, | |
"status": "shipped", | |
"orderItems": [ | |
{ | |
"id": 666, | |
"price": 19.50, | |
"quantity": 1, | |
"name": "No Product" | |
} | |
] | |
} | |
] | |
} | |
] |