Created
October 31, 2014 17:33
-
-
Save adamdunkley/c4b26723dcd90b693c45 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"orders": [ | |
{ | |
"id": 101, | |
"shipping_address_id": 78, | |
"billing_address_id": null, | |
"shipping_option_id": 3, | |
"first_delivery": "2014-11-04", | |
"created_at": "2014-10-31T12:08:49.757+00:00", | |
"updated_at": "2014-10-31T12:08:49.757+00:00", | |
"product_id": 101, | |
"product_type": "OneOff", | |
"gift_message": null, | |
"shipping_note": null, | |
"sku_id": 4, | |
"discount": null, | |
"price_before_discount": "35.0", | |
"price_paid": "35.0", | |
"shipping_method": { | |
"id": 3, | |
"name": "Courier", | |
"carrier_id": 2, | |
"created_at": "2014-10-20T13:56:28.191+01:00", | |
"updated_at": "2014-10-20T13:56:28.191+01:00", | |
"note_length": 50 | |
}, | |
"shipping_address": { | |
"id": 78, | |
"alias": null, | |
"line1": "7B The Grove", | |
"line2": null, | |
"postcode": "N6 6JU", | |
"city": "London", | |
"country": "United Kingdom", | |
"created_at": "2014-10-24T14:22:18.875+01:00", | |
"updated_at": "2014-10-24T14:22:18.875+01:00", | |
"name": "Jane Doe", | |
"company": null, | |
"postcode_anywhere_uid": "GBR|PR|15532885|0|0|0" | |
}, | |
"product": { | |
"id": 101, | |
"state": "active", | |
"created_at": "2014-10-31T12:08:49.723+00:00", | |
"updated_at": "2014-10-31T12:08:52.844+00:00", | |
"discount_id": null, | |
"deliveries": [ | |
{ | |
"id": 25, | |
"delivery_on": "2014-11-04", | |
"shipping_on": null, | |
"shipping_option_id": 3, | |
"shipping_address_id": 78, | |
"created_at": "2014-10-31T12:08:52.816+00:00", | |
"updated_at": "2014-10-31T12:08:53.749+00:00", | |
"bouquet_id": 4, | |
"cancelled_at": null, | |
"delivery_message": null, | |
"charge_id": 19 | |
} | |
] | |
} | |
}, | |
{ | |
"id": 80, | |
"shipping_address_id": 78, | |
"billing_address_id": null, | |
"shipping_option_id": 1, | |
"first_delivery": "2014-10-28", | |
"created_at": "2014-10-24T14:22:18.885+01:00", | |
"updated_at": "2014-10-24T14:22:18.885+01:00", | |
"product_id": 80, | |
"product_type": "OneOff", | |
"gift_message": null, | |
"shipping_note": null, | |
"sku_id": 2, | |
"discount": null, | |
"price_before_discount": "20.0", | |
"price_paid": "20.0", | |
"shipping_method": { | |
"id": 1, | |
"name": "1st Class", | |
"carrier_id": 1, | |
"created_at": "2014-10-20T13:56:28.169+01:00", | |
"updated_at": "2014-10-20T13:56:28.169+01:00", | |
"note_length": 0 | |
}, | |
"shipping_address": { | |
"id": 78, | |
"alias": null, | |
"line1": "7B The Grove", | |
"line2": null, | |
"postcode": "N6 6JU", | |
"city": "London", | |
"country": "United Kingdom", | |
"created_at": "2014-10-24T14:22:18.875+01:00", | |
"updated_at": "2014-10-24T14:22:18.875+01:00", | |
"name": "Jane Doe", | |
"company": null, | |
"postcode_anywhere_uid": "GBR|PR|15532885|0|0|0" | |
}, | |
"product": { | |
"id": 80, | |
"state": "active", | |
"created_at": "2014-10-24T14:22:18.866+01:00", | |
"updated_at": "2014-10-24T14:22:26.241+01:00", | |
"discount_id": null, | |
"deliveries": [ | |
{ | |
"id": 14, | |
"delivery_on": "2014-10-28", | |
"shipping_on": null, | |
"shipping_option_id": 1, | |
"shipping_address_id": 78, | |
"created_at": "2014-10-24T14:22:26.231+01:00", | |
"updated_at": "2014-10-24T14:22:27.237+01:00", | |
"bouquet_id": 2, | |
"cancelled_at": null, | |
"delivery_message": null, | |
"charge_id": 9 | |
} | |
] | |
} | |
}, | |
{ | |
"id": 79, | |
"shipping_address_id": 77, | |
"billing_address_id": null, | |
"shipping_option_id": 1, | |
"first_delivery": "2014-10-31", | |
"created_at": "2014-10-24T14:07:27.088+01:00", | |
"updated_at": "2014-10-24T14:07:27.088+01:00", | |
"product_id": 79, | |
"product_type": "OneOff", | |
"gift_message": null, | |
"shipping_note": null, | |
"sku_id": 1, | |
"discount": null, | |
"price_before_discount": "20.0", | |
"price_paid": "20.0", | |
"shipping_method": { | |
"id": 1, | |
"name": "1st Class", | |
"carrier_id": 1, | |
"created_at": "2014-10-20T13:56:28.169+01:00", | |
"updated_at": "2014-10-20T13:56:28.169+01:00", | |
"note_length": 0 | |
}, | |
"shipping_address": { | |
"id": 77, | |
"alias": null, | |
"line1": "7B Garden Houses", | |
"line2": "Webber Street", | |
"postcode": "SE1 8PZ", | |
"city": "London", | |
"country": "United Kingdom", | |
"created_at": "2014-10-24T08:08:55.097+01:00", | |
"updated_at": "2014-10-24T08:08:55.097+01:00", | |
"name": "John Doe", | |
"company": null, | |
"postcode_anywhere_uid": "GBR|PR|21468342|0|0|0" | |
}, | |
"product": { | |
"id": 79, | |
"state": "active", | |
"created_at": "2014-10-24T14:07:27.075+01:00", | |
"updated_at": "2014-10-24T14:07:30.292+01:00", | |
"discount_id": null, | |
"deliveries": [ | |
{ | |
"id": 13, | |
"delivery_on": "2014-10-31", | |
"shipping_on": null, | |
"shipping_option_id": 1, | |
"shipping_address_id": 77, | |
"created_at": "2014-10-24T14:07:30.277+01:00", | |
"updated_at": "2014-10-24T14:07:31.244+01:00", | |
"bouquet_id": 1, | |
"cancelled_at": null, | |
"delivery_message": null, | |
"charge_id": 8 | |
} | |
] | |
} | |
}, | |
{ | |
"id": 78, | |
"shipping_address_id": 77, | |
"billing_address_id": null, | |
"shipping_option_id": 1, | |
"first_delivery": "2014-10-25", | |
"created_at": "2014-10-24T08:08:55.116+01:00", | |
"updated_at": "2014-10-24T08:08:55.116+01:00", | |
"product_id": 78, | |
"product_type": "OneOff", | |
"gift_message": null, | |
"shipping_note": null, | |
"sku_id": 1, | |
"discount": null, | |
"price_before_discount": "20.0", | |
"price_paid": "20.0", | |
"shipping_method": { | |
"id": 1, | |
"name": "1st Class", | |
"carrier_id": 1, | |
"created_at": "2014-10-20T13:56:28.169+01:00", | |
"updated_at": "2014-10-20T13:56:28.169+01:00", | |
"note_length": 0 | |
}, | |
"shipping_address": { | |
"id": 77, | |
"alias": null, | |
"line1": "7B Garden Houses", | |
"line2": "Webber Street", | |
"postcode": "SE1 8PZ", | |
"city": "London", | |
"country": "United Kingdom", | |
"created_at": "2014-10-24T08:08:55.097+01:00", | |
"updated_at": "2014-10-24T08:08:55.097+01:00", | |
"name": "John Doe", | |
"company": null, | |
"postcode_anywhere_uid": "GBR|PR|21468342|0|0|0" | |
}, | |
"product": { | |
"id": 78, | |
"state": "active", | |
"created_at": "2014-10-24T08:08:55.068+01:00", | |
"updated_at": "2014-10-24T08:09:00.415+01:00", | |
"discount_id": null, | |
"deliveries": [ | |
{ | |
"id": 12, | |
"delivery_on": "2014-10-25", | |
"shipping_on": null, | |
"shipping_option_id": 1, | |
"shipping_address_id": 77, | |
"created_at": "2014-10-24T08:09:00.389+01:00", | |
"updated_at": "2014-10-24T08:09:01.307+01:00", | |
"bouquet_id": 1, | |
"cancelled_at": null, | |
"delivery_message": null, | |
"charge_id": 7 | |
} | |
] | |
} | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment