-
Notifications
You must be signed in to change notification settings - Fork 325
/
on_select.json
124 lines (124 loc) · 3.21 KB
/
on_select.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
{
"context": {
"domain": "nic2004:52110",
"country": "IND",
"city": "std:080",
"action": "on_select",
"core_version": "1.1.0",
"bap_id": "buyer-app-preprod.ondc.org",
"bap_uri": "https://buyer-app-preprod.ondc.org/protocol/v1",
"bpp_uri": "https://api.perfit.studio/bpp",
"transaction_id": "fa75049d-748e-4b0a-bff5-4ccb6df921ea",
"message_id": "78bd3df0-9598-40a7-8d85-0d332c8cf616",
"timestamp": "2023-03-28T13:53:31.883Z",
"bpp_id": "api.perfit.studio",
"ttl": "PT30S"
},
"message": {
"order": {
"provider": {
"id": "IGO_Seller_0001"
},
"items": [
{
"fulfillment_id": "Fulfillment1",
"id": "addidas_ondc_001"
}
],
"fulfillments": [
{
"id": "Fulfillment1",
"@ondc/org/provider_name": "IGO_Seller_0001",
"tracking": false,
"@ondc/org/category": "Immediate Delivery",
"@ondc/org/TAT": "PT45M",
"state": {
"descriptor": {
"code": "Serviceable"
}
}
}
],
"quote": {
"price": {
"currency": "INR",
"value": "255.50"
},
"breakup": [
{
"@ondc/org/item_id": "addidas_ondc_001",
"@ondc/org/item_quantity": {
"count": 1
},
"title": "Addidas Shoe 1",
"@ondc/org/title_type": "item",
"price": {
"currency": "INR",
"value": "170"
},
"item": {
"quantity": {
"available": {
"count": "1"
},
"maximum": {
"count": "2"
}
},
"price": {
"currency": "INR",
"value": "170"
}
}
},
{
"@ondc/org/item_id": "addidas_ondc_001",
"title": "Delivery charges",
"@ondc/org/title_type": "delivery",
"price": {
"currency": "INR",
"value": "50"
}
},
{
"@ondc/org/item_id": "addidas_ondc_001",
"title": "Packing charges",
"@ondc/org/title_type": "packing",
"price": {
"currency": "INR",
"value": "10"
}
},
{
"@ondc/org/item_id": "addidas_ondc_001",
"title": "Tax",
"@ondc/org/title_type": "tax",
"price": {
"currency": "INR",
"value": 30.599999999999998
}
},
{
"@ondc/org/item_id": "addidas_ondc_001",
"title": "Discount",
"@ondc/org/title_type": "discount",
"price": {
"currency": "INR",
"value": -8.5
}
},
{
"@ondc/org/item_id": "addidas_ondc_001",
"title": "Convenience Fee",
"@ondc/org/title_type": "misc",
"price": {
"currency": "INR",
"value": 3.4
}
}
],
"ttl": "P1D"
}
}
}
}