order.json 7.8 KB

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