refund.json 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112
  1. {
  2. "refund": {
  3. "id": 509562969,
  4. "order_id": 450789469,
  5. "created_at": "2016-03-22T11:15:00-04:00",
  6. "note": "it broke during shipping",
  7. "restock": true,
  8. "user_id": 799407056,
  9. "refund_line_items": [
  10. {
  11. "id": 104689539,
  12. "quantity": 1,
  13. "line_item_id": 703073504,
  14. "line_item": {
  15. "id": 703073504,
  16. "variant_id": 457924702,
  17. "title": "IPod Nano - 8gb",
  18. "quantity": 1,
  19. "price": "199.00",
  20. "grams": 200,
  21. "sku": "IPOD2008BLACK",
  22. "variant_title": "black",
  23. "vendor": null,
  24. "fulfillment_service": "manual",
  25. "product_id": 632910392,
  26. "requires_shipping": true,
  27. "taxable": true,
  28. "gift_card": false,
  29. "name": "IPod Nano - 8gb - black",
  30. "variant_inventory_management": "shopify",
  31. "properties": [
  32. ],
  33. "product_exists": true,
  34. "fulfillable_quantity": 1,
  35. "total_discount": "0.00",
  36. "fulfillment_status": null,
  37. "tax_lines": [
  38. {
  39. "title": "State Tax",
  40. "price": "3.98",
  41. "rate": 0.06
  42. }
  43. ]
  44. }
  45. },
  46. {
  47. "id": 709875399,
  48. "quantity": 1,
  49. "line_item_id": 466157049,
  50. "line_item": {
  51. "id": 466157049,
  52. "variant_id": 39072856,
  53. "title": "IPod Nano - 8gb",
  54. "quantity": 1,
  55. "price": "199.00",
  56. "grams": 200,
  57. "sku": "IPOD2008GREEN",
  58. "variant_title": "green",
  59. "vendor": null,
  60. "fulfillment_service": "manual",
  61. "product_id": 632910392,
  62. "requires_shipping": true,
  63. "taxable": true,
  64. "gift_card": false,
  65. "name": "IPod Nano - 8gb - green",
  66. "variant_inventory_management": "shopify",
  67. "properties": [
  68. {
  69. "name": "Custom Engraving Front",
  70. "value": "Happy Birthday"
  71. }
  72. ],
  73. "product_exists": true,
  74. "fulfillable_quantity": 1,
  75. "total_discount": "0.00",
  76. "fulfillment_status": null,
  77. "tax_lines": [
  78. {
  79. "title": "State Tax",
  80. "price": "3.98",
  81. "rate": 0.06
  82. }
  83. ]
  84. }
  85. }
  86. ],
  87. "transactions": [
  88. {
  89. "id": 179259969,
  90. "order_id": 450789469,
  91. "amount": "209.00",
  92. "kind": "refund",
  93. "gateway": "bogus",
  94. "status": "success",
  95. "message": null,
  96. "created_at": "2005-08-05T12:59:12-04:00",
  97. "test": false,
  98. "authorization": "authorization-key",
  99. "currency": "USD",
  100. "location_id": null,
  101. "user_id": null,
  102. "parent_id": null,
  103. "device_id": null,
  104. "receipt": {},
  105. "error_code": null,
  106. "source_name": "web"
  107. }
  108. ],
  109. "order_adjustments": [
  110. ]
  111. }
  112. }