-
Notifications
You must be signed in to change notification settings - Fork 306
/
on_update.json
84 lines (84 loc) · 2.25 KB
/
on_update.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
{
"context": {
"domain": "nic2004:52110",
"country": "IND",
"city": "std:080",
"action": "on_update",
"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": "ff8c47ae-669e-4724-873a-f9d023d8d989",
"message_id": "e71d7ffa-fc89-4f20-b4ca-9d598a460a93",
"timestamp": "2023-03-28T11:31:25.923Z",
"bpp_id": "api.perfit.studio",
"ttl": "PT30S"
},
"message": {
"order": {
"id": "2023-03-28-100990",
"state": "Completed",
"items": [
{
"id": "addidas_ondc_001",
"fulfillment_id": "Fulfillment1-ReverseQC",
"quantity": {
"count": 1
},
"tags": {
"status": "Return_Initiated"
}
}
],
"fulfillments": [
{
"id": "Fulfillment1-ReverseQC",
"type": "Reverse QC",
"state": {
"descriptor": {
"name": "Pending",
"code": "Pending"
}
},
"start": {
"time": {
"range": {
"start": "2023-03-28T11:31:27.502Z",
"end": "2023-03-28T12:31:27.502Z"
}
},
"instructions": {
"short_desc": "XYZ1",
"long_desc": "QR code will be attached to package",
"additional_desc": {
"content_type": "text/html",
"url": "URL for instructions"
},
"images": []
}
}
}
],
"quote": {
"breakup": [
{
"@ondc/org/item_id": "addidas_ondc_001",
"@ondc/org/item_quantity": {
"count": 1
},
"item": {
"price": {
"currency": "INR",
"value": "170"
}
}
}
],
"price": {
"currency": "INR",
"value": "170"
}
}
}
}
}