Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- {
- "status": "ok",
- "tests": {
- "position.category_sku": {
- "fields": [
- "category_sku",
- "count"
- ]
- },
- "position.sku": {
- "fields": [
- "sku",
- "count"
- ]
- }
- },
- "actions_to_events": [],
- "actions_to_departments": [],
- "actions": [
- {
- "status": 1,
- "update_date": "2015-03-05T16:37:15",
- "rewards": "[{\"count\": 1, \"tests\": {\"eq\": \"noski\"}, \"type\": \"cart.position.discount\", \"value\": 100}]",
- "create_date": "2015-03-05T16:37:15",
- "name": "Noski",
- "dt_end": null,
- "limit_per_user": 0,
- "dt_start": null,
- "alias": "noski_2by1",
- "limit": 0,
- "msg": null,
- "group_id": null,
- "id": 1,
- "rules": "[{\"agg_tests\": [], \"tests\": [{\"where\": {\"sku\": {\"eq\": \"noski\"}, \"count\": {\"eq\": 2}}, \"type\": \"position.sku\"}], \"type\": \"cart\"}]"
- }
- ],
- "rules": {
- "cart": {
- "agg_tests": [
- "positions.sum"
- ],
- "tests": [
- "position.sku",
- "position.category_sku"
- ]
- }
- },
- "groups": [],
- "fields": {
- "sku": {
- "type": "sku_form"
- },
- "count": {
- "type": "input"
- },
- "category_sku": {
- "type": "sku_form"
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement