Advertisement
Guest User

Untitled

a guest
Mar 5th, 2015
167
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. {
  2.     "status": "ok",
  3.     "tests": {
  4.         "position.category_sku": {
  5.             "fields": [
  6.                 "category_sku",
  7.                 "count"
  8.             ]
  9.         },
  10.         "position.sku": {
  11.             "fields": [
  12.                 "sku",
  13.                 "count"
  14.             ]
  15.         }
  16.     },
  17.     "actions_to_events": [],
  18.     "actions_to_departments": [],
  19.     "actions": [
  20.         {
  21.             "status": 1,
  22.             "update_date": "2015-03-05T16:37:15",
  23.             "rewards": "[{\"count\": 1, \"tests\": {\"eq\": \"noski\"}, \"type\": \"cart.position.discount\", \"value\": 100}]",
  24.             "create_date": "2015-03-05T16:37:15",
  25.             "name": "Noski",
  26.             "dt_end": null,
  27.             "limit_per_user": 0,
  28.             "dt_start": null,
  29.             "alias": "noski_2by1",
  30.             "limit": 0,
  31.             "msg": null,
  32.             "group_id": null,
  33.             "id": 1,
  34.             "rules": "[{\"agg_tests\": [], \"tests\": [{\"where\": {\"sku\": {\"eq\": \"noski\"}, \"count\": {\"eq\": 2}}, \"type\": \"position.sku\"}], \"type\": \"cart\"}]"
  35.         }
  36.     ],
  37.     "rules": {
  38.         "cart": {
  39.             "agg_tests": [
  40.                 "positions.sum"
  41.             ],
  42.             "tests": [
  43.                 "position.sku",
  44.                 "position.category_sku"
  45.             ]
  46.         }
  47.     },
  48.     "groups": [],
  49.     "fields": {
  50.         "sku": {
  51.             "type": "sku_form"
  52.         },
  53.         "count": {
  54.             "type": "input"
  55.         },
  56.         "category_sku": {
  57.             "type": "sku_form"
  58.         }
  59.     }
  60. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement