draft_orders.json 4.6 KB

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