Newer
Older
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
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
{
"info": {
"_postman_id": "396900ab-d484-4b58-b2c9-025a880d94bf",
"name": "Generic Client Layer",
"schema": "https://schema.getpostman.com/json/collection/v2.0.0/collection.json",
"_exporter_id": "23006756"
},
"item": [
{
"name": "DHP",
"item": [
{
"name": "Search",
"request": {
"method": "POST",
"header": [],
"body": {
"mode": "raw",
"raw": "{\n \"context\": {\n \"domain\": \"dhp:pharmacy:0.1.0\"\n },\n \"searchString\": \"syrup\"\n}",
"options": {
"raw": {
"language": "json"
}
}
},
"url": "{{base_url}}/search"
},
"response": [
{
"name": "Full Search Request",
"originalRequest": {
"method": "POST",
"header": [],
"body": {
"mode": "raw",
"raw": "{\n \"context\": {\n \"domain\": \"dhp:pharmacy:0.1.0\"\n },\n \"searchString\": \"syrup\",\n \"itemId\":\"Abcd123\",\n \"fulfillment\":{\n \"agentName\":\"Some Name\",\n \"customerGender\":\"Male\"\n },\n \"provider\":{\n \"providerName\":\"Some Provider Name\",\n \"providerCity\":[\"Pune\", \"Bengaluru\"],\n \"providerId\":\"Provider1234\"\n },\n \"category\":{\n \"categoryCode\":\"code12334\",\n \"categoryName\":\"Category Name\",\n \"categoryId\":\"categoryId1234\"\n },\n \"location\":\"12.423423,77.325647\"\n}",
"options": {
"raw": {
"language": "json"
}
}
},
"url": "{{base_url}}/search"
},
"_postman_previewlanguage": "Text",
"header": [],
"cookie": [],
"body": ""
},
{
"name": "Response",
"originalRequest": {
"method": "POST",
"header": [],
"body": {
"mode": "raw",
"raw": "{\n \"context\": {\n \"domain\": \"dhp:pharmacy:0.1.0\"\n },\n \"searchString\": \"syrup\"\n}",
"options": {
"raw": {
"language": "json"
}
}
},
"url": "{{base_url}}/search"
},
"status": "OK",
"code": 200,
"_postman_previewlanguage": "json",
"header": [
{
"key": "Content-Type",
"value": "application/json",
"name": "Content-Type",
"description": "",
"type": "text"
}
],
"cookie": [],
"body": "{\n \"data\": [\n {\n \"context\": {\n \"domain\": \"dhp:pharmacy:0.1.0\",\n \"action\": \"on_search\",\n \"version\": \"1.1.0\",\n \"bpp_id\": \"beckn-strapi-sandbox-bpp\",\n \"bpp_uri\": \"https://beckn-strapi-sandbox-bpp-network.becknprotocol.io\",\n \"country\": \"IND\",\n \"city\": \"std:080\",\n \"location\": {\n \"country\": {\n \"name\": \"India\",\n \"code\": \"IND\"\n },\n \"city\": {\n \"name\": \"Bangalore\",\n \"code\": \"std:080\"\n }\n },\n \"bap_id\": \"ps-bap-network.becknprotocol.io\",\n \"bap_uri\": \"https://ps-bap-network.becknprotocol.io\",\n \"transaction_id\": \"bcf015d5-4f59-4149-a444-d5ba28678ae8\",\n \"message_id\": \"c551faed-303f-48c1-b786-a7d1b635e368\",\n \"ttl\": \"PT10M\",\n \"timestamp\": \"2023-12-08T06:50:14.588Z\"\n },\n \"message\": {\n \"name\": \"BPP\"\n }\n },\n {\n \"context\": {\n \"domain\": \"dhp:pharmacy:0.1.0\",\n \"action\": \"on_search\",\n \"version\": \"1.1.0\",\n \"bpp_id\": \"beckn-sandbox-bpp.becknprotocol.io\",\n \"bpp_uri\": \"https://sandbox-bpp-network.becknprotocol.io/\",\n \"country\": \"IND\",\n \"city\": \"std:080\",\n \"location\": {\n \"country\": {\n \"name\": \"India\",\n \"code\": \"IND\"\n }\n },\n \"bap_id\": \"ps-bap-network.becknprotocol.io\",\n \"bap_uri\": \"https://ps-bap-network.becknprotocol.io\",\n \"transaction_id\": \"bcf015d5-4f59-4149-a444-d5ba28678ae8\",\n \"message_id\": \"c551faed-303f-48c1-b786-a7d1b635e368\",\n \"ttl\": \"PT10M\",\n \"timestamp\": \"2023-12-08T06:50:15.958Z\"\n },\n \"message\": {\n \"name\": \"Available Pharmacy Stores\",\n \"providers\": [\n {\n \"id\": \"e92e7a6e-1f20-4a8d-b343-956e0d45a48c\",\n \"name\": \"QuickPharma\",\n \"items\": [\n {\n \"id\": \"fb0999b7-7755-46d6-a2ed-b286b7c98436\",\n \"name\": \"Benadryl cough syrup\",\n \"price\": {\n \"value\": \"100\",\n \"currency\": \"INR\"\n },\n \"categories\": [\n {\n \"id\": \"cat-01\",\n \"name\": \"Pharmacy\",\n \"code\": \"pharmacy\"\n }\n ],\n \"locations\": [\n {\n \"id\": \"phr-loc-01\"\n }\n ],\n \"fulfillments\": [\n {\n \"id\": \"ful-01\",\n \"type\": \"IN-STORE-PICKUP\",\n \"tracking\": false,\n \"stops\": [\n {\n \"type\": \"start\"\n },\n {\n \"type\": \"end\"\n }\n ],\n \"tags\": [\n {\n \"code\": \"symptoms\",\n \"name\": \"Works against these symptoms\",\n \"display\": true,\n \"list\": [\n {\n \"code\": \"symptom-list\",\n \"value\": \"cough, code, nausea, headache, phelgm\"\n }\n ]\n }\n ]\n },\n {\n \"id\": \"ful-02\",\n \"type\": \"HOME-DELIVERY\",\n \"tracking\": false,\n \"stops\": [\n {\n \"type\": \"start\"\n },\n {\n \"type\": \"end\"\n }\n ],\n \"tags\": [\n {\n \"code\": \"symptoms\",\n \"name\": \"Works against these symptoms\",\n \"display\": true,\n \"list\": [\n {\n \"code\": \"symptom-list\",\n \"value\": \"cough, code, nausea, headache, phelgm\"\n }\n ]\n }\n ]\n }\n ],\n \"tags\": [\n {\n \"code\": \"symptoms\",\n \"name\": \"Works against these symptoms\",\n \"display\": true,\n \"list\": [\n {\n \"code\": \"symptom-list\",\n \"value\": \"cough, code, nausea, headache, phelgm\"\n }\n ]\n }\n ],\n \"quantity\": {\n \"available\": {\n \"measure\": {\n \"value\": \"1000\",\n \"unit\": \"units\"\n }\n },\n \"maximum\": {\n \"measure\": {\n \"value\": \"5\",\n \"unit\": \"units\"\n }\n }\n }\n },\n {\n \"id\": \"1cef39d8-72d0-46f7-99ca-3f18f4bda8e3\",\n \"name\": \"Hycodan\",\n \"price\": {\n \"value\": \"150\",\n \"currency\": \"INR\"\n },\n \"categories\": [\n {\n \"id\": \"cat-01\",\n \"name\": \"Pharmacy\",\n \"code\": \"pharmacy\"\n }\n ],\n \"locations\": [\n {\n \"id\": \"phr-loc-01\"\n }\n ],\n \"fulfillments\": [\n {\n \"id\": \"ful-01\",\n \"type\": \"IN-STORE-PICKUP\",\n \"tracking\": false,\n \"stops\": [\n {\n \"type\": \"start\"\n },\n {\n \"type\": \"end\"\n }\n ],\n \"tags\": [\n {\n \"code\": \"symptoms\",\n \"name\": \"Works against these symptoms\",\n \"display\": true,\n \"list\": [\n {\n \"code\": \"symptom-list\",\n \"value\": \"cough, code, nausea, headache, phelgm\"\n }\n ]\n }\n ]\n },\n {\n \"id\": \"ful-02\",\n \"type\": \"HOME-DELIVERY\",\n \"tracking\": false,\n \"stops\": [\n {\n \"type\": \"start\"\n },\n {\n \"type\": \"end\"\n }\n ],\n \"tags\": [\n {\n \"code\": \"symptoms\",\n \"name\": \"Works against these symptoms\",\n \"display\": true,\n \"list\": [\n {\n \"code\": \"symptom-list\",\n \"value\": \"cough, code, nausea, headache, phelgm\"\n }\n ]\n }\n ]\n }\n ],\n \"tags\": [\n {\n \"code\": \"symptoms\",\n \"name\": \"Works against these symptoms\",\n \"display\": true,\n \"list\": [\n {\n \"code\": \"symptom-list\",\n \"value\": \"cough, code, nausea, headache, phelgm\"\n }\n ]\n }\n ],\n \"quantity\": {\n \"available\": {\n \"measure\": {\n \"value\": \"1000\",\n \"unit\": \"units\"\n }\n },\n \"maximum\": {\n \"measure\": {\n \"value\": \"5\",\n \"unit\": \"units\"\n }\n }\n }\n },\n {\n \"id\": \"5cbc6e9d-28f4-42c7-b81e-41a336ac96ea\",\n \"name\": \"Mucinex DM\",\n \"price\": {\n \"value\": \"180\",\n \"currency\": \"INR\"\n },\n \"categories\": [\n {\n \"id\": \"cat-01\",\n \"name\": \"Pharmacy\",\n \"code\": \"pharmacy\"\n }\n ],\n \"locations\": [\n {\n \"id\": \"phr-loc-01\"\n }\n ],\n \"fulfillments\": [\n {\n \"id\": \"ful-01\",\n \"type\": \"IN-STORE-PICKUP\",\n \"tracking\": false,\n \"stops\": [\n {\n \"type\": \"start\"\n },\n {\n \"type\": \"end\"\n }\n ],\n \"tags\": [\n {\n \"code\": \"symptoms\",\n \"name\": \"Works against these symptoms\",\n \"display\": true,\n \"list\": [\n {\n \"code\": \"symptom-list\",\n \"value\": \"cough, code, nausea, headache, phelgm\"\n }\n ]\n }\n ]\n },\n {\n \"id\": \"ful-02\",\n \"type\": \"HOME-DELIVERY\",\n \"tracking\": false,\n \"stops\": [\n {\n \"type\": \"start\"\n },\n {\n \"type\": \"end\"\n }\n ],\n \"tags\": [\n {\n \"code\": \"symptoms\",\n \"name\": \"Works against these symptoms\",\n \"display\": true,\n \"list\": [\n {\n \"code\": \"symptom-list\",\n \"value\": \"cough, code, nausea, headache, phelgm\"\n }\n ]\n }\n ]\n }\n ],\n \"tags\": [\n {\n \"code\": \"symptoms\",\n \"name\": \"Works against these symptoms\",\n \"display\": true,\n \"list\": [\n {\n \"code\": \"symptom-list\",\n \"value\": \"cough, code, nausea, headache, phelgm\"\n }\n ]\n }\n ],\n \"quantity\": {\n \"available\": {\n \"measure\": {\n \"value\": \"1000\",\n \"unit\": \"units\"\n }\n },\n \"maximum\": {\n \"measure\": {\n \"value\": \"5\",\n \"unit\": \"units\"\n }\n }\n }\n }\n ],\n \"images\": [\n {\n \"url\": \"https://QuickPharma.in/images/logo.png\"\n }\n ]\n }\n ]\n }\n }\n ]\n}"
}
]
},
{
"name": "Select",
"request": {
"method": "POST",
"header": [],
"body": {
"mode": "raw",
"raw": "{\n \"data\": [\n {\n \"context\": {\n \"transaction_id\": \"0bbd82ce-5a21-4e26-b402-1c1f9d954fee\",\n \"bpp_id\": \"beckn-sandbox-bpp.becknprotocol.io\",\n \"bpp_uri\": \"https://sandbox-bpp-network.becknprotocol.io/\",\n \"domain\": \"dhp:pharmacy:0.1.0\"\n },\n \"message\": {\n \"orders\": [\n {\n \"items\": [\n {\n \"id\": \"fb0999b7-7755-46d6-a2ed-b286b7c98436\",\n \"quantity\": {\n \"count\": 1\n }\n }\n ],\n \"provider\": {\n \"id\": \"e92e7a6e-1f20-4a8d-b343-956e0d45a48c\"\n },\n \"locations\": [\n {\n \"id\": \"phr-loc-01\"\n }\n ]\n },\n {\n \"items\": [\n {\n \"id\": \"fb0999b7-7755-46d6-a2ed-b286b7c98436\",\n \"quantity\": {\n \"count\": 1\n }\n }\n ],\n \"provider\": {\n \"id\": \"e92e7a6e-1f20-4a8d-b343-956e0d45a48c\"\n },\n \"locations\": [\n {\n \"id\": \"phr-loc-01\"\n }\n ]\n }\n ]\n }\n }\n ]\n}",
"options": {
"raw": {
"language": "json"
}
}
},
"url": "{{base_url}}/select"
},
"response": [
{
"name": "Response",
"originalRequest": {
"method": "POST",
"header": [],
"body": {
"mode": "raw",
"raw": "{\n \"data\": [\n {\n \"context\": {\n \"transaction_id\": \"0bbd82ce-5a21-4e26-b402-1c1f9d954fee\",\n \"bpp_id\": \"beckn-sandbox-bpp.becknprotocol.io\",\n \"bpp_uri\": \"https://sandbox-bpp-network.becknprotocol.io/\",\n \"domain\": \"dhp:pharmacy:0.1.0\"\n },\n \"message\": {\n \"orders\": [\n {\n \"items\": [\n {\n \"id\": \"fb0999b7-7755-46d6-a2ed-b286b7c98436\",\n \"quantity\": {\n \"count\": 1\n }\n }\n ],\n \"provider\": {\n \"id\": \"e92e7a6e-1f20-4a8d-b343-956e0d45a48c\"\n },\n \"locations\": [\n {\n \"id\": \"phr-loc-01\"\n }\n ]\n },\n {\n \"items\": [\n {\n \"id\": \"fb0999b7-7755-46d6-a2ed-b286b7c98436\",\n \"quantity\": {\n \"count\": 1\n }\n }\n ],\n \"provider\": {\n \"id\": \"e92e7a6e-1f20-4a8d-b343-956e0d45a48c\"\n },\n \"locations\": [\n {\n \"id\": \"phr-loc-01\"\n }\n ]\n }\n ]\n }\n }\n ]\n}",
"options": {
"raw": {
"language": "json"
}
}
},
"url": "{{base_url}}/select"
},
"status": "OK",
"code": 200,
"_postman_previewlanguage": "json",
"header": [
{
"key": "Content-Type",
"value": "application/json",
"name": "Content-Type",
"description": "",
"type": "text"
}
],
"cookie": [],
"body": "{\n \"data\": [\n {\n \"context\": {\n \"domain\": \"dhp:pharmacy:0.1.0\",\n \"action\": \"on_select\",\n \"version\": \"1.1.0\",\n \"bpp_id\": \"beckn-sandbox-bpp.becknprotocol.io\",\n \"bpp_uri\": \"https://sandbox-bpp-network.becknprotocol.io/\",\n \"country\": \"IND\",\n \"city\": \"std:080\",\n \"location\": {\n \"country\": {\n \"name\": \"India\",\n \"code\": \"IND\"\n }\n },\n \"bap_id\": \"ps-bap-network.becknprotocol.io\",\n \"bap_uri\": \"https://ps-bap-network.becknprotocol.io\",\n \"transaction_id\": \"0bbd82ce-5a21-4e26-b402-1c1f9d954fee\",\n \"message_id\": \"64a8f7bf-d531-4396-8f56-666fede3af5e\",\n \"ttl\": \"PT10M\",\n \"timestamp\": \"2023-12-07T13:18:09.359Z\"\n },\n \"message\": {\n \"order\": {\n \"type\": \"DEFAULT\",\n \"quote\": {\n \"price\": {\n \"value\": \"650\",\n \"currency\": \"INR\"\n },\n \"breakup\": [\n {\n \"title\": \"Benadryl 2 units\",\n \"price\": {\n \"currency\": \"INR\",\n \"value\": \"200\"\n }\n },\n {\n \"title\": \"hycodan 3 units\",\n \"price\": {\n \"currency\": \"INR\",\n \"value\": \"450\"\n }\n }\n ]\n },\n \"provider\": {\n \"id\": \"e92e7a6e-1f20-4a8d-b343-956e0d45a48c\",\n \"name\": \"QuickPharma\",\n \"short_desc\": \"QuickPharma Pvt Ltd\",\n \"images\": {\n \"url\": \"https://QuickPharma.in/images/logo.png\"\n }\n },\n \"items\": [\n {\n \"id\": \"fb0999b7-7755-46d6-a2ed-b286b7c98436\",\n \"name\": \"Benadryl cough syrup\",\n \"price\": {\n \"value\": \"100\",\n \"currency\": \"INR\"\n },\n \"quantity\": {\n \"selected\": {\n \"measure\": {\n \"value\": \"2\",\n \"unit\": \"units\"\n }\n }\n }\n },\n {\n \"id\": \"1cef39d8-72d0-46f7-99ca-3f18f4bda8e3\",\n \"name\": \"Hycodan\",\n \"price\": {\n \"value\": \"150\",\n \"currency\": \"INR\"\n },\n \"quantity\": {\n \"selected\": {\n \"measure\": {\n \"value\": \"3\",\n \"unit\": \"units\"\n }\n }\n }\n }\n ]\n }\n }\n },\n {\n \"context\": {\n \"domain\": \"dhp:pharmacy:0.1.0\",\n \"action\": \"on_select\",\n \"version\": \"1.1.0\",\n \"bpp_id\": \"beckn-sandbox-bpp.becknprotocol.io\",\n \"bpp_uri\": \"https://sandbox-bpp-network.becknprotocol.io/\",\n \"country\": \"IND\",\n \"city\": \"std:080\",\n \"location\": {\n \"country\": {\n \"name\": \"India\",\n \"code\": \"IND\"\n }\n },\n \"bap_id\": \"ps-bap-network.becknprotocol.io\",\n \"bap_uri\": \"https://ps-bap-network.becknprotocol.io\",\n \"transaction_id\": \"0bbd82ce-5a21-4e26-b402-1c1f9d954fee\",\n \"message_id\": \"e7e52c62-9765-4a94-8f7c-e7983fb8b143\",\n \"ttl\": \"PT10M\",\n \"timestamp\": \"2023-12-07T13:18:09.261Z\"\n },\n \"message\": {\n \"order\": {\n \"type\": \"DEFAULT\",\n \"quote\": {\n \"price\": {\n \"value\": \"650\",\n \"currency\": \"INR\"\n },\n \"breakup\": [\n {\n \"title\": \"Benadryl 2 units\",\n \"price\": {\n \"currency\": \"INR\",\n \"value\": \"200\"\n }\n },\n {\n \"title\": \"hycodan 3 units\",\n \"price\": {\n \"currency\": \"INR\",\n \"value\": \"450\"\n }\n }\n ]\n },\n \"provider\": {\n \"id\": \"e92e7a6e-1f20-4a8d-b343-956e0d45a48c\",\n \"name\": \"QuickPharma\",\n \"short_desc\": \"QuickPharma Pvt Ltd\",\n \"images\": {\n \"url\": \"https://QuickPharma.in/images/logo.png\"\n }\n },\n \"items\": [\n {\n \"id\": \"fb0999b7-7755-46d6-a2ed-b286b7c98436\",\n \"name\": \"Benadryl cough syrup\",\n \"price\": {\n \"value\": \"100\",\n \"currency\": \"INR\"\n },\n \"quantity\": {\n \"selected\": {\n \"measure\": {\n \"value\": \"2\",\n \"unit\": \"units\"\n }\n }\n }\n },\n {\n \"id\": \"1cef39d8-72d0-46f7-99ca-3f18f4bda8e3\",\n \"name\": \"Hycodan\",\n \"price\": {\n \"value\": \"150\",\n \"currency\": \"INR\"\n },\n \"quantity\": {\n \"selected\": {\n \"measure\": {\n \"value\": \"3\",\n \"unit\": \"units\"\n }\n }\n }\n }\n ]\n }\n }\n }\n ]\n}"
}
]
},
{
"name": "Init",
"request": {
"method": "POST",
"header": [],
"body": {
"mode": "raw",
"raw": "{\n \"data\": [\n {\n \"context\": {\n \"transaction_id\": \"0bbd82ce-5a21-4e26-b402-1c1f9d954fee\",\n \"bpp_id\": \"beckn-sandbox-bpp.becknprotocol.io\",\n \"bpp_uri\": \"https://sandbox-bpp-network.becknprotocol.io/\",\n \"domain\": \"dhp:pharmacy:0.1.0\"\n },\n \"message\": {\n \"orders\": [\n {\n \"provider\": {\n \"id\": \"e92e7a6e-1f20-4a8d-b343-956e0d45a48c\"\n },\n \"items\": [\n {\n \"id\": \"fb0999b7-7755-46d6-a2ed-b286b7c98436\",\n \"quantity\": {\n \"count\": 1\n }\n }\n ],\n \"addOns\": [],\n \"offers\": [],\n \"billing\": {\n \"name\": \"Abee\",\n \"phone\": \"9191223433\",\n \"address\": \"Bengaluru, Bengaluru Urban, Bangalore Division, Karnataka\",\n \"email\": \"testemail1@mailinator.com\"\n }\n }\n ]\n }\n }\n ]\n}",
"options": {
"raw": {
"language": "json"
}
}
},
"url": "{{base_url}}/init"
},
"response": [
{
"name": "Response",
"originalRequest": {
"method": "POST",
"header": [],
"body": {
"mode": "raw",
"raw": "{\n \"data\": [\n {\n \"context\": {\n \"transaction_id\": \"0bbd82ce-5a21-4e26-b402-1c1f9d954fee\",\n \"bpp_id\": \"beckn-sandbox-bpp.becknprotocol.io\",\n \"bpp_uri\": \"https://sandbox-bpp-network.becknprotocol.io/\",\n \"domain\": \"dhp:pharmacy:0.1.0\"\n },\n \"message\": {\n \"orders\": [\n {\n \"provider\": {\n \"id\": \"e92e7a6e-1f20-4a8d-b343-956e0d45a48c\"\n },\n \"items\": [\n {\n \"id\": \"fb0999b7-7755-46d6-a2ed-b286b7c98436\",\n \"quantity\": {\n \"count\": 1\n }\n }\n ],\n \"addOns\": [],\n \"offers\": [],\n \"billing\": {\n \"name\": \"Abee\",\n \"phone\": \"9191223433\",\n \"address\": \"Bengaluru, Bengaluru Urban, Bangalore Division, Karnataka\",\n \"email\": \"testemail1@mailinator.com\"\n }\n }\n ]\n }\n }\n ]\n}",
"options": {
"raw": {
"language": "json"
}
}
},
"url": "{{base_url}}/init"
},
"status": "OK",
"code": 200,
"_postman_previewlanguage": "json",
"header": [
{
"key": "Content-Type",
"value": "application/json",
"name": "Content-Type",
"description": "",
"type": "text"
}
],
"cookie": [],
"body": "{\n \"data\": [\n {\n \"context\": {\n \"domain\": \"dhp:pharmacy:0.1.0\",\n \"action\": \"on_init\",\n \"version\": \"1.1.0\",\n \"bpp_id\": \"beckn-sandbox-bpp.becknprotocol.io\",\n \"bpp_uri\": \"https://sandbox-bpp-network.becknprotocol.io/\",\n \"country\": \"IND\",\n \"city\": \"std:080\",\n \"location\": {\n \"country\": {\n \"name\": \"India\",\n \"code\": \"IND\"\n }\n },\n \"bap_id\": \"ps-bap-network.becknprotocol.io\",\n \"bap_uri\": \"https://ps-bap-network.becknprotocol.io\",\n \"transaction_id\": \"0bbd82ce-5a21-4e26-b402-1c1f9d954fee\",\n \"message_id\": \"40699359-031b-480e-9a5b-75eacdfbbf81\",\n \"ttl\": \"PT10M\",\n \"timestamp\": \"2023-12-06T13:21:10.441Z\"\n },\n \"message\": {\n \"order\": {\n \"type\": \"DEFAULT\",\n \"provider\": {\n \"id\": \"e92e7a6e-1f20-4a8d-b343-956e0d45a48c\",\n \"name\": \"QuickPharma\",\n \"short_desc\": \"QuickPharma Pvt Ltd\",\n \"images\": {\n \"url\": \"https://quickPharma.in/images/logo.png\"\n }\n },\n \"items\": [\n {\n \"id\": \"fb0999b7-7755-46d6-a2ed-b286b7c98436\",\n \"name\": \"Benadryl cough syrup\",\n \"price\": {\n \"value\": \"100\",\n \"currency\": \"INR\"\n },\n \"quantity\": {\n \"selected\": {\n \"measure\": {\n \"value\": \"2\",\n \"unit\": \"units\"\n }\n }\n }\n },\n {\n \"id\": \"1cef39d8-72d0-46f7-99ca-3f18f4bda8e3\",\n \"name\": \"Hycodan\",\n \"price\": {\n \"value\": \"150\",\n \"currency\": \"INR\"\n },\n \"quantity\": {\n \"selected\": {\n \"measure\": {\n \"value\": \"3\",\n \"unit\": \"units\"\n }\n }\n }\n }\n ],\n \"fulfillments\": [\n {\n \"id\": \"ful-02\",\n \"type\": \"HOME-DELIVERY\",\n \"customer\": {\n \"contact\": {\n \"email\": \"fox.judie@abc.org\",\n \"phone\": \"+91-9999999999\"\n },\n \"person\": {\n \"name\": \"Judie Fox\"\n }\n },\n \"stops\": [\n {\n \"location\": {\n \"gps\": \"1.3806217468119772, 103.74636438437074\",\n \"address\": \"My House #, My building\",\n \"city\": {\n \"name\": \"Jurong East\"\n },\n \"country\": {\n \"code\": \"SGP\"\n },\n \"area_code\": \"680230\",\n \"state\": {\n \"name\": \"bayern\"\n }\n },\n \"contact\": {\n \"phone\": \"9886098860\"\n }\n }\n ],\n \"tracking\": false\n }\n ],\n \"quote\": {\n \"price\": {\n \"value\": \"700\",\n \"currency\": \"INR\"\n },\n \"breakup\": [\n {\n \"title\": \"Benadryl 2 units\",\n \"price\": {\n \"currency\": \"INR\",\n \"value\": \"200\"\n }\n },\n {\n \"title\": \"hycodan 3 units\",\n \"price\": {\n \"currency\": \"INR\",\n \"value\": \"450\"\n }\n },\n {\n \"title\": \"delivery charge\",\n \"price\": {\n \"currency\": \"INR\",\n \"value\": \"50\"\n }\n }\n ]\n },\n \"billing\": {\n \"name\": \"Alice Smith\",\n \"address\": \"Apt 303, Maple Towers, Richmond Road, 560001\",\n \"state\": {\n \"name\": \"Jurong East\"\n },\n \"city\": {\n \"name\": \"Jurong East\"\n },\n \"email\": \"alice.smith@example.com\",\n \"phone\": \"9886098860\"\n },\n \"payments\": [\n {\n \"collected_by\": \"BPP\",\n \"params\": {\n \"amount\": \"700\",\n \"currency\": \"INR\",\n \"bank_account_number\": \"1234002341\",\n \"bank_code\": \"INB0004321\",\n \"bank_account_name\": \"Strapi BPP Limited\"\n },\n \"status\": \"NOT-PAID\",\n \"type\": \"PRE-ORDER\"\n }\n ],\n \"cancellation_terms\": [\n {\n \"fulfillment_state\": {\n \"descriptor\": {\n \"code\": \"in-progress\"\n }\n },\n \"cancellation_fee\": {\n \"percentage\": \"30%\"\n },\n \"external_ref\": {\n \"mimetype\": \"text/html\",\n \"url\": \"https://quickPharma.in/charge/tnc.html\"\n }\n }\n ]\n }\n }\n }\n ]\n}"
}
]
},
{
"name": "Confirm",
"request": {
"method": "POST",
"header": [],
"body": {
"mode": "raw",
"raw": "{\n \"data\": [\n {\n \"context\": {\n \"transaction_id\": \"eed96a3f-c780-4157-a219-09ff871ee56c\",\n \"bpp_id\": \"beckn-sandbox-bpp.becknprotocol.io\",\n \"bpp_uri\": \"https://sandbox-bpp-network.becknprotocol.io\",\n \"domain\": \"dhp:pharmacy:0.1.0\"\n },\n \"message\": {\n \"orders\": [\n {\n \"provider\": {\n \"id\": \"289edce4-d002-4962-b311-4c025e22b4f6\"\n },\n \"fulfillments\": [\n {\n \"id\": \"ful-01\",\n \"customer\": {\n \"person\": {\n \"name\": \"Jane Doe\",\n \"age\": \"13\",\n \"gender\": \"female\",\n \"dob\": \"1995-09-11\"\n },\n \"contact\": {\n \"phone\": \"+91-9663088848\",\n \"email\": \"jane.doe@example.com\"\n }\n },\n \"stops\": [\n {\n \"time\": {\n \"label\": \"Booking Slots\",\n \"range\": {\n \"start\": \"2023-07-16T04:41:16Z\",\n \"end\": \"2023-07-16T04:41:16Z\"\n }\n }\n }\n ]\n }\n ],\n \"items\": [\n {\n \"id\": \"cons-01\"\n }\n ],\n \"billing\": {\n \"name\": \"Rajesh Kumar\",\n \"address\": \"Villa 5, Green Valley, Malleshwaram, 560012\",\n \"state\": {\n \"name\": \"Madhya Pradesh\"\n },\n \"city\": {\n \"name\": \"Bhopal\"\n },\n \"email\": \"rajesh.kumar@example.com\",\n \"phone\": \"+91-9999999999\"\n },\n \"payments\": [\n {\n \"collected_by\": \"BPP\",\n \"params\": {\n \"amount\": \"350\",\n \"currency\": \"INR\",\n \"bank_account_number\": \"1234002341\",\n \"bank_code\": \"INB0004321\",\n \"bank_account_name\": \"Strapi BPP Limited\"\n },\n \"status\": \"PAID\",\n \"type\": \"PRE-ORDER\",\n \"transaction_id\": \"a35b56cf-e5cf-41f1-9b5d-fa99d8d5ac8c\"\n }\n ]\n }\n ]\n }\n },\n {\n \"context\": {\n \"transaction_id\": \"eed96a3f-c780-4157-a219-09ff871ee56c\",\n \"bpp_id\": \"beckn-sandbox-bpp.becknprotocol.io\",\n \"bpp_uri\": \"https://sandbox-bpp-network.becknprotocol.io\",\n \"domain\": \"dhp:consultation:0.1.0\"\n },\n \"message\": {\n \"orders\": [\n {\n \"provider\": {\n \"id\": \"289edce4-d002-4962-b311-4c025e22b4f6\"\n },\n \"fulfillments\": [\n {\n \"id\": \"ful-01\",\n \"customer\": {\n \"person\": {\n \"name\": \"Jane Doe\",\n \"age\": \"13\",\n \"gender\": \"female\",\n \"dob\": \"1995-09-11\"\n },\n \"contact\": {\n \"phone\": \"+91-9663088848\",\n \"email\": \"jane.doe@example.com\"\n }\n },\n \"stops\": [\n {\n \"time\": {\n \"label\": \"Booking Slots\",\n \"range\": {\n \"start\": \"2023-07-16T04:41:16Z\",\n \"end\": \"2023-07-16T04:41:16Z\"\n }\n }\n }\n ]\n }\n ],\n \"items\": [\n {\n \"id\": \"cons-01\"\n }\n ],\n \"billing\": {\n \"name\": \"Rajesh Kumar\",\n \"address\": \"Villa 5, Green Valley, Malleshwaram, 560012\",\n \"state\": {\n \"name\": \"Madhya Pradesh\"\n },\n \"city\": {\n \"name\": \"Bhopal\"\n },\n \"email\": \"rajesh.kumar@example.com\",\n \"phone\": \"+91-9999999999\"\n },\n \"payments\": [\n {\n \"collected_by\": \"BPP\",\n \"params\": {\n \"amount\": \"350\",\n \"currency\": \"INR\",\n \"bank_account_number\": \"1234002341\",\n \"bank_code\": \"INB0004321\",\n \"bank_account_name\": \"Strapi BPP Limited\"\n },\n \"status\": \"PAID\",\n \"type\": \"PRE-ORDER\",\n \"transaction_id\": \"a35b56cf-e5cf-41f1-9b5d-fa99d8d5ac8c\"\n }\n ]\n }\n ]\n }\n }\n ]\n}",
"options": {
"raw": {
"language": "json"
}
}
},
"url": "{{base_url}}/confirm"
},
"response": [
{
"name": "Response",
"originalRequest": {
"method": "POST",
"header": [],
"body": {
"mode": "raw",
"raw": "{\n \"data\": [\n {\n \"context\": {\n \"transaction_id\": \"eed96a3f-c780-4157-a219-09ff871ee56c\",\n \"bpp_id\": \"beckn-sandbox-bpp.becknprotocol.io\",\n \"bpp_uri\": \"https://sandbox-bpp-network.becknprotocol.io\",\n \"domain\": \"dhp:pharmacy:0.1.0\"\n },\n \"message\": {\n \"orders\": [\n {\n \"provider\": {\n \"id\": \"289edce4-d002-4962-b311-4c025e22b4f6\"\n },\n \"fulfillments\": [\n {\n \"id\": \"ful-01\",\n \"customer\": {\n \"person\": {\n \"name\": \"Jane Doe\",\n \"age\": \"13\",\n \"gender\": \"female\",\n \"dob\": \"1995-09-11\"\n },\n \"contact\": {\n \"phone\": \"+91-9663088848\",\n \"email\": \"jane.doe@example.com\"\n }\n },\n \"stops\": [\n {\n \"time\": {\n \"label\": \"Booking Slots\",\n \"range\": {\n \"start\": \"2023-07-16T04:41:16Z\",\n \"end\": \"2023-07-16T04:41:16Z\"\n }\n }\n }\n ]\n }\n ],\n \"items\": [\n {\n \"id\": \"cons-01\"\n }\n ],\n \"billing\": {\n \"name\": \"Rajesh Kumar\",\n \"address\": \"Villa 5, Green Valley, Malleshwaram, 560012\",\n \"state\": {\n \"name\": \"Madhya Pradesh\"\n },\n \"city\": {\n \"name\": \"Bhopal\"\n },\n \"email\": \"rajesh.kumar@example.com\",\n \"phone\": \"+91-9999999999\"\n },\n \"payments\": [\n {\n \"collected_by\": \"BPP\",\n \"params\": {\n \"amount\": \"350\",\n \"currency\": \"INR\",\n \"bank_account_number\": \"1234002341\",\n \"bank_code\": \"INB0004321\",\n \"bank_account_name\": \"Strapi BPP Limited\"\n },\n \"status\": \"PAID\",\n \"type\": \"PRE-ORDER\",\n \"transaction_id\": \"a35b56cf-e5cf-41f1-9b5d-fa99d8d5ac8c\"\n }\n ]\n }\n ]\n }\n },\n {\n \"context\": {\n \"transaction_id\": \"eed96a3f-c780-4157-a219-09ff871ee56c\",\n \"bpp_id\": \"beckn-sandbox-bpp.becknprotocol.io\",\n \"bpp_uri\": \"https://sandbox-bpp-network.becknprotocol.io\",\n \"domain\": \"dhp:consultation:0.1.0\"\n },\n \"message\": {\n \"orders\": [\n {\n \"provider\": {\n \"id\": \"289edce4-d002-4962-b311-4c025e22b4f6\"\n },\n \"fulfillments\": [\n {\n \"id\": \"ful-01\",\n \"customer\": {\n \"person\": {\n \"name\": \"Jane Doe\",\n \"age\": \"13\",\n \"gender\": \"female\",\n \"dob\": \"1995-09-11\"\n },\n \"contact\": {\n \"phone\": \"+91-9663088848\",\n \"email\": \"jane.doe@example.com\"\n }\n },\n \"stops\": [\n {\n \"time\": {\n \"label\": \"Booking Slots\",\n \"range\": {\n \"start\": \"2023-07-16T04:41:16Z\",\n \"end\": \"2023-07-16T04:41:16Z\"\n }\n }\n }\n ]\n }\n ],\n \"items\": [\n {\n \"id\": \"cons-01\"\n }\n ],\n \"billing\": {\n \"name\": \"Rajesh Kumar\",\n \"address\": \"Villa 5, Green Valley, Malleshwaram, 560012\",\n \"state\": {\n \"name\": \"Madhya Pradesh\"\n },\n \"city\": {\n \"name\": \"Bhopal\"\n },\n \"email\": \"rajesh.kumar@example.com\",\n \"phone\": \"+91-9999999999\"\n },\n \"payments\": [\n {\n \"collected_by\": \"BPP\",\n \"params\": {\n \"amount\": \"350\",\n \"currency\": \"INR\",\n \"bank_account_number\": \"1234002341\",\n \"bank_code\": \"INB0004321\",\n \"bank_account_name\": \"Strapi BPP Limited\"\n },\n \"status\": \"PAID\",\n \"type\": \"PRE-ORDER\",\n \"transaction_id\": \"a35b56cf-e5cf-41f1-9b5d-fa99d8d5ac8c\"\n }\n ]\n }\n ]\n }\n }\n ]\n}",
"options": {
"raw": {
"language": "json"
}
}
},
"url": "{{base_url}}/confirm"
},
"status": "OK",
"code": 200,
"_postman_previewlanguage": "json",
"header": [
{
"key": "Content-Type",
"value": "application/json",
"name": "Content-Type",
"description": "",
"type": "text"
}
],
"cookie": [],
"body": "{\n \"data\": [\n {\n \"context\": {\n \"domain\": \"dhp:pharmacy:0.1.0\",\n \"action\": \"on_confirm\",\n \"version\": \"1.1.0\",\n \"bpp_id\": \"beckn-sandbox-bpp.becknprotocol.io\",\n \"bpp_uri\": \"https://sandbox-bpp-network.becknprotocol.io\",\n \"country\": \"IND\",\n \"city\": \"std:080\",\n \"location\": {\n \"country\": {\n \"name\": \"India\",\n \"code\": \"IND\"\n }\n },\n \"bap_id\": \"ps-bap-network.becknprotocol.io\",\n \"bap_uri\": \"https://ps-bap-network.becknprotocol.io\",\n \"transaction_id\": \"eed96a3f-c780-4157-a219-09ff871ee56c\",\n \"message_id\": \"5359b2e9-cfdd-40b9-a587-af06660f8ac5\",\n \"ttl\": \"PT10M\",\n \"timestamp\": \"2023-12-08T07:51:37.878Z\"\n },\n \"message\": {\n \"orderId\": \"853c7593-f4bf-4557-8832-118a591787ba\",\n \"provider\": {\n \"id\": \"e92e7a6e-1f20-4a8d-b343-956e0d45a48c\",\n \"name\": \"QuickPharma\",\n \"short_desc\": \"QuickPharma Pvt Ltd\",\n \"images\": [\n {\n \"url\": \"https://quickPharma.in/images/logo.png\"\n }\n ]\n },\n \"items\": [\n {\n \"id\": \"fb0999b7-7755-46d6-a2ed-b286b7c98436\",\n \"name\": \"Benadryl cough syrup\",\n \"code\": \"benadryl\",\n \"price\": {\n \"value\": \"100\",\n \"currency\": \"INR\"\n },\n \"quantity\": {\n \"selected\": {\n \"measure\": {\n \"value\": \"2\",\n \"unit\": \"units\"\n }\n }\n }\n },\n {\n \"id\": \"1cef39d8-72d0-46f7-99ca-3f18f4bda8e3\",\n \"name\": \"Hycodan\",\n \"code\": \"hycodan\",\n \"price\": {\n \"value\": \"150\",\n \"currency\": \"INR\"\n },\n \"quantity\": {\n \"selected\": {\n \"measure\": {\n \"value\": \"3\",\n \"unit\": \"units\"\n }\n }\n }\n }\n ],\n \"fulfillments\": [\n {\n \"id\": \"ful-02\",\n \"type\": \"HOME-DELIVERY\",\n \"customer\": {\n \"contact\": {\n \"email\": \"fox.judie@abc.org\",\n \"phone\": \"+91-9999999999\"\n },\n \"person\": {\n \"name\": \"Judie Fox\"\n }\n },\n \"stops\": [\n {\n \"location\": {\n \"gps\": \"1.3806217468119772, 103.74636438437074\",\n \"address\": \"My House #, My building\",\n \"city\": {\n \"name\": \"Jurong East\"\n },\n \"country\": {\n \"code\": \"SGP\"\n },\n \"area_code\": \"680230\",\n \"state\": {\n \"name\": \"bayern\"\n }\n },\n \"contact\": {\n \"phone\": \"9886098860\"\n }\n }\n ],\n \"state\": {\n \"descriptor\": {\n \"code\": \"order-confirm\",\n \"name\": \"Order has been confirmed\"\n }\n },\n \"tracking\": false\n }\n ],\n \"quote\": {\n \"price\": {\n \"value\": \"700\",\n \"currency\": \"INR\"\n },\n \"breakup\": [\n {\n \"title\": \"Benadryl 2 units\",\n \"price\": {\n \"currency\": \"INR\",\n \"value\": \"200\"\n }\n },\n {\n \"title\": \"hycodan 3 units\",\n \"price\": {\n \"currency\": \"INR\",\n \"value\": \"450\"\n }\n },\n {\n \"title\": \"delivery charge\",\n \"price\": {\n \"currency\": \"INR\",\n \"value\": \"50\"\n }\n }\n ]\n },\n \"billing\": {\n \"name\": \"Alice Smith\",\n \"address\": \"Apt 303, Maple Towers, Richmond Road, 560001\",\n \"state\": {\n \"name\": \"Jurong East\"\n },\n \"city\": {\n \"name\": \"Jurong East\"\n },\n \"email\": \"alice.smith@example.com\",\n \"phone\": \"9886098860\"\n },\n \"payments\": [\n {\n \"collected_by\": \"BPP\",\n \"params\": {\n \"amount\": \"700\",\n \"currency\": \"INR\",\n \"bank_account_number\": \"1234002341\",\n \"bank_code\": \"INB0004321\",\n \"bank_account_name\": \"Strapi BPP Limited\"\n },\n \"status\": \"PAID\",\n \"type\": \"PRE-ORDER\",\n \"transaction_id\": \"a35b56cf-e5cf-41f1-9b5d-fa99d8d5ac8c\"\n }\n ],\n \"cancellation_terms\": [\n {\n \"fulfillment_state\": {\n \"descriptor\": {\n \"code\": \"in-progress\"\n }\n },\n \"cancellation_fee\": {\n \"percentage\": \"30%\"\n },\n \"external_ref\": {\n \"mimetype\": \"text/html\",\n \"url\": \"https://quickPharma.in/charge/tnc.html\"\n }\n }\n ]\n }\n },\n {\n \"context\": {\n \"domain\": \"dhp:consultation:0.1.0\",\n \"action\": \"on_confirm\",\n \"version\": \"1.1.0\",\n \"bpp_id\": \"beckn-sandbox-bpp.becknprotocol.io\",\n \"bpp_uri\": \"https://sandbox-bpp-network.becknprotocol.io\",\n \"country\": \"IND\",\n \"city\": \"std:080\",\n \"location\": {\n \"country\": {\n \"name\": \"India\",\n \"code\": \"IND\"\n }\n },\n \"bap_id\": \"ps-bap-network.becknprotocol.io\",\n \"bap_uri\": \"https://ps-bap-network.becknprotocol.io\",\n \"transaction_id\": \"eed96a3f-c780-4157-a219-09ff871ee56c\",\n \"message_id\": \"64a8534f-502d-4204-9bfa-c54c275fb667\",\n \"ttl\": \"PT10M\",\n \"timestamp\": \"2023-12-08T07:51:37.517Z\"\n },\n \"message\": {\n \"orderId\": \"759b905c-5a30-4d18-a6af-0decbac9282f\",\n \"provider\": {\n \"id\": \"289edce4-d002-4962-b311-4c025e22b4f6\",\n \"name\": \"Max Hospitals\",\n \"short_desc\": \"Max Hospitals Pvt Ltd\",\n \"images\": [\n {\n \"url\": \"https://maxhospitals.in/images/logo.png\"\n }\n ]\n },\n \"items\": {\n \"id\": \"cons-01\",\n \"name\": \"Orthopedaedic Surgeon\",\n \"code\": \"consultation\",\n \"short_desc\": \"Orthopaedic Surgeon\",\n \"long_desc\": \"Skilled orthopaedic surgeon specializing in diagnosing & treating musculoskeletal conditions using advanced surgical techniques & compassionate care\",\n \"price\": {\n \"value\": \"300\",\n \"currency\": \"INR\"\n },\n \"time\": {\n \"duration\": \"PT30M\"\n }\n },\n \"fulfillments\": [\n {\n \"id\": \"ful-01\",\n \"type\": \"OPD\",\n \"customer\": {\n \"person\": {\n \"name\": \"Jane Doe\",\n \"age\": \"13\",\n \"gender\": \"female\",\n \"dob\": \"1995-09-11\"\n },\n \"contact\": {\n \"phone\": \"+91-9663088848\",\n \"email\": \"jane.doe@example.com\"\n }\n },\n \"state\": {\n \"descriptor\": {\n \"code\": \"slot-booked\",\n \"name\": \"Slot has been Booked\"\n }\n },\n \"agent\": {\n \"person\": {\n \"id\": \"237402938409485039850935\",\n \"name\": \"Dr Asthana\",\n \"gender\": \"male\"\n }\n },\n \"stops\": [\n {\n \"location\": {\n \"gps\": \"12.9164682,77.6089985\",\n \"address\": \"Akashya nagar B17/14\",\n \"state\": {\n \"name\": \"Madhya Pradesh\"\n },\n \"city\": {\n \"name\": \"Bhopal\"\n },\n \"area_code\": \"462001\"\n },\n \"time\": {\n \"label\": \"Booking Slots\",\n \"range\": {\n \"start\": \"2023-11-04T10:00:00.00Z\",\n \"end\": \"2023-11-04T10:30:00.00Z\"\n }\n }\n }\n ],\n \"tracking\": false\n }\n ],\n \"quote\": {\n \"price\": {\n \"value\": \"350\",\n \"currency\": \"INR\"\n },\n \"breakup\": [\n {\n \"title\": \"General Physician Consultation\",\n \"price\": {\n \"currency\": \"INR\",\n \"value\": \"300\"\n }\n },\n {\n \"title\": \"Slot surcharge\",\n \"price\": {\n \"currency\": \"INR\",\n \"value\": \"50\"\n }\n }\n ]\n },\n \"billing\": {\n \"name\": \"Rajesh Kumar\",\n \"address\": \"Villa 5, Green Valley, Malleshwaram, 560012\",\n \"state\": {\n \"name\": \"Madhya Pradesh\"\n },\n \"city\": {\n \"name\": \"Bhopal\"\n },\n \"email\": \"rajesh.kumar@example.com\",\n \"phone\": \"+91-9999999999\"\n },\n \"payments\": [\n {\n \"collected_by\": \"BPP\",\n \"params\": {\n \"amount\": \"350\",\n \"currency\": \"INR\",\n \"bank_account_number\": \"1234002341\",\n \"bank_code\": \"INB0004321\",\n \"bank_account_name\": \"Strapi BPP Limited\"\n },\n \"status\": \"PAID\",\n \"type\": \"PRE-ORDER\",\n \"transaction_id\": \"a35b56cf-e5cf-41f1-9b5d-fa99d8d5ac8c\"\n }\n ],\n \"cancellation_terms\": [\n {\n \"reason_required\": true,\n \"cancellation_fee\": {\n \"amount\": {\n \"currency\": \"EUR\",\n \"value\": \"100\"\n }\n }\n }\n ]\n }\n }\n ]\n}"
}
]
},
{
"name": "Status",
"request": {
"method": "POST",
"header": [],
"body": {
"mode": "raw",
"raw": "{\n \"data\": [\n {\n \"context\": {\n \"transaction_id\": \"eed96a3f-c780-4157-a219-09ff871ee56c\",\n \"bpp_id\": \"beckn-sandbox-bpp.becknprotocol.io\",\n \"bpp_uri\": \"https://sandbox-bpp-network.becknprotocol.io\",\n \"domain\": \"dsep:scholarships\"\n },\n \"message\": {\n \"order_id\": \"759b905c-5a30-4d18-a6af-0decbac9282f\"\n }\n },\n {\n \"context\": {\n \"transaction_id\": \"eed96a3f-c780-4157-a219-09ff871ee56c\",\n \"bpp_id\": \"beckn-sandbox-bpp.becknprotocol.io\",\n \"bpp_uri\": \"https://sandbox-bpp-network.becknprotocol.io\",\n \"domain\": \"dsep:scholarships\"\n },\n \"message\": {\n \"order_id\": \"759b905c-5a30-4d18-a6af-0decbac9282f\"\n }\n }\n ]\n}",
"options": {
"raw": {
"language": "json"
}
}
},
"url": "{{base_url}}/status"
},
"response": [
{
"name": "Response",
"originalRequest": {
"method": "POST",
"header": [],
"body": {
"mode": "raw",
"raw": "{\n \"data\": [\n {\n \"context\": {\n \"transaction_id\": \"eed96a3f-c780-4157-a219-09ff871ee56c\",\n \"bpp_id\": \"beckn-sandbox-bpp.becknprotocol.io\",\n \"bpp_uri\": \"https://sandbox-bpp-network.becknprotocol.io\",\n \"domain\": \"dhp:pharmacy:0.1.0\"\n },\n \"message\": {\n \"orders\": [\n {\n \"provider\": {\n \"id\": \"289edce4-d002-4962-b311-4c025e22b4f6\"\n },\n \"fulfillments\": [\n {\n \"id\": \"ful-01\",\n \"customer\": {\n \"person\": {\n \"name\": \"Jane Doe\",\n \"age\": \"13\",\n \"gender\": \"female\",\n \"dob\": \"1995-09-11\"\n },\n \"contact\": {\n \"phone\": \"+91-9663088848\",\n \"email\": \"jane.doe@example.com\"\n }\n },\n \"stops\": [\n {\n \"time\": {\n \"label\": \"Booking Slots\",\n \"range\": {\n \"start\": \"2023-07-16T04:41:16Z\",\n \"end\": \"2023-07-16T04:41:16Z\"\n }\n }\n }\n ]\n }\n ],\n \"items\": [\n {\n \"id\": \"cons-01\"\n }\n ],\n \"billing\": {\n \"name\": \"Rajesh Kumar\",\n \"address\": \"Villa 5, Green Valley, Malleshwaram, 560012\",\n \"state\": {\n \"name\": \"Madhya Pradesh\"\n },\n \"city\": {\n \"name\": \"Bhopal\"\n },\n \"email\": \"rajesh.kumar@example.com\",\n \"phone\": \"+91-9999999999\"\n },\n \"payments\": [\n {\n \"collected_by\": \"BPP\",\n \"params\": {\n \"amount\": \"350\",\n \"currency\": \"INR\",\n \"bank_account_number\": \"1234002341\",\n \"bank_code\": \"INB0004321\",\n \"bank_account_name\": \"Strapi BPP Limited\"\n },\n \"status\": \"PAID\",\n \"type\": \"PRE-ORDER\",\n \"transaction_id\": \"a35b56cf-e5cf-41f1-9b5d-fa99d8d5ac8c\"\n }\n ]\n }\n ]\n }\n },\n {\n \"context\": {\n \"transaction_id\": \"eed96a3f-c780-4157-a219-09ff871ee56c\",\n \"bpp_id\": \"beckn-sandbox-bpp.becknprotocol.io\",\n \"bpp_uri\": \"https://sandbox-bpp-network.becknprotocol.io\",\n \"domain\": \"dhp:consultation:0.1.0\"\n },\n \"message\": {\n \"orders\": [\n {\n \"provider\": {\n \"id\": \"289edce4-d002-4962-b311-4c025e22b4f6\"\n },\n \"fulfillments\": [\n {\n \"id\": \"ful-01\",\n \"customer\": {\n \"person\": {\n \"name\": \"Jane Doe\",\n \"age\": \"13\",\n \"gender\": \"female\",\n \"dob\": \"1995-09-11\"\n },\n \"contact\": {\n \"phone\": \"+91-9663088848\",\n \"email\": \"jane.doe@example.com\"\n }\n },\n \"stops\": [\n {\n \"time\": {\n \"label\": \"Booking Slots\",\n \"range\": {\n \"start\": \"2023-07-16T04:41:16Z\",\n \"end\": \"2023-07-16T04:41:16Z\"\n }\n }\n }\n ]\n }\n ],\n \"items\": [\n {\n \"id\": \"cons-01\"\n }\n ],\n \"billing\": {\n \"name\": \"Rajesh Kumar\",\n \"address\": \"Villa 5, Green Valley, Malleshwaram, 560012\",\n \"state\": {\n \"name\": \"Madhya Pradesh\"\n },\n \"city\": {\n \"name\": \"Bhopal\"\n },\n \"email\": \"rajesh.kumar@example.com\",\n \"phone\": \"+91-9999999999\"\n },\n \"payments\": [\n {\n \"collected_by\": \"BPP\",\n \"params\": {\n \"amount\": \"350\",\n \"currency\": \"INR\",\n \"bank_account_number\": \"1234002341\",\n \"bank_code\": \"INB0004321\",\n \"bank_account_name\": \"Strapi BPP Limited\"\n },\n \"status\": \"PAID\",\n \"type\": \"PRE-ORDER\",\n \"transaction_id\": \"a35b56cf-e5cf-41f1-9b5d-fa99d8d5ac8c\"\n }\n ]\n }\n ]\n }\n }\n ]\n}",
"options": {
"raw": {
"language": "json"
}
}
},
"url": "{{base_url}}/confirm"
},
"status": "OK",
"code": 200,
"_postman_previewlanguage": "json",
"header": [
{
"key": "Content-Type",
"value": "application/json",
"name": "Content-Type",
"description": "",
"type": "text"
}
],
"cookie": [],
"body": "{\n \"data\": [\n {\n \"context\": {\n \"domain\": \"dsep:scholarships\",\n \"action\": \"on_status\",\n \"version\": \"1.1.0\",\n \"bpp_id\": \"beckn-sandbox-bpp.becknprotocol.io\",\n \"bpp_uri\": \"https://sandbox-bpp-network.becknprotocol.io\",\n \"country\": \"IND\",\n \"city\": \"std:080\",\n \"location\": {\n \"city\": {\n \"name\": \"Bangalore\",\n \"code\": \"std:080\"\n },\n \"country\": {\n \"name\": \"India\",\n \"code\": \"IND\"\n }\n },\n \"bap_id\": \"ps-bap-network.becknprotocol.io\",\n \"bap_uri\": \"https://ps-bap-network.becknprotocol.io\",\n \"transaction_id\": \"eed96a3f-c780-4157-a219-09ff871ee56c\",\n \"message_id\": \"67754a23-6e80-4bb8-8708-f7257781ac6b\",\n \"ttl\": \"PT10M\",\n \"timestamp\": \"2023-12-08T09:44:19.394Z\"\n },\n \"message\": {\n \"order\": {\n \"id\": \"APP_58605054\",\n \"status\": \"ACTIVE\",\n \"provider\": {\n \"id\": \"BX213573733\",\n \"name\": \"XYZ Education Foundation\",\n \"short_desc\": \"Education Foundation\",\n \"rateable\": false\n },\n \"items\": {\n \"id\": \"SCM_63587501\",\n \"name\": \"XYZ Education Scholarship for Undergraduate Students\",\n \"short_desc\": \"XYZ Education Scholarship for Undergraduate Students\",\n \"price\": {\n \"currency\": \"INR\",\n \"value\": \"25000\"\n },\n \"xinput\": {\n \"required\": true,\n \"form\": {\n \"url\": \"http://localhost:8001/public/getForm/5007a4bd-f8c1-4859-877e-2bc4b7a4f554/da0052a822dc4cdf95ab136b5614d0c9\",\n \"data\": {\n \"name\": \"James\",\n \"phone\": \"498674\",\n \"address\": \"Mumbai\",\n \"needOfScholarship\": \"higher education\",\n \"docUrl\": \"http://abc.co/docs\"\n },\n \"mime_type\": \"text/html\"\n }\n },\n \"rateable\": false,\n \"tags\": [\n {\n \"code\": \"edu_qual\",\n \"name\": \"Academic Eligibility\",\n \"display\": true,\n \"list\": [\n {\n \"code\": \"gr\",\n \"name\": \"Grade\",\n \"value\": \"Grade 12\"\n },\n {\n \"code\": \"percentage_grade\",\n \"name\": \"Percentage/Grade\",\n \"value\": \">= 50\"\n },\n {\n \"code\": \"passing_year\",\n \"name\": \"Passing Year\",\n \"value\": \"2021\"\n }\n ]\n },\n {\n \"code\": \"benefits\",\n \"name\": \"Benefits\",\n \"display\": true,\n \"list\": [\n {\n \"code\": \"scholarship-amount\",\n \"name\": \"Scholarship Amount\",\n \"value\": \"Upto Rs.25000 per year\"\n }\n ]\n }\n ]\n },\n \"fulfillments\": [\n {\n \"id\": \"DSEP_FUL_63587501\",\n \"type\": \"SCHOLARSHIP\",\n \"tracking\": false,\n \"contact\": {\n \"phone\": \"9876543210\",\n \"email\": \"maryg@xyz.com\"\n },\n \"stops\": [\n {\n \"type\": \"APPLICATION-START\",\n \"time\": {\n \"timestamp\": \"2022-09-01T00:00:00.000Z\"\n }\n },\n {\n \"type\": \"APPLICATION-END\",\n \"time\": {\n \"timestamp\": \"2022-10-31T00:00:00.000Z\"\n }\n }\n ]\n }\n ],\n \"type\": \"DEFAULT\"\n }\n }\n },\n {\n \"context\": {\n \"domain\": \"dsep:scholarships\",\n \"action\": \"on_status\",\n \"version\": \"1.1.0\",\n \"bpp_id\": \"beckn-sandbox-bpp.becknprotocol.io\",\n \"bpp_uri\": \"https://sandbox-bpp-network.becknprotocol.io\",\n \"country\": \"IND\",\n \"city\": \"std:080\",\n \"location\": {\n \"city\": {\n \"name\": \"Bangalore\",\n \"code\": \"std:080\"\n },\n \"country\": {\n \"name\": \"India\",\n \"code\": \"IND\"\n }\n },\n \"bap_id\": \"ps-bap-network.becknprotocol.io\",\n \"bap_uri\": \"https://ps-bap-network.becknprotocol.io\",\n \"transaction_id\": \"eed96a3f-c780-4157-a219-09ff871ee56c\",\n \"message_id\": \"6977afa3-bbeb-418d-a669-8a06be9df713\",\n \"ttl\": \"PT10M\",\n \"timestamp\": \"2023-12-08T09:44:19.437Z\"\n },\n \"message\": {\n \"order\": {\n \"id\": \"APP_58605054\",\n \"status\": \"ACTIVE\",\n \"provider\": {\n \"id\": \"BX213573733\",\n \"name\": \"XYZ Education Foundation\",\n \"short_desc\": \"Education Foundation\",\n \"rateable\": false\n },\n \"items\": {\n \"id\": \"SCM_63587501\",\n \"name\": \"XYZ Education Scholarship for Undergraduate Students\",\n \"short_desc\": \"XYZ Education Scholarship for Undergraduate Students\",\n \"price\": {\n \"currency\": \"INR\",\n \"value\": \"25000\"\n },\n \"xinput\": {\n \"required\": true,\n \"form\": {\n \"url\": \"http://localhost:8001/public/getForm/5007a4bd-f8c1-4859-877e-2bc4b7a4f554/da0052a822dc4cdf95ab136b5614d0c9\",\n \"data\": {\n \"name\": \"James\",\n \"phone\": \"498674\",\n \"address\": \"Mumbai\",\n \"needOfScholarship\": \"higher education\",\n \"docUrl\": \"http://abc.co/docs\"\n },\n \"mime_type\": \"text/html\"\n }\n },\n \"rateable\": false,\n \"tags\": [\n {\n \"code\": \"edu_qual\",\n \"name\": \"Academic Eligibility\",\n \"display\": true,\n \"list\": [\n {\n \"code\": \"gr\",\n \"name\": \"Grade\",\n \"value\": \"Grade 12\"\n },\n {\n \"code\": \"percentage_grade\",\n \"name\": \"Percentage/Grade\",\n \"value\": \">= 50\"\n },\n {\n \"code\": \"passing_year\",\n \"name\": \"Passing Year\",\n \"value\": \"2021\"\n }\n ]\n },\n {\n \"code\": \"benefits\",\n \"name\": \"Benefits\",\n \"display\": true,\n \"list\": [\n {\n \"code\": \"scholarship-amount\",\n \"name\": \"Scholarship Amount\",\n \"value\": \"Upto Rs.25000 per year\"\n }\n ]\n }\n ]\n },\n \"fulfillments\": [\n {\n \"id\": \"DSEP_FUL_63587501\",\n \"type\": \"SCHOLARSHIP\",\n \"tracking\": false,\n \"contact\": {\n \"phone\": \"9876543210\",\n \"email\": \"maryg@xyz.com\"\n },\n \"stops\": [\n {\n \"type\": \"APPLICATION-START\",\n \"time\": {\n \"timestamp\": \"2022-09-01T00:00:00.000Z\"\n }\n },\n {\n \"type\": \"APPLICATION-END\",\n \"time\": {\n \"timestamp\": \"2022-10-31T00:00:00.000Z\"\n }\n }\n ]\n }\n ],\n \"type\": \"DEFAULT\"\n }\n }\n }\n ]\n}"
}
]
},
{
"name": "[NW] Rating",
"request": {
"method": "POST",
"header": [],
"body": {
"mode": "raw",
"raw": "{\n \"context\": {\n \"bpp_id\": \"beckn-sandbox-bpp.becknprotocol.io\",\n \"bpp_uri\": \"https://sandbox-bpp-network.becknprotocol.io\",\n \"domain\": \"dhp:pharmacy:0.1.0\"\n },\n \"message\": {\n \"ratings\": [\n {\n \"id\": \"lab-test-01\",\n \"rating_category\": \"Item\",\n \"value\": \"5\"\n }\n ]\n }\n}",
"options": {
"raw": {
"language": "json"
}
}
},
"url": "{{base_url}}/rating"
},
"response": [
{
"name": "Response",
"originalRequest": {
"method": "POST",
"header": [],
"body": {
"mode": "raw",
"raw": "{\n \"context\": {\n \"bpp_id\": \"beckn-sandbox-bpp.becknprotocol.io\",\n \"bpp_uri\": \"https://sandbox-bpp-network.becknprotocol.io\",\n \"domain\": \"dhp:pharmacy:0.1.0\"\n },\n \"message\": {\n \"ratings\": [\n {\n \"id\": \"lab-test-01\",\n \"rating_category\": \"Item\",\n \"value\": \"5\"\n }\n ]\n }\n}",
"options": {
"raw": {
"language": "json"
}
}
},
"url": "{{base_url}}/rating"
},
"status": "OK",
"code": 200,
"_postman_previewlanguage": "json",
"header": [
{
"key": "Content-Type",
"value": "application/json",
"name": "Content-Type",
"description": "",
"type": "text"
}
],
"cookie": [],
"body": "{\n \"context\": {\n \"domain\": \"dhp:pharmacy:0.1.0\",\n \"action\": \"on_rating\",\n \"location\": {\n \"country\": {\n \"name\": \"India\",\n \"code\": \"IND\"\n }\n },\n \"city\": \"std:080\",\n \"version\": \"1.1.0\",\n \"bap_id\": \"ps-bap-network.becknprotocol.io\",\n \"bap_url\": \"https://ps-bap-client.becknprotocol.io//\",\n \"bpp_id\": \"beckn-sandbox-bpp.becknprotocol.io\",\n \"bpp_uri\": \"https://sandbox-bpp-network.becknprotocol.io/\",\n \"transaction_id\": \"6743e9e2-4fb5-487c-92b7-13ba8018f176\",\n \"message_id\": \"6743e9e2-4fb5-487c-92b7-13ba8018f176\",\n \"timestamp\": \"2023-07-16T04:41:16Z\"\n },\n \"message\": {\n \"feedback_form\": {\n \"form\": {\n \"url\": \"url of the feedback form\",\n \"mime_type\": \"text/html\"\n },\n \"required\": true\n }\n }\n}"
}
]
},
{
"name": "Cancel",
"request": {
"method": "POST",
"header": [],
"body": {
"mode": "raw",
"raw": "{\n \"context\": {\n \"transaction_id\": \"0bbd82ce-5a21-4e26-b402-1c1f9d954fee\",\n \"bpp_id\": \"beckn-sandbox-bpp.becknprotocol.io\",\n \"bpp_uri\": \"https://sandbox-bpp-network.becknprotocol.io/\",\n \"domain\": \"dhp:pharmacy:0.1.0\"\n },\n \"message\": {\n \"order_id\": \"853c7593-f4bf-4557-8832-118a591787ba\",\n \"cancellation_reason_id\": \"4\",\n \"descriptor\": {\n \"short_desc\": \"Prescription Changed\",\n \"long_desc\": \"The patient's prescription has been changed, and the medication order is no longer valid.\"\n }\n }\n}",
"options": {
"raw": {
"language": "json"
}
}
},
"url": "{{base_url}}/cancel"
},
"response": [
{
"name": "Response",
"originalRequest": {
"method": "POST",
"header": [],
"body": {
"mode": "raw",
"raw": "{\n \"context\": {\n \"transaction_id\": \"0bbd82ce-5a21-4e26-b402-1c1f9d954fee\",\n \"bpp_id\": \"beckn-sandbox-bpp.becknprotocol.io\",\n \"bpp_uri\": \"https://sandbox-bpp-network.becknprotocol.io/\",\n \"domain\": \"dhp:pharmacy:0.1.0\"\n },\n \"message\": {\n \"order_id\": \"853c7593-f4bf-4557-8832-118a591787ba\",\n \"cancellation_reason_id\": \"4\",\n \"descriptor\": {\n \"short_desc\": \"Prescription Changed\",\n \"long_desc\": \"The patient's prescription has been changed, and the medication order is no longer valid.\"\n }\n }\n}",
"options": {
"raw": {
"language": "json"
}
}
},
"url": "{{base_url}}/cancel"
},
"status": "OK",
"code": 200,
"_postman_previewlanguage": "json",
"header": [
{
"key": "Content-Type",
"value": "application/json",
"name": "Content-Type",
"description": "",
"type": "text"
}
],
"cookie": [],
"body": "{\n \"data\": [\n {\n \"context\": {\n \"domain\": \"dhp:pharmacy:0.1.0\",\n \"action\": \"on_cancel\",\n \"version\": \"1.1.0\",\n \"bpp_id\": \"beckn-sandbox-bpp.becknprotocol.io\",\n \"bpp_uri\": \"https://sandbox-bpp-network.becknprotocol.io/\",\n \"country\": \"IND\",\n \"city\": \"std:080\",\n \"location\": {\n \"country\": {\n \"name\": \"India\",\n \"code\": \"IND\"\n }\n },\n \"bap_id\": \"ps-bap-network.becknprotocol.io\",\n \"bap_uri\": \"https://ps-bap-network.becknprotocol.io\",\n \"transaction_id\": \"0bbd82ce-5a21-4e26-b402-1c1f9d954fee\",\n \"message_id\": \"85c1c264-8c50-4b0d-b4de-cd119a85eaea\",\n \"ttl\": \"PT10M\",\n \"timestamp\": \"2023-12-08T08:04:08.155Z\"\n },\n \"message\": {\n \"order\": {\n \"type\": \"DEFAULT\",\n \"provider\": {\n \"id\": \"e92e7a6e-1f20-4a8d-b343-956e0d45a48c\",\n \"name\": \"QuickPharma\",\n \"short_desc\": \"QuickPharma Pvt Ltd\",\n \"images\": {\n \"url\": \"https://quickPharma.in/images/logo.png\"\n }\n },\n \"items\": [\n {\n \"id\": \"fb0999b7-7755-46d6-a2ed-b286b7c98436\",\n \"name\": \"Benadryl cough syrup\",\n \"price\": {\n \"value\": \"100\",\n \"currency\": \"INR\"\n },\n \"quantity\": {\n \"selected\": {\n \"measure\": {\n \"value\": \"2\",\n \"unit\": \"units\"\n }\n }\n }\n },\n {\n \"id\": \"1cef39d8-72d0-46f7-99ca-3f18f4bda8e3\",\n \"name\": \"Hycodan\",\n \"price\": {\n \"value\": \"150\",\n \"currency\": \"INR\"\n },\n \"quantity\": {\n \"selected\": {\n \"measure\": {\n \"value\": \"3\",\n \"unit\": \"units\"\n }\n }\n }\n }\n ],\n \"fulfillments\": [\n {\n \"id\": \"ful-02\",\n \"type\": \"HOME-DELIVERY\",\n \"customer\": {\n \"contact\": {\n \"email\": \"fox.judie@abc.org\",\n \"phone\": \"+91-9999999999\"\n },\n \"person\": {\n \"name\": \"Judie Fox\"\n }\n },\n \"stops\": [\n {\n \"location\": {\n \"gps\": \"1.3806217468119772, 103.74636438437074\",\n \"address\": \"My House #, My building\",\n \"city\": {\n \"name\": \"Jurong East\"\n },\n \"country\": {\n \"code\": \"SGP\"\n },\n \"area_code\": \"680230\",\n \"state\": {\n \"name\": \"bayern\"\n }\n },\n \"contact\": {\n \"phone\": \"9886098860\"\n }\n }\n ],\n \"state\": {\n \"descriptor\": {\n \"code\": \"order-cancelled\",\n \"name\": \"Order has been cancelled\"\n }\n },\n \"tracking\": false\n }\n ],\n \"quote\": {\n \"price\": {\n \"value\": \"700\",\n \"currency\": \"INR\"\n },\n \"breakup\": [\n {\n \"title\": \"Benadryl 2 units\",\n \"price\": {\n \"currency\": \"INR\",\n \"value\": \"200\"\n }\n },\n {\n \"title\": \"hycodan 3 units\",\n \"price\": {\n \"currency\": \"INR\",\n \"value\": \"450\"\n }\n },\n {\n \"title\": \"delivery charge\",\n \"price\": {\n \"currency\": \"INR\",\n \"value\": \"50\"\n }\n },\n {\n \"title\": \"cancellation charge\",\n \"price\": {\n \"currency\": \"INR\",\n \"value\": \"50\"\n }\n }\n ]\n },\n \"billing\": {\n \"name\": \"Alice Smith\",\n \"address\": \"Apt 303, Maple Towers, Richmond Road, 560001\",\n \"state\": {\n \"name\": \"Jurong East\"\n },\n \"city\": {\n \"name\": \"Jurong East\"\n },\n \"email\": \"alice.smith@example.com\",\n \"phone\": \"9886098860\"\n },\n \"payments\": [\n {\n \"collected_by\": \"BPP\",\n \"params\": {\n \"amount\": \"700\",\n \"currency\": \"INR\",\n \"bank_account_number\": \"1234002341\",\n \"bank_code\": \"INB0004321\",\n \"bank_account_name\": \"Strapi BPP Limited\"\n },\n \"status\": \"PAID\",\n \"type\": \"PRE-ORDER\",\n \"transaction_id\": \"a35b56cf-e5cf-41f1-9b5d-fa99d8d5ac8c\"\n }\n ],\n \"cancellation_terms\": [\n {\n \"fulfillment_state\": {\n \"descriptor\": {\n \"code\": \"in-progress\"\n }\n },\n \"cancellation_fee\": {\n \"percentage\": \"30%\"\n },\n \"external_ref\": {\n \"mimetype\": \"text/html\",\n \"url\": \"https://quickPharma.in/charge/tnc.html\"\n }\n }\n ]\n }\n }\n }\n ]\n}"
}
]
},
{
"name": "Update",
"request": {
"method": "POST",
"header": [],
"body": {
"mode": "raw",
"raw": "{\n \"data\": [\n {\n \"context\": {\n \"domain\": \"dhp:pharmacy:0.1.0\",\n \"bpp_id\": \"beckn-sandbox-bpp.becknprotocol.io\",\n \"bpp_uri\": \"https://sandbox-bpp-network.becknprotocol.io/\",\n \"transaction_id\": \"6743e9e2-4fb5-487c-92b7-13ba8018f176\"\n },\n \"orderId\": \"853c7593-f4bf-4557-8832-118a591787ba\",\n \"updateDetails\": {\n \"updateTarget\": \"order.fulfillments[0].stops[0]\",\n \"fulfillments\": [\n {\n \"stops\": [\n {\n \"location\": {\n \"gps\": \"1.3806217468119772, 103.74636438437074\",\n \"address\": \"My House #, My building\",\n \"city\": {\n \"name\": \"Jurong East\"\n },\n \"country\": {\n \"code\": \"SGP\"\n },\n \"area_code\": \"680230\",\n \"state\": {\n \"name\": \"bayern\"\n }\n },\n \"contact\": {\n \"phone\": \"9886098860\"\n }\n }\n ]\n }\n ],\n \"billing\": {\n \"name\": \"John Doe\",\n \"address\": \"Villa 5, Green Valley, Malleshwaram, 560012\",\n \"email\": \"john.doe@example.com\",\n \"phone\": \"+91-9999999999\"\n }\n }\n },\n {\n \"context\": {\n \"domain\": \"dhp:pharmacy:0.1.0\",\n \"bpp_id\": \"beckn-sandbox-bpp.becknprotocol.io\",\n \"bpp_uri\": \"https://sandbox-bpp-network.becknprotocol.io/\",\n \"transaction_id\": \"6743e9e2-4fb5-487c-92b7-13ba8018f176\"\n },\n \"orderId\": \"853c7593-f4bf-4557-8832-118a591787ba\",\n \"updateDetails\": {\n \"updateTarget\": \"order.fulfillments[0].stops[0]\",\n \"fulfillments\": [\n {\n \"stops\": [\n {\n \"location\": {\n \"gps\": \"1.3806217468119772, 103.74636438437074\",\n \"address\": \"My House #, My building\",\n \"city\": {\n \"name\": \"Jurong East\"\n },\n \"country\": {\n \"code\": \"SGP\"\n },\n \"area_code\": \"680230\",\n \"state\": {\n \"name\": \"bayern\"\n }\n },\n \"contact\": {\n \"phone\": \"9886098860\"\n }\n }\n ]\n }\n ],\n \"billing\": {\n \"name\": \"John Doe\",\n \"address\": \"Villa 5, Green Valley, Malleshwaram, 560012\",\n \"email\": \"john.doe@example.com\",\n \"phone\": \"+91-9999999999\"\n }\n }\n }\n ]\n}",
"options": {
"raw": {
"language": "json"
}
}
},
"url": "{{base_url}}/update"
},
"response": [
{
"name": "Response",
"originalRequest": {
"method": "POST",
"header": [],
"body": {
"mode": "raw",
"raw": "{\n \"context\": {\n \"transaction_id\": \"0bbd82ce-5a21-4e26-b402-1c1f9d954fee\",\n \"bpp_id\": \"beckn-sandbox-bpp.becknprotocol.io\",\n \"bpp_uri\": \"https://sandbox-bpp-network.becknprotocol.io/\",\n \"domain\": \"dhp:pharmacy:0.1.0\"\n },\n \"message\": {\n \"order_id\": \"853c7593-f4bf-4557-8832-118a591787ba\",\n \"cancellation_reason_id\": \"4\",\n \"descriptor\": {\n \"short_desc\": \"Prescription Changed\",\n \"long_desc\": \"The patient's prescription has been changed, and the medication order is no longer valid.\"\n }\n }\n}",
"options": {
"raw": {
"language": "json"
}
}
},
"url": "{{base_url}}/cancel"
},
"status": "OK",
"code": 200,
"_postman_previewlanguage": "json",
"header": [
{
"key": "Content-Type",
"value": "application/json",
"name": "Content-Type",
"description": "",
"type": "text"
}
],
"cookie": [],
"body": "{\n \"data\": [\n {\n \"context\": {\n \"domain\": \"dhp:pharmacy:0.1.0\",\n \"action\": \"on_update\",\n \"version\": \"1.1.0\",\n \"bpp_id\": \"beckn-sandbox-bpp.becknprotocol.io\",\n \"bpp_uri\": \"https://sandbox-bpp-network.becknprotocol.io/\",\n \"country\": \"IND\",\n \"city\": \"std:080\",\n \"location\": {\n \"country\": {\n \"name\": \"India\",\n \"code\": \"IND\"\n }\n },\n \"bap_id\": \"ps-bap-network.becknprotocol.io\",\n \"bap_uri\": \"https://ps-bap-network.becknprotocol.io\",\n \"transaction_id\": \"6743e9e2-4fb5-487c-92b7-13ba8018f176\",\n \"message_id\": \"aac2bf80-8d61-44f9-a2aa-a5cf7446fcc5\",\n \"ttl\": \"PT10M\",\n \"timestamp\": \"2023-12-08T09:20:33.123Z\"\n },\n \"message\": {\n \"orderId\": \"853c7593-f4bf-4557-8832-118a591787ba\",\n \"provider\": {\n \"id\": \"e92e7a6e-1f20-4a8d-b343-956e0d45a48c\",\n \"name\": \"QuickPharma\",\n \"short_desc\": \"QuickPharma Pvt Ltd\",\n \"images\": [\n {\n \"url\": \"https://quickPharma.in/images/logo.png\"\n }\n ]\n },\n \"items\": [\n {\n \"id\": \"fb0999b7-7755-46d6-a2ed-b286b7c98436\",\n \"name\": \"Benadryl cough syrup\",\n \"code\": \"benadryl\",\n \"price\": {\n \"value\": \"100\",\n \"currency\": \"INR\"\n },\n \"quantity\": {\n \"selected\": {\n \"measure\": {\n \"value\": \"2\",\n \"unit\": \"units\"\n }\n }\n }\n },\n {\n \"id\": \"1cef39d8-72d0-46f7-99ca-3f18f4bda8e3\",\n \"name\": \"Hycodan\",\n \"code\": \"hycodan\",\n \"price\": {\n \"value\": \"150\",\n \"currency\": \"INR\"\n },\n \"quantity\": {\n \"selected\": {\n \"measure\": {\n \"value\": \"3\",\n \"unit\": \"units\"\n }\n }\n }\n }\n ],\n \"fulfillments\": [\n {\n \"id\": \"ful-02\",\n \"type\": \"HOME-DELIVERY\",\n \"customer\": {\n \"contact\": {\n \"email\": \"fox.judie@abc.org\",\n \"phone\": \"+91-9999999999\"\n },\n \"person\": {\n \"name\": \"Judie Fox\"\n }\n },\n \"stops\": [\n {\n \"location\": {\n \"gps\": \"1.3806217468119772, 103.74636438437074\",\n \"address\": \"My House #, My building\",\n \"city\": {\n \"name\": \"Jurong East\"\n },\n \"country\": {\n \"code\": \"SGP\"\n },\n \"area_code\": \"680230\",\n \"state\": {\n \"name\": \"bayern\"\n }\n },\n \"contact\": {\n \"phone\": \"9886098860\"\n }\n }\n ],\n \"state\": {\n \"descriptor\": {\n \"code\": \"drop-location-changed\",\n \"name\": \"The drop location for the order has changed\"\n }\n },\n \"tracking\": false\n }\n ],\n \"quote\": {\n \"price\": {\n \"value\": \"700\",\n \"currency\": \"INR\"\n },\n \"breakup\": [\n {\n \"title\": \"Benadryl 2 units\",\n \"price\": {\n \"currency\": \"INR\",\n \"value\": \"200\"\n }\n },\n {\n \"title\": \"hycodan 3 units\",\n \"price\": {\n \"currency\": \"INR\",\n \"value\": \"450\"\n }\n },\n {\n \"title\": \"delivery charge\",\n \"price\": {\n \"currency\": \"INR\",\n \"value\": \"50\"\n }\n }\n ]\n },\n \"billing\": {\n \"name\": \"Alice Smith\",\n \"address\": \"Apt 303, Maple Towers, Richmond Road, 560001\",\n \"state\": {\n \"name\": \"Jurong East\"\n },\n \"city\": {\n \"name\": \"Jurong East\"\n },\n \"email\": \"alice.smith@example.com\",\n \"phone\": \"9886098860\"\n },\n \"payments\": [\n {\n \"collected_by\": \"BPP\",\n \"params\": {\n \"amount\": \"700\",\n \"currency\": \"INR\",\n \"bank_account_number\": \"1234002341\",\n \"bank_code\": \"INB0004321\",\n \"bank_account_name\": \"Strapi BPP Limited\"\n },\n \"status\": \"PAID\",\n \"type\": \"PRE-ORDER\",\n \"transaction_id\": \"a35b56cf-e5cf-41f1-9b5d-fa99d8d5ac8c\"\n }\n ],\n \"cancellation_terms\": [\n {\n \"fulfillment_state\": {\n \"descriptor\": {\n \"code\": \"in-progress\"\n }\n },\n \"cancellation_fee\": {\n \"percentage\": \"30%\"\n },\n \"external_ref\": {\n \"mimetype\": \"text/html\",\n \"url\": \"https://quickPharma.in/charge/tnc.html\"\n }\n }\n ]\n }\n },\n {\n \"context\": {\n \"domain\": \"dhp:pharmacy:0.1.0\",\n \"action\": \"on_update\",\n \"version\": \"1.1.0\",\n \"bpp_id\": \"beckn-sandbox-bpp.becknprotocol.io\",\n \"bpp_uri\": \"https://sandbox-bpp-network.becknprotocol.io/\",\n \"country\": \"IND\",\n \"city\": \"std:080\",\n \"location\": {\n \"country\": {\n \"name\": \"India\",\n \"code\": \"IND\"\n }\n },\n \"bap_id\": \"ps-bap-network.becknprotocol.io\",\n \"bap_uri\": \"https://ps-bap-network.becknprotocol.io\",\n \"transaction_id\": \"6743e9e2-4fb5-487c-92b7-13ba8018f176\",\n \"message_id\": \"0192a23c-7f37-4f3e-8995-f30d8b8a7976\",\n \"ttl\": \"PT10M\",\n \"timestamp\": \"2023-12-08T09:20:33.253Z\"\n },\n \"message\": {\n \"orderId\": \"853c7593-f4bf-4557-8832-118a591787ba\",\n \"provider\": {\n \"id\": \"e92e7a6e-1f20-4a8d-b343-956e0d45a48c\",\n \"name\": \"QuickPharma\",\n \"short_desc\": \"QuickPharma Pvt Ltd\",\n \"images\": [\n {\n \"url\": \"https://quickPharma.in/images/logo.png\"\n }\n ]\n },\n \"items\": [\n {\n \"id\": \"fb0999b7-7755-46d6-a2ed-b286b7c98436\",\n \"name\": \"Benadryl cough syrup\",\n \"code\": \"benadryl\",\n \"price\": {\n \"value\": \"100\",\n \"currency\": \"INR\"\n },\n \"quantity\": {\n \"selected\": {\n \"measure\": {\n \"value\": \"2\",\n \"unit\": \"units\"\n }\n }\n }\n },\n {\n \"id\": \"1cef39d8-72d0-46f7-99ca-3f18f4bda8e3\",\n \"name\": \"Hycodan\",\n \"code\": \"hycodan\",\n \"price\": {\n \"value\": \"150\",\n \"currency\": \"INR\"\n },\n \"quantity\": {\n \"selected\": {\n \"measure\": {\n \"value\": \"3\",\n \"unit\": \"units\"\n }\n }\n }\n }\n ],\n \"fulfillments\": [\n {\n \"id\": \"ful-02\",\n \"type\": \"HOME-DELIVERY\",\n \"customer\": {\n \"contact\": {\n \"email\": \"fox.judie@abc.org\",\n \"phone\": \"+91-9999999999\"\n },\n \"person\": {\n \"name\": \"Judie Fox\"\n }\n },\n \"stops\": [\n {\n \"location\": {\n \"gps\": \"1.3806217468119772, 103.74636438437074\",\n \"address\": \"My House #, My building\",\n \"city\": {\n \"name\": \"Jurong East\"\n },\n \"country\": {\n \"code\": \"SGP\"\n },\n \"area_code\": \"680230\",\n \"state\": {\n \"name\": \"bayern\"\n }\n },\n \"contact\": {\n \"phone\": \"9886098860\"\n }\n }\n ],\n \"state\": {\n \"descriptor\": {\n \"code\": \"drop-location-changed\",\n \"name\": \"The drop location for the order has changed\"\n }\n },\n \"tracking\": false\n }\n ],\n \"quote\": {\n \"price\": {\n \"value\": \"700\",\n \"currency\": \"INR\"\n },\n \"breakup\": [\n {\n \"title\": \"Benadryl 2 units\",\n \"price\": {\n \"currency\": \"INR\",\n \"value\": \"200\"\n }\n },\n {\n \"title\": \"hycodan 3 units\",\n \"price\": {\n \"currency\": \"INR\",\n \"value\": \"450\"\n }\n },\n {\n \"title\": \"delivery charge\",\n \"price\": {\n \"currency\": \"INR\",\n \"value\": \"50\"\n }\n }\n ]\n },\n \"billing\": {\n \"name\": \"Alice Smith\",\n \"address\": \"Apt 303, Maple Towers, Richmond Road, 560001\",\n \"state\": {\n \"name\": \"Jurong East\"\n },\n \"city\": {\n \"name\": \"Jurong East\"\n },\n \"email\": \"alice.smith@example.com\",\n \"phone\": \"9886098860\"\n },\n \"payments\": [\n {\n \"collected_by\": \"BPP\",\n \"params\": {\n \"amount\": \"700\",\n \"currency\": \"INR\",\n \"bank_account_number\": \"1234002341\",\n \"bank_code\": \"INB0004321\",\n \"bank_account_name\": \"Strapi BPP Limited\"\n },\n \"status\": \"PAID\",\n \"type\": \"PRE-ORDER\",\n \"transaction_id\": \"a35b56cf-e5cf-41f1-9b5d-fa99d8d5ac8c\"\n }\n ],\n \"cancellation_terms\": [\n {\n \"fulfillment_state\": {\n \"descriptor\": {\n \"code\": \"in-progress\"\n }\n },\n \"cancellation_fee\": {\n \"percentage\": \"30%\"\n },\n \"external_ref\": {\n \"mimetype\": \"text/html\",\n \"url\": \"https://quickPharma.in/charge/tnc.html\"\n }\n }\n ]\n }\n }\n ]\n}"
}
]
},
{
"name": "Support",
"request": {
"method": "POST",
"header": [],
"body": {
"mode": "raw",
"raw": "{\n \"data\": [\n {\n \"context\": {\n \"domain\": \"dhp:consultation:0.1.0\",\n \"bpp_id\": \"shreyvishalnew.bpp\",\n \"bpp_uri\": \"https://b708-2401-4900-1c22-2b84-9c72-e64f-2803-3160.ngrok-free.app\",\n \"transaction_id\": \"6743e9e2-4fb5-487c-92b7-13ba8018f176\"\n },\n \"message\": {\n \"support\": {\n \"order_id\": \"759b905c-5a30-4d18-a6af-0decbac9282f\",\n \"callback_phone\": \"+91-8858150053\"\n }\n }\n },\n {\n \"context\": {\n \"domain\": \"dhp:consultation:0.1.0\",\n \"bpp_id\": \"shreyvishalnew.bpp\",\n \"bpp_uri\": \"https://b708-2401-4900-1c22-2b84-9c72-e64f-2803-3160.ngrok-free.app\",\n \"transaction_id\": \"6743e9e2-4fb5-487c-92b7-13ba8018f176\"\n },\n \"message\": {\n \"support\": {\n \"order_id\": \"759b905c-5a30-4d18-a6af-0decbac9282f\",\n \"callback_phone\": \"+91-8858150053\"\n }\n }\n }\n ]\n}",
"options": {
"raw": {
"language": "json"
}
}
},
"url": "{{base_url}}/support"
},
"response": [
{
"name": "Response",
"originalRequest": {
"method": "POST",
"header": [],
"body": {
"mode": "raw",
"raw": "{\n \"context\": {\n \"transaction_id\": \"0bbd82ce-5a21-4e26-b402-1c1f9d954fee\",\n \"bpp_id\": \"beckn-sandbox-bpp.becknprotocol.io\",\n \"bpp_uri\": \"https://sandbox-bpp-network.becknprotocol.io/\",\n \"domain\": \"dhp:pharmacy:0.1.0\"\n },\n \"message\": {\n \"order_id\": \"853c7593-f4bf-4557-8832-118a591787ba\",\n \"cancellation_reason_id\": \"4\",\n \"descriptor\": {\n \"short_desc\": \"Prescription Changed\",\n \"long_desc\": \"The patient's prescription has been changed, and the medication order is no longer valid.\"\n }\n }\n}",
"options": {
"raw": {
"language": "json"
}
}
},
"url": "{{base_url}}/cancel"
},
"status": "OK",
"code": 200,
"_postman_previewlanguage": "json",
"header": [
{
"key": "Content-Type",
"value": "application/json",
"name": "Content-Type",
"description": "",
"type": "text"
}
],
"cookie": [],
"body": "{\n \"data\": [\n {\n \"context\": {\n \"domain\": \"dhp:consultation:0.1.0\",\n \"action\": \"on_support\",\n \"version\": \"1.1.0\",\n \"bpp_id\": \"shreyvishalnew.bpp\",\n \"bpp_uri\": \"https://b708-2401-4900-1c22-2b84-9c72-e64f-2803-3160.ngrok-free.app\",\n \"country\": \"IND\",\n \"city\": \"std:080\",\n \"location\": {\n \"country\": {\n \"name\": \"India\",\n \"code\": \"IND\"\n }\n },\n \"bap_id\": \"ps-bap-network.becknprotocol.io\",\n \"bap_uri\": \"https://ps-bap-network.becknprotocol.io\",\n \"transaction_id\": \"6743e9e2-4fb5-487c-92b7-13ba8018f176\",\n \"message_id\": \"c59836c8-d6ae-41a6-8be9-20a71f5c2918\",\n \"ttl\": \"PT10M\",\n \"timestamp\": \"2023-12-08T09:59:33.667Z\"\n },\n \"message\": {\n \"support\": {\n \"ref_id\": \"759b905c-5a30-4d18-a6af-0decbac9282f\",\n \"order_id\": \"759b905c-5a30-4d18-a6af-0decbac9282f\",\n \"callback_phone\": \"+91-8858150053\",\n \"email\": \"support@ekstep.com\",\n \"phone\": \"+91-965676879\",\n \"url\": \"https://link-to-doc.com/chat-url-for-support\",\n \"docs\": [\n {\n \"descriptor\": {\n \"name\": \"FAQs\",\n \"short_desc\": \"Frequently asked questions and common issues\"\n },\n \"url\": \"https://link-to-the-document.com\",\n \"mime_type\": \"application/pdf\"\n }\n ]\n }\n }\n },\n {\n \"context\": {\n \"domain\": \"dhp:consultation:0.1.0\",\n \"action\": \"on_support\",\n \"version\": \"1.1.0\",\n \"bpp_id\": \"shreyvishalnew.bpp\",\n \"bpp_uri\": \"https://b708-2401-4900-1c22-2b84-9c72-e64f-2803-3160.ngrok-free.app\",\n \"country\": \"IND\",\n \"city\": \"std:080\",\n \"location\": {\n \"country\": {\n \"name\": \"India\",\n \"code\": \"IND\"\n }\n },\n \"bap_id\": \"ps-bap-network.becknprotocol.io\",\n \"bap_uri\": \"https://ps-bap-network.becknprotocol.io\",\n \"transaction_id\": \"6743e9e2-4fb5-487c-92b7-13ba8018f176\",\n \"message_id\": \"b12e4a95-6969-453b-84d2-1f0962c18866\",\n \"ttl\": \"PT10M\",\n \"timestamp\": \"2023-12-08T09:59:34.511Z\"\n },\n \"message\": {\n \"support\": {\n \"ref_id\": \"759b905c-5a30-4d18-a6af-0decbac9282f\",\n \"order_id\": \"759b905c-5a30-4d18-a6af-0decbac9282f\",\n \"callback_phone\": \"+91-8858150053\",\n \"email\": \"support@ekstep.com\",\n \"phone\": \"+91-965676879\",\n \"url\": \"https://link-to-doc.com/chat-url-for-support\",\n \"docs\": [\n {\n \"descriptor\": {\n \"name\": \"FAQs\",\n \"short_desc\": \"Frequently asked questions and common issues\"\n },\n \"url\": \"https://link-to-the-document.com\",\n \"mime_type\": \"application/pdf\"\n }\n ]\n }\n }\n }\n ]\n}"
}
]
},
{
"name": "Track",
"request": {
"method": "POST",
"header": [],
"body": {
"mode": "raw",
"raw": "{\n \"data\": [\n {\n \"context\": {\n \"transaction_id\": \"0bbd82ce-5a21-4e26-b402-1c1f9d954fee\",\n \"bpp_id\": \"beckn-sandbox-bpp.becknprotocol.io\",\n \"bpp_uri\": \"https://sandbox-bpp-network.becknprotocol.io/\",\n \"domain\": \"dhp:pharmacy:0.1.0\"\n },\n \"orderId\": \"853c7593-f4bf-4557-8832-118a591787ba\",\n \"callbackUrl\": \"https://dhp-network-bap.becknprotocol.io/track/callback\"\n }\n ]\n}",
"options": {
"raw": {
"language": "json"
}
}
},
"url": "{{base_url}}/track"
},
"response": [
{
"name": "Response",
"originalRequest": {
"method": "POST",
"header": [],
"body": {
"mode": "raw",
"raw": "{\n \"context\": {\n \"transaction_id\": \"0bbd82ce-5a21-4e26-b402-1c1f9d954fee\",\n \"bpp_id\": \"beckn-sandbox-bpp.becknprotocol.io\",\n \"bpp_uri\": \"https://sandbox-bpp-network.becknprotocol.io/\",\n \"domain\": \"dhp:pharmacy:0.1.0\"\n },\n \"message\": {\n \"order_id\": \"853c7593-f4bf-4557-8832-118a591787ba\",\n \"cancellation_reason_id\": \"4\",\n \"descriptor\": {\n \"short_desc\": \"Prescription Changed\",\n \"long_desc\": \"The patient's prescription has been changed, and the medication order is no longer valid.\"\n }\n }\n}",
"options": {
"raw": {
"language": "json"
}
}
},
"url": "{{base_url}}/cancel"
},
"status": "OK",
"code": 200,
"_postman_previewlanguage": "json",
"header": [
{
"key": "Content-Type",
"value": "application/json",
"name": "Content-Type",
"description": "",
"type": "text"
}
],
"cookie": [],
"body": "{\n \"data\": [\n {\n \"context\": {\n \"domain\": \"dhp:pharmacy:0.1.0\",\n \"action\": \"on_cancel\",\n \"version\": \"1.1.0\",\n \"bpp_id\": \"beckn-sandbox-bpp.becknprotocol.io\",\n \"bpp_uri\": \"https://sandbox-bpp-network.becknprotocol.io/\",\n \"country\": \"IND\",\n \"city\": \"std:080\",\n \"location\": {\n \"country\": {\n \"name\": \"India\",\n \"code\": \"IND\"\n }\n },\n \"bap_id\": \"ps-bap-network.becknprotocol.io\",\n \"bap_uri\": \"https://ps-bap-network.becknprotocol.io\",\n \"transaction_id\": \"0bbd82ce-5a21-4e26-b402-1c1f9d954fee\",\n \"message_id\": \"85c1c264-8c50-4b0d-b4de-cd119a85eaea\",\n \"ttl\": \"PT10M\",\n \"timestamp\": \"2023-12-08T08:04:08.155Z\"\n },\n \"message\": {\n \"order\": {\n \"type\": \"DEFAULT\",\n \"provider\": {\n \"id\": \"e92e7a6e-1f20-4a8d-b343-956e0d45a48c\",\n \"name\": \"QuickPharma\",\n \"short_desc\": \"QuickPharma Pvt Ltd\",\n \"images\": {\n \"url\": \"https://quickPharma.in/images/logo.png\"\n }\n },\n \"items\": [\n {\n \"id\": \"fb0999b7-7755-46d6-a2ed-b286b7c98436\",\n \"name\": \"Benadryl cough syrup\",\n \"price\": {\n \"value\": \"100\",\n \"currency\": \"INR\"\n },\n \"quantity\": {\n \"selected\": {\n \"measure\": {\n \"value\": \"2\",\n \"unit\": \"units\"\n }\n }\n }\n },\n {\n \"id\": \"1cef39d8-72d0-46f7-99ca-3f18f4bda8e3\",\n \"name\": \"Hycodan\",\n \"price\": {\n \"value\": \"150\",\n \"currency\": \"INR\"\n },\n \"quantity\": {\n \"selected\": {\n \"measure\": {\n \"value\": \"3\",\n \"unit\": \"units\"\n }\n }\n }\n }\n ],\n \"fulfillments\": [\n {\n \"id\": \"ful-02\",\n \"type\": \"HOME-DELIVERY\",\n \"customer\": {\n \"contact\": {\n \"email\": \"fox.judie@abc.org\",\n \"phone\": \"+91-9999999999\"\n },\n \"person\": {\n \"name\": \"Judie Fox\"\n }\n },\n \"stops\": [\n {\n \"location\": {\n \"gps\": \"1.3806217468119772, 103.74636438437074\",\n \"address\": \"My House #, My building\",\n \"city\": {\n \"name\": \"Jurong East\"\n },\n \"country\": {\n \"code\": \"SGP\"\n },\n \"area_code\": \"680230\",\n \"state\": {\n \"name\": \"bayern\"\n }\n },\n \"contact\": {\n \"phone\": \"9886098860\"\n }\n }\n ],\n \"state\": {\n \"descriptor\": {\n \"code\": \"order-cancelled\",\n \"name\": \"Order has been cancelled\"\n }\n },\n \"tracking\": false\n }\n ],\n \"quote\": {\n \"price\": {\n \"value\": \"700\",\n \"currency\": \"INR\"\n },\n \"breakup\": [\n {\n \"title\": \"Benadryl 2 units\",\n \"price\": {\n \"currency\": \"INR\",\n \"value\": \"200\"\n }\n },\n {\n \"title\": \"hycodan 3 units\",\n \"price\": {\n \"currency\": \"INR\",\n \"value\": \"450\"\n }\n },\n {\n \"title\": \"delivery charge\",\n \"price\": {\n \"currency\": \"INR\",\n \"value\": \"50\"\n }\n },\n {\n \"title\": \"cancellation charge\",\n \"price\": {\n \"currency\": \"INR\",\n \"value\": \"50\"\n }\n }\n ]\n },\n \"billing\": {\n \"name\": \"Alice Smith\",\n \"address\": \"Apt 303, Maple Towers, Richmond Road, 560001\",\n \"state\": {\n \"name\": \"Jurong East\"\n },\n \"city\": {\n \"name\": \"Jurong East\"\n },\n \"email\": \"alice.smith@example.com\",\n \"phone\": \"9886098860\"\n },\n \"payments\": [\n {\n \"collected_by\": \"BPP\",\n \"params\": {\n \"amount\": \"700\",\n \"currency\": \"INR\",\n \"bank_account_number\": \"1234002341\",\n \"bank_code\": \"INB0004321\",\n \"bank_account_name\": \"Strapi BPP Limited\"\n },\n \"status\": \"PAID\",\n \"type\": \"PRE-ORDER\",\n \"transaction_id\": \"a35b56cf-e5cf-41f1-9b5d-fa99d8d5ac8c\"\n }\n ],\n \"cancellation_terms\": [\n {\n \"fulfillment_state\": {\n \"descriptor\": {\n \"code\": \"in-progress\"\n }\n },\n \"cancellation_fee\": {\n \"percentage\": \"30%\"\n },\n \"external_ref\": {\n \"mimetype\": \"text/html\",\n \"url\": \"https://quickPharma.in/charge/tnc.html\"\n }\n }\n ]\n }\n }\n }\n ]\n}"
}
]
}
]
},
{
"name": "Industry-4.0",
"item": [
{
"name": "Search",
"request": {
"method": "POST",
"header": [],
"body": {
"mode": "raw",
"raw": "{\n \"context\": {\n \"domain\": \"supply-chain-services:assembly\" \n },\n \"category\": {\n \"categoryName\": \"Packaging\"\n },\n \"location\": \"12.423423,77.325647\"\n}",
"options": {
"raw": {
"language": "json"
}
}
},
"url": "{{base_url}}/search"
},
"response": [
{
"name": "Full Search Request",
"originalRequest": {
"method": "POST",
"header": [],
"body": {
"mode": "raw",
"raw": "{\n \"context\": {\n \"domain\": \"dhp:pharmacy:0.1.0\"\n },\n \"searchString\": \"syrup\",\n \"itemId\":\"Abcd123\",\n \"fulfulfillment\":{\n \"agentName\":\"Some Name\",\n \"customerGender\":\"Male\"\n },\n \"provider\":{\n \"providerName\":\"Some Provider Name\",\n \"providerCity\":[\"Pune\", \"Bengaluru\"],\n \"providerId\":\"Provider1234\"\n },\n \"category\":{\n \"categoryCode\":\"code12334\",\n \"categoryName\":\"Category Name\",\n \"categoryId\":\"categoryId1234\"\n },\n \"location\":\"12.423423,77.325647\"\n}",
"options": {
"raw": {
"language": "json"
}
}
},
"url": "{{base_url}}/search"
},
"_postman_previewlanguage": "Text",
"header": [],
"cookie": [],
"body": ""
},
{
"name": "Response",
"originalRequest": {
"method": "POST",
"header": [],
"body": {
"mode": "raw",
"raw": "{\n \"context\": {\n \"domain\": \"dhp:pharmacy:0.1.0\"\n },\n \"searchString\": \"syrup\"\n}",
"options": {
"raw": {
"language": "json"
}
}
},
"url": "{{base_url}}/search"
},
"status": "OK",
"code": 200,
"_postman_previewlanguage": "json",
"header": [
{
"key": "Content-Type",
"value": "application/json",
"name": "Content-Type",
"description": "",
"type": "text"
}
],
"cookie": [],
"body": "{\n \"data\": [\n {\n \"context\": {\n \"domain\": \"dhp:pharmacy:0.1.0\",\n \"action\": \"on_search\",\n \"version\": \"1.1.0\",\n \"bpp_id\": \"beckn-strapi-sandbox-bpp\",\n \"bpp_uri\": \"https://beckn-strapi-sandbox-bpp-network.becknprotocol.io\",\n \"country\": \"IND\",\n \"city\": \"std:080\",\n \"location\": {\n \"country\": {\n \"name\": \"India\",\n \"code\": \"IND\"\n },\n \"city\": {\n \"name\": \"Bangalore\",\n \"code\": \"std:080\"\n }\n },\n \"bap_id\": \"ps-bap-network.becknprotocol.io\",\n \"bap_uri\": \"https://ps-bap-network.becknprotocol.io\",\n \"transaction_id\": \"bcf015d5-4f59-4149-a444-d5ba28678ae8\",\n \"message_id\": \"c551faed-303f-48c1-b786-a7d1b635e368\",\n \"ttl\": \"PT10M\",\n \"timestamp\": \"2023-12-08T06:50:14.588Z\"\n },\n \"message\": {\n \"name\": \"BPP\"\n }\n },\n {\n \"context\": {\n \"domain\": \"dhp:pharmacy:0.1.0\",\n \"action\": \"on_search\",\n \"version\": \"1.1.0\",\n \"bpp_id\": \"beckn-sandbox-bpp.becknprotocol.io\",\n \"bpp_uri\": \"https://sandbox-bpp-network.becknprotocol.io/\",\n \"country\": \"IND\",\n \"city\": \"std:080\",\n \"location\": {\n \"country\": {\n \"name\": \"India\",\n \"code\": \"IND\"\n }\n },\n \"bap_id\": \"ps-bap-network.becknprotocol.io\",\n \"bap_uri\": \"https://ps-bap-network.becknprotocol.io\",\n \"transaction_id\": \"bcf015d5-4f59-4149-a444-d5ba28678ae8\",\n \"message_id\": \"c551faed-303f-48c1-b786-a7d1b635e368\",\n \"ttl\": \"PT10M\",\n \"timestamp\": \"2023-12-08T06:50:15.958Z\"\n },\n \"message\": {\n \"name\": \"Available Pharmacy Stores\",\n \"providers\": [\n {\n \"id\": \"e92e7a6e-1f20-4a8d-b343-956e0d45a48c\",\n \"name\": \"QuickPharma\",\n \"items\": [\n {\n \"id\": \"fb0999b7-7755-46d6-a2ed-b286b7c98436\",\n \"name\": \"Benadryl cough syrup\",\n \"price\": {\n \"value\": \"100\",\n \"currency\": \"INR\"\n },\n \"categories\": [\n {\n \"id\": \"cat-01\",\n \"name\": \"Pharmacy\",\n \"code\": \"pharmacy\"\n }\n ],\n \"locations\": [\n {\n \"id\": \"phr-loc-01\"\n }\n ],\n \"fulfillments\": [\n {\n \"id\": \"ful-01\",\n \"type\": \"IN-STORE-PICKUP\",\n \"tracking\": false,\n \"stops\": [\n {\n \"type\": \"start\"\n },\n {\n \"type\": \"end\"\n }\n ],\n \"tags\": [\n {\n \"code\": \"symptoms\",\n \"name\": \"Works against these symptoms\",\n \"display\": true,\n \"list\": [\n {\n \"code\": \"symptom-list\",\n \"value\": \"cough, code, nausea, headache, phelgm\"\n }\n ]\n }\n ]\n },\n {\n \"id\": \"ful-02\",\n \"type\": \"HOME-DELIVERY\",\n \"tracking\": false,\n \"stops\": [\n {\n \"type\": \"start\"\n },\n {\n \"type\": \"end\"\n }\n ],\n \"tags\": [\n {\n \"code\": \"symptoms\",\n \"name\": \"Works against these symptoms\",\n \"display\": true,\n \"list\": [\n {\n \"code\": \"symptom-list\",\n \"value\": \"cough, code, nausea, headache, phelgm\"\n }\n ]\n }\n ]\n }\n ],\n \"tags\": [\n {\n \"code\": \"symptoms\",\n \"name\": \"Works against these symptoms\",\n \"display\": true,\n \"list\": [\n {\n \"code\": \"symptom-list\",\n \"value\": \"cough, code, nausea, headache, phelgm\"\n }\n ]\n }\n ],\n \"quantity\": {\n \"available\": {\n \"measure\": {\n \"value\": \"1000\",\n \"unit\": \"units\"\n }\n },\n \"maximum\": {\n \"measure\": {\n \"value\": \"5\",\n \"unit\": \"units\"\n }\n }\n }\n },\n {\n \"id\": \"1cef39d8-72d0-46f7-99ca-3f18f4bda8e3\",\n \"name\": \"Hycodan\",\n \"price\": {\n \"value\": \"150\",\n \"currency\": \"INR\"\n },\n \"categories\": [\n {\n \"id\": \"cat-01\",\n \"name\": \"Pharmacy\",\n \"code\": \"pharmacy\"\n }\n ],\n \"locations\": [\n {\n \"id\": \"phr-loc-01\"\n }\n ],\n \"fulfillments\": [\n {\n \"id\": \"ful-01\",\n \"type\": \"IN-STORE-PICKUP\",\n \"tracking\": false,\n \"stops\": [\n {\n \"type\": \"start\"\n },\n {\n \"type\": \"end\"\n }\n ],\n \"tags\": [\n {\n \"code\": \"symptoms\",\n \"name\": \"Works against these symptoms\",\n \"display\": true,\n \"list\": [\n {\n \"code\": \"symptom-list\",\n \"value\": \"cough, code, nausea, headache, phelgm\"\n }\n ]\n }\n ]\n },\n {\n \"id\": \"ful-02\",\n \"type\": \"HOME-DELIVERY\",\n \"tracking\": false,\n \"stops\": [\n {\n \"type\": \"start\"\n },\n {\n \"type\": \"end\"\n }\n ],\n \"tags\": [\n {\n \"code\": \"symptoms\",\n \"name\": \"Works against these symptoms\",\n \"display\": true,\n \"list\": [\n {\n \"code\": \"symptom-list\",\n \"value\": \"cough, code, nausea, headache, phelgm\"\n }\n ]\n }\n ]\n }\n ],\n \"tags\": [\n {\n \"code\": \"symptoms\",\n \"name\": \"Works against these symptoms\",\n \"display\": true,\n \"list\": [\n {\n \"code\": \"symptom-list\",\n \"value\": \"cough, code, nausea, headache, phelgm\"\n }\n ]\n }\n ],\n \"quantity\": {\n \"available\": {\n \"measure\": {\n \"value\": \"1000\",\n \"unit\": \"units\"\n }\n },\n \"maximum\": {\n \"measure\": {\n \"value\": \"5\",\n \"unit\": \"units\"\n }\n }\n }\n },\n {\n \"id\": \"5cbc6e9d-28f4-42c7-b81e-41a336ac96ea\",\n \"name\": \"Mucinex DM\",\n \"price\": {\n \"value\": \"180\",\n \"currency\": \"INR\"\n },\n \"categories\": [\n {\n \"id\": \"cat-01\",\n \"name\": \"Pharmacy\",\n \"code\": \"pharmacy\"\n }\n ],\n \"locations\": [\n {\n \"id\": \"phr-loc-01\"\n }\n ],\n \"fulfillments\": [\n {\n \"id\": \"ful-01\",\n \"type\": \"IN-STORE-PICKUP\",\n \"tracking\": false,\n \"stops\": [\n {\n \"type\": \"start\"\n },\n {\n \"type\": \"end\"\n }\n ],\n \"tags\": [\n {\n \"code\": \"symptoms\",\n \"name\": \"Works against these symptoms\",\n \"display\": true,\n \"list\": [\n {\n \"code\": \"symptom-list\",\n \"value\": \"cough, code, nausea, headache, phelgm\"\n }\n ]\n }\n ]\n },\n {\n \"id\": \"ful-02\",\n \"type\": \"HOME-DELIVERY\",\n \"tracking\": false,\n \"stops\": [\n {\n \"type\": \"start\"\n },\n {\n \"type\": \"end\"\n }\n ],\n \"tags\": [\n {\n \"code\": \"symptoms\",\n \"name\": \"Works against these symptoms\",\n \"display\": true,\n \"list\": [\n {\n \"code\": \"symptom-list\",\n \"value\": \"cough, code, nausea, headache, phelgm\"\n }\n ]\n }\n ]\n }\n ],\n \"tags\": [\n {\n \"code\": \"symptoms\",\n \"name\": \"Works against these symptoms\",\n \"display\": true,\n \"list\": [\n {\n \"code\": \"symptom-list\",\n \"value\": \"cough, code, nausea, headache, phelgm\"\n }\n ]\n }\n ],\n \"quantity\": {\n \"available\": {\n \"measure\": {\n \"value\": \"1000\",\n \"unit\": \"units\"\n }\n },\n \"maximum\": {\n \"measure\": {\n \"value\": \"5\",\n \"unit\": \"units\"\n }\n }\n }\n }\n ],\n \"images\": [\n {\n \"url\": \"https://QuickPharma.in/images/logo.png\"\n }\n ]\n }\n ]\n }\n }\n ]\n}"
}
]
},
{
"name": "Select",
"request": {
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"data\": [\n {\n \"context\": {\n \"transaction_id\": \"b1a7e6b5-36d3-4c08-ae52-8450cdd079b2\",\n \"bpp_id\": \"beckn-sandbox-bpp.becknprotocol.io\",\n \"bpp_uri\": \"https://sandbox-bpp-network.becknprotocol.io\",\n \"domain\": \"supply-chain-services:assembly\"\n },\n \"message\": {\n \"orders\": [\n {\n \"provider\": {\n \"id\": \"1\"\n },\n \"items\": [\n {\n \"id\": \"66b7b9bad166-4a3f-ada6-ca063dc9d321\"\n }\n ],\n \"fulfillments\": [\n {\n \"id\": \"f1\",\n \"type\": \"Delivery\",\n \"tracking\": false,\n \"tags\": [\n {\n \"code\": \"product-info\",\n \"name\": \"Product Information\",\n \"display\": true,\n \"list\": [\n {\n \"name\": \"product-type\",\n \"value\": \"electronics\"\n }\n ]\n },\n {\n \"code\": \"assembly-info\",\n \"name\": \"Assembly Information\",\n \"display\": true,\n \"list\": [\n {\n \"name\": \"assembly-method\",\n \"value\": \"automated\"\n }\n ]\n },\n {\n \"code\": \"scale-info\",\n \"name\": \"Scale Information\",\n \"display\": true,\n \"list\": [\n {\n \"name\": \"scale-type\",\n \"value\": \"industrial\"\n }\n ]\n },\n {\n \"code\": \"printer-info\",\n \"name\": \"Printer Information\",\n \"display\": true,\n \"list\": [\n {\n \"name\": \"Resolution\",\n \"value\": \"gte>20%\"\n },\n {\n \"name\": \"success-rate\",\n \"value\": \"gte>95%\"\n }\n ]\n }\n ]\n }\n ],\n \"tags\": [\n {\n \"descriptor\": {\n \"name\": \"select-1\"\n }\n }\n ]\n }\n ]\n }\n }\n ]\n}"
},
"url": "{{base_url}}/select"
},
"response": [
{
"name": "Response",
"originalRequest": {
"method": "POST",
"header": [],
"body": {
"mode": "raw",
"raw": "{\n \"data\": [\n {\n \"context\": {\n \"transaction_id\": \"0bbd82ce-5a21-4e26-b402-1c1f9d954fee\",\n \"bpp_id\": \"beckn-sandbox-bpp.becknprotocol.io\",\n \"bpp_uri\": \"https://sandbox-bpp-network.becknprotocol.io/\",\n \"domain\": \"dhp:pharmacy:0.1.0\"\n },\n \"message\": {\n \"orders\": [\n {\n \"items\": [\n {\n \"id\": \"fb0999b7-7755-46d6-a2ed-b286b7c98436\",\n \"quantity\": {\n \"count\": 1\n }\n }\n ],\n \"provider\": {\n \"id\": \"e92e7a6e-1f20-4a8d-b343-956e0d45a48c\"\n },\n \"locations\": [\n {\n \"id\": \"phr-loc-01\"\n }\n ]\n },\n {\n \"items\": [\n {\n \"id\": \"fb0999b7-7755-46d6-a2ed-b286b7c98436\",\n \"quantity\": {\n \"count\": 1\n }\n }\n ],\n \"provider\": {\n \"id\": \"e92e7a6e-1f20-4a8d-b343-956e0d45a48c\"\n },\n \"locations\": [\n {\n \"id\": \"phr-loc-01\"\n }\n ]\n }\n ]\n }\n }\n ]\n}",
"options": {
"raw": {
"language": "json"
}
}
},
"url": "{{base_url}}/select"
},
"status": "OK",
"code": 200,
"_postman_previewlanguage": "json",
"header": [
{
"key": "Content-Type",
"value": "application/json",
"name": "Content-Type",
"description": "",
"type": "text"
}
],
"cookie": [],
"body": "{\n \"data\": [\n {\n \"context\": {\n \"domain\": \"dhp:pharmacy:0.1.0\",\n \"action\": \"on_select\",\n \"version\": \"1.1.0\",\n \"bpp_id\": \"beckn-sandbox-bpp.becknprotocol.io\",\n \"bpp_uri\": \"https://sandbox-bpp-network.becknprotocol.io/\",\n \"country\": \"IND\",\n \"city\": \"std:080\",\n \"location\": {\n \"country\": {\n \"name\": \"India\",\n \"code\": \"IND\"\n }\n },\n \"bap_id\": \"ps-bap-network.becknprotocol.io\",\n \"bap_uri\": \"https://ps-bap-network.becknprotocol.io\",\n \"transaction_id\": \"0bbd82ce-5a21-4e26-b402-1c1f9d954fee\",\n \"message_id\": \"64a8f7bf-d531-4396-8f56-666fede3af5e\",\n \"ttl\": \"PT10M\",\n \"timestamp\": \"2023-12-07T13:18:09.359Z\"\n },\n \"message\": {\n \"order\": {\n \"type\": \"DEFAULT\",\n \"quote\": {\n \"price\": {\n \"value\": \"650\",\n \"currency\": \"INR\"\n },\n \"breakup\": [\n {\n \"title\": \"Benadryl 2 units\",\n \"price\": {\n \"currency\": \"INR\",\n \"value\": \"200\"\n }\n },\n {\n \"title\": \"hycodan 3 units\",\n \"price\": {\n \"currency\": \"INR\",\n \"value\": \"450\"\n }\n }\n ]\n },\n \"provider\": {\n \"id\": \"e92e7a6e-1f20-4a8d-b343-956e0d45a48c\",\n \"name\": \"QuickPharma\",\n \"short_desc\": \"QuickPharma Pvt Ltd\",\n \"images\": {\n \"url\": \"https://QuickPharma.in/images/logo.png\"\n }\n },\n \"items\": [\n {\n \"id\": \"fb0999b7-7755-46d6-a2ed-b286b7c98436\",\n \"name\": \"Benadryl cough syrup\",\n \"price\": {\n \"value\": \"100\",\n \"currency\": \"INR\"\n },\n \"quantity\": {\n \"selected\": {\n \"measure\": {\n \"value\": \"2\",\n \"unit\": \"units\"\n }\n }\n }\n },\n {\n \"id\": \"1cef39d8-72d0-46f7-99ca-3f18f4bda8e3\",\n \"name\": \"Hycodan\",\n \"price\": {\n \"value\": \"150\",\n \"currency\": \"INR\"\n },\n \"quantity\": {\n \"selected\": {\n \"measure\": {\n \"value\": \"3\",\n \"unit\": \"units\"\n }\n }\n }\n }\n ]\n }\n }\n },\n {\n \"context\": {\n \"domain\": \"dhp:pharmacy:0.1.0\",\n \"action\": \"on_select\",\n \"version\": \"1.1.0\",\n \"bpp_id\": \"beckn-sandbox-bpp.becknprotocol.io\",\n \"bpp_uri\": \"https://sandbox-bpp-network.becknprotocol.io/\",\n \"country\": \"IND\",\n \"city\": \"std:080\",\n \"location\": {\n \"country\": {\n \"name\": \"India\",\n \"code\": \"IND\"\n }\n },\n \"bap_id\": \"ps-bap-network.becknprotocol.io\",\n \"bap_uri\": \"https://ps-bap-network.becknprotocol.io\",\n \"transaction_id\": \"0bbd82ce-5a21-4e26-b402-1c1f9d954fee\",\n \"message_id\": \"e7e52c62-9765-4a94-8f7c-e7983fb8b143\",\n \"ttl\": \"PT10M\",\n \"timestamp\": \"2023-12-07T13:18:09.261Z\"\n },\n \"message\": {\n \"order\": {\n \"type\": \"DEFAULT\",\n \"quote\": {\n \"price\": {\n \"value\": \"650\",\n \"currency\": \"INR\"\n },\n \"breakup\": [\n {\n \"title\": \"Benadryl 2 units\",\n \"price\": {\n \"currency\": \"INR\",\n \"value\": \"200\"\n }\n },\n {\n \"title\": \"hycodan 3 units\",\n \"price\": {\n \"currency\": \"INR\",\n \"value\": \"450\"\n }\n }\n ]\n },\n \"provider\": {\n \"id\": \"e92e7a6e-1f20-4a8d-b343-956e0d45a48c\",\n \"name\": \"QuickPharma\",\n \"short_desc\": \"QuickPharma Pvt Ltd\",\n \"images\": {\n \"url\": \"https://QuickPharma.in/images/logo.png\"\n }\n },\n \"items\": [\n {\n \"id\": \"fb0999b7-7755-46d6-a2ed-b286b7c98436\",\n \"name\": \"Benadryl cough syrup\",\n \"price\": {\n \"value\": \"100\",\n \"currency\": \"INR\"\n },\n \"quantity\": {\n \"selected\": {\n \"measure\": {\n \"value\": \"2\",\n \"unit\": \"units\"\n }\n }\n }\n },\n {\n \"id\": \"1cef39d8-72d0-46f7-99ca-3f18f4bda8e3\",\n \"name\": \"Hycodan\",\n \"price\": {\n \"value\": \"150\",\n \"currency\": \"INR\"\n },\n \"quantity\": {\n \"selected\": {\n \"measure\": {\n \"value\": \"3\",\n \"unit\": \"units\"\n }\n }\n }\n }\n ]\n }\n }\n }\n ]\n}"
}
]
},
{
"name": "Init",
"request": {
"method": "POST",
"header": [],
"body": {
"mode": "raw",
"raw": "{\n \"data\": [\n {\n \"context\": {\n \"transaction_id\": \"0bbd82ce-5a21-4e26-b402-1c1f9d954fee\",\n \"bpp_id\": \"beckn-sandbox-bpp.becknprotocol.io\",\n \"bpp_uri\": \"https://sandbox-bpp-network.becknprotocol.io/\",\n \"domain\": \"supply-chain-services:assembly\"\n },\n \"message\": {\n \"orders\": [\n {\n \"provider\": {\n \"id\": \"e92e7a6e-1f20-4a8d-b343-956e0d45a48c\"\n },\n \"items\": [\n {\n \"id\": \"fb0999b7-7755-46d6-a2ed-b286b7c98436\",\n \"quantity\": {\n \"count\": 1\n }\n }\n ],\n \"fulfillments\": [\n {\n \"id\": \"f1\",\n \"customer\": {\n \"contact\": {\n \"email\": \"fox.judie@abc.org\",\n \"phone\": \"+91-9999999999\"\n },\n \"person\": {\n \"name\": \"Judie Fox\"\n }\n },\n \"stops\": [\n {\n \"type\": \"end\",\n \"location\": {\n \"gps\": \"1.3806217468119772, 103.74636438437074\",\n \"address\": \"My House #, My building\",\n \"city\": {\n \"name\": \"Jurong East\"\n },\n \"country\": {\n \"code\": \"SGP\"\n },\n \"area_code\": \"680230\",\n \"state\": {\n \"name\": \"bayern\"\n }\n },\n \"contact\": {\n \"phone\": \"9886098860\"\n }\n }\n ]\n }\n ],\n \"billing\": {\n \"name\": \"Industry buyer\",\n \"address\": \"B005 aspire heights, Jurong East, SGP, 680230\",\n \"state\": {\n \"name\": \"Jurong East\"\n },\n \"city\": {\n \"name\": \"Jurong East\"\n },\n \"email\": \"nobody@nomail.com\",\n \"phone\": \"9886098860\"\n }\n }\n ]\n }\n }\n ]\n}",
"options": {
"raw": {
"language": "json"
}
}
},
"url": "{{base_url}}/init"
},
"response": [
{
"name": "Response",
"originalRequest": {
"method": "POST",
"header": [],
"body": {
"mode": "raw",
"raw": "{\n \"data\": [\n {\n \"context\": {\n \"transaction_id\": \"0bbd82ce-5a21-4e26-b402-1c1f9d954fee\",\n \"bpp_id\": \"beckn-sandbox-bpp.becknprotocol.io\",\n \"bpp_uri\": \"https://sandbox-bpp-network.becknprotocol.io/\",\n \"domain\": \"dhp:pharmacy:0.1.0\"\n },\n \"message\": {\n \"orders\": [\n {\n \"provider\": {\n \"id\": \"e92e7a6e-1f20-4a8d-b343-956e0d45a48c\"\n },\n \"items\": [\n {\n \"id\": \"fb0999b7-7755-46d6-a2ed-b286b7c98436\",\n \"quantity\": {\n \"count\": 1\n }\n }\n ],\n \"addOns\": [],\n \"offers\": [],\n \"billing\": {\n \"name\": \"Abee\",\n \"phone\": \"9191223433\",\n \"address\": \"Bengaluru, Bengaluru Urban, Bangalore Division, Karnataka\",\n \"email\": \"testemail1@mailinator.com\"\n }\n }\n ]\n }\n }\n ]\n}",
"options": {
"raw": {
"language": "json"
}
}
},
"url": "{{base_url}}/init"
},
"status": "OK",
"code": 200,
"_postman_previewlanguage": "json",
"header": [
{
"key": "Content-Type",
"value": "application/json",
"name": "Content-Type",
"description": "",
"type": "text"
}
],
"cookie": [],
"body": "{\n \"data\": [\n {\n \"context\": {\n \"domain\": \"dhp:pharmacy:0.1.0\",\n \"action\": \"on_init\",\n \"version\": \"1.1.0\",\n \"bpp_id\": \"beckn-sandbox-bpp.becknprotocol.io\",\n \"bpp_uri\": \"https://sandbox-bpp-network.becknprotocol.io/\",\n \"country\": \"IND\",\n \"city\": \"std:080\",\n \"location\": {\n \"country\": {\n \"name\": \"India\",\n \"code\": \"IND\"\n }\n },\n \"bap_id\": \"ps-bap-network.becknprotocol.io\",\n \"bap_uri\": \"https://ps-bap-network.becknprotocol.io\",\n \"transaction_id\": \"0bbd82ce-5a21-4e26-b402-1c1f9d954fee\",\n \"message_id\": \"40699359-031b-480e-9a5b-75eacdfbbf81\",\n \"ttl\": \"PT10M\",\n \"timestamp\": \"2023-12-06T13:21:10.441Z\"\n },\n \"message\": {\n \"order\": {\n \"type\": \"DEFAULT\",\n \"provider\": {\n \"id\": \"e92e7a6e-1f20-4a8d-b343-956e0d45a48c\",\n \"name\": \"QuickPharma\",\n \"short_desc\": \"QuickPharma Pvt Ltd\",\n \"images\": {\n \"url\": \"https://quickPharma.in/images/logo.png\"\n }\n },\n \"items\": [\n {\n \"id\": \"fb0999b7-7755-46d6-a2ed-b286b7c98436\",\n \"name\": \"Benadryl cough syrup\",\n \"price\": {\n \"value\": \"100\",\n \"currency\": \"INR\"\n },\n \"quantity\": {\n \"selected\": {\n \"measure\": {\n \"value\": \"2\",\n \"unit\": \"units\"\n }\n }\n }\n },\n {\n \"id\": \"1cef39d8-72d0-46f7-99ca-3f18f4bda8e3\",\n \"name\": \"Hycodan\",\n \"price\": {\n \"value\": \"150\",\n \"currency\": \"INR\"\n },\n \"quantity\": {\n \"selected\": {\n \"measure\": {\n \"value\": \"3\",\n \"unit\": \"units\"\n }\n }\n }\n }\n ],\n \"fulfillments\": [\n {\n \"id\": \"ful-02\",\n \"type\": \"HOME-DELIVERY\",\n \"customer\": {\n \"contact\": {\n \"email\": \"fox.judie@abc.org\",\n \"phone\": \"+91-9999999999\"\n },\n \"person\": {\n \"name\": \"Judie Fox\"\n }\n },\n \"stops\": [\n {\n \"location\": {\n \"gps\": \"1.3806217468119772, 103.74636438437074\",\n \"address\": \"My House #, My building\",\n \"city\": {\n \"name\": \"Jurong East\"\n },\n \"country\": {\n \"code\": \"SGP\"\n },\n \"area_code\": \"680230\",\n \"state\": {\n \"name\": \"bayern\"\n }\n },\n \"contact\": {\n \"phone\": \"9886098860\"\n }\n }\n ],\n \"tracking\": false\n }\n ],\n \"quote\": {\n \"price\": {\n \"value\": \"700\",\n \"currency\": \"INR\"\n },\n \"breakup\": [\n {\n \"title\": \"Benadryl 2 units\",\n \"price\": {\n \"currency\": \"INR\",\n \"value\": \"200\"\n }\n },\n {\n \"title\": \"hycodan 3 units\",\n \"price\": {\n \"currency\": \"INR\",\n \"value\": \"450\"\n }\n },\n {\n \"title\": \"delivery charge\",\n \"price\": {\n \"currency\": \"INR\",\n \"value\": \"50\"\n }\n }\n ]\n },\n \"billing\": {\n \"name\": \"Alice Smith\",\n \"address\": \"Apt 303, Maple Towers, Richmond Road, 560001\",\n \"state\": {\n \"name\": \"Jurong East\"\n },\n \"city\": {\n \"name\": \"Jurong East\"\n },\n \"email\": \"alice.smith@example.com\",\n \"phone\": \"9886098860\"\n },\n \"payments\": [\n {\n \"collected_by\": \"BPP\",\n \"params\": {\n \"amount\": \"700\",\n \"currency\": \"INR\",\n \"bank_account_number\": \"1234002341\",\n \"bank_code\": \"INB0004321\",\n \"bank_account_name\": \"Strapi BPP Limited\"\n },\n \"status\": \"NOT-PAID\",\n \"type\": \"PRE-ORDER\"\n }\n ],\n \"cancellation_terms\": [\n {\n \"fulfillment_state\": {\n \"descriptor\": {\n \"code\": \"in-progress\"\n }\n },\n \"cancellation_fee\": {\n \"percentage\": \"30%\"\n },\n \"external_ref\": {\n \"mimetype\": \"text/html\",\n \"url\": \"https://quickPharma.in/charge/tnc.html\"\n }\n }\n ]\n }\n }\n }\n ]\n}"
}
]
},
{
"name": "Confirm",
"request": {
"method": "POST",
"header": [],
"body": {
"mode": "raw",
"raw": "{\n \"data\": [\n {\n \"context\": {\n \"transaction_id\": \"eed96a3f-c780-4157-a219-09ff871ee56c\",\n \"bpp_id\": \"beckn-sandbox-bpp.becknprotocol.io\",\n \"bpp_uri\": \"https://sandbox-bpp-network.becknprotocol.io\",\n \"domain\": \"supply-chain-services:assembly\"\n },\n \"message\": {\n \"orders\": [\n {\n \"provider\": {\n \"id\": \"1\"\n },\n \"items\": [\n {\n \"id\": \"66b7b9bad166-4a3f-ada6-ca063dc9d321\"\n }\n ],\n \"fulfillments\": [\n {\n \"id\": \"f1\",\n \"customer\": {\n \"contact\": {\n \"email\": \"fox.judie@abc.org\",\n \"phone\": \"+91-9999999999\"\n },\n \"person\": {\n \"name\": \"Judie Fox\"\n }\n },\n \"stops\": [\n {\n \"type\": \"end\",\n \"location\": {\n \"gps\": \"1.3806217468119772, 103.74636438437074\",\n \"address\": \"My House #, My building\",\n \"city\": {\n \"name\": \"Jurong East\"\n },\n \"country\": {\n \"code\": \"SGP\"\n },\n \"area_code\": \"680230\",\n \"state\": {\n \"name\": \"bayern\"\n }\n },\n \"contact\": {\n \"phone\": \"9886098860\"\n }\n }\n ]\n }\n ],\n \"billing\": {\n \"name\": \"Industry buyer\",\n \"address\": \"B005 aspire heights, Jurong East, SGP, 680230\",\n \"state\": {\n \"name\": \"Jurong East\"\n },\n \"city\": {\n \"name\": \"Jurong East\"\n },\n \"email\": \"nobody@nomail.com\",\n \"phone\": \"9886098860\"\n },\n \"payments\": [\n {\n \"collected_by\": \"BPP\",\n \"params\": {\n \"amount\": \"250\",\n \"currency\": \"EUR\",\n \"bank_account_number\": \"1234002341\",\n \"bank_code\": \"INB0004321\",\n \"bank_account_name\": \"Makerspace Assembly Ltd\"\n },\n \"status\": \"PAID\",\n \"type\": \"PRE-ORDER\",\n \"transaction_id\": \"a35b56cf-e5cf-41f1-9b5d-fa99d8d5ac8c\"\n }\n ]\n }\n ]\n }\n }\n ]\n}",
"options": {
"raw": {
"language": "json"
}
}
},
"url": "{{base_url}}/confirm"
},
"response": [
{
"name": "Request and Response",
"originalRequest": {
"method": "POST",
"header": [],
"body": {
"mode": "raw",
"raw": "{\n \"data\": [\n {\n \"context\": {\n \"transaction_id\": \"eed96a3f-c780-4157-a219-09ff871ee56c\",\n \"bpp_id\": \"beckn-sandbox-bpp.becknprotocol.io\",\n \"bpp_uri\": \"https://sandbox-bpp-network.becknprotocol.io\",\n \"domain\": \"supply-chain-services:assembly\"\n },\n \"message\": {\n \"orders\": [\n {\n \"provider\": {\n \"id\": \"1\"\n },\n \"items\": [\n {\n \"id\": \"66b7b9bad166-4a3f-ada6-ca063dc9d321\"\n }\n ],\n \"fulfillments\": [\n {\n \"id\": \"f1\",\n \"customer\": {\n \"contact\": {\n \"email\": \"fox.judie@abc.org\",\n \"phone\": \"+91-9999999999\"\n },\n \"person\": {\n \"name\": \"Judie Fox\"\n }\n },\n \"stops\": [\n {\n \"type\": \"end\",\n \"location\": {\n \"gps\": \"1.3806217468119772, 103.74636438437074\",\n \"address\": \"My House #, My building\",\n \"city\": {\n \"name\": \"Jurong East\"\n },\n \"country\": {\n \"code\": \"SGP\"\n },\n \"area_code\": \"680230\",\n \"state\": {\n \"name\": \"bayern\"\n }\n },\n \"contact\": {\n \"phone\": \"9886098860\"\n }\n }\n ]\n }\n ],\n \"billing\": {\n \"name\": \"Industry buyer\",\n \"address\": \"B005 aspire heights, Jurong East, SGP, 680230\",\n \"state\": {\n \"name\": \"Jurong East\"\n },\n \"city\": {\n \"name\": \"Jurong East\"\n },\n \"email\": \"nobody@nomail.com\",\n \"phone\": \"9886098860\"\n },\n \"payments\": [\n {\n \"collected_by\": \"BPP\",\n \"params\": {\n \"amount\": \"250\",\n \"currency\": \"EUR\",\n \"bank_account_number\": \"1234002341\",\n \"bank_code\": \"INB0004321\",\n \"bank_account_name\": \"Makerspace Assembly Ltd\"\n },\n \"status\": \"PAID\",\n \"type\": \"PRE-ORDER\",\n \"transaction_id\": \"a35b56cf-e5cf-41f1-9b5d-fa99d8d5ac8c\"\n }\n ]\n }\n ]\n }\n }\n ]\n}",
"options": {
"raw": {
"language": "json"
}
}
},
"url": "{{base_url}}/confirm"
},
"_postman_previewlanguage": "json",
"header": [
{
"key": "Content-Type",
"value": "application/json",
"name": "Content-Type",
"description": "",
"type": "text"
}
],
"cookie": [],
"body": "{\n \"data\": [\n {\n \"context\": {\n \"domain\": \"supply-chain-services:assembly\",\n \"action\": \"on_confirm\",\n \"version\": \"1.1.0\",\n \"bpp_id\": \"beckn-sandbox-bpp.becknprotocol.io\",\n \"bpp_uri\": \"https://sandbox-bpp-network.becknprotocol.io\",\n \"country\": \"IND\",\n \"city\": \"std:080\",\n \"location\": {\n \"country\": {\n \"code\": \"DE\"\n }\n },\n \"bap_id\": \"ps-bap-network.becknprotocol.io\",\n \"bap_uri\": \"https://ps-bap-network.becknprotocol.io\",\n \"transaction_id\": \"eed96a3f-c780-4157-a219-09ff871ee56c\",\n \"message_id\": \"965af511-0ea0-4dd2-951a-9ebe27cfebf4\",\n \"ttl\": \"PT10M\",\n \"timestamp\": \"2024-01-10T06:59:35.954Z\"\n },\n \"message\": {\n \"orderId\": \"80c16815-46ec-49d4-b872-08f093b83a92\",\n \"provider\": {\n \"id\": \"1\",\n \"name\": \"Makerspace\",\n \"short_desc\": \"Makerspace\",\n \"long_desc\": \"Makerspace, Hof\",\n \"images\": [\n {\n \"url\": \"https://images.pexels.com/photos/5532668/pexels-photo-5532668.jpeg?auto=compress&cs=tinysrgb&w=1260&h=750&dpr=1\",\n \"size_type\": \"sm\"\n }\n ]\n },\n \"items\": {\n \"id\": \"66b7b9bad166-4a3f-ada6-ca063dc9d321\",\n \"name\": \"Intermittent assembly type\",\n \"short_desc\": \"This is an intermittent assembly type.\",\n \"long_desc\": \"<h1>Intermittent Assembly Product - Enhanced Efficiency, Unmatched Performance!</h1><p>Welcome to the future of assembly technology! Revolutionize your workflow with unparalleled efficiency and precision.</p><p>Key Features:</p><ul><li>Precise Intermittent Assembly Technology.</li><li>Advanced automation for time and resource savings.</li><li>Durable materials for longevity and reliability.</li><li>Customizable settings for various assembly requirements.</li></ul><p>Invest in the future of assembly technology. Elevate your production capabilities today!</p>\",\n \"price\": {\n \"currency\": \"EUR\",\n \"value\": \"starting from 200 EUR\"\n },\n \"tags\": [\n {\n \"code\": \"product-info\",\n \"name\": \"Product Information\",\n \"display\": true,\n \"list\": [\n {\n \"name\": \"product-type\",\n \"value\": \"electronics\"\n }\n ]\n },\n {\n \"code\": \"assembly-info\",\n \"name\": \"Assembly Information\",\n \"display\": true,\n \"list\": [\n {\n \"name\": \"assembly-method\",\n \"value\": \"automated\"\n }\n ]\n },\n {\n \"code\": \"scale-info\",\n \"name\": \"Scale Information\",\n \"display\": true,\n \"list\": [\n {\n \"name\": \"scale-type\",\n \"value\": \"industrial\"\n }\n ]\n },\n {\n \"code\": \"printer-info\",\n \"name\": \"Printer Information\",\n \"display\": true,\n \"list\": [\n {\n \"name\": \"Resolution\",\n \"value\": \"gte>20%\"\n },\n {\n \"name\": \"success-rate\",\n \"value\": \"gte>95%\"\n }\n ]\n }\n ]\n },\n \"fulfillments\": [\n {\n \"id\": \"f1\",\n \"state\": {\n \"descriptor\": {\n \"code\": \"ORDER_ACCEPTED\",\n \"short_desc\": \"The order is accepted\"\n }\n },\n \"customer\": {\n \"contact\": {\n \"email\": \"fox.judie@abc.org\",\n \"phone\": \"+91-9999999999\"\n },\n \"person\": {\n \"name\": \"Judie Fox\"\n }\n },\n \"stops\": [\n {\n \"type\": \"end\",\n \"location\": {\n \"gps\": \"1.3806217468119772, 103.74636438437074\",\n \"address\": \"My House #, My building\",\n \"city\": {\n \"name\": \"Jurong East\"\n },\n \"country\": {\n \"code\": \"SGP\"\n },\n \"area_code\": \"680230\",\n \"state\": {\n \"name\": \"bayern\"\n }\n },\n \"contact\": {\n \"phone\": \"9886098860\"\n }\n }\n ],\n \"tracking\": false\n }\n ],\n \"quote\": {\n \"breakup\": [\n {\n \"price\": {\n \"currency\": \"EUR\",\n \"value\": \"200\"\n },\n \"title\": \"Base Price\"\n },\n {\n \"price\": {\n \"currency\": \"EUR\",\n \"value\": \"50\"\n },\n \"title\": \"Shipping Cost\"\n },\n {\n \"price\": {\n \"currency\": \"EUR\",\n \"value\": \"50\"\n },\n \"title\": \"Tax\"\n }\n ],\n \"price\": {\n \"currency\": \"EUR\",\n \"value\": \"300\"\n }\n },\n \"billing\": {\n \"name\": \"Industry buyer\",\n \"address\": \"B005 aspire heights, Jurong East, SGP, 680230\",\n \"state\": {\n \"name\": \"Jurong East\"\n },\n \"city\": {\n \"name\": \"Jurong East\"\n },\n \"email\": \"nobody@nomail.com\",\n \"phone\": \"9886098860\"\n },\n \"payments\": [\n {\n \"collected_by\": \"BPP\",\n \"params\": {\n \"amount\": \"300\",\n \"currency\": \"EUR\",\n \"bank_account_number\": \"1234002341\",\n \"bank_code\": \"INB0004321\",\n \"bank_account_name\": \"Makerspace Assembly Ltd\"\n },\n \"status\": \"PAID\",\n \"type\": \"PRE-ORDER\",\n \"transaction_id\": \"a35b56cf-e5cf-41f1-9b5d-fa99d8d5ac8c\"\n }\n ],\n \"cancellation_terms\": [\n {\n \"cancellation_fee\": {\n \"amount\": {\n \"currency\": \"EUR\",\n \"value\": \"100\"\n }\n }\n }\n ]\n }\n }\n ]\n}"
}
]
},
{
"name": "Status",
"request": {
"method": "POST",
"header": [],
"body": {
"mode": "raw",
"raw": "{\n \"data\": [\n {\n \"context\": {\n \"transaction_id\": \"eed96a3f-c780-4157-a219-09ff871ee56c\",\n \"bpp_id\": \"beckn-sandbox-bpp.becknprotocol.io\",\n \"bpp_uri\": \"https://sandbox-bpp-network.becknprotocol.io\",\n \"domain\": \"supply-chain-services:assembly\"\n },\n \"message\": {\n \"order_id\": \"8412551f-bc20-41b0-8012-648d5885e445\"\n }\n }\n ]\n}",
"options": {
"raw": {
"language": "json"
}
}
},
"url": "{{base_url}}/status"
},
"response": [
{
"name": "Request and Response",
"originalRequest": {
"method": "POST",
"header": [],
"body": {
"mode": "raw",
"raw": "{\n \"data\": [\n {\n \"context\": {\n \"transaction_id\": \"eed96a3f-c780-4157-a219-09ff871ee56c\",\n \"bpp_id\": \"beckn-sandbox-bpp.becknprotocol.io\",\n \"bpp_uri\": \"https://sandbox-bpp-network.becknprotocol.io\",\n \"domain\": \"supply-chain-services:assembly\"\n },\n \"message\": {\n \"order_id\": \"80c16815-46ec-49d4-b872-08f093b83a92\"\n }\n }\n ]\n}",
"options": {
"raw": {
"language": "json"
}
}
},
"url": "{{base_url}}/status"
},
"_postman_previewlanguage": "json",
"header": [
{
"key": "Content-Type",
"value": "application/json",
"name": "Content-Type",
"description": "",
"type": "text"
}
],
"cookie": [],
"body": "{\n \"data\": [\n {\n \"context\": {\n \"domain\": \"supply-chain-services:assembly\",\n \"action\": \"on_status\",\n \"version\": \"1.1.0\",\n \"bpp_id\": \"beckn-sandbox-bpp.becknprotocol.io\",\n \"bpp_uri\": \"https://sandbox-bpp-network.becknprotocol.io\",\n \"country\": \"IND\",\n \"city\": \"std:080\",\n \"location\": {\n \"country\": {\n \"code\": \"DE\"\n }\n },\n \"bap_id\": \"ps-bap-network.becknprotocol.io\",\n \"bap_uri\": \"https://ps-bap-network.becknprotocol.io\",\n \"transaction_id\": \"eed96a3f-c780-4157-a219-09ff871ee56c\",\n \"message_id\": \"10477a6e-fb65-4c25-a8df-28b12d5d88f9\",\n \"ttl\": \"PT10M\",\n \"timestamp\": \"2024-01-10T07:02:33.401Z\"\n },\n \"message\": {\n \"order\": {\n \"id\": \"80c16815-46ec-49d4-b872-08f093b83a92\",\n \"provider\": {\n \"id\": \"1\",\n \"name\": \"Makerspace\",\n \"short_desc\": \"Makerspace\",\n \"long_desc\": \"Makerspace, Hof\",\n \"images\": {\n \"url\": \"https://images.pexels.com/photos/5532668/pexels-photo-5532668.jpeg?auto=compress&cs=tinysrgb&w=1260&h=750&dpr=1\",\n \"size_type\": \"sm\"\n }\n },\n \"items\": [\n {\n \"id\": \"66b7b9bad166-4a3f-ada6-ca063dc9d321\",\n \"name\": \"Intermittent assembly type\",\n \"short_desc\": \"This is an intermittent assembly type.\",\n \"long_desc\": \"<h1>Intermittent Assembly Product - Enhanced Efficiency, Unmatched Performance!</h1><p>Welcome to the future of assembly technology! Revolutionize your workflow with unparalleled efficiency and precision.</p><p>Key Features:</p><ul><li>Precise Intermittent Assembly Technology.</li><li>Advanced automation for time and resource savings.</li><li>Durable materials for longevity and reliability.</li><li>Customizable settings for various assembly requirements.</li></ul><p>Invest in the future of assembly technology. Elevate your production capabilities today!</p>\",\n \"price\": {\n \"currency\": \"EUR\",\n \"value\": \"starting from 200 EUR\"\n },\n \"tags\": [\n {\n \"code\": \"product-info\",\n \"name\": \"Product Information\",\n \"display\": true,\n \"list\": [\n {\n \"name\": \"product-type\",\n \"value\": \"electronics\"\n }\n ]\n },\n {\n \"code\": \"assembly-info\",\n \"name\": \"Assembly Information\",\n \"display\": true,\n \"list\": [\n {\n \"name\": \"assembly-method\",\n \"value\": \"automated\"\n }\n ]\n },\n {\n \"code\": \"scale-info\",\n \"name\": \"Scale Information\",\n \"display\": true,\n \"list\": [\n {\n \"name\": \"scale-type\",\n \"value\": \"industrial\"\n }\n ]\n },\n {\n \"code\": \"printer-info\",\n \"name\": \"Printer Information\",\n \"display\": true,\n \"list\": [\n {\n \"name\": \"Resolution\",\n \"value\": \"gte>20%\"\n },\n {\n \"name\": \"success-rate\",\n \"value\": \"gte>95%\"\n }\n ]\n }\n ]\n }\n ],\n \"fulfillments\": [\n {\n \"id\": \"f1\",\n \"state\": {\n \"descriptor\": {\n \"code\": \"IN_ASSEMBLY_LINE\",\n \"short_desc\": \"The item is in assembly line\"\n },\n \"updated_at\": \"2024-01-10T07:02:31.389Z\"\n },\n \"customer\": {\n \"contact\": {\n \"email\": \"fox.judie@abc.org\",\n \"phone\": \"+91-9999999999\"\n },\n \"person\": {\n \"name\": \"Judie Fox\"\n }\n },\n \"stops\": [\n {\n \"type\": \"end\",\n \"location\": {\n \"gps\": \"1.3806217468119772, 103.74636438437074\",\n \"address\": \"My House #, My building\",\n \"city\": {\n \"name\": \"Jurong East\"\n },\n \"country\": {\n \"code\": \"SGP\"\n },\n \"area_code\": \"680230\",\n \"state\": {\n \"name\": \"bayern\"\n }\n },\n \"contact\": {\n \"phone\": \"9886098860\"\n }\n }\n ],\n \"tracking\": false\n }\n ],\n \"quote\": {\n \"breakup\": [\n {\n \"price\": {\n \"currency\": \"EUR\",\n \"value\": \"200\"\n },\n \"title\": \"Base Price\"\n },\n {\n \"price\": {\n \"currency\": \"EUR\",\n \"value\": \"50\"\n },\n \"title\": \"Shipping Cost\"\n },\n {\n \"price\": {\n \"currency\": \"EUR\",\n \"value\": \"50\"\n },\n \"title\": \"Tax\"\n }\n ],\n \"price\": {\n \"currency\": \"EUR\",\n \"value\": \"300\"\n }\n },\n \"billing\": {\n \"name\": \"Industry buyer\",\n \"address\": \"B005 aspire heights, Jurong East, SGP, 680230\",\n \"state\": {\n \"name\": \"Jurong East\"\n },\n \"city\": {\n \"name\": \"Jurong East\"\n },\n \"email\": \"nobody@nomail.com\",\n \"phone\": \"9886098860\"\n },\n \"payments\": [\n {\n \"collected_by\": \"BPP\",\n \"params\": {\n \"amount\": \"300\",\n \"currency\": \"EUR\",\n \"bank_account_number\": \"1234002341\",\n \"bank_code\": \"INB0004321\",\n \"bank_account_name\": \"Makerspace assembly Ltd\"\n },\n \"status\": \"PAID\",\n \"type\": \"PRE-ORDER\",\n \"transaction_id\": \"a35b56cf-e5cf-41f1-9b5d-fa99d8d5ac8c\"\n }\n ],\n \"cancellation_terms\": [\n {\n \"cancellation_fee\": {\n \"amount\": {\n \"currency\": \"EUR\",\n \"value\": \"100\"\n }\n }\n }\n ],\n \"type\": \"DEFAULT\"\n }\n }\n }\n ]\n}"
}
]
},
{
"name": "Track",
"request": {
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"data\": [\n {\n \"context\": {\n \"domain\": \"supply-chain-services:assembly\",\n \"bpp_id\": \"beckn-sandbox-bpp.becknprotocol.io\",\n \"bpp_uri\": \"https://sandbox-bpp-network.becknprotocol.io\",\n \"transaction_id\": \"6743e9e2-4fb5-487c-92b7-13ba8018f176\"\n },\n \"orderId\": \"759b905c-5a30-4d18-a6af-0decbac9282f\",\n \"callbackUrl\": \"https://dhp-network-bap.becknprotocol.io/track/callback\"\n }\n ]\n}"
},
"url": "{{base_url}}/track"
},
"response": [
{
"name": "Request and Response",
"originalRequest": {
"method": "POST",
"header": [
{
"key": "Content-Type",
"name": "Content-Type",
"value": "application/json",
"type": "text"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"data\": [\n {\n \"context\": {\n \"domain\": \"supply-chain-services:assembly\",\n \"bpp_id\": \"beckn-sandbox-bpp.becknprotocol.io\",\n \"bpp_uri\": \"https://sandbox-bpp-network.becknprotocol.io\",\n \"transaction_id\": \"6743e9e2-4fb5-487c-92b7-13ba8018f176\"\n },\n \"orderId\": \"759b905c-5a30-4d18-a6af-0decbac9282f\",\n \"callbackUrl\": \"https://dhp-network-bap.becknprotocol.io/track/callback\"\n }\n ]\n}",
"options": {
"raw": {
"language": "json"
}
}
},
"url": "{{base_url}}/track"
},
"_postman_previewlanguage": "json",
"header": [
{
"key": "Content-Type",
"value": "application/json",
"name": "Content-Type",
"description": "",
"type": "text"
}
],
"cookie": [],
"body": "{\n \"data\": [\n {\n \"context\": {\n \"domain\": \"supply-chain-services:assembly\",\n \"action\": \"on_track\",\n \"version\": \"1.1.0\",\n \"bpp_id\": \"beckn-sandbox-bpp.becknprotocol.io\",\n \"bpp_uri\": \"https://sandbox-bpp-network.becknprotocol.io\",\n \"country\": \"IND\",\n \"city\": \"std:080\",\n \"location\": {\n \"country\": {\n \"code\": \"DE\"\n }\n },\n \"bap_id\": \"ps-bap-network.becknprotocol.io\",\n \"bap_uri\": \"https://ps-bap-network.becknprotocol.io\",\n \"transaction_id\": \"6743e9e2-4fb5-487c-92b7-13ba8018f176\",\n \"message_id\": \"ff2d22a9-d23b-4a78-9cec-6579d87985d7\",\n \"ttl\": \"PT10M\",\n \"timestamp\": \"2024-01-10T07:03:56.850Z\"\n },\n \"message\": {\n \"tracking\": {\n \"url\": \"https://merkspace/tracking/201f6fa2-a2f7-42e7-a2e5-8947398747\",\n \"status\": \"active\",\n \"id\": \"38473fhjd7sriyr8\"\n }\n }\n }\n ]\n}"
}
]
},
{
"name": "Rating",
"request": {
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"data\": [\n {\n \"context\": {\n \"transaction_id\": \"eed96a3f-c780-4157-a219-09ff871ee56c\",\n \"bpp_id\": \"beckn-sandbox-bpp.becknprotocol.io\",\n \"bpp_uri\": \"https://sandbox-bpp-network.becknprotocol.io\",\n \"domain\": \"supply-chain-services:assembly\"\n },\n \"message\": {\n \"id\": \"b989c9a9-f603-4d44-b38d-26fd72286b38\",\n \"rating_category\": \"Order\",\n \"value\": \"8\"\n }\n }\n ]\n}"
},
"url": "{{base_url}}/rating"
},
"response": [
{
"name": "Rating",
"originalRequest": {
"method": "POST",
"header": [
{
"key": "Content-Type",
"name": "Content-Type",
"value": "application/json",
"type": "text"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"data\": [\n {\n \"context\": {\n \"transaction_id\": \"eed96a3f-c780-4157-a219-09ff871ee56c\",\n \"bpp_id\": \"beckn-sandbox-bpp.becknprotocol.io\",\n \"bpp_uri\": \"https://sandbox-bpp-network.becknprotocol.io\",\n \"domain\": \"supply-chain-services:assembly\"\n },\n \"message\": {\n \"id\": \"b989c9a9-f603-4d44-b38d-26fd72286b38\",\n \"rating_category\": \"Order\",\n \"value\": \"8\"\n }\n }\n ]\n}",
"options": {
"raw": {
"language": "json"
}
}
},
"url": "{{base_url}}/rating"
},
"_postman_previewlanguage": "json",
"header": [
{
"key": "Content-Type",
"value": "application/json",
"name": "Content-Type",
"description": "",
"type": "text"
}
],
"cookie": [],
"body": "{\n \"data\": [\n {\n \"context\": {\n \"domain\": \"supply-chain-services:assembly\",\n \"action\": \"on_rating\",\n \"version\": \"1.1.0\",\n \"bpp_id\": \"beckn-sandbox-bpp.becknprotocol.io\",\n \"bpp_uri\": \"https://sandbox-bpp-network.becknprotocol.io\",\n \"country\": \"IND\",\n \"city\": \"std:080\",\n \"location\": {\n \"country\": {\n \"code\": \"DE\"\n }\n },\n \"bap_id\": \"ps-bap-network.becknprotocol.io\",\n \"bap_uri\": \"https://ps-bap-network.becknprotocol.io\",\n \"transaction_id\": \"eed96a3f-c780-4157-a219-09ff871ee56c\",\n \"message_id\": \"101571df-c258-4c80-b780-6e543da324cb\",\n \"ttl\": \"PT10M\",\n \"timestamp\": \"2024-01-10T07:05:51.090Z\"\n },\n \"message\": {\n \"feedback_form\": {\n \"xinput\": {\n \"form\": {\n \"url\": \"https://inds-network-bpp.becknprotocol.io/feedback/portal\"\n },\n \"required\": \"false\"\n }\n }\n }\n }\n ]\n}"
}
]
},
{
"name": "Cancel",
"request": {
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"data\": [\n {\n \"context\": {\n \"transaction_id\": \"eed96a3f-c780-4157-a219-09ff871ee56c\",\n \"bpp_id\": \"beckn-sandbox-bpp.becknprotocol.io\",\n \"bpp_uri\": \"https://sandbox-bpp-network.becknprotocol.io\",\n \"domain\": \"supply-chain-services:assembly\"\n },\n \"message\": {\n \"order_id\": \"04389d8c-6a50-4664-9c08-4ee45fef44e8\",\n \"cancellation_reason_id\": \"4\",\n \"descriptor\": {\n \"short_desc\": \"Order delayed\"\n }\n }\n }\n ]\n}"
},
"url": "{{base_url}}/cancel"
},
"response": [
{
"name": "Request and Response",
"originalRequest": {
"method": "POST",
"header": [
{
"key": "Content-Type",
"name": "Content-Type",
"value": "application/json",
"type": "text"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"data\": [\n {\n \"context\": {\n \"transaction_id\": \"eed96a3f-c780-4157-a219-09ff871ee56c\",\n \"bpp_id\": \"beckn-sandbox-bpp.becknprotocol.io\",\n \"bpp_uri\": \"https://sandbox-bpp-network.becknprotocol.io\",\n \"domain\": \"supply-chain-services:assembly\"\n },\n \"message\": {\n \"order_id\": \"04389d8c-6a50-4664-9c08-4ee45fef44e8\",\n \"cancellation_reason_id\": \"4\",\n \"descriptor\": {\n \"short_desc\": \"Order delayed\"\n }\n }\n }\n ]\n}",
"options": {
"raw": {
"language": "json"
}
}
},
"url": "{{base_url}}/cancel"
},
"_postman_previewlanguage": "json",
"header": [
{
"key": "Content-Type",
"value": "application/json",
"name": "Content-Type",
"description": "",
"type": "text"
}
],
"cookie": [],
"body": "{\n \"data\": [\n {\n \"context\": {\n \"domain\": \"supply-chain-services:assembly\",\n \"action\": \"on_cancel\",\n \"version\": \"1.1.0\",\n \"bpp_id\": \"beckn-sandbox-bpp.becknprotocol.io\",\n \"bpp_uri\": \"https://sandbox-bpp-network.becknprotocol.io\",\n \"country\": \"IND\",\n \"city\": \"std:080\",\n \"location\": {\n \"country\": {\n \"code\": \"DE\"\n }\n },\n \"bap_id\": \"ps-bap-network.becknprotocol.io\",\n \"bap_uri\": \"https://ps-bap-network.becknprotocol.io\",\n \"transaction_id\": \"eed96a3f-c780-4157-a219-09ff871ee56c\",\n \"message_id\": \"63c2076a-5180-41fd-9cc5-a70413ca6298\",\n \"ttl\": \"PT10M\",\n \"timestamp\": \"2024-01-10T07:07:10.295Z\"\n },\n \"message\": {\n \"order\": {\n \"type\": \"DEFAULT\",\n \"provider\": {\n \"id\": \"1\"\n },\n \"items\": [\n {\n \"id\": \"66b7b9bad166-4a3f-ada6-ca063dc9d321\",\n \"name\": \"Intermittent assembly type\",\n \"short_desc\": \"This is an intermittent assembly type.\",\n \"long_desc\": \"<h1>Intermittent Assembly Product - Enhanced Efficiency, Unmatched Performance!</h1><p>Welcome to the future of assembly technology! Revolutionize your workflow with unparalleled efficiency and precision.</p><p>Key Features:</p><ul><li>Precise Intermittent Assembly Technology.</li><li>Advanced automation for time and resource savings.</li><li>Durable materials for longevity and reliability.</li><li>Customizable settings for various assembly requirements.</li></ul><p>Invest in the future of assembly technology. Elevate your production capabilities today!</p>\",\n \"price\": {\n \"currency\": \"EUR\",\n \"value\": \"starting from 200 EUR\"\n }\n }\n ],\n \"fulfillments\": [\n {\n \"customer\": {\n \"contact\": {\n \"email\": \"fox.judie@abc.org\",\n \"phone\": \"+91-81347776660\"\n },\n \"person\": {\n \"name\": \"Judie Fox\"\n }\n },\n \"id\": \"fid1\",\n \"state\": {\n \"descriptor\": {\n \"code\": \"CANCELLED\",\n \"short_desc\": \"cancellation reason...\"\n },\n \"updated_at\": \"2023-05-25T05:23:04.443Z\"\n },\n \"tracking\": false\n }\n ],\n \"quote\": {\n \"breakup\": [\n {\n \"price\": {\n \"currency\": \"EUR\",\n \"value\": \"200\"\n },\n \"title\": \"Base Price\"\n },\n {\n \"price\": {\n \"currency\": \"EUR\",\n \"value\": \"50\"\n },\n \"title\": \"Shipping Cost\"\n },\n {\n \"price\": {\n \"currency\": \"EUR\",\n \"value\": \"50\"\n },\n \"title\": \"Tax\"\n }\n ],\n \"price\": {\n \"currency\": \"EUR\",\n \"value\": \"300\"\n }\n },\n \"billing\": {\n \"name\": \"Industry buyer\",\n \"address\": \"B005 aspire heights, Jurong East, SGP, 680230\",\n \"state\": {\n \"name\": \"Jurong East\"\n },\n \"city\": {\n \"name\": \"Jurong East\"\n },\n \"email\": \"nobody@nomail.com\",\n \"phone\": \"9886098860\"\n },\n \"payments\": [\n {\n \"collected_by\": \"BPP\",\n \"params\": {\n \"amount\": \"300\",\n \"currency\": \"EUR\",\n \"bank_account_number\": \"1234002341\",\n \"bank_code\": \"INB0004321\",\n \"bank_account_name\": \"Makerspace assembly Ltd\"\n },\n \"status\": \"PAID\",\n \"type\": \"PRE-ORDER\",\n \"transaction_id\": \"a35b56cf-e5cf-41f1-9b5d-fa99d8d5ac8c\"\n }\n ],\n \"cancellation_terms\": [\n {\n \"cancellation_fee\": {\n \"amount\": {\n \"currency\": \"EUR\",\n \"value\": \"100\"\n }\n }\n }\n ]\n }\n }\n }\n ]\n}"
}
]
},
{
"name": "Update",
"request": {
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"data\": [\n {\n \"context\": {\n \"domain\":\"supply-chain-services:assembly\",\n \"bpp_id\": \"beckn-sandbox-bpp.becknprotocol.io\",\n \"bpp_uri\": \"https://sandbox-bpp-network.becknprotocol.io/\",\n \"transaction_id\": \"6743e9e2-4fb5-487c-92b7-13ba8018f176\"\n },\n \"orderId\": \"853c7593-f4bf-4557-8832-118a591787ba\",\n \"updateDetails\": {\n \"updateTarget\": \"order.fulfillments[0].stops[0]\",\n \"fulfillments\": [\n {\n \"stops\": [\n {\n \"location\": {\n \"gps\": \"1.3806217468119772, 103.74636438437074\",\n \"address\": \"My House #, My building\",\n \"city\": {\n \"name\": \"Jurong East\"\n },\n \"country\": {\n \"code\": \"SGP\"\n },\n \"area_code\": \"680230\",\n \"state\": {\n \"name\": \"bayern\"\n }\n },\n \"contact\": {\n \"phone\": \"9886098860\"\n }\n }\n ]\n }\n ],\n \"billing\": {\n \"name\": \"John Doe\",\n \"address\": \"Villa 5, Green Valley, Malleshwaram, 560012\",\n \"email\": \"john.doe@example.com\",\n \"phone\": \"+91-9999999999\"\n }\n }\n }\n ]\n}"
},
"url": "{{base_url}}/update"
},
"response": [
{
"name": "Request and Response",
"originalRequest": {
"method": "POST",
"header": [
{
"key": "Content-Type",
"name": "Content-Type",
"value": "application/json",
"type": "text"
}
],
"body": {
"mode": "raw",