Вы не можете выбрать более 25 тем Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.

offer.json 3.2KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146
  1. [
  2. {
  3. "model": "offer.conditionaloffer",
  4. "pk": 1,
  5. "fields": {
  6. "name": "Offer for coupon 'henk'",
  7. "slug": "offer-for-coupon-henk",
  8. "description": "",
  9. "offer_type": "Voucher",
  10. "exclusive": true,
  11. "status": "Open",
  12. "condition": 1,
  13. "benefit": 1,
  14. "priority": 0,
  15. "start_datetime": null,
  16. "end_datetime": null,
  17. "max_global_applications": null,
  18. "max_user_applications": null,
  19. "max_basket_applications": null,
  20. "max_discount": null,
  21. "total_discount": "0.00",
  22. "num_applications": 0,
  23. "num_orders": 0,
  24. "redirect_url": "",
  25. "date_created": "2018-08-20T14:45:23.650Z"
  26. }
  27. },
  28. {
  29. "model": "offer.conditionaloffer",
  30. "pk": 2,
  31. "fields": {
  32. "name": "korting",
  33. "slug": "korting",
  34. "description": "",
  35. "offer_type": "Site",
  36. "exclusive": false,
  37. "status": "Open",
  38. "condition": 2,
  39. "benefit": 2,
  40. "priority": 0,
  41. "start_datetime": "2018-08-20T00:00:00Z",
  42. "end_datetime": null,
  43. "max_global_applications": null,
  44. "max_user_applications": null,
  45. "max_basket_applications": null,
  46. "max_discount": null,
  47. "total_discount": "0.00",
  48. "num_applications": 0,
  49. "num_orders": 0,
  50. "redirect_url": "",
  51. "date_created": "2018-08-20T14:48:46.515Z"
  52. }
  53. },
  54. {
  55. "model": "offer.benefit",
  56. "pk": 1,
  57. "fields": {
  58. "range": 1,
  59. "type": "Shipping percentage",
  60. "value": "10.00",
  61. "max_affected_items": null,
  62. "proxy_class": ""
  63. }
  64. },
  65. {
  66. "model": "offer.benefit",
  67. "pk": 2,
  68. "fields": {
  69. "range": 1,
  70. "type": "Absolute",
  71. "value": "10.00",
  72. "max_affected_items": null,
  73. "proxy_class": ""
  74. }
  75. },
  76. {
  77. "model": "offer.condition",
  78. "pk": 1,
  79. "fields": {
  80. "range": 1,
  81. "type": "Count",
  82. "value": "1.00",
  83. "proxy_class": ""
  84. }
  85. },
  86. {
  87. "model": "offer.condition",
  88. "pk": 2,
  89. "fields": {
  90. "range": 2,
  91. "type": "Count",
  92. "value": "1.00",
  93. "proxy_class": ""
  94. }
  95. },
  96. {
  97. "model": "offer.range",
  98. "pk": 1,
  99. "fields": {
  100. "name": "henk",
  101. "slug": "de-range",
  102. "description": "<p>Dikke range bo</p>",
  103. "is_public": true,
  104. "includes_all_products": false,
  105. "proxy_class": "",
  106. "date_created": "2018-08-20T14:43:16.775Z",
  107. "excluded_products": [],
  108. "classes": [],
  109. "included_categories": []
  110. }
  111. },
  112. {
  113. "model": "offer.range",
  114. "pk": 2,
  115. "fields": {
  116. "name": "lekker wijf",
  117. "slug": "lekker-wijf",
  118. "description": "",
  119. "is_public": true,
  120. "includes_all_products": false,
  121. "proxy_class": "",
  122. "date_created": "2018-08-20T14:44:40.015Z",
  123. "excluded_products": [],
  124. "classes": [],
  125. "included_categories": []
  126. }
  127. },
  128. {
  129. "model": "offer.rangeproduct",
  130. "pk": 1,
  131. "fields": {
  132. "range": 1,
  133. "product": 3,
  134. "display_order": 0
  135. }
  136. },
  137. {
  138. "model": "offer.rangeproduct",
  139. "pk": 2,
  140. "fields": {
  141. "range": 2,
  142. "product": 2,
  143. "display_order": 0
  144. }
  145. }
  146. ]