draft_order.json 4.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159
  1. {
  2. "draft_order": {
  3. "id": 517119332,
  4. "note": "This is a note",
  5. "email": "montana_hilpert@example.com",
  6. "taxes_included": false,
  7. "currency": "CAD",
  8. "subtotal_price": "1007.41",
  9. "total_tax": "0.00",
  10. "total_price": "1027.41",
  11. "invoice_sent_at": null,
  12. "created_at": "2017-02-02T13:14:38-05:00",
  13. "updated_at": "2017-02-02T13:14:38-05:00",
  14. "tax_exempt": false,
  15. "completed_at": null,
  16. "name": "#D1",
  17. "status": "open",
  18. "line_items": [
  19. {
  20. "variant_id": 39072856,
  21. "product_id": 632910392,
  22. "title": "IPod Nano - 8gb",
  23. "variant_title": "green",
  24. "sku": "IPOD2008GREEN",
  25. "vendor": null,
  26. "price": "199.00",
  27. "grams": 200,
  28. "quantity": 1,
  29. "requires_shipping": true,
  30. "taxable": true,
  31. "gift_card": false,
  32. "fulfillment_service": "manual",
  33. "tax_lines": [],
  34. "applied_discount": null,
  35. "name": "IPod Nano - 8gb - green",
  36. "properties": [
  37. {
  38. "name": "Custom Engraving",
  39. "value": "Happy Birthday"
  40. }
  41. ],
  42. "custom": false
  43. },
  44. {
  45. "variant_id": null,
  46. "product_id": null,
  47. "title": "Custom Item",
  48. "variant_title": null,
  49. "sku": null,
  50. "vendor": null,
  51. "price": "494.14",
  52. "grams": 0,
  53. "quantity": 2,
  54. "requires_shipping": false,
  55. "taxable": false,
  56. "gift_card": false,
  57. "fulfillment_service": "manual",
  58. "tax_lines": [],
  59. "applied_discount": {
  60. "description": "A percentage discount for a custom line item",
  61. "value": "3.58",
  62. "title": "Custom",
  63. "amount": "35.38",
  64. "value_type": "percentage"
  65. },
  66. "name": "Custom item",
  67. "properties": [],
  68. "custom": true
  69. }
  70. ],
  71. "shipping_address": {
  72. "first_name": "Jan",
  73. "address1": "512 Ernestina Forks",
  74. "phone": "(639) 372 1289",
  75. "city": "Lakefurt",
  76. "zip": "24093",
  77. "province": "Virginia",
  78. "country": "United States",
  79. "last_name": "Fisher",
  80. "address2": "Apt. 702",
  81. "company": "Steuber and Sons",
  82. "latitude": 45.416311,
  83. "longitude": -75.68683,
  84. "name": "Jan Fisher",
  85. "country_code": "US",
  86. "province_code": "VA"
  87. },
  88. "billing_address": {
  89. "first_name": "Jan",
  90. "address1": "512 Ernestina Forks",
  91. "phone": "(639) 372 1289",
  92. "city": "Lakefurt",
  93. "zip": "24093",
  94. "province": "Virginia",
  95. "country": "United States",
  96. "last_name": "Fisher",
  97. "address2": "Apt. 702",
  98. "company": "Steuber and Sons",
  99. "latitude": 45.416311,
  100. "longitude": -75.68683,
  101. "name": "Jan Fisher",
  102. "country_code": "US",
  103. "province_code": "VA"
  104. },
  105. "invoice_url": "https://checkout.myshopify.io/1/invoices/8e72bdccd0ac51067b947ac68c6f3804",
  106. "applied_discount": {
  107. "description": "A discount on the entire order",
  108. "value": "1.48",
  109. "title": "Custom",
  110. "amount": "1.48",
  111. "value_type": "fixed_amount"
  112. },
  113. "order_id": null,
  114. "shipping_line": {
  115. "title": "Custom shipping",
  116. "price": "20.00",
  117. "custom": true,
  118. "handle": null
  119. },
  120. "tax_lines": [],
  121. "tags": "",
  122. "customer": {
  123. "accepts_marketing": false,
  124. "created_at": "2014-03-07T16:14:08-05:00",
  125. "email": "bob.norman@hostmail.com",
  126. "first_name": "Bob",
  127. "id": 207119551,
  128. "last_name": "Norman",
  129. "last_order_id": null,
  130. "multipass_identifier": null,
  131. "note": null,
  132. "orders_count": 0,
  133. "state": "disabled",
  134. "total_spent": "0.00",
  135. "updated_at": "2014-03-07T16:14:08-05:00",
  136. "verified_email": true,
  137. "tags": "",
  138. "last_order_name": null,
  139. "default_address": {
  140. "address1": "Chestnut Street 92",
  141. "address2": "",
  142. "city": "Louisville",
  143. "company": null,
  144. "country": "United States",
  145. "first_name": null,
  146. "id": 207119551,
  147. "last_name": null,
  148. "phone": "555-625-1199",
  149. "province": "Kentucky",
  150. "zip": "40202",
  151. "name": null,
  152. "province_code": "KY",
  153. "country_code": "US",
  154. "country_name": "United States",
  155. "default": true
  156. }
  157. }
  158. }
  159. }