Created
April 14, 2014 23:01
-
-
Save LBRapid/10688770 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
{ | |
"carts": [ | |
{ | |
"id": "TESTJIRAFECART2", | |
"number": "TESTJIRAFECART2", | |
"email": "[email protected]", | |
"currency": "USD", | |
"user_id": "123", | |
"visit_id": "2457020145860608", | |
"visitor_id": "3821811678576640", | |
"pageview_id": "0", | |
"placed_on": "2014-04-09T19:19:05Z", | |
"updated_at": "2014-04-10T20:08:39Z", | |
"status": "complete", | |
"totals": { | |
"item": 99.95, | |
"adjustment": 15, | |
"tax": 5, | |
"shipping": 0, | |
"payment": 114.95, | |
"order": 114.95 | |
}, | |
"line_items":[ | |
{ | |
"id":2, | |
"quantity":1, | |
"price":"22.99", | |
"created_at":"2013-12-22T16:13:11Z", | |
"updated_at":"2013-12-23T16:13:11Z", | |
"variant":{ | |
"id":2, | |
"name":"Ruby on Rails Bag", | |
"sku":"ROR-00012", | |
"price":"22.99", | |
"product_id":2, | |
"images":[ | |
{ | |
"attachment_url":"/spree/products/23/product/ror_bag.jpeg?1386100484" | |
} | |
], | |
"product":{ | |
"created_at":"2013-12-22T16:13:11Z", | |
"updated_at":"2013-12-23T16:13:11Z", | |
"taxons":[ | |
{ | |
"id":123, | |
"name":"Foobar" | |
}, | |
{ | |
"id":456, | |
"taxonomy_id":3, | |
"name":"Apache" | |
} | |
] | |
} | |
} | |
} | |
], | |
"shipping_address": { | |
"firstname": "Brian", | |
"lastname": "Quinn", | |
"address1": "7735 Old Georgetown Rd", | |
"address2": " ", | |
"zipcode": "20814", | |
"city": "Bethesda", | |
"state": "MD", | |
"country": "US", | |
"phone": "555-123-456" | |
}, | |
"billing_address": { | |
"firstname": "Brian", | |
"lastname": "Quinn", | |
"address1": "7735 Old Georgetown Rd", | |
"address2": " ", | |
"zipcode": "20814", | |
"city": "Bethesda", | |
"state": "MD", | |
"country": "US", | |
"phone": "555-123-456" | |
} | |
} | |
] | |
} |
This file contains hidden or 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
{ | |
"customers": [ | |
{ | |
"id": 1337, | |
"email": "[email protected]", | |
"sign_in_count": 0, | |
"password_reset_on": null, | |
"reset_password_sent_at": "2014-04-13T21:49:41Z", | |
"dob": null, | |
"firstname": null, | |
"password_reset_link": "http://foo.com", | |
"lastname": null, | |
"current_sign_in_at": null, | |
"last_sign_in_at": null, | |
"newsletter_on": true | |
} | |
] | |
} |
This file contains hidden or 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": "TESTJIRAFEORDER2", | |
"number": "TESTJIRAFEORDER2", | |
"email": "[email protected]", | |
"currency": "USD", | |
"user_id": "123", | |
"visit_id": "2457020145860608", | |
"visitor_id": "3821811678576640", | |
"pageview_id": "0", | |
"placed_on": "2014-04-09T19:19:05Z", | |
"updated_at": "2014-04-10T20:08:39Z", | |
"status": "complete", | |
"totals": { | |
"item": 99.95, | |
"adjustment": 15, | |
"tax": 5, | |
"shipping": 0, | |
"payment": 114.95, | |
"order": 114.95 | |
}, | |
"line_items":[ | |
{ | |
"id":2, | |
"quantity":1, | |
"price":"22.99", | |
"created_at":"2013-12-22T16:13:11Z", | |
"updated_at":"2013-12-23T16:13:11Z", | |
"variant":{ | |
"id":2, | |
"name":"Ruby on Rails Bag", | |
"sku":"ROR-00012", | |
"price":"22.99", | |
"product_id":2, | |
"images":[ | |
{ | |
"attachment_url":"/spree/products/23/product/ror_bag.jpeg?1386100484" | |
} | |
], | |
"product":{ | |
"created_at":"2013-12-22T16:13:11Z", | |
"updated_at":"2013-12-23T16:13:11Z", | |
"taxons":[ | |
{ | |
"id":123, | |
"name":"Foobar" | |
}, | |
{ | |
"id":456, | |
"taxonomy_id":3, | |
"name":"Apache" | |
} | |
] | |
} | |
} | |
} | |
], | |
"shipping_address": { | |
"firstname": "Brian", | |
"lastname": "Quinn", | |
"address1": "7735 Old Georgetown Rd", | |
"address2": " ", | |
"zipcode": "20814", | |
"city": "Bethesda", | |
"state": "MD", | |
"country": "US", | |
"phone": "555-123-456" | |
}, | |
"billing_address": { | |
"firstname": "Brian", | |
"lastname": "Quinn", | |
"address1": "7735 Old Georgetown Rd", | |
"address2": " ", | |
"zipcode": "20814", | |
"city": "Bethesda", | |
"state": "MD", | |
"country": "US", | |
"phone": "555-123-456" | |
} | |
} | |
] | |
} |
This file contains hidden or 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
{ | |
"products": [ | |
{ | |
"id": 123, | |
"parent_id": 11, | |
"name": "Spree T-Shirt", | |
"sku": "SPREE-T-SHIRT-S", | |
"description": "Awesome Spree T-Shirt", | |
"price": 35, | |
"cost_price": 22.33, | |
"available_on": "2014-01-29T14:01:28.000Z", | |
"permalink": "spree-tshirt", | |
"meta_description": null, | |
"meta_keywords": null, | |
"shipping_category": "Default", | |
"taxons": [ | |
[ | |
"Categories", | |
"Clothes", | |
"T-Shirts" | |
], | |
[ | |
"Brands", | |
"Spree" | |
], | |
[ | |
"Brands", | |
"Open Source" | |
] | |
], | |
"options": { | |
"color": "GREY", | |
"size": "S" | |
}, | |
"images": [ | |
{ | |
"url": "http://emaple.com/p/1/v/4/image.jpg", | |
"position": 1, | |
"title": "Spree T-Shirt - Grey Small", | |
"type": "thumbnail", | |
"dimensions": { | |
"height": 220, | |
"width": 100 | |
} | |
} | |
] | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment