You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

offers.json 4.2KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153
  1. [
  2. {
  3. "pk": 1,
  4. "model": "offer.conditionaloffer",
  5. "fields": {
  6. "status": "Open",
  7. "max_global_applications": null,
  8. "start_datetime": "2013-02-21T00:00:00Z",
  9. "max_user_applications": null,
  10. "num_applications": 0,
  11. "description": "This is a normal site offer.<br>",
  12. "num_orders": 0,
  13. "total_discount": "0",
  14. "redirect_url": "",
  15. "priority": 0,
  16. "benefit": 1,
  17. "end_datetime": null,
  18. "max_discount": null,
  19. "max_basket_applications": null,
  20. "date_created": "2013-02-21T15:50:56.701Z",
  21. "offer_type": "Site",
  22. "slug": "dave",
  23. "condition": 1,
  24. "name": "Normal site offer"
  25. }
  26. },
  27. {
  28. "pk": 2,
  29. "model": "offer.conditionaloffer",
  30. "fields": {
  31. "status": "Open",
  32. "max_global_applications": null,
  33. "start_datetime": "2013-03-12T00:00:00Z",
  34. "max_user_applications": null,
  35. "num_applications": 0,
  36. "description": "This offer gives a deferred benefit.&nbsp; Eg, it does something once the offer has been placed.<br>",
  37. "num_orders": 0,
  38. "total_discount": "0",
  39. "redirect_url": "",
  40. "priority": 0,
  41. "benefit": 2,
  42. "end_datetime": null,
  43. "max_discount": null,
  44. "max_basket_applications": null,
  45. "date_created": "2013-03-12T15:42:51.662Z",
  46. "offer_type": "Site",
  47. "slug": "deferred-benefit-offer",
  48. "condition": 2,
  49. "name": "Deferred benefit offer"
  50. }
  51. },
  52. {
  53. "pk": 3,
  54. "model": "offer.conditionaloffer",
  55. "fields": {
  56. "status": "Open",
  57. "max_global_applications": null,
  58. "start_datetime": "2013-03-12T00:00:00Z",
  59. "max_user_applications": null,
  60. "num_applications": 0,
  61. "description": "This gives a shipping discount<br>",
  62. "num_orders": 0,
  63. "total_discount": "0",
  64. "redirect_url": "",
  65. "priority": 0,
  66. "benefit": 3,
  67. "end_datetime": null,
  68. "max_discount": null,
  69. "max_basket_applications": null,
  70. "date_created": "2013-03-12T15:43:43.839Z",
  71. "offer_type": "Site",
  72. "slug": "shipping-offer",
  73. "condition": 3,
  74. "name": "Shipping offer"
  75. }
  76. },
  77. {
  78. "pk": 1,
  79. "model": "offer.condition",
  80. "fields": {
  81. "range": 1,
  82. "type": "Count",
  83. "proxy_class": null,
  84. "value": "3"
  85. }
  86. },
  87. {
  88. "pk": 2,
  89. "model": "offer.condition",
  90. "fields": {
  91. "range": 1,
  92. "type": "Count",
  93. "proxy_class": null,
  94. "value": "1"
  95. }
  96. },
  97. {
  98. "pk": 3,
  99. "model": "offer.condition",
  100. "fields": {
  101. "range": 1,
  102. "type": "Count",
  103. "proxy_class": null,
  104. "value": "1"
  105. }
  106. },
  107. {
  108. "pk": 1,
  109. "model": "offer.benefit",
  110. "fields": {
  111. "range": 1,
  112. "proxy_class": null,
  113. "type": "Multibuy",
  114. "max_affected_items": null,
  115. "value": null
  116. }
  117. },
  118. {
  119. "pk": 2,
  120. "model": "offer.benefit",
  121. "fields": {
  122. "range": null,
  123. "proxy_class": "apps.offers.ChangesOwnerName",
  124. "type": "",
  125. "max_affected_items": null,
  126. "value": null
  127. }
  128. },
  129. {
  130. "pk": 3,
  131. "model": "offer.benefit",
  132. "fields": {
  133. "range": null,
  134. "proxy_class": null,
  135. "type": "Shipping fixed price",
  136. "max_affected_items": null,
  137. "value": "1.99"
  138. }
  139. },
  140. {
  141. "pk": 1,
  142. "model": "offer.range",
  143. "fields": {
  144. "included_categories": [],
  145. "name": "Site",
  146. "proxy_class": null,
  147. "excluded_products": [],
  148. "classes": [],
  149. "date_created": "2013-02-21T15:26:09.651Z",
  150. "includes_all_products": true
  151. }
  152. }
  153. ]