Skip to content

Instantly share code, notes, and snippets.

@oddlyspaced
Created June 16, 2024 17:03
Show Gist options
  • Save oddlyspaced/0b451069982ff2d9afdc04d6c6493995 to your computer and use it in GitHub Desktop.
Save oddlyspaced/0b451069982ff2d9afdc04d6c6493995 to your computer and use it in GitHub Desktop.
...
{
"status": "success",
"has_more": true,
"postback_params": "{\"last_created_timestamp\":{\"seconds\":1714292519},\"last_order_id\":5747518212}",
"results": [{
"layout_config": {
"snippet_type": "filter_info_card",
"layout_type": "carousel",
"section_count": 1
}
}, {
"layout_config": {
"snippet_type": "order_history_snippet_type_2",
"layout_type": "carousel",
"section_count": 1
},
"order_history_snippet_type_2": {
"click_action": {
"type": "deeplink",
"deeplink": {
"url": "zomato://delivery/5777845053"
}
},
"top_container": {
"title": {
"text": "\u003cmedium-400|{grey-900|Leon's Burgers \u0026 Wings}\u003e",
"is_markdown": 1,
"markdown_version": 2,
"number_of_lines": 1
},
"subtitle1": {
"text": "\u003cmedium-100|{grey-600|Whitefield, Bangalore}\u003e",
"is_markdown": 1,
"markdown_version": 2,
"number_of_lines": 1
},
"subtitle2": {
"text": "\u003cmedium-100|{grey-600|54 mins}\u003e",
"is_markdown": 1,
"markdown_version": 2,
"number_of_lines": 1
},
"image": {
"url": "https://b.zmtcdn.com/data/pictures/6/19337846/eefd6011022ffa01ec1c0c9becfaded1_featured_v2.jpg?fit=around%7C108%3A108\u0026crop=108%3A108%3B%2A%2C%2A"
},
"tag": {
"title": {
"text": "On the way",
"color": {
"tint": "500",
"type": "blue"
}
},
"bg_color": {
"tint": "100",
"type": "blue"
},
"border_color": {
"tint": "400",
"type": "blue"
},
"image": {
"animation": {
"url": "https://b.zmtcdn.com/data/file_assets/e2585eef505467d5ada82b1c0169fc161632987479.json",
"duration_per_step": 0,
"animate": false,
"repeat": false
}
}
},
"right_button": {
"type": "text",
"text": "View menu",
"suffix_icon": {
"code": "e875",
"color": {
"tint": "500",
"type": "red"
}
},
"click_action": {
"type": "deeplink",
"deeplink": {
"url": "zomato://order/19337846"
}
},
"tracking_data": [{
"table_name": "jevent",
"payload": "{\"var1\":\"5777845053\",\"var2\":\"19337846\",\"var3\":\"On the way\",\"var4\":\"1\",\"var5\":\"your_orders\",\"var6\":\"view_menu\"}",
"event_names": {
"tap": "{\"ename\":\"order_history_snippet_tapped\"}"
}
}],
"should_use_decoration": false,
"should_use_squircle": false,
"should_round_corner": false
},
"click_action": {
"type": "deeplink",
"deeplink": {
"url": "zomato://order/19337846"
}
},
"tracking_data": [{
"table_name": "jevent",
"payload": "{\"var1\":\"5777845053\",\"var2\":\"19337846\",\"var3\":\"On the way\",\"var4\":\"1\",\"var5\":\"your_orders\",\"var6\":\"res_card\"}",
"event_names": {
"tap": "{\"ename\":\"order_history_snippet_tapped\"}"
}
}]
},
"items": [{
"title": {
"text": "\u003csemibold-300|{grey-600|1 x}\u003e \u003csemibold-300|{grey-900|Peri Peri Chicken Wrap}\u003e",
"is_markdown": 1,
"markdown_version": 2,
"number_of_lines": 1
},
"image": {
"url": "https://b.zmtcdn.com/data/o2_assets/3e0b4b89a7a1d815a1adaf5ad216505f1657182448.png"
}
}, {
"title": {
"text": "\u003csemibold-300|{grey-600|1 x}\u003e \u003csemibold-300|{grey-900|Chicken Doner Salad}\u003e",
"is_markdown": 1,
"markdown_version": 2,
"number_of_lines": 1
},
"image": {
"url": "https://b.zmtcdn.com/data/o2_assets/3e0b4b89a7a1d815a1adaf5ad216505f1657182448.png"
}
}, {
"title": {
"text": "\u003csemibold-300|{grey-600|1 x}\u003e \u003csemibold-300|{grey-900|Hummus With Chicken and Pitta}\u003e",
"is_markdown": 1,
"markdown_version": 2,
"number_of_lines": 1
},
"image": {
"url": "https://b.zmtcdn.com/data/o2_assets/3e0b4b89a7a1d815a1adaf5ad216505f1657182448.png"
}
}],
"bottom_container": {
"title": {
"text": "30 Apr 2024 at 9:11PM"
},
"subtitle1": {
"text": "\u003csemibold-200|{grey-900|₹649.55}\u003e",
"is_markdown": 1,
"markdown_version": 2,
"suffix_icon": {
"code": "e822",
"color": {
"tint": "500",
"type": "grey"
}
}
},
"buttons": [{
"type": "solid",
"text": "Track order",
"click_action": {
"type": "deeplink",
"deeplink": {
"url": "zomato://delivery/5777845053"
}
},
"tracking_data": [{
"table_name": "jevent",
"payload": "{\"var1\":\"5777845053\",\"var2\":\"19337846\",\"var3\":\"On the way\",\"var4\":\"1\",\"var5\":\"your_orders\",\"var6\":\"track_order\"}",
"event_names": {
"tap": "{\"ename\":\"order_history_snippet_tapped\"}"
}
}],
"should_use_decoration": false,
"should_use_squircle": false,
"should_round_corner": false
}]
},
"tracking_data": [{
"table_name": "jevent",
"payload": "{\"var1\":\"5777845053\",\"var2\":\"19337846\",\"var3\":\"On the way\",\"var4\":\"1\",\"var5\":\"your_orders\"}",
"event_names": {
"impression": "{\"ename\":\"order_history_snippet_impression\"}"
}
}, {
"table_name": "jevent",
"payload": "{\"var1\":\"5777845053\",\"var2\":\"19337846\",\"var3\":\"On the way\",\"var4\":\"1\",\"var5\":\"your_orders\",\"var6\":\"order_dish_card\"}",
"event_names": {
"tap": "{\"ename\":\"order_history_snippet_tapped\"}"
}
}]
}
}
....
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment