orders.json 8.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299
  1. {
  2. "orders": [
  3. {
  4. "buyer_accepts_marketing": false,
  5. "cancel_reason": null,
  6. "cancelled_at": null,
  7. "cart_token": "68778783ad298f1c80c3bafcddeea02f",
  8. "checkout_token": null,
  9. "closed_at": null,
  10. "confirmed": false,
  11. "created_at": "2008-01-10T11:00:00-05:00",
  12. "currency": "USD",
  13. "email": "bob.norman@hostmail.com",
  14. "financial_status": "authorized",
  15. "fulfillment_status": null,
  16. "gateway": "authorize_net",
  17. "id": 450789469,
  18. "landing_site": "http://www.example.com?source=abc",
  19. "location_id": null,
  20. "name": "#1001",
  21. "note": null,
  22. "number": 1,
  23. "reference": "fhwdgads",
  24. "referring_site": "http://www.otherexample.com",
  25. "source": null,
  26. "source_identifier": "fhwdgads",
  27. "source_name": "web",
  28. "source_url": null,
  29. "subtotal_price": "398.00",
  30. "taxes_included": false,
  31. "test": false,
  32. "token": "b1946ac92492d2347c6235b4d2611184",
  33. "total_discounts": "0.00",
  34. "total_line_items_price": "398.00",
  35. "total_price": "409.94",
  36. "total_price_usd": "409.94",
  37. "total_tax": "11.94",
  38. "total_weight": 0,
  39. "updated_at": "2008-01-10T11:00:00-05:00",
  40. "user_id": null,
  41. "browser_ip": null,
  42. "landing_site_ref": "abc",
  43. "order_number": 1001,
  44. "discount_codes": [
  45. {
  46. "code": "TENOFF",
  47. "amount": "10.00"
  48. }
  49. ],
  50. "note_attributes": [
  51. {
  52. "name": "custom engraving",
  53. "value": "Happy Birthday"
  54. },
  55. {
  56. "name": "colour",
  57. "value": "green"
  58. }
  59. ],
  60. "processing_method": "direct",
  61. "checkout_id": 450789469,
  62. "tax_lines": [
  63. {
  64. "price": "11.94",
  65. "rate": 0.06,
  66. "title": "State Tax"
  67. }
  68. ],
  69. "tags": "",
  70. "line_items": [
  71. {
  72. "fulfillment_service": "manual",
  73. "fulfillment_status": null,
  74. "grams": 200,
  75. "id": 466157049,
  76. "price": "199.00",
  77. "product_id": 632910392,
  78. "quantity": 1,
  79. "requires_shipping": true,
  80. "sku": "IPOD2008GREEN",
  81. "taxable": true,
  82. "title": "IPod Nano - 8gb",
  83. "variant_id": 39072856,
  84. "variant_title": "green",
  85. "vendor": null,
  86. "name": "IPod Nano - 8gb - green",
  87. "variant_inventory_management": "shopify",
  88. "properties": [
  89. {
  90. "name": "Custom Engraving",
  91. "value": "Happy Birthday"
  92. }
  93. ],
  94. "product_exists": true,
  95. "tax_lines": [
  96. ]
  97. },
  98. {
  99. "fulfillment_service": "manual",
  100. "fulfillment_status": null,
  101. "grams": 200,
  102. "id": 518995019,
  103. "price": "199.00",
  104. "product_id": 632910392,
  105. "quantity": 1,
  106. "requires_shipping": true,
  107. "sku": "IPOD2008RED",
  108. "taxable": true,
  109. "title": "IPod Nano - 8gb",
  110. "variant_id": 49148385,
  111. "variant_title": "red",
  112. "vendor": null,
  113. "name": "IPod Nano - 8gb - red",
  114. "variant_inventory_management": "shopify",
  115. "properties": [
  116. ],
  117. "product_exists": true,
  118. "tax_lines": [
  119. ]
  120. },
  121. {
  122. "fulfillment_service": "manual",
  123. "fulfillment_status": null,
  124. "grams": 200,
  125. "id": 703073504,
  126. "price": "199.00",
  127. "product_id": 632910392,
  128. "quantity": 1,
  129. "requires_shipping": true,
  130. "sku": "IPOD2008BLACK",
  131. "taxable": true,
  132. "title": "IPod Nano - 8gb",
  133. "variant_id": 457924702,
  134. "variant_title": "black",
  135. "vendor": null,
  136. "name": "IPod Nano - 8gb - black",
  137. "variant_inventory_management": "shopify",
  138. "properties": [
  139. ],
  140. "product_exists": true,
  141. "tax_lines": [
  142. ]
  143. }
  144. ],
  145. "shipping_lines": [
  146. {
  147. "code": "Free Shipping",
  148. "price": "0.00",
  149. "source": "shopify",
  150. "title": "Free Shipping",
  151. "tax_lines": [
  152. ]
  153. }
  154. ],
  155. "payment_details": {
  156. "avs_result_code": null,
  157. "credit_card_bin": null,
  158. "cvv_result_code": null,
  159. "credit_card_number": "XXXX-XXXX-XXXX-4242",
  160. "credit_card_company": "Visa"
  161. },
  162. "billing_address": {
  163. "address1": "Chestnut Street 92",
  164. "address2": "",
  165. "city": "Louisville",
  166. "company": null,
  167. "country": "United States",
  168. "first_name": "Bob",
  169. "last_name": "Norman",
  170. "latitude": "45.41634",
  171. "longitude": "-75.6868",
  172. "phone": "555-625-1199",
  173. "province": "Kentucky",
  174. "zip": "40202",
  175. "name": "Bob Norman",
  176. "country_code": "US",
  177. "province_code": "KY"
  178. },
  179. "shipping_address": {
  180. "address1": "Chestnut Street 92",
  181. "address2": "",
  182. "city": "Louisville",
  183. "company": null,
  184. "country": "United States",
  185. "first_name": "Bob",
  186. "last_name": "Norman",
  187. "latitude": "45.41634",
  188. "longitude": "-75.6868",
  189. "phone": "555-625-1199",
  190. "province": "Kentucky",
  191. "zip": "40202",
  192. "name": "Bob Norman",
  193. "country_code": "US",
  194. "province_code": "KY"
  195. },
  196. "fulfillments": [
  197. {
  198. "created_at": "2014-03-07T16:14:08-05:00",
  199. "id": 255858046,
  200. "order_id": 450789469,
  201. "service": "manual",
  202. "status": "failure",
  203. "tracking_company": null,
  204. "updated_at": "2014-03-07T16:14:08-05:00",
  205. "tracking_number": "1Z2345",
  206. "tracking_numbers": [
  207. "1Z2345"
  208. ],
  209. "tracking_url": "http://wwwapps.ups.com/etracking/tracking.cgi?InquiryNumber1=1Z2345&TypeOfInquiryNumber=T&AcceptUPSLicenseAgreement=yes&submit=Track",
  210. "tracking_urls": [
  211. "http://wwwapps.ups.com/etracking/tracking.cgi?InquiryNumber1=1Z2345&TypeOfInquiryNumber=T&AcceptUPSLicenseAgreement=yes&submit=Track"
  212. ],
  213. "receipt": {
  214. "testcase": true,
  215. "authorization": "123456"
  216. },
  217. "line_items": [
  218. {
  219. "fulfillment_service": "manual",
  220. "fulfillment_status": null,
  221. "grams": 200,
  222. "id": 466157049,
  223. "price": "199.00",
  224. "product_id": 632910392,
  225. "quantity": 1,
  226. "requires_shipping": true,
  227. "sku": "IPOD2008GREEN",
  228. "taxable": true,
  229. "title": "IPod Nano - 8gb",
  230. "variant_id": 39072856,
  231. "variant_title": "green",
  232. "vendor": null,
  233. "name": "IPod Nano - 8gb - green",
  234. "variant_inventory_management": "shopify",
  235. "properties": [
  236. {
  237. "name": "Custom Engraving",
  238. "value": "Happy Birthday"
  239. }
  240. ],
  241. "product_exists": true,
  242. "tax_lines": [
  243. ]
  244. }
  245. ]
  246. }
  247. ],
  248. "client_details": {
  249. "accept_language": null,
  250. "browser_ip": "0.0.0.0",
  251. "session_hash": null,
  252. "user_agent": null
  253. },
  254. "customer": {
  255. "accepts_marketing": false,
  256. "created_at": "2014-03-07T16:14:08-05:00",
  257. "email": "bob.norman@hostmail.com",
  258. "first_name": "Bob",
  259. "id": 207119551,
  260. "last_name": "Norman",
  261. "last_order_id": null,
  262. "multipass_identifier": null,
  263. "note": null,
  264. "orders_count": 0,
  265. "state": "disabled",
  266. "total_spent": "0.00",
  267. "updated_at": "2014-03-07T16:14:08-05:00",
  268. "verified_email": true,
  269. "tags": "",
  270. "last_order_name": null,
  271. "default_address": {
  272. "address1": "Chestnut Street 92",
  273. "address2": "",
  274. "city": "Louisville",
  275. "company": null,
  276. "country": "United States",
  277. "first_name": null,
  278. "id": 207119551,
  279. "last_name": null,
  280. "phone": "555-625-1199",
  281. "province": "Kentucky",
  282. "zip": "40202",
  283. "name": null,
  284. "province_code": "KY",
  285. "country_code": "US",
  286. "country_name": "United States",
  287. "default": true
  288. }
  289. }
  290. }
  291. ]
  292. }