gvsandeep

241574944560504832

Oct 19th, 2022
80
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
JSON 91.42 KB | None | 0 0
  1. [
  2.   {
  3.     "Timestamp": "2022-10-19T03:30:59.88+00:00",
  4.     "Topic": "oms.pe.split-service.events",
  5.     "Partition": 1,
  6.     "Offset": 8895998,
  7.     "SchemaId": null,
  8.     "SchemaType": null,
  9.     "Key": [
  10.       87,
  11.       101,
  12.       100,
  13.       32,
  14.       79,
  15.       99,
  16.       116,
  17.       32,
  18.       49,
  19.       57,
  20.       32,
  21.       48,
  22.       57,
  23.       58,
  24.       48,
  25.       48,
  26.       58,
  27.       53,
  28.       57,
  29.       32,
  30.       73,
  31.       83,
  32.       84,
  33.       32,
  34.       50,
  35.       48,
  36.       50,
  37.       50
  38.     ],
  39.     "Headers": {
  40.       "singularityheader": "appId=415*ctrlguid=1664570591*acctguid=87d0c50e-a3d3-467c-b6b0-88bd10008827*ts=1666150259858*btid=58201*guid=b8ce9119-c523-4cb8-a271-7ee88c47f78d*exitguid=65|5|50|49|1|50|1|2|10|4|111|15|2|95|1*donotresolve=true*unresolvedexitid=33348*tcop=1:494021*cidfrom=2300*etypeorder=CUSTOM*esubtype=Kafka*cidto={[UNRESOLVED][33348]}*tcop=1:494021",
  41.       "__TypeId__": "com.pharmeasy.splitservice.event.FinalSplitsEvaluationEvent"
  42.     },
  43.     "Message": {
  44.       "eventDetail": {
  45.         "id": "32834ec9-baa2-4e8a-936d-8321b0f42dc4",
  46.         "timestamp": 1666150259879,
  47.         "eventType": "FINAL_SPLITS_EVALUATION",
  48.         "version": 1
  49.       },
  50.       "locationFacts": {
  51.         "cityId": 927,
  52.         "stateId": 14,
  53.         "supplyCityId": 2933
  54.       },
  55.       "retailerAssignmentRequest": {
  56.         "currentTime": 1666150259871,
  57.         "deliveryPincode": 842001,
  58.         "hasAllPrefetchedRxs": false,
  59.         "context": {
  60.           "cartId": "74149122",
  61.           "parentOrderId": "",
  62.           "childOrderId": ""
  63.         }
  64.       },
  65.       "retailerAssignmentResponse": {
  66.         "retailerAssignmentDetails": [
  67.           {
  68.             "deliverySpeed": "STANDARD",
  69.             "assignmentTime": 1666153859871
  70.           },
  71.           {
  72.             "deliverySpeed": "PRIORITY",
  73.             "assignmentTime": 1666152059871
  74.           }
  75.         ]
  76.       },
  77.       "context": {
  78.         "identifier": "74149122|NA|NA",
  79.         "parentOrderId": "NA",
  80.         "cartId": "74149122",
  81.         "childOrderId": "NA"
  82.       },
  83.       "productAttributesMap": {
  84.         "242540": {
  85.           "ucode": "242540",
  86.           "vertical": "MEDICINE",
  87.           "medicineCategory": "CHRONIC",
  88.           "medicineType": "RX",
  89.           "fulfilability": "IN_STOCK",
  90.           "highMarginSubstituteAvailable": false,
  91.           "hasAvailableSubstitute": true,
  92.           "hasAvailableVariant": false,
  93.           "flipForGreen": false,
  94.           "discountedMrp": 483.9,
  95.           "volume": 54.23,
  96.           "privateLabelProduct": false,
  97.           "slowSellingMedicine": false,
  98.           "refrigerated": false
  99.         },
  100.         "I01179": {
  101.           "ucode": "I01179",
  102.           "vertical": "MEDICINE",
  103.           "medicineCategory": "CHRONIC",
  104.           "medicineType": "RX",
  105.           "fulfilability": "IN_STOCK",
  106.           "highMarginSubstituteAvailable": true,
  107.           "hasAvailableSubstitute": true,
  108.           "hasAvailableVariant": false,
  109.           "flipForGreen": false,
  110.           "discountedMrp": 81.86,
  111.           "volume": 30.65,
  112.           "privateLabelProduct": false,
  113.           "slowSellingMedicine": false,
  114.           "refrigerated": false
  115.         },
  116.         "W24350": {
  117.           "ucode": "W24350",
  118.           "vertical": "MEDICINE",
  119.           "medicineCategory": "CHRONIC",
  120.           "medicineType": "RX",
  121.           "fulfilability": "SHORT_SUPPLY",
  122.           "highMarginSubstituteAvailable": false,
  123.           "hasAvailableSubstitute": true,
  124.           "hasAvailableVariant": false,
  125.           "flipForGreen": false,
  126.           "discountedMrp": 334.43,
  127.           "volume": 22.14,
  128.           "privateLabelProduct": false,
  129.           "slowSellingMedicine": false,
  130.           "refrigerated": false
  131.         }
  132.       },
  133.       "softRoutingFacts": {},
  134.       "softRoutingResponse": {},
  135.       "softRoutingCustomerSegmentFacts": null,
  136.       "softRoutingCustomerSegmentResponse": null,
  137.       "request": {
  138.         "placedAt": 1666150259875,
  139.         "customer": {
  140.           "customerId": "4476814",
  141.           "score": null,
  142.           "segmentIds": [
  143.             43,
  144.             47,
  145.             42,
  146.             46,
  147.             70,
  148.             41,
  149.             71,
  150.             44,
  151.             96,
  152.             124,
  153.             703,
  154.             170,
  155.             500,
  156.             162,
  157.             706,
  158.             803,
  159.             365,
  160.             360,
  161.             562,
  162.             374,
  163.             168,
  164.             137,
  165.             530,
  166.             287,
  167.             651,
  168.             195,
  169.             258,
  170.             260,
  171.             305,
  172.             781,
  173.             581,
  174.             603,
  175.             481,
  176.             788,
  177.             422,
  178.             144,
  179.             249,
  180.             586,
  181.             358,
  182.             608,
  183.             229,
  184.             139,
  185.             471,
  186.             210,
  187.             193,
  188.             776,
  189.             192,
  190.             393,
  191.             411,
  192.             252,
  193.             823,
  194.             189,
  195.             779,
  196.             300,
  197.             657,
  198.             247,
  199.             37,
  200.             821,
  201.             588,
  202.             666,
  203.             755,
  204.             363,
  205.             294,
  206.             359,
  207.             403,
  208.             240,
  209.             572,
  210.             699,
  211.             382,
  212.             544,
  213.             216,
  214.             262
  215.           ],
  216.           "membershipDetail": null
  217.         },
  218.         "locationAttributes": {
  219.           "zoneId": "842001",
  220.           "zoneType": "PINCODE"
  221.         },
  222.         "splits": [
  223.           {
  224.             "splitId": "da1472c5-91b5-4d4c-b5ea-eecd453c16f2",
  225.             "vertical": "TELECONSULTATION",
  226.             "splitReasons": null,
  227.             "items": [
  228.               {
  229.                 "itemIdentifier": "32834ec9-baa2-4e8a-936d-8321b0f42dc4|I01179|PRODUCT",
  230.                 "itemType": "PRODUCT",
  231.                 "itemId": "I01179",
  232.                 "name": "DEPLATT 75MG STRIP OF 15 TABLETS",
  233.                 "quantity": 2,
  234.                 "rxDetail": null,
  235.                 "discountedUnitMrp": "81.86"
  236.               },
  237.               {
  238.                 "itemIdentifier": "32834ec9-baa2-4e8a-936d-8321b0f42dc4|242540|PRODUCT",
  239.                 "itemType": "PRODUCT",
  240.                 "itemId": "242540",
  241.                 "name": "MINIPRESS XL 5MG STRIP OF 30 TABLETS",
  242.                 "quantity": 2,
  243.                 "rxDetail": null,
  244.                 "discountedUnitMrp": "483.9"
  245.               },
  246.               {
  247.                 "itemIdentifier": "32834ec9-baa2-4e8a-936d-8321b0f42dc4|W24350|PRODUCT",
  248.                 "itemType": "PRODUCT",
  249.                 "itemId": "W24350",
  250.                 "name": "EUREPA 2MG TABLET 15'S",
  251.                 "quantity": 2,
  252.                 "rxDetail": null,
  253.                 "discountedUnitMrp": "334.43"
  254.               }
  255.             ],
  256.             "context": {
  257.               "cartId": "74149122",
  258.               "parentOrderId": "",
  259.               "childOrderId": ""
  260.             },
  261.             "attributes": {
  262.               "hasUploadedFiles": false,
  263.               "hasOrderNotes": false,
  264.               "isSubstitutionPitched": false,
  265.               "isSoftRoutingCompleted": false,
  266.               "isAwaitingPrescriptionUpload": false,
  267.               "needApprovalForSubstitution": false,
  268.               "hasAttachedPreviousPrescription": false
  269.             },
  270.             "origin": {
  271.               "source": "CONSUMER",
  272.               "platform": "ANDROID"
  273.             },
  274.             "commitments": {
  275.               "optionId": "e8ac5224-2941-4972-9edd-3b423bf64b43",
  276.               "estimatedContactTime": 1666153859871,
  277.               "retailerGstStateCode": "19",
  278.               "retailerId": "13535",
  279.               "retailerType": "alpha_mp_seller",
  280.               "deliveryMode": "NON_COURIER",
  281.               "deliverySpeed": "STANDARD",
  282.               "charges": [],
  283.               "estimatedDeliveryDate": {
  284.                 "minTime": 1666204200000,
  285.                 "maxTime": 1666456200000
  286.               },
  287.               "fulfilabilityTier": null
  288.             }
  289.           }
  290.         ]
  291.       },
  292.       "analyticsBoxRequest": {},
  293.       "analyticsBoxResponse": {},
  294.       "abExperiment": {
  295.         "variant": null,
  296.         "experimentName": null
  297.       },
  298.       "splits": [
  299.         {
  300.           "splitId": "da1472c5-91b5-4d4c-b5ea-eecd453c16f2",
  301.           "vertical": "TELECONSULTATION",
  302.           "splitReasons": [
  303.             "RX_MISSING"
  304.           ],
  305.           "items": [
  306.             {
  307.               "itemIdentifier": "32834ec9-baa2-4e8a-936d-8321b0f42dc4|I01179|PRODUCT",
  308.               "itemType": "PRODUCT",
  309.               "itemId": "I01179",
  310.               "name": "DEPLATT 75MG STRIP OF 15 TABLETS",
  311.               "quantity": 2,
  312.               "rxDetail": null,
  313.               "discountedUnitMrp": "81.86"
  314.             },
  315.             {
  316.               "itemIdentifier": "32834ec9-baa2-4e8a-936d-8321b0f42dc4|242540|PRODUCT",
  317.               "itemType": "PRODUCT",
  318.               "itemId": "242540",
  319.               "name": "MINIPRESS XL 5MG STRIP OF 30 TABLETS",
  320.               "quantity": 2,
  321.               "rxDetail": null,
  322.               "discountedUnitMrp": "483.9"
  323.             },
  324.             {
  325.               "itemIdentifier": "32834ec9-baa2-4e8a-936d-8321b0f42dc4|W24350|PRODUCT",
  326.               "itemType": "PRODUCT",
  327.               "itemId": "W24350",
  328.               "name": "EUREPA 2MG TABLET 15'S",
  329.               "quantity": 2,
  330.               "rxDetail": null,
  331.               "discountedUnitMrp": "334.43"
  332.             }
  333.           ],
  334.           "context": {
  335.             "cartId": "74149122",
  336.             "parentOrderId": "",
  337.             "childOrderId": ""
  338.           },
  339.           "attributes": {},
  340.           "origin": null,
  341.           "commitments": {
  342.             "optionId": "e8ac5224-2941-4972-9edd-3b423bf64b43",
  343.             "estimatedContactTime": 1666153859871,
  344.             "retailerGstStateCode": "19",
  345.             "retailerId": "13535",
  346.             "retailerType": "alpha_mp_seller",
  347.             "deliveryMode": "NON_COURIER",
  348.             "deliverySpeed": "STANDARD",
  349.             "charges": [],
  350.             "estimatedDeliveryDate": {
  351.               "minTime": 1666204200000,
  352.               "maxTime": 1666456200000
  353.             },
  354.             "fulfilabilityTier": null
  355.           }
  356.         }
  357.       ]
  358.     },
  359.     "Error": null
  360.   },
  361.   {
  362.     "Timestamp": "2022-10-19T03:31:00.446+00:00",
  363.     "Topic": "oms.pe.split-service.events",
  364.     "Partition": 1,
  365.     "Offset": 8896019,
  366.     "SchemaId": null,
  367.     "SchemaType": null,
  368.     "Key": [
  369.       87,
  370.       101,
  371.       100,
  372.       32,
  373.       79,
  374.       99,
  375.       116,
  376.       32,
  377.       49,
  378.       57,
  379.       32,
  380.       48,
  381.       57,
  382.       58,
  383.       48,
  384.       49,
  385.       58,
  386.       48,
  387.       48,
  388.       32,
  389.       73,
  390.       83,
  391.       84,
  392.       32,
  393.       50,
  394.       48,
  395.       50,
  396.       50
  397.     ],
  398.     "Headers": {
  399.       "singularityheader": "appId=415*ctrlguid=1664570591*acctguid=87d0c50e-a3d3-467c-b6b0-88bd10008827*ts=1666150260417*btid=58201*guid=5b7099c5-f378-4196-af0d-3c9737fae1b2*exitguid=65|5|50|49|1|50|1|2|12|4|127|1|2|13|2|113|1*donotresolve=true*unresolvedexitid=33348*tcop=1:494021*cidfrom=2300*etypeorder=CUSTOM*esubtype=Kafka*cidto={[UNRESOLVED][33348]}*tcop=1:494021",
  400.       "__TypeId__": "com.pharmeasy.splitservice.event.FinalSplitsEvaluationEvent"
  401.     },
  402.     "Message": {
  403.       "eventDetail": {
  404.         "id": "ef18da33-96bc-4205-9e8f-cd54e28367bc",
  405.         "timestamp": 1666150260445,
  406.         "eventType": "FINAL_SPLITS_EVALUATION",
  407.         "version": 1
  408.       },
  409.       "locationFacts": {
  410.         "cityId": 927,
  411.         "stateId": 14,
  412.         "supplyCityId": 2933
  413.       },
  414.       "retailerAssignmentRequest": null,
  415.       "retailerAssignmentResponse": null,
  416.       "context": {
  417.         "identifier": "74149122|NA|NA",
  418.         "parentOrderId": "NA",
  419.         "cartId": "74149122",
  420.         "childOrderId": "NA"
  421.       },
  422.       "productAttributesMap": {
  423.         "242540": {
  424.           "ucode": "242540",
  425.           "vertical": "MEDICINE",
  426.           "medicineCategory": "CHRONIC",
  427.           "medicineType": "RX",
  428.           "fulfilability": "IN_STOCK",
  429.           "highMarginSubstituteAvailable": false,
  430.           "hasAvailableSubstitute": true,
  431.           "hasAvailableVariant": false,
  432.           "flipForGreen": false,
  433.           "discountedMrp": 483.9,
  434.           "volume": 54.23,
  435.           "privateLabelProduct": false,
  436.           "slowSellingMedicine": false,
  437.           "refrigerated": false
  438.         },
  439.         "I01179": {
  440.           "ucode": "I01179",
  441.           "vertical": "MEDICINE",
  442.           "medicineCategory": "CHRONIC",
  443.           "medicineType": "RX",
  444.           "fulfilability": "IN_STOCK",
  445.           "highMarginSubstituteAvailable": true,
  446.           "hasAvailableSubstitute": true,
  447.           "hasAvailableVariant": false,
  448.           "flipForGreen": false,
  449.           "discountedMrp": 81.86,
  450.           "volume": 30.65,
  451.           "privateLabelProduct": false,
  452.           "slowSellingMedicine": false,
  453.           "refrigerated": false
  454.         },
  455.         "W24350": {
  456.           "ucode": "W24350",
  457.           "vertical": "MEDICINE",
  458.           "medicineCategory": "CHRONIC",
  459.           "medicineType": "RX",
  460.           "fulfilability": "SHORT_SUPPLY",
  461.           "highMarginSubstituteAvailable": false,
  462.           "hasAvailableSubstitute": true,
  463.           "hasAvailableVariant": false,
  464.           "flipForGreen": false,
  465.           "discountedMrp": 334.43,
  466.           "volume": 22.14,
  467.           "privateLabelProduct": false,
  468.           "slowSellingMedicine": false,
  469.           "refrigerated": false
  470.         }
  471.       },
  472.       "softRoutingFacts": {
  473.         "dd7a2402-34cc-4cc4-9808-2e0db9d93a9f": {
  474.           "medicine_types": "RX",
  475.           "medicine_categories": "CHRONIC",
  476.           "source": "NEW_OMS",
  477.           "has_substitutable_yellow_medicines": true,
  478.           "has_higher_margin_substitutes": false,
  479.           "cart_value": 1800.38,
  480.           "supply_city_name": 2933,
  481.           "demand_city_name": 927,
  482.           "order_placed_hour": 9,
  483.           "platform_type": "ANDROID",
  484.           "retailer_type": "alpha_mp_seller",
  485.           "delivery_types": "NON_COURIER",
  486.           "is_substitution_pitched": false
  487.         }
  488.       },
  489.       "softRoutingResponse": {
  490.         "dd7a2402-34cc-4cc4-9808-2e0db9d93a9f": {
  491.           "result": {
  492.             "can_be_performed_by_doctor": true,
  493.             "reason_keys": "PITCH_AVAILABLE_SUBSTITUTE"
  494.           },
  495.           "ruleSetVersionId": "4881"
  496.         }
  497.       },
  498.       "softRoutingCustomerSegmentFacts": null,
  499.       "softRoutingCustomerSegmentResponse": null,
  500.       "request": {
  501.         "placedAt": 1666150260414,
  502.         "customer": {
  503.           "customerId": "4476814",
  504.           "score": {
  505.             "value": "10.00",
  506.             "confidence": "1",
  507.             "label": "GREEN"
  508.           },
  509.           "segmentIds": [
  510.             43,
  511.             47,
  512.             42,
  513.             46,
  514.             70,
  515.             41,
  516.             71,
  517.             44,
  518.             96,
  519.             124,
  520.             703,
  521.             170,
  522.             500,
  523.             162,
  524.             706,
  525.             803,
  526.             365,
  527.             360,
  528.             562,
  529.             374,
  530.             168,
  531.             137,
  532.             530,
  533.             287,
  534.             651,
  535.             195,
  536.             258,
  537.             260,
  538.             305,
  539.             781,
  540.             581,
  541.             603,
  542.             481,
  543.             788,
  544.             422,
  545.             144,
  546.             249,
  547.             586,
  548.             358,
  549.             608,
  550.             229,
  551.             139,
  552.             471,
  553.             210,
  554.             193,
  555.             776,
  556.             192,
  557.             393,
  558.             411,
  559.             252,
  560.             823,
  561.             189,
  562.             779,
  563.             300,
  564.             657,
  565.             247,
  566.             37,
  567.             821,
  568.             588,
  569.             666,
  570.             755,
  571.             363,
  572.             294,
  573.             359,
  574.             403,
  575.             240,
  576.             572,
  577.             699,
  578.             382,
  579.             544,
  580.             216,
  581.             262
  582.           ],
  583.           "membershipDetail": null
  584.         },
  585.         "locationAttributes": {
  586.           "zoneId": "842001",
  587.           "zoneType": "PINCODE"
  588.         },
  589.         "splits": [
  590.           {
  591.             "splitId": "dd7a2402-34cc-4cc4-9808-2e0db9d93a9f",
  592.             "vertical": "DRAFT",
  593.             "splitReasons": null,
  594.             "items": [
  595.               {
  596.                 "itemIdentifier": "ef18da33-96bc-4205-9e8f-cd54e28367bc|I01179|PRODUCT",
  597.                 "itemType": "PRODUCT",
  598.                 "itemId": "I01179",
  599.                 "name": "DEPLATT 75MG STRIP OF 15 TABLETS",
  600.                 "quantity": 2,
  601.                 "rxDetail": {
  602.                   "mappingType": "DIRECT",
  603.                   "version": 1,
  604.                   "rxId": "62612dabca788c37d97e00a8",
  605.                   "itemId": "I01179",
  606.                   "itemType": "PRODUCT",
  607.                   "isSubstitutionAllowed": true
  608.                 },
  609.                 "discountedUnitMrp": "81.86"
  610.               },
  611.               {
  612.                 "itemIdentifier": "ef18da33-96bc-4205-9e8f-cd54e28367bc|242540|PRODUCT",
  613.                 "itemType": "PRODUCT",
  614.                 "itemId": "242540",
  615.                 "name": "MINIPRESS XL 5MG STRIP OF 30 TABLETS",
  616.                 "quantity": 2,
  617.                 "rxDetail": {
  618.                   "mappingType": "DIRECT",
  619.                   "version": 2,
  620.                   "rxId": "62612dab8a9f897a8f1d0bda",
  621.                   "itemId": "242540",
  622.                   "itemType": "PRODUCT",
  623.                   "isSubstitutionAllowed": true
  624.                 },
  625.                 "discountedUnitMrp": "483.9"
  626.               },
  627.               {
  628.                 "itemIdentifier": "ef18da33-96bc-4205-9e8f-cd54e28367bc|W24350|PRODUCT",
  629.                 "itemType": "PRODUCT",
  630.                 "itemId": "W24350",
  631.                 "name": "EUREPA 2MG TABLET 15'S",
  632.                 "quantity": 2,
  633.                 "rxDetail": {
  634.                   "mappingType": "DIRECT",
  635.                   "version": 2,
  636.                   "rxId": "62612dab8a9f897a8f1d0bda",
  637.                   "itemId": "W24350",
  638.                   "itemType": "PRODUCT",
  639.                   "isSubstitutionAllowed": true
  640.                 },
  641.                 "discountedUnitMrp": "334.43"
  642.               }
  643.             ],
  644.             "context": {
  645.               "cartId": "74149122",
  646.               "parentOrderId": "",
  647.               "childOrderId": ""
  648.             },
  649.             "attributes": {
  650.               "hasUploadedFiles": false,
  651.               "hasOrderNotes": false,
  652.               "isSubstitutionPitched": false,
  653.               "isSoftRoutingCompleted": false,
  654.               "isAwaitingPrescriptionUpload": false,
  655.               "needApprovalForSubstitution": false,
  656.               "hasAttachedPreviousPrescription": false
  657.             },
  658.             "origin": {
  659.               "source": "CONSUMER",
  660.               "platform": "ANDROID"
  661.             },
  662.             "commitments": {
  663.               "optionId": "6fba071e-607c-40ff-93d8-99dedb7cac45",
  664.               "estimatedContactTime": 1666153860278,
  665.               "retailerGstStateCode": "19",
  666.               "retailerId": "13535",
  667.               "retailerType": "alpha_mp_seller",
  668.               "deliveryMode": "NON_COURIER",
  669.               "deliverySpeed": "STANDARD",
  670.               "charges": [],
  671.               "estimatedDeliveryDate": {
  672.                 "minTime": 1666204200000,
  673.                 "maxTime": 1666456200000
  674.               },
  675.               "fulfilabilityTier": null
  676.             }
  677.           }
  678.         ]
  679.       },
  680.       "analyticsBoxRequest": {
  681.         "dd7a2402-34cc-4cc4-9808-2e0db9d93a9f": {
  682.           "parent_order_id": "",
  683.           "cart_id": "74149122",
  684.           "customer_id": "4476814",
  685.           "zone_id": 842001,
  686.           "zone_type": "pincode",
  687.           "browsing_channel": "ANDROID",
  688.           "platform": "consumer",
  689.           "ab_variant": "B",
  690.           "data": [
  691.             {
  692.               "ucode": "I01179",
  693.               "qty": 2,
  694.               "availability": "IN_STOCK"
  695.             },
  696.             {
  697.               "ucode": "242540",
  698.               "qty": 2,
  699.               "availability": "IN_STOCK"
  700.             },
  701.             {
  702.               "ucode": "W24350",
  703.               "qty": 2,
  704.               "availability": "SHORT_SUPPLY"
  705.             }
  706.           ]
  707.         }
  708.       },
  709.       "analyticsBoxResponse": {
  710.         "dd7a2402-34cc-4cc4-9808-2e0db9d93a9f": {
  711.           "flip_decision": false,
  712.           "item_scores": [
  713.             {
  714.               "ucode": "I01179",
  715.               "confidence": "0.0034"
  716.             },
  717.             {
  718.               "ucode": "242540",
  719.               "confidence": "0.0034"
  720.             },
  721.             {
  722.               "ucode": "W24350",
  723.               "confidence": "0.0032"
  724.             }
  725.           ],
  726.           "error": null
  727.         }
  728.       },
  729.       "abExperiment": {
  730.         "variant": "B",
  731.         "experimentName": "flip-ds-experiment-1"
  732.       },
  733.       "splits": [
  734.         {
  735.           "splitId": "dd7a2402-34cc-4cc4-9808-2e0db9d93a9f",
  736.           "vertical": "PRODUCT",
  737.           "splitReasons": [
  738.             "FULFILLABLE"
  739.           ],
  740.           "items": [
  741.             {
  742.               "itemIdentifier": "ef18da33-96bc-4205-9e8f-cd54e28367bc|I01179|PRODUCT",
  743.               "itemType": "PRODUCT",
  744.               "itemId": "I01179",
  745.               "name": "DEPLATT 75MG STRIP OF 15 TABLETS",
  746.               "quantity": 2,
  747.               "rxDetail": {
  748.                 "mappingType": "DIRECT",
  749.                 "version": 1,
  750.                 "rxId": "62612dabca788c37d97e00a8",
  751.                 "itemId": "I01179",
  752.                 "itemType": "PRODUCT",
  753.                 "isSubstitutionAllowed": true
  754.               },
  755.               "discountedUnitMrp": "81.86"
  756.             },
  757.             {
  758.               "itemIdentifier": "ef18da33-96bc-4205-9e8f-cd54e28367bc|242540|PRODUCT",
  759.               "itemType": "PRODUCT",
  760.               "itemId": "242540",
  761.               "name": "MINIPRESS XL 5MG STRIP OF 30 TABLETS",
  762.               "quantity": 2,
  763.               "rxDetail": {
  764.                 "mappingType": "DIRECT",
  765.                 "version": 2,
  766.                 "rxId": "62612dab8a9f897a8f1d0bda",
  767.                 "itemId": "242540",
  768.                 "itemType": "PRODUCT",
  769.                 "isSubstitutionAllowed": true
  770.               },
  771.               "discountedUnitMrp": "483.9"
  772.             },
  773.             {
  774.               "itemIdentifier": "ef18da33-96bc-4205-9e8f-cd54e28367bc|W24350|PRODUCT",
  775.               "itemType": "PRODUCT",
  776.               "itemId": "W24350",
  777.               "name": "EUREPA 2MG TABLET 15'S",
  778.               "quantity": 2,
  779.               "rxDetail": {
  780.                 "mappingType": "DIRECT",
  781.                 "version": 2,
  782.                 "rxId": "62612dab8a9f897a8f1d0bda",
  783.                 "itemId": "W24350",
  784.                 "itemType": "PRODUCT",
  785.                 "isSubstitutionAllowed": true
  786.               },
  787.               "discountedUnitMrp": "334.43"
  788.             }
  789.           ],
  790.           "context": {
  791.             "cartId": "74149122",
  792.             "parentOrderId": "",
  793.             "childOrderId": ""
  794.           },
  795.           "attributes": {},
  796.           "origin": null,
  797.           "commitments": {
  798.             "optionId": "6fba071e-607c-40ff-93d8-99dedb7cac45",
  799.             "estimatedContactTime": 1666153860278,
  800.             "retailerGstStateCode": "19",
  801.             "retailerId": "13535",
  802.             "retailerType": "alpha_mp_seller",
  803.             "deliveryMode": "NON_COURIER",
  804.             "deliverySpeed": "STANDARD",
  805.             "charges": [],
  806.             "estimatedDeliveryDate": {
  807.               "minTime": 1666204200000,
  808.               "maxTime": 1666456200000
  809.             },
  810.             "fulfilabilityTier": null
  811.           }
  812.         }
  813.       ]
  814.     },
  815.     "Error": null
  816.   },
  817.   {
  818.     "Timestamp": "2022-10-19T03:31:01.125+00:00",
  819.     "Topic": "oms.pe.split-service.events",
  820.     "Partition": 1,
  821.     "Offset": 8896059,
  822.     "SchemaId": null,
  823.     "SchemaType": null,
  824.     "Key": [
  825.       87,
  826.       101,
  827.       100,
  828.       32,
  829.       79,
  830.       99,
  831.       116,
  832.       32,
  833.       49,
  834.       57,
  835.       32,
  836.       48,
  837.       57,
  838.       58,
  839.       48,
  840.       49,
  841.       58,
  842.       48,
  843.       49,
  844.       32,
  845.       73,
  846.       83,
  847.       84,
  848.       32,
  849.       50,
  850.       48,
  851.       50,
  852.       50
  853.     ],
  854.     "Headers": {
  855.       "singularityheader": "appId=415*ctrlguid=1664570591*acctguid=87d0c50e-a3d3-467c-b6b0-88bd10008827*ts=1666150261092*btid=58201*guid=442c1058-d9ee-481d-920c-8dbd3e4b6eb3*exitguid=65|5|50|49|1|50|1|2|12|4|127|1|2|15|2|113|1*donotresolve=true*unresolvedexitid=33348*tcop=1:494021*cidfrom=2300*etypeorder=CUSTOM*esubtype=Kafka*cidto={[UNRESOLVED][33348]}*tcop=1:494021",
  856.       "__TypeId__": "com.pharmeasy.splitservice.event.FinalSplitsEvaluationEvent"
  857.     },
  858.     "Message": {
  859.       "eventDetail": {
  860.         "id": "a0e6720e-af99-4791-839f-1c9ae66d8b20",
  861.         "timestamp": 1666150261124,
  862.         "eventType": "FINAL_SPLITS_EVALUATION",
  863.         "version": 1
  864.       },
  865.       "locationFacts": {
  866.         "cityId": 927,
  867.         "stateId": 14,
  868.         "supplyCityId": 2933
  869.       },
  870.       "retailerAssignmentRequest": null,
  871.       "retailerAssignmentResponse": null,
  872.       "context": {
  873.         "identifier": "74149122|NA|NA",
  874.         "parentOrderId": "NA",
  875.         "cartId": "74149122",
  876.         "childOrderId": "NA"
  877.       },
  878.       "productAttributesMap": {
  879.         "242540": {
  880.           "ucode": "242540",
  881.           "vertical": "MEDICINE",
  882.           "medicineCategory": "CHRONIC",
  883.           "medicineType": "RX",
  884.           "fulfilability": "IN_STOCK",
  885.           "highMarginSubstituteAvailable": false,
  886.           "hasAvailableSubstitute": true,
  887.           "hasAvailableVariant": false,
  888.           "flipForGreen": false,
  889.           "discountedMrp": 483.9,
  890.           "volume": 54.23,
  891.           "privateLabelProduct": false,
  892.           "slowSellingMedicine": false,
  893.           "refrigerated": false
  894.         },
  895.         "I01179": {
  896.           "ucode": "I01179",
  897.           "vertical": "MEDICINE",
  898.           "medicineCategory": "CHRONIC",
  899.           "medicineType": "RX",
  900.           "fulfilability": "IN_STOCK",
  901.           "highMarginSubstituteAvailable": true,
  902.           "hasAvailableSubstitute": true,
  903.           "hasAvailableVariant": false,
  904.           "flipForGreen": false,
  905.           "discountedMrp": 81.86,
  906.           "volume": 30.65,
  907.           "privateLabelProduct": false,
  908.           "slowSellingMedicine": false,
  909.           "refrigerated": false
  910.         },
  911.         "W24350": {
  912.           "ucode": "W24350",
  913.           "vertical": "MEDICINE",
  914.           "medicineCategory": "CHRONIC",
  915.           "medicineType": "RX",
  916.           "fulfilability": "SHORT_SUPPLY",
  917.           "highMarginSubstituteAvailable": false,
  918.           "hasAvailableSubstitute": true,
  919.           "hasAvailableVariant": false,
  920.           "flipForGreen": false,
  921.           "discountedMrp": 334.43,
  922.           "volume": 22.14,
  923.           "privateLabelProduct": false,
  924.           "slowSellingMedicine": false,
  925.           "refrigerated": false
  926.         }
  927.       },
  928.       "softRoutingFacts": {
  929.         "5159783c-7ff8-4504-8a99-30d0948ccbf6": {
  930.           "medicine_types": "RX",
  931.           "medicine_categories": "CHRONIC",
  932.           "source": "NEW_OMS",
  933.           "has_substitutable_yellow_medicines": true,
  934.           "has_higher_margin_substitutes": false,
  935.           "cart_value": 1800.38,
  936.           "supply_city_name": 2933,
  937.           "demand_city_name": 927,
  938.           "order_placed_hour": 9,
  939.           "platform_type": "ANDROID",
  940.           "retailer_type": "alpha_mp_seller",
  941.           "delivery_types": "NON_COURIER",
  942.           "is_substitution_pitched": false
  943.         }
  944.       },
  945.       "softRoutingResponse": {
  946.         "5159783c-7ff8-4504-8a99-30d0948ccbf6": {
  947.           "result": {
  948.             "can_be_performed_by_doctor": true,
  949.             "reason_keys": "PITCH_AVAILABLE_SUBSTITUTE"
  950.           },
  951.           "ruleSetVersionId": "4881"
  952.         }
  953.       },
  954.       "softRoutingCustomerSegmentFacts": null,
  955.       "softRoutingCustomerSegmentResponse": null,
  956.       "request": {
  957.         "placedAt": 1666150261090,
  958.         "customer": {
  959.           "customerId": "4476814",
  960.           "score": {
  961.             "value": "10.00",
  962.             "confidence": "1",
  963.             "label": "GREEN"
  964.           },
  965.           "segmentIds": [
  966.             43,
  967.             47,
  968.             42,
  969.             46,
  970.             70,
  971.             41,
  972.             71,
  973.             44,
  974.             96,
  975.             124,
  976.             703,
  977.             170,
  978.             500,
  979.             162,
  980.             706,
  981.             803,
  982.             365,
  983.             360,
  984.             562,
  985.             374,
  986.             168,
  987.             137,
  988.             530,
  989.             287,
  990.             651,
  991.             195,
  992.             258,
  993.             260,
  994.             305,
  995.             781,
  996.             581,
  997.             603,
  998.             481,
  999.             788,
  1000.             422,
  1001.             144,
  1002.             249,
  1003.             586,
  1004.             358,
  1005.             608,
  1006.             229,
  1007.             139,
  1008.             471,
  1009.             210,
  1010.             193,
  1011.             776,
  1012.             192,
  1013.             393,
  1014.             411,
  1015.             252,
  1016.             823,
  1017.             189,
  1018.             779,
  1019.             300,
  1020.             657,
  1021.             247,
  1022.             37,
  1023.             821,
  1024.             588,
  1025.             666,
  1026.             755,
  1027.             363,
  1028.             294,
  1029.             359,
  1030.             403,
  1031.             240,
  1032.             572,
  1033.             699,
  1034.             382,
  1035.             544,
  1036.             216,
  1037.             262
  1038.           ],
  1039.           "membershipDetail": null
  1040.         },
  1041.         "locationAttributes": {
  1042.           "zoneId": "842001",
  1043.           "zoneType": "PINCODE"
  1044.         },
  1045.         "splits": [
  1046.           {
  1047.             "splitId": "5159783c-7ff8-4504-8a99-30d0948ccbf6",
  1048.             "vertical": "DRAFT",
  1049.             "splitReasons": null,
  1050.             "items": [
  1051.               {
  1052.                 "itemIdentifier": "a0e6720e-af99-4791-839f-1c9ae66d8b20|I01179|PRODUCT",
  1053.                 "itemType": "PRODUCT",
  1054.                 "itemId": "I01179",
  1055.                 "name": "DEPLATT 75MG STRIP OF 15 TABLETS",
  1056.                 "quantity": 2,
  1057.                 "rxDetail": {
  1058.                   "mappingType": "DIRECT",
  1059.                   "version": 1,
  1060.                   "rxId": "62612dabca788c37d97e00a8",
  1061.                   "itemId": "I01179",
  1062.                   "itemType": "PRODUCT",
  1063.                   "isSubstitutionAllowed": true
  1064.                 },
  1065.                 "discountedUnitMrp": "81.86"
  1066.               },
  1067.               {
  1068.                 "itemIdentifier": "a0e6720e-af99-4791-839f-1c9ae66d8b20|242540|PRODUCT",
  1069.                 "itemType": "PRODUCT",
  1070.                 "itemId": "242540",
  1071.                 "name": "MINIPRESS XL 5MG STRIP OF 30 TABLETS",
  1072.                 "quantity": 2,
  1073.                 "rxDetail": {
  1074.                   "mappingType": "DIRECT",
  1075.                   "version": 2,
  1076.                   "rxId": "62612dab8a9f897a8f1d0bda",
  1077.                   "itemId": "242540",
  1078.                   "itemType": "PRODUCT",
  1079.                   "isSubstitutionAllowed": true
  1080.                 },
  1081.                 "discountedUnitMrp": "483.9"
  1082.               },
  1083.               {
  1084.                 "itemIdentifier": "a0e6720e-af99-4791-839f-1c9ae66d8b20|W24350|PRODUCT",
  1085.                 "itemType": "PRODUCT",
  1086.                 "itemId": "W24350",
  1087.                 "name": "EUREPA 2MG TABLET 15'S",
  1088.                 "quantity": 2,
  1089.                 "rxDetail": {
  1090.                   "mappingType": "DIRECT",
  1091.                   "version": 2,
  1092.                   "rxId": "62612dab8a9f897a8f1d0bda",
  1093.                   "itemId": "W24350",
  1094.                   "itemType": "PRODUCT",
  1095.                   "isSubstitutionAllowed": true
  1096.                 },
  1097.                 "discountedUnitMrp": "334.43"
  1098.               }
  1099.             ],
  1100.             "context": {
  1101.               "cartId": "74149122",
  1102.               "parentOrderId": "",
  1103.               "childOrderId": ""
  1104.             },
  1105.             "attributes": {
  1106.               "hasUploadedFiles": false,
  1107.               "hasOrderNotes": false,
  1108.               "isSubstitutionPitched": false,
  1109.               "isSoftRoutingCompleted": false,
  1110.               "isAwaitingPrescriptionUpload": false,
  1111.               "needApprovalForSubstitution": false,
  1112.               "hasAttachedPreviousPrescription": false
  1113.             },
  1114.             "origin": {
  1115.               "source": "CONSUMER",
  1116.               "platform": "ANDROID"
  1117.             },
  1118.             "commitments": {
  1119.               "optionId": "e3deb59a-05e0-495b-b8ff-36b195b68fe1",
  1120.               "estimatedContactTime": 1666153860951,
  1121.               "retailerGstStateCode": "19",
  1122.               "retailerId": "13535",
  1123.               "retailerType": "alpha_mp_seller",
  1124.               "deliveryMode": "NON_COURIER",
  1125.               "deliverySpeed": "STANDARD",
  1126.               "charges": [],
  1127.               "estimatedDeliveryDate": {
  1128.                 "minTime": 1666204200000,
  1129.                 "maxTime": 1666456200000
  1130.               },
  1131.               "fulfilabilityTier": null
  1132.             }
  1133.           }
  1134.         ]
  1135.       },
  1136.       "analyticsBoxRequest": {
  1137.         "5159783c-7ff8-4504-8a99-30d0948ccbf6": {
  1138.           "parent_order_id": "",
  1139.           "cart_id": "74149122",
  1140.           "customer_id": "4476814",
  1141.           "zone_id": 842001,
  1142.           "zone_type": "pincode",
  1143.           "browsing_channel": "ANDROID",
  1144.           "platform": "consumer",
  1145.           "ab_variant": "B",
  1146.           "data": [
  1147.             {
  1148.               "ucode": "I01179",
  1149.               "qty": 2,
  1150.               "availability": "IN_STOCK"
  1151.             },
  1152.             {
  1153.               "ucode": "242540",
  1154.               "qty": 2,
  1155.               "availability": "IN_STOCK"
  1156.             },
  1157.             {
  1158.               "ucode": "W24350",
  1159.               "qty": 2,
  1160.               "availability": "SHORT_SUPPLY"
  1161.             }
  1162.           ]
  1163.         }
  1164.       },
  1165.       "analyticsBoxResponse": {
  1166.         "5159783c-7ff8-4504-8a99-30d0948ccbf6": {
  1167.           "flip_decision": false,
  1168.           "item_scores": [
  1169.             {
  1170.               "ucode": "I01179",
  1171.               "confidence": "0.0034"
  1172.             },
  1173.             {
  1174.               "ucode": "242540",
  1175.               "confidence": "0.0034"
  1176.             },
  1177.             {
  1178.               "ucode": "W24350",
  1179.               "confidence": "0.0032"
  1180.             }
  1181.           ],
  1182.           "error": null
  1183.         }
  1184.       },
  1185.       "abExperiment": {
  1186.         "variant": "B",
  1187.         "experimentName": "flip-ds-experiment-1"
  1188.       },
  1189.       "splits": [
  1190.         {
  1191.           "splitId": "5159783c-7ff8-4504-8a99-30d0948ccbf6",
  1192.           "vertical": "PRODUCT",
  1193.           "splitReasons": [
  1194.             "FULFILLABLE"
  1195.           ],
  1196.           "items": [
  1197.             {
  1198.               "itemIdentifier": "a0e6720e-af99-4791-839f-1c9ae66d8b20|I01179|PRODUCT",
  1199.               "itemType": "PRODUCT",
  1200.               "itemId": "I01179",
  1201.               "name": "DEPLATT 75MG STRIP OF 15 TABLETS",
  1202.               "quantity": 2,
  1203.               "rxDetail": {
  1204.                 "mappingType": "DIRECT",
  1205.                 "version": 1,
  1206.                 "rxId": "62612dabca788c37d97e00a8",
  1207.                 "itemId": "I01179",
  1208.                 "itemType": "PRODUCT",
  1209.                 "isSubstitutionAllowed": true
  1210.               },
  1211.               "discountedUnitMrp": "81.86"
  1212.             },
  1213.             {
  1214.               "itemIdentifier": "a0e6720e-af99-4791-839f-1c9ae66d8b20|242540|PRODUCT",
  1215.               "itemType": "PRODUCT",
  1216.               "itemId": "242540",
  1217.               "name": "MINIPRESS XL 5MG STRIP OF 30 TABLETS",
  1218.               "quantity": 2,
  1219.               "rxDetail": {
  1220.                 "mappingType": "DIRECT",
  1221.                 "version": 2,
  1222.                 "rxId": "62612dab8a9f897a8f1d0bda",
  1223.                 "itemId": "242540",
  1224.                 "itemType": "PRODUCT",
  1225.                 "isSubstitutionAllowed": true
  1226.               },
  1227.               "discountedUnitMrp": "483.9"
  1228.             },
  1229.             {
  1230.               "itemIdentifier": "a0e6720e-af99-4791-839f-1c9ae66d8b20|W24350|PRODUCT",
  1231.               "itemType": "PRODUCT",
  1232.               "itemId": "W24350",
  1233.               "name": "EUREPA 2MG TABLET 15'S",
  1234.               "quantity": 2,
  1235.               "rxDetail": {
  1236.                 "mappingType": "DIRECT",
  1237.                 "version": 2,
  1238.                 "rxId": "62612dab8a9f897a8f1d0bda",
  1239.                 "itemId": "W24350",
  1240.                 "itemType": "PRODUCT",
  1241.                 "isSubstitutionAllowed": true
  1242.               },
  1243.               "discountedUnitMrp": "334.43"
  1244.             }
  1245.           ],
  1246.           "context": {
  1247.             "cartId": "74149122",
  1248.             "parentOrderId": "",
  1249.             "childOrderId": ""
  1250.           },
  1251.           "attributes": {},
  1252.           "origin": null,
  1253.           "commitments": {
  1254.             "optionId": "e3deb59a-05e0-495b-b8ff-36b195b68fe1",
  1255.             "estimatedContactTime": 1666153860951,
  1256.             "retailerGstStateCode": "19",
  1257.             "retailerId": "13535",
  1258.             "retailerType": "alpha_mp_seller",
  1259.             "deliveryMode": "NON_COURIER",
  1260.             "deliverySpeed": "STANDARD",
  1261.             "charges": [],
  1262.             "estimatedDeliveryDate": {
  1263.               "minTime": 1666204200000,
  1264.               "maxTime": 1666456200000
  1265.             },
  1266.             "fulfilabilityTier": null
  1267.           }
  1268.         }
  1269.       ]
  1270.     },
  1271.     "Error": null
  1272.   },
  1273.   {
  1274.     "Timestamp": "2022-10-19T03:31:06.155+00:00",
  1275.     "Topic": "oms.pe.split-service.events",
  1276.     "Partition": 0,
  1277.     "Offset": 8917807,
  1278.     "SchemaId": null,
  1279.     "SchemaType": null,
  1280.     "Key": [
  1281.       87,
  1282.       101,
  1283.       100,
  1284.       32,
  1285.       79,
  1286.       99,
  1287.       116,
  1288.       32,
  1289.       49,
  1290.       57,
  1291.       32,
  1292.       48,
  1293.       57,
  1294.       58,
  1295.       48,
  1296.       49,
  1297.       58,
  1298.       48,
  1299.       54,
  1300.       32,
  1301.       73,
  1302.       83,
  1303.       84,
  1304.       32,
  1305.       50,
  1306.       48,
  1307.       50,
  1308.       50
  1309.     ],
  1310.     "Headers": {
  1311.       "singularityheader": "appId=415*ctrlguid=1664570591*acctguid=87d0c50e-a3d3-467c-b6b0-88bd10008827*ts=1666150266120*btid=58201*guid=af0d3e5f-4f43-4c4c-a2ef-feb70ed3430e*exitguid=65|3|50|51|1|50|1|2|10|4|127|1|2|13|2|113|1*donotresolve=true*unresolvedexitid=33348*tcop=1:494021*cidfrom=2300*etypeorder=CUSTOM*esubtype=Kafka*cidto={[UNRESOLVED][33348]}*tcop=1:494021",
  1312.       "__TypeId__": "com.pharmeasy.splitservice.event.FinalSplitsEvaluationEvent"
  1313.     },
  1314.     "Message": {
  1315.       "eventDetail": {
  1316.         "id": "14b6bf71-bc23-4186-9022-16abf39934bc",
  1317.         "timestamp": 1666150266154,
  1318.         "eventType": "FINAL_SPLITS_EVALUATION",
  1319.         "version": 1
  1320.       },
  1321.       "locationFacts": {
  1322.         "cityId": 927,
  1323.         "stateId": 14,
  1324.         "supplyCityId": 2933
  1325.       },
  1326.       "retailerAssignmentRequest": null,
  1327.       "retailerAssignmentResponse": null,
  1328.       "context": {
  1329.         "identifier": "74149122|NA|NA",
  1330.         "parentOrderId": "NA",
  1331.         "cartId": "74149122",
  1332.         "childOrderId": "NA"
  1333.       },
  1334.       "productAttributesMap": {
  1335.         "242540": {
  1336.           "ucode": "242540",
  1337.           "vertical": "MEDICINE",
  1338.           "medicineCategory": "CHRONIC",
  1339.           "medicineType": "RX",
  1340.           "fulfilability": "IN_STOCK",
  1341.           "highMarginSubstituteAvailable": false,
  1342.           "hasAvailableSubstitute": true,
  1343.           "hasAvailableVariant": false,
  1344.           "flipForGreen": false,
  1345.           "discountedMrp": 483.9,
  1346.           "volume": 54.23,
  1347.           "refrigerated": false,
  1348.           "privateLabelProduct": false,
  1349.           "slowSellingMedicine": false
  1350.         },
  1351.         "I01179": {
  1352.           "ucode": "I01179",
  1353.           "vertical": "MEDICINE",
  1354.           "medicineCategory": "CHRONIC",
  1355.           "medicineType": "RX",
  1356.           "fulfilability": "IN_STOCK",
  1357.           "highMarginSubstituteAvailable": true,
  1358.           "hasAvailableSubstitute": true,
  1359.           "hasAvailableVariant": false,
  1360.           "flipForGreen": false,
  1361.           "discountedMrp": 81.86,
  1362.           "volume": 30.65,
  1363.           "refrigerated": false,
  1364.           "privateLabelProduct": false,
  1365.           "slowSellingMedicine": false
  1366.         },
  1367.         "W24350": {
  1368.           "ucode": "W24350",
  1369.           "vertical": "MEDICINE",
  1370.           "medicineCategory": "CHRONIC",
  1371.           "medicineType": "RX",
  1372.           "fulfilability": "SHORT_SUPPLY",
  1373.           "highMarginSubstituteAvailable": false,
  1374.           "hasAvailableSubstitute": true,
  1375.           "hasAvailableVariant": false,
  1376.           "flipForGreen": false,
  1377.           "discountedMrp": 334.43,
  1378.           "volume": 22.14,
  1379.           "refrigerated": false,
  1380.           "privateLabelProduct": false,
  1381.           "slowSellingMedicine": false
  1382.         }
  1383.       },
  1384.       "softRoutingFacts": {
  1385.         "515cdd14-aa7e-41a4-8287-c928c6b0d11e": {
  1386.           "medicine_types": "RX",
  1387.           "medicine_categories": "CHRONIC",
  1388.           "source": "NEW_OMS",
  1389.           "has_substitutable_yellow_medicines": true,
  1390.           "has_higher_margin_substitutes": false,
  1391.           "cart_value": 1800.38,
  1392.           "supply_city_name": 2933,
  1393.           "demand_city_name": 927,
  1394.           "order_placed_hour": 9,
  1395.           "platform_type": "ANDROID",
  1396.           "retailer_type": "alpha_mp_seller",
  1397.           "delivery_types": "NON_COURIER",
  1398.           "is_substitution_pitched": false
  1399.         }
  1400.       },
  1401.       "softRoutingResponse": {
  1402.         "515cdd14-aa7e-41a4-8287-c928c6b0d11e": {
  1403.           "result": {
  1404.             "can_be_performed_by_doctor": true,
  1405.             "reason_keys": "PITCH_AVAILABLE_SUBSTITUTE"
  1406.           },
  1407.           "ruleSetVersionId": "4881"
  1408.         }
  1409.       },
  1410.       "softRoutingCustomerSegmentFacts": null,
  1411.       "softRoutingCustomerSegmentResponse": null,
  1412.       "request": {
  1413.         "placedAt": 1666150266118,
  1414.         "customer": {
  1415.           "customerId": "4476814",
  1416.           "score": {
  1417.             "value": "10.00",
  1418.             "confidence": "1",
  1419.             "label": "GREEN"
  1420.           },
  1421.           "segmentIds": [
  1422.             43,
  1423.             47,
  1424.             42,
  1425.             46,
  1426.             70,
  1427.             41,
  1428.             71,
  1429.             44,
  1430.             96,
  1431.             124,
  1432.             703,
  1433.             170,
  1434.             500,
  1435.             162,
  1436.             706,
  1437.             803,
  1438.             365,
  1439.             360,
  1440.             562,
  1441.             374,
  1442.             168,
  1443.             137,
  1444.             530,
  1445.             287,
  1446.             651,
  1447.             195,
  1448.             258,
  1449.             260,
  1450.             305,
  1451.             781,
  1452.             581,
  1453.             603,
  1454.             481,
  1455.             788,
  1456.             422,
  1457.             144,
  1458.             249,
  1459.             586,
  1460.             358,
  1461.             608,
  1462.             229,
  1463.             139,
  1464.             471,
  1465.             210,
  1466.             193,
  1467.             776,
  1468.             192,
  1469.             393,
  1470.             411,
  1471.             252,
  1472.             823,
  1473.             189,
  1474.             779,
  1475.             300,
  1476.             657,
  1477.             247,
  1478.             37,
  1479.             821,
  1480.             588,
  1481.             666,
  1482.             755,
  1483.             363,
  1484.             294,
  1485.             359,
  1486.             403,
  1487.             240,
  1488.             572,
  1489.             699,
  1490.             382,
  1491.             544,
  1492.             216,
  1493.             262
  1494.           ],
  1495.           "membershipDetail": null
  1496.         },
  1497.         "locationAttributes": {
  1498.           "zoneId": "842001",
  1499.           "zoneType": "PINCODE"
  1500.         },
  1501.         "splits": [
  1502.           {
  1503.             "splitId": "515cdd14-aa7e-41a4-8287-c928c6b0d11e",
  1504.             "vertical": "DRAFT",
  1505.             "splitReasons": null,
  1506.             "items": [
  1507.               {
  1508.                 "itemIdentifier": "14b6bf71-bc23-4186-9022-16abf39934bc|242540|PRODUCT",
  1509.                 "itemType": "PRODUCT",
  1510.                 "itemId": "242540",
  1511.                 "name": "MINIPRESS XL 5MG STRIP OF 30 TABLETS",
  1512.                 "quantity": 2,
  1513.                 "rxDetail": {
  1514.                   "mappingType": "DIRECT",
  1515.                   "version": 2,
  1516.                   "rxId": "62612dab8a9f897a8f1d0bda",
  1517.                   "itemId": "242540",
  1518.                   "itemType": "PRODUCT",
  1519.                   "isSubstitutionAllowed": true
  1520.                 },
  1521.                 "discountedUnitMrp": "483.9"
  1522.               },
  1523.               {
  1524.                 "itemIdentifier": "14b6bf71-bc23-4186-9022-16abf39934bc|I01179|PRODUCT",
  1525.                 "itemType": "PRODUCT",
  1526.                 "itemId": "I01179",
  1527.                 "name": "DEPLATT 75MG STRIP OF 15 TABLETS",
  1528.                 "quantity": 2,
  1529.                 "rxDetail": {
  1530.                   "mappingType": "DIRECT",
  1531.                   "version": 1,
  1532.                   "rxId": "62612dabca788c37d97e00a8",
  1533.                   "itemId": "I01179",
  1534.                   "itemType": "PRODUCT",
  1535.                   "isSubstitutionAllowed": true
  1536.                 },
  1537.                 "discountedUnitMrp": "81.86"
  1538.               },
  1539.               {
  1540.                 "itemIdentifier": "14b6bf71-bc23-4186-9022-16abf39934bc|W24350|PRODUCT",
  1541.                 "itemType": "PRODUCT",
  1542.                 "itemId": "W24350",
  1543.                 "name": "EUREPA 2MG TABLET 15'S",
  1544.                 "quantity": 2,
  1545.                 "rxDetail": {
  1546.                   "mappingType": "DIRECT",
  1547.                   "version": 2,
  1548.                   "rxId": "62612dab8a9f897a8f1d0bda",
  1549.                   "itemId": "W24350",
  1550.                   "itemType": "PRODUCT",
  1551.                   "isSubstitutionAllowed": true
  1552.                 },
  1553.                 "discountedUnitMrp": "334.43"
  1554.               }
  1555.             ],
  1556.             "context": {
  1557.               "cartId": "74149122",
  1558.               "parentOrderId": "",
  1559.               "childOrderId": ""
  1560.             },
  1561.             "attributes": {
  1562.               "hasUploadedFiles": false,
  1563.               "hasOrderNotes": false,
  1564.               "isSubstitutionPitched": false,
  1565.               "isSoftRoutingCompleted": false,
  1566.               "isAwaitingPrescriptionUpload": false,
  1567.               "needApprovalForSubstitution": false,
  1568.               "hasAttachedPreviousPrescription": false
  1569.             },
  1570.             "origin": {
  1571.               "source": "CONSUMER",
  1572.               "platform": "ANDROID"
  1573.             },
  1574.             "commitments": {
  1575.               "optionId": "17fb24a0-fead-486c-bdc5-7d17bb67a220",
  1576.               "estimatedContactTime": 1666153865967,
  1577.               "retailerGstStateCode": "19",
  1578.               "retailerId": "13535",
  1579.               "retailerType": "alpha_mp_seller",
  1580.               "deliveryMode": "NON_COURIER",
  1581.               "deliverySpeed": "STANDARD",
  1582.               "charges": [],
  1583.               "estimatedDeliveryDate": {
  1584.                 "minTime": 1666204200000,
  1585.                 "maxTime": 1666456200000
  1586.               },
  1587.               "fulfilabilityTier": null
  1588.             }
  1589.           }
  1590.         ]
  1591.       },
  1592.       "analyticsBoxRequest": {
  1593.         "515cdd14-aa7e-41a4-8287-c928c6b0d11e": {
  1594.           "parent_order_id": "",
  1595.           "cart_id": "74149122",
  1596.           "customer_id": "4476814",
  1597.           "zone_id": 842001,
  1598.           "zone_type": "pincode",
  1599.           "browsing_channel": "ANDROID",
  1600.           "platform": "consumer",
  1601.           "ab_variant": "B",
  1602.           "data": [
  1603.             {
  1604.               "ucode": "242540",
  1605.               "qty": 2,
  1606.               "availability": "IN_STOCK"
  1607.             },
  1608.             {
  1609.               "ucode": "I01179",
  1610.               "qty": 2,
  1611.               "availability": "IN_STOCK"
  1612.             },
  1613.             {
  1614.               "ucode": "W24350",
  1615.               "qty": 2,
  1616.               "availability": "SHORT_SUPPLY"
  1617.             }
  1618.           ]
  1619.         }
  1620.       },
  1621.       "analyticsBoxResponse": {
  1622.         "515cdd14-aa7e-41a4-8287-c928c6b0d11e": {
  1623.           "flip_decision": false,
  1624.           "item_scores": [
  1625.             {
  1626.               "ucode": "242540",
  1627.               "confidence": "0.0034"
  1628.             },
  1629.             {
  1630.               "ucode": "I01179",
  1631.               "confidence": "0.0034"
  1632.             },
  1633.             {
  1634.               "ucode": "W24350",
  1635.               "confidence": "0.0032"
  1636.             }
  1637.           ],
  1638.           "error": null
  1639.         }
  1640.       },
  1641.       "abExperiment": {
  1642.         "variant": "B",
  1643.         "experimentName": "flip-ds-experiment-1"
  1644.       },
  1645.       "splits": [
  1646.         {
  1647.           "splitId": "515cdd14-aa7e-41a4-8287-c928c6b0d11e",
  1648.           "vertical": "PRODUCT",
  1649.           "splitReasons": [
  1650.             "FULFILLABLE"
  1651.           ],
  1652.           "items": [
  1653.             {
  1654.               "itemIdentifier": "14b6bf71-bc23-4186-9022-16abf39934bc|242540|PRODUCT",
  1655.               "itemType": "PRODUCT",
  1656.               "itemId": "242540",
  1657.               "name": "MINIPRESS XL 5MG STRIP OF 30 TABLETS",
  1658.               "quantity": 2,
  1659.               "rxDetail": {
  1660.                 "mappingType": "DIRECT",
  1661.                 "version": 2,
  1662.                 "rxId": "62612dab8a9f897a8f1d0bda",
  1663.                 "itemId": "242540",
  1664.                 "itemType": "PRODUCT",
  1665.                 "isSubstitutionAllowed": true
  1666.               },
  1667.               "discountedUnitMrp": "483.9"
  1668.             },
  1669.             {
  1670.               "itemIdentifier": "14b6bf71-bc23-4186-9022-16abf39934bc|I01179|PRODUCT",
  1671.               "itemType": "PRODUCT",
  1672.               "itemId": "I01179",
  1673.               "name": "DEPLATT 75MG STRIP OF 15 TABLETS",
  1674.               "quantity": 2,
  1675.               "rxDetail": {
  1676.                 "mappingType": "DIRECT",
  1677.                 "version": 1,
  1678.                 "rxId": "62612dabca788c37d97e00a8",
  1679.                 "itemId": "I01179",
  1680.                 "itemType": "PRODUCT",
  1681.                 "isSubstitutionAllowed": true
  1682.               },
  1683.               "discountedUnitMrp": "81.86"
  1684.             },
  1685.             {
  1686.               "itemIdentifier": "14b6bf71-bc23-4186-9022-16abf39934bc|W24350|PRODUCT",
  1687.               "itemType": "PRODUCT",
  1688.               "itemId": "W24350",
  1689.               "name": "EUREPA 2MG TABLET 15'S",
  1690.               "quantity": 2,
  1691.               "rxDetail": {
  1692.                 "mappingType": "DIRECT",
  1693.                 "version": 2,
  1694.                 "rxId": "62612dab8a9f897a8f1d0bda",
  1695.                 "itemId": "W24350",
  1696.                 "itemType": "PRODUCT",
  1697.                 "isSubstitutionAllowed": true
  1698.               },
  1699.               "discountedUnitMrp": "334.43"
  1700.             }
  1701.           ],
  1702.           "context": {
  1703.             "cartId": "74149122",
  1704.             "parentOrderId": "",
  1705.             "childOrderId": ""
  1706.           },
  1707.           "attributes": {},
  1708.           "origin": null,
  1709.           "commitments": {
  1710.             "optionId": "17fb24a0-fead-486c-bdc5-7d17bb67a220",
  1711.             "estimatedContactTime": 1666153865967,
  1712.             "retailerGstStateCode": "19",
  1713.             "retailerId": "13535",
  1714.             "retailerType": "alpha_mp_seller",
  1715.             "deliveryMode": "NON_COURIER",
  1716.             "deliverySpeed": "STANDARD",
  1717.             "charges": [],
  1718.             "estimatedDeliveryDate": {
  1719.               "minTime": 1666204200000,
  1720.               "maxTime": 1666456200000
  1721.             },
  1722.             "fulfilabilityTier": null
  1723.           }
  1724.         }
  1725.       ]
  1726.     },
  1727.     "Error": null
  1728.   },
  1729.   {
  1730.     "Timestamp": "2022-10-19T03:31:29.951+00:00",
  1731.     "Topic": "oms.pe.split-service.events",
  1732.     "Partition": 0,
  1733.     "Offset": 8917974,
  1734.     "SchemaId": null,
  1735.     "SchemaType": null,
  1736.     "Key": [
  1737.       87,
  1738.       101,
  1739.       100,
  1740.       32,
  1741.       79,
  1742.       99,
  1743.       116,
  1744.       32,
  1745.       49,
  1746.       57,
  1747.       32,
  1748.       48,
  1749.       57,
  1750.       58,
  1751.       48,
  1752.       49,
  1753.       58,
  1754.       50,
  1755.       57,
  1756.       32,
  1757.       73,
  1758.       83,
  1759.       84,
  1760.       32,
  1761.       50,
  1762.       48,
  1763.       50,
  1764.       50
  1765.     ],
  1766.     "Headers": {
  1767.       "singularityheader": "appId=415*ctrlguid=1664570591*acctguid=87d0c50e-a3d3-467c-b6b0-88bd10008827*ts=1666150289927*btid=58201*guid=7a2dd9e7-3e7a-491a-bd4a-bfc52e5b296b*exitguid=65|3|52|49|1|50|1|2|10|4|127|1|2|13|2|113|3*donotresolve=true*unresolvedexitid=33348*tcop=1:494021*cidfrom=2300*etypeorder=CUSTOM*esubtype=Kafka*cidto={[UNRESOLVED][33348]}*tcop=1:494021",
  1768.       "__TypeId__": "com.pharmeasy.splitservice.event.FinalSplitsEvaluationEvent"
  1769.     },
  1770.     "Message": {
  1771.       "eventDetail": {
  1772.         "id": "63c08c97-71b5-42c7-bfb7-bcb083c9a24a",
  1773.         "timestamp": 1666150289950,
  1774.         "eventType": "FINAL_SPLITS_EVALUATION",
  1775.         "version": 1
  1776.       },
  1777.       "locationFacts": {
  1778.         "cityId": 927,
  1779.         "stateId": 14,
  1780.         "supplyCityId": 2933
  1781.       },
  1782.       "retailerAssignmentRequest": null,
  1783.       "retailerAssignmentResponse": null,
  1784.       "context": {
  1785.         "identifier": "74149122|NA|NA",
  1786.         "parentOrderId": "NA",
  1787.         "cartId": "74149122",
  1788.         "childOrderId": "NA"
  1789.       },
  1790.       "productAttributesMap": {
  1791.         "242540": {
  1792.           "ucode": "242540",
  1793.           "vertical": "MEDICINE",
  1794.           "medicineCategory": "CHRONIC",
  1795.           "medicineType": "RX",
  1796.           "fulfilability": "IN_STOCK",
  1797.           "highMarginSubstituteAvailable": false,
  1798.           "hasAvailableSubstitute": true,
  1799.           "hasAvailableVariant": false,
  1800.           "flipForGreen": false,
  1801.           "discountedMrp": 483.9,
  1802.           "volume": 54.23,
  1803.           "privateLabelProduct": false,
  1804.           "slowSellingMedicine": false,
  1805.           "refrigerated": false
  1806.         },
  1807.         "I01179": {
  1808.           "ucode": "I01179",
  1809.           "vertical": "MEDICINE",
  1810.           "medicineCategory": "CHRONIC",
  1811.           "medicineType": "RX",
  1812.           "fulfilability": "IN_STOCK",
  1813.           "highMarginSubstituteAvailable": true,
  1814.           "hasAvailableSubstitute": true,
  1815.           "hasAvailableVariant": false,
  1816.           "flipForGreen": false,
  1817.           "discountedMrp": 81.86,
  1818.           "volume": 30.65,
  1819.           "privateLabelProduct": false,
  1820.           "slowSellingMedicine": false,
  1821.           "refrigerated": false
  1822.         },
  1823.         "W24350": {
  1824.           "ucode": "W24350",
  1825.           "vertical": "MEDICINE",
  1826.           "medicineCategory": "CHRONIC",
  1827.           "medicineType": "RX",
  1828.           "fulfilability": "SHORT_SUPPLY",
  1829.           "highMarginSubstituteAvailable": false,
  1830.           "hasAvailableSubstitute": true,
  1831.           "hasAvailableVariant": false,
  1832.           "flipForGreen": false,
  1833.           "discountedMrp": 334.43,
  1834.           "volume": 22.14,
  1835.           "privateLabelProduct": false,
  1836.           "slowSellingMedicine": false,
  1837.           "refrigerated": false
  1838.         }
  1839.       },
  1840.       "softRoutingFacts": {
  1841.         "7619407b-8589-4438-82c3-25b0da7cb6a9": {
  1842.           "medicine_types": "RX",
  1843.           "medicine_categories": "CHRONIC",
  1844.           "source": "NEW_OMS",
  1845.           "has_substitutable_yellow_medicines": true,
  1846.           "has_higher_margin_substitutes": false,
  1847.           "cart_value": 1800.38,
  1848.           "supply_city_name": 2933,
  1849.           "demand_city_name": 927,
  1850.           "order_placed_hour": 9,
  1851.           "platform_type": "ANDROID",
  1852.           "retailer_type": "alpha_mp_seller",
  1853.           "delivery_types": "NON_COURIER",
  1854.           "is_substitution_pitched": false
  1855.         }
  1856.       },
  1857.       "softRoutingResponse": {
  1858.         "7619407b-8589-4438-82c3-25b0da7cb6a9": {
  1859.           "result": {
  1860.             "can_be_performed_by_doctor": true,
  1861.             "reason_keys": "PITCH_AVAILABLE_SUBSTITUTE"
  1862.           },
  1863.           "ruleSetVersionId": "4881"
  1864.         }
  1865.       },
  1866.       "softRoutingCustomerSegmentFacts": null,
  1867.       "softRoutingCustomerSegmentResponse": null,
  1868.       "request": {
  1869.         "placedAt": 1666150289925,
  1870.         "customer": {
  1871.           "customerId": "4476814",
  1872.           "score": {
  1873.             "value": "10.00",
  1874.             "confidence": "1",
  1875.             "label": "GREEN"
  1876.           },
  1877.           "segmentIds": [
  1878.             43,
  1879.             47,
  1880.             42,
  1881.             46,
  1882.             70,
  1883.             41,
  1884.             71,
  1885.             44,
  1886.             96,
  1887.             124,
  1888.             703,
  1889.             170,
  1890.             500,
  1891.             162,
  1892.             706,
  1893.             803,
  1894.             365,
  1895.             360,
  1896.             562,
  1897.             374,
  1898.             168,
  1899.             137,
  1900.             530,
  1901.             287,
  1902.             651,
  1903.             195,
  1904.             258,
  1905.             260,
  1906.             305,
  1907.             781,
  1908.             581,
  1909.             603,
  1910.             481,
  1911.             788,
  1912.             422,
  1913.             144,
  1914.             249,
  1915.             586,
  1916.             358,
  1917.             608,
  1918.             229,
  1919.             139,
  1920.             471,
  1921.             210,
  1922.             193,
  1923.             776,
  1924.             192,
  1925.             393,
  1926.             411,
  1927.             252,
  1928.             823,
  1929.             189,
  1930.             779,
  1931.             300,
  1932.             657,
  1933.             247,
  1934.             37,
  1935.             821,
  1936.             588,
  1937.             666,
  1938.             755,
  1939.             363,
  1940.             294,
  1941.             359,
  1942.             403,
  1943.             240,
  1944.             572,
  1945.             699,
  1946.             382,
  1947.             544,
  1948.             216,
  1949.             262
  1950.           ],
  1951.           "membershipDetail": null
  1952.         },
  1953.         "locationAttributes": {
  1954.           "zoneId": "842001",
  1955.           "zoneType": "PINCODE"
  1956.         },
  1957.         "splits": [
  1958.           {
  1959.             "splitId": "7619407b-8589-4438-82c3-25b0da7cb6a9",
  1960.             "vertical": "DRAFT",
  1961.             "splitReasons": null,
  1962.             "items": [
  1963.               {
  1964.                 "itemIdentifier": "63c08c97-71b5-42c7-bfb7-bcb083c9a24a|W24350|PRODUCT",
  1965.                 "itemType": "PRODUCT",
  1966.                 "itemId": "W24350",
  1967.                 "name": "EUREPA 2MG TABLET 15'S",
  1968.                 "quantity": 2,
  1969.                 "rxDetail": {
  1970.                   "mappingType": "DIRECT",
  1971.                   "version": 2,
  1972.                   "rxId": "62612dab8a9f897a8f1d0bda",
  1973.                   "itemId": "W24350",
  1974.                   "itemType": "PRODUCT",
  1975.                   "isSubstitutionAllowed": true
  1976.                 },
  1977.                 "discountedUnitMrp": "334.43"
  1978.               },
  1979.               {
  1980.                 "itemIdentifier": "63c08c97-71b5-42c7-bfb7-bcb083c9a24a|I01179|PRODUCT",
  1981.                 "itemType": "PRODUCT",
  1982.                 "itemId": "I01179",
  1983.                 "name": "DEPLATT 75MG STRIP OF 15 TABLETS",
  1984.                 "quantity": 2,
  1985.                 "rxDetail": {
  1986.                   "mappingType": "DIRECT",
  1987.                   "version": 1,
  1988.                   "rxId": "62612dabca788c37d97e00a8",
  1989.                   "itemId": "I01179",
  1990.                   "itemType": "PRODUCT",
  1991.                   "isSubstitutionAllowed": true
  1992.                 },
  1993.                 "discountedUnitMrp": "81.86"
  1994.               },
  1995.               {
  1996.                 "itemIdentifier": "63c08c97-71b5-42c7-bfb7-bcb083c9a24a|242540|PRODUCT",
  1997.                 "itemType": "PRODUCT",
  1998.                 "itemId": "242540",
  1999.                 "name": "MINIPRESS XL 5MG STRIP OF 30 TABLETS",
  2000.                 "quantity": 2,
  2001.                 "rxDetail": {
  2002.                   "mappingType": "DIRECT",
  2003.                   "version": 2,
  2004.                   "rxId": "62612dab8a9f897a8f1d0bda",
  2005.                   "itemId": "242540",
  2006.                   "itemType": "PRODUCT",
  2007.                   "isSubstitutionAllowed": true
  2008.                 },
  2009.                 "discountedUnitMrp": "483.9"
  2010.               }
  2011.             ],
  2012.             "context": {
  2013.               "cartId": "74149122",
  2014.               "parentOrderId": "",
  2015.               "childOrderId": ""
  2016.             },
  2017.             "attributes": {
  2018.               "hasUploadedFiles": false,
  2019.               "hasOrderNotes": false,
  2020.               "isSubstitutionPitched": false,
  2021.               "isSoftRoutingCompleted": false,
  2022.               "isAwaitingPrescriptionUpload": false,
  2023.               "needApprovalForSubstitution": false,
  2024.               "hasAttachedPreviousPrescription": false
  2025.             },
  2026.             "origin": {
  2027.               "source": "CONSUMER",
  2028.               "platform": "ANDROID"
  2029.             },
  2030.             "commitments": {
  2031.               "optionId": "de35da48-c5d8-4c3b-bb81-a5d5c0e0463c",
  2032.               "estimatedContactTime": 1666153889765,
  2033.               "retailerGstStateCode": "19",
  2034.               "retailerId": "13535",
  2035.               "retailerType": "alpha_mp_seller",
  2036.               "deliveryMode": "NON_COURIER",
  2037.               "deliverySpeed": "STANDARD",
  2038.               "charges": [],
  2039.               "estimatedDeliveryDate": {
  2040.                 "minTime": 1666204200000,
  2041.                 "maxTime": 1666456200000
  2042.               },
  2043.               "fulfilabilityTier": null
  2044.             }
  2045.           }
  2046.         ]
  2047.       },
  2048.       "analyticsBoxRequest": {
  2049.         "7619407b-8589-4438-82c3-25b0da7cb6a9": {
  2050.           "parent_order_id": "",
  2051.           "cart_id": "74149122",
  2052.           "customer_id": "4476814",
  2053.           "zone_id": 842001,
  2054.           "zone_type": "pincode",
  2055.           "browsing_channel": "ANDROID",
  2056.           "platform": "consumer",
  2057.           "ab_variant": "B",
  2058.           "data": [
  2059.             {
  2060.               "ucode": "W24350",
  2061.               "qty": 2,
  2062.               "availability": "SHORT_SUPPLY"
  2063.             },
  2064.             {
  2065.               "ucode": "I01179",
  2066.               "qty": 2,
  2067.               "availability": "IN_STOCK"
  2068.             },
  2069.             {
  2070.               "ucode": "242540",
  2071.               "qty": 2,
  2072.               "availability": "IN_STOCK"
  2073.             }
  2074.           ]
  2075.         }
  2076.       },
  2077.       "analyticsBoxResponse": {
  2078.         "7619407b-8589-4438-82c3-25b0da7cb6a9": {
  2079.           "flip_decision": false,
  2080.           "item_scores": [
  2081.             {
  2082.               "ucode": "W24350",
  2083.               "confidence": "0.0032"
  2084.             },
  2085.             {
  2086.               "ucode": "I01179",
  2087.               "confidence": "0.0034"
  2088.             },
  2089.             {
  2090.               "ucode": "242540",
  2091.               "confidence": "0.0034"
  2092.             }
  2093.           ],
  2094.           "error": null
  2095.         }
  2096.       },
  2097.       "abExperiment": {
  2098.         "variant": "B",
  2099.         "experimentName": "flip-ds-experiment-1"
  2100.       },
  2101.       "splits": [
  2102.         {
  2103.           "splitId": "7619407b-8589-4438-82c3-25b0da7cb6a9",
  2104.           "vertical": "PRODUCT",
  2105.           "splitReasons": [
  2106.             "FULFILLABLE"
  2107.           ],
  2108.           "items": [
  2109.             {
  2110.               "itemIdentifier": "63c08c97-71b5-42c7-bfb7-bcb083c9a24a|W24350|PRODUCT",
  2111.               "itemType": "PRODUCT",
  2112.               "itemId": "W24350",
  2113.               "name": "EUREPA 2MG TABLET 15'S",
  2114.               "quantity": 2,
  2115.               "rxDetail": {
  2116.                 "mappingType": "DIRECT",
  2117.                 "version": 2,
  2118.                 "rxId": "62612dab8a9f897a8f1d0bda",
  2119.                 "itemId": "W24350",
  2120.                 "itemType": "PRODUCT",
  2121.                 "isSubstitutionAllowed": true
  2122.               },
  2123.               "discountedUnitMrp": "334.43"
  2124.             },
  2125.             {
  2126.               "itemIdentifier": "63c08c97-71b5-42c7-bfb7-bcb083c9a24a|I01179|PRODUCT",
  2127.               "itemType": "PRODUCT",
  2128.               "itemId": "I01179",
  2129.               "name": "DEPLATT 75MG STRIP OF 15 TABLETS",
  2130.               "quantity": 2,
  2131.               "rxDetail": {
  2132.                 "mappingType": "DIRECT",
  2133.                 "version": 1,
  2134.                 "rxId": "62612dabca788c37d97e00a8",
  2135.                 "itemId": "I01179",
  2136.                 "itemType": "PRODUCT",
  2137.                 "isSubstitutionAllowed": true
  2138.               },
  2139.               "discountedUnitMrp": "81.86"
  2140.             },
  2141.             {
  2142.               "itemIdentifier": "63c08c97-71b5-42c7-bfb7-bcb083c9a24a|242540|PRODUCT",
  2143.               "itemType": "PRODUCT",
  2144.               "itemId": "242540",
  2145.               "name": "MINIPRESS XL 5MG STRIP OF 30 TABLETS",
  2146.               "quantity": 2,
  2147.               "rxDetail": {
  2148.                 "mappingType": "DIRECT",
  2149.                 "version": 2,
  2150.                 "rxId": "62612dab8a9f897a8f1d0bda",
  2151.                 "itemId": "242540",
  2152.                 "itemType": "PRODUCT",
  2153.                 "isSubstitutionAllowed": true
  2154.               },
  2155.               "discountedUnitMrp": "483.9"
  2156.             }
  2157.           ],
  2158.           "context": {
  2159.             "cartId": "74149122",
  2160.             "parentOrderId": "",
  2161.             "childOrderId": ""
  2162.           },
  2163.           "attributes": {},
  2164.           "origin": null,
  2165.           "commitments": {
  2166.             "optionId": "de35da48-c5d8-4c3b-bb81-a5d5c0e0463c",
  2167.             "estimatedContactTime": 1666153889765,
  2168.             "retailerGstStateCode": "19",
  2169.             "retailerId": "13535",
  2170.             "retailerType": "alpha_mp_seller",
  2171.             "deliveryMode": "NON_COURIER",
  2172.             "deliverySpeed": "STANDARD",
  2173.             "charges": [],
  2174.             "estimatedDeliveryDate": {
  2175.               "minTime": 1666204200000,
  2176.               "maxTime": 1666456200000
  2177.             },
  2178.             "fulfilabilityTier": null
  2179.           }
  2180.         }
  2181.       ]
  2182.     },
  2183.     "Error": null
  2184.   },
  2185.   {
  2186.     "Timestamp": "2022-10-19T03:31:32.834+00:00",
  2187.     "Topic": "oms.pe.split-service.events",
  2188.     "Partition": 2,
  2189.     "Offset": 8927109,
  2190.     "SchemaId": null,
  2191.     "SchemaType": null,
  2192.     "Key": [
  2193.       87,
  2194.       101,
  2195.       100,
  2196.       32,
  2197.       79,
  2198.       99,
  2199.       116,
  2200.       32,
  2201.       49,
  2202.       57,
  2203.       32,
  2204.       48,
  2205.       57,
  2206.       58,
  2207.       48,
  2208.       49,
  2209.       58,
  2210.       51,
  2211.       50,
  2212.       32,
  2213.       73,
  2214.       83,
  2215.       84,
  2216.       32,
  2217.       50,
  2218.       48,
  2219.       50,
  2220.       50
  2221.     ],
  2222.     "Headers": {
  2223.       "singularityheader": "appId=415*ctrlguid=1664570591*acctguid=87d0c50e-a3d3-467c-b6b0-88bd10008827*ts=1666150292807*btid=58201*guid=36c1cebd-9b98-4da0-b8fd-8ec0ff251d07*exitguid=65|3|50|51|1|89|10|3|127|1|2|13|2|113|1*donotresolve=true*unresolvedexitid=33348*tcop=1:494021*cidfrom=2300*etypeorder=CUSTOM*esubtype=Kafka*cidto={[UNRESOLVED][33348]}*tcop=1:494021",
  2224.       "__TypeId__": "com.pharmeasy.splitservice.event.FinalSplitsEvaluationEvent"
  2225.     },
  2226.     "Message": {
  2227.       "eventDetail": {
  2228.         "id": "517a3d55-25d9-41fd-a9e6-99086673d986",
  2229.         "timestamp": 1666150292833,
  2230.         "eventType": "FINAL_SPLITS_EVALUATION",
  2231.         "version": 1
  2232.       },
  2233.       "locationFacts": {
  2234.         "cityId": 927,
  2235.         "stateId": 14,
  2236.         "supplyCityId": 2933
  2237.       },
  2238.       "retailerAssignmentRequest": null,
  2239.       "retailerAssignmentResponse": null,
  2240.       "context": {
  2241.         "identifier": "74149122|NA|NA",
  2242.         "parentOrderId": "NA",
  2243.         "cartId": "74149122",
  2244.         "childOrderId": "NA"
  2245.       },
  2246.       "productAttributesMap": {
  2247.         "242540": {
  2248.           "ucode": "242540",
  2249.           "vertical": "MEDICINE",
  2250.           "medicineCategory": "CHRONIC",
  2251.           "medicineType": "RX",
  2252.           "fulfilability": "IN_STOCK",
  2253.           "highMarginSubstituteAvailable": false,
  2254.           "hasAvailableSubstitute": true,
  2255.           "hasAvailableVariant": false,
  2256.           "flipForGreen": false,
  2257.           "discountedMrp": 483.9,
  2258.           "volume": 54.23,
  2259.           "refrigerated": false,
  2260.           "privateLabelProduct": false,
  2261.           "slowSellingMedicine": false
  2262.         },
  2263.         "I01179": {
  2264.           "ucode": "I01179",
  2265.           "vertical": "MEDICINE",
  2266.           "medicineCategory": "CHRONIC",
  2267.           "medicineType": "RX",
  2268.           "fulfilability": "IN_STOCK",
  2269.           "highMarginSubstituteAvailable": true,
  2270.           "hasAvailableSubstitute": true,
  2271.           "hasAvailableVariant": false,
  2272.           "flipForGreen": false,
  2273.           "discountedMrp": 81.86,
  2274.           "volume": 30.65,
  2275.           "refrigerated": false,
  2276.           "privateLabelProduct": false,
  2277.           "slowSellingMedicine": false
  2278.         },
  2279.         "W24350": {
  2280.           "ucode": "W24350",
  2281.           "vertical": "MEDICINE",
  2282.           "medicineCategory": "CHRONIC",
  2283.           "medicineType": "RX",
  2284.           "fulfilability": "SHORT_SUPPLY",
  2285.           "highMarginSubstituteAvailable": false,
  2286.           "hasAvailableSubstitute": true,
  2287.           "hasAvailableVariant": false,
  2288.           "flipForGreen": false,
  2289.           "discountedMrp": 334.43,
  2290.           "volume": 22.14,
  2291.           "refrigerated": false,
  2292.           "privateLabelProduct": false,
  2293.           "slowSellingMedicine": false
  2294.         }
  2295.       },
  2296.       "softRoutingFacts": {
  2297.         "bec5fdc8-371a-4d65-8fb3-b63eec2e8978": {
  2298.           "medicine_types": "RX",
  2299.           "medicine_categories": "CHRONIC",
  2300.           "source": "NEW_OMS",
  2301.           "has_substitutable_yellow_medicines": true,
  2302.           "has_higher_margin_substitutes": false,
  2303.           "cart_value": 1800.38,
  2304.           "supply_city_name": 2933,
  2305.           "demand_city_name": 927,
  2306.           "order_placed_hour": 9,
  2307.           "platform_type": "ANDROID",
  2308.           "retailer_type": "alpha_mp_seller",
  2309.           "delivery_types": "NON_COURIER",
  2310.           "is_substitution_pitched": false
  2311.         }
  2312.       },
  2313.       "softRoutingResponse": {
  2314.         "bec5fdc8-371a-4d65-8fb3-b63eec2e8978": {
  2315.           "result": {
  2316.             "can_be_performed_by_doctor": true,
  2317.             "reason_keys": "PITCH_AVAILABLE_SUBSTITUTE"
  2318.           },
  2319.           "ruleSetVersionId": "4881"
  2320.         }
  2321.       },
  2322.       "softRoutingCustomerSegmentFacts": null,
  2323.       "softRoutingCustomerSegmentResponse": null,
  2324.       "request": {
  2325.         "placedAt": 1666150292805,
  2326.         "customer": {
  2327.           "customerId": "4476814",
  2328.           "score": {
  2329.             "value": "10.00",
  2330.             "confidence": "1",
  2331.             "label": "GREEN"
  2332.           },
  2333.           "segmentIds": [
  2334.             43,
  2335.             47,
  2336.             42,
  2337.             46,
  2338.             70,
  2339.             41,
  2340.             71,
  2341.             44,
  2342.             96,
  2343.             124,
  2344.             703,
  2345.             170,
  2346.             500,
  2347.             162,
  2348.             706,
  2349.             803,
  2350.             365,
  2351.             360,
  2352.             562,
  2353.             374,
  2354.             168,
  2355.             137,
  2356.             530,
  2357.             287,
  2358.             651,
  2359.             195,
  2360.             258,
  2361.             260,
  2362.             305,
  2363.             781,
  2364.             581,
  2365.             603,
  2366.             481,
  2367.             788,
  2368.             422,
  2369.             144,
  2370.             249,
  2371.             586,
  2372.             358,
  2373.             608,
  2374.             229,
  2375.             139,
  2376.             471,
  2377.             210,
  2378.             193,
  2379.             776,
  2380.             192,
  2381.             393,
  2382.             411,
  2383.             252,
  2384.             823,
  2385.             189,
  2386.             779,
  2387.             300,
  2388.             657,
  2389.             247,
  2390.             37,
  2391.             821,
  2392.             588,
  2393.             666,
  2394.             755,
  2395.             363,
  2396.             294,
  2397.             359,
  2398.             403,
  2399.             240,
  2400.             572,
  2401.             699,
  2402.             382,
  2403.             544,
  2404.             216,
  2405.             262
  2406.           ],
  2407.           "membershipDetail": null
  2408.         },
  2409.         "locationAttributes": {
  2410.           "zoneId": "842001",
  2411.           "zoneType": "PINCODE"
  2412.         },
  2413.         "splits": [
  2414.           {
  2415.             "splitId": "bec5fdc8-371a-4d65-8fb3-b63eec2e8978",
  2416.             "vertical": "DRAFT",
  2417.             "splitReasons": null,
  2418.             "items": [
  2419.               {
  2420.                 "itemIdentifier": "517a3d55-25d9-41fd-a9e6-99086673d986|W24350|PRODUCT",
  2421.                 "itemType": "PRODUCT",
  2422.                 "itemId": "W24350",
  2423.                 "name": "EUREPA 2MG TABLET 15'S",
  2424.                 "quantity": 2,
  2425.                 "rxDetail": {
  2426.                   "mappingType": "DIRECT",
  2427.                   "version": 2,
  2428.                   "rxId": "62612dab8a9f897a8f1d0bda",
  2429.                   "itemId": "W24350",
  2430.                   "itemType": "PRODUCT",
  2431.                   "isSubstitutionAllowed": true
  2432.                 },
  2433.                 "discountedUnitMrp": "334.43"
  2434.               },
  2435.               {
  2436.                 "itemIdentifier": "517a3d55-25d9-41fd-a9e6-99086673d986|242540|PRODUCT",
  2437.                 "itemType": "PRODUCT",
  2438.                 "itemId": "242540",
  2439.                 "name": "MINIPRESS XL 5MG STRIP OF 30 TABLETS",
  2440.                 "quantity": 2,
  2441.                 "rxDetail": {
  2442.                   "mappingType": "DIRECT",
  2443.                   "version": 2,
  2444.                   "rxId": "62612dab8a9f897a8f1d0bda",
  2445.                   "itemId": "242540",
  2446.                   "itemType": "PRODUCT",
  2447.                   "isSubstitutionAllowed": true
  2448.                 },
  2449.                 "discountedUnitMrp": "483.9"
  2450.               },
  2451.               {
  2452.                 "itemIdentifier": "517a3d55-25d9-41fd-a9e6-99086673d986|I01179|PRODUCT",
  2453.                 "itemType": "PRODUCT",
  2454.                 "itemId": "I01179",
  2455.                 "name": "DEPLATT 75MG STRIP OF 15 TABLETS",
  2456.                 "quantity": 2,
  2457.                 "rxDetail": {
  2458.                   "mappingType": "DIRECT",
  2459.                   "version": 1,
  2460.                   "rxId": "62612dabca788c37d97e00a8",
  2461.                   "itemId": "I01179",
  2462.                   "itemType": "PRODUCT",
  2463.                   "isSubstitutionAllowed": true
  2464.                 },
  2465.                 "discountedUnitMrp": "81.86"
  2466.               }
  2467.             ],
  2468.             "context": {
  2469.               "cartId": "74149122",
  2470.               "parentOrderId": "",
  2471.               "childOrderId": ""
  2472.             },
  2473.             "attributes": {
  2474.               "hasUploadedFiles": false,
  2475.               "hasOrderNotes": false,
  2476.               "isSubstitutionPitched": false,
  2477.               "isSoftRoutingCompleted": false,
  2478.               "isAwaitingPrescriptionUpload": false,
  2479.               "needApprovalForSubstitution": false,
  2480.               "hasAttachedPreviousPrescription": false
  2481.             },
  2482.             "origin": {
  2483.               "source": "CONSUMER",
  2484.               "platform": "ANDROID"
  2485.             },
  2486.             "commitments": {
  2487.               "optionId": "09907f29-7380-4107-a3c3-ad201bd23183",
  2488.               "estimatedContactTime": 1666153892675,
  2489.               "retailerGstStateCode": "19",
  2490.               "retailerId": "13535",
  2491.               "retailerType": "alpha_mp_seller",
  2492.               "deliveryMode": "NON_COURIER",
  2493.               "deliverySpeed": "STANDARD",
  2494.               "charges": [],
  2495.               "estimatedDeliveryDate": {
  2496.                 "minTime": 1666204200000,
  2497.                 "maxTime": 1666456200000
  2498.               },
  2499.               "fulfilabilityTier": null
  2500.             }
  2501.           }
  2502.         ]
  2503.       },
  2504.       "analyticsBoxRequest": {
  2505.         "bec5fdc8-371a-4d65-8fb3-b63eec2e8978": {
  2506.           "parent_order_id": "",
  2507.           "cart_id": "74149122",
  2508.           "customer_id": "4476814",
  2509.           "zone_id": 842001,
  2510.           "zone_type": "pincode",
  2511.           "browsing_channel": "ANDROID",
  2512.           "platform": "consumer",
  2513.           "ab_variant": "B",
  2514.           "data": [
  2515.             {
  2516.               "ucode": "W24350",
  2517.               "qty": 2,
  2518.               "availability": "SHORT_SUPPLY"
  2519.             },
  2520.             {
  2521.               "ucode": "242540",
  2522.               "qty": 2,
  2523.               "availability": "IN_STOCK"
  2524.             },
  2525.             {
  2526.               "ucode": "I01179",
  2527.               "qty": 2,
  2528.               "availability": "IN_STOCK"
  2529.             }
  2530.           ]
  2531.         }
  2532.       },
  2533.       "analyticsBoxResponse": {
  2534.         "bec5fdc8-371a-4d65-8fb3-b63eec2e8978": {
  2535.           "flip_decision": false,
  2536.           "item_scores": [
  2537.             {
  2538.               "ucode": "W24350",
  2539.               "confidence": "0.0032"
  2540.             },
  2541.             {
  2542.               "ucode": "242540",
  2543.               "confidence": "0.0034"
  2544.             },
  2545.             {
  2546.               "ucode": "I01179",
  2547.               "confidence": "0.0034"
  2548.             }
  2549.           ],
  2550.           "error": null
  2551.         }
  2552.       },
  2553.       "abExperiment": {
  2554.         "variant": "B",
  2555.         "experimentName": "flip-ds-experiment-1"
  2556.       },
  2557.       "splits": [
  2558.         {
  2559.           "splitId": "bec5fdc8-371a-4d65-8fb3-b63eec2e8978",
  2560.           "vertical": "PRODUCT",
  2561.           "splitReasons": [
  2562.             "FULFILLABLE"
  2563.           ],
  2564.           "items": [
  2565.             {
  2566.               "itemIdentifier": "517a3d55-25d9-41fd-a9e6-99086673d986|W24350|PRODUCT",
  2567.               "itemType": "PRODUCT",
  2568.               "itemId": "W24350",
  2569.               "name": "EUREPA 2MG TABLET 15'S",
  2570.               "quantity": 2,
  2571.               "rxDetail": {
  2572.                 "mappingType": "DIRECT",
  2573.                 "version": 2,
  2574.                 "rxId": "62612dab8a9f897a8f1d0bda",
  2575.                 "itemId": "W24350",
  2576.                 "itemType": "PRODUCT",
  2577.                 "isSubstitutionAllowed": true
  2578.               },
  2579.               "discountedUnitMrp": "334.43"
  2580.             },
  2581.             {
  2582.               "itemIdentifier": "517a3d55-25d9-41fd-a9e6-99086673d986|242540|PRODUCT",
  2583.               "itemType": "PRODUCT",
  2584.               "itemId": "242540",
  2585.               "name": "MINIPRESS XL 5MG STRIP OF 30 TABLETS",
  2586.               "quantity": 2,
  2587.               "rxDetail": {
  2588.                 "mappingType": "DIRECT",
  2589.                 "version": 2,
  2590.                 "rxId": "62612dab8a9f897a8f1d0bda",
  2591.                 "itemId": "242540",
  2592.                 "itemType": "PRODUCT",
  2593.                 "isSubstitutionAllowed": true
  2594.               },
  2595.               "discountedUnitMrp": "483.9"
  2596.             },
  2597.             {
  2598.               "itemIdentifier": "517a3d55-25d9-41fd-a9e6-99086673d986|I01179|PRODUCT",
  2599.               "itemType": "PRODUCT",
  2600.               "itemId": "I01179",
  2601.               "name": "DEPLATT 75MG STRIP OF 15 TABLETS",
  2602.               "quantity": 2,
  2603.               "rxDetail": {
  2604.                 "mappingType": "DIRECT",
  2605.                 "version": 1,
  2606.                 "rxId": "62612dabca788c37d97e00a8",
  2607.                 "itemId": "I01179",
  2608.                 "itemType": "PRODUCT",
  2609.                 "isSubstitutionAllowed": true
  2610.               },
  2611.               "discountedUnitMrp": "81.86"
  2612.             }
  2613.           ],
  2614.           "context": {
  2615.             "cartId": "74149122",
  2616.             "parentOrderId": "",
  2617.             "childOrderId": ""
  2618.           },
  2619.           "attributes": {},
  2620.           "origin": null,
  2621.           "commitments": {
  2622.             "optionId": "09907f29-7380-4107-a3c3-ad201bd23183",
  2623.             "estimatedContactTime": 1666153892675,
  2624.             "retailerGstStateCode": "19",
  2625.             "retailerId": "13535",
  2626.             "retailerType": "alpha_mp_seller",
  2627.             "deliveryMode": "NON_COURIER",
  2628.             "deliverySpeed": "STANDARD",
  2629.             "charges": [],
  2630.             "estimatedDeliveryDate": {
  2631.               "minTime": 1666204200000,
  2632.               "maxTime": 1666456200000
  2633.             },
  2634.             "fulfilabilityTier": null
  2635.           }
  2636.         }
  2637.       ]
  2638.     },
  2639.     "Error": null
  2640.   },
  2641.   {
  2642.     "Timestamp": "2022-10-19T03:31:34.958+00:00",
  2643.     "Topic": "oms.pe.split-service.events",
  2644.     "Partition": 0,
  2645.     "Offset": 8917988,
  2646.     "SchemaId": null,
  2647.     "SchemaType": null,
  2648.     "Key": [
  2649.       87,
  2650.       101,
  2651.       100,
  2652.       32,
  2653.       79,
  2654.       99,
  2655.       116,
  2656.       32,
  2657.       49,
  2658.       57,
  2659.       32,
  2660.       48,
  2661.       57,
  2662.       58,
  2663.       48,
  2664.       49,
  2665.       58,
  2666.       51,
  2667.       52,
  2668.       32,
  2669.       73,
  2670.       83,
  2671.       84,
  2672.       32,
  2673.       50,
  2674.       48,
  2675.       50,
  2676.       50
  2677.     ],
  2678.     "Headers": {
  2679.       "singularityheader": "appId=415*ctrlguid=1664570591*acctguid=87d0c50e-a3d3-467c-b6b0-88bd10008827*ts=1666150294930*btid=58201*guid=f51cbc10-8523-4b47-a2bb-99a0d920a5a4*exitguid=65|5|50|49|1|50|1|2|10|4|129|1|2|13|2|113|1*donotresolve=true*unresolvedexitid=33348*tcop=1:494021*cidfrom=2300*etypeorder=CUSTOM*esubtype=Kafka*cidto={[UNRESOLVED][33348]}*tcop=1:494021",
  2680.       "__TypeId__": "com.pharmeasy.splitservice.event.FinalSplitsEvaluationEvent"
  2681.     },
  2682.     "Message": {
  2683.       "eventDetail": {
  2684.         "id": "46de9821-0cf2-4ed4-ad2c-6a98f857f8da",
  2685.         "timestamp": 1666150294958,
  2686.         "eventType": "FINAL_SPLITS_EVALUATION",
  2687.         "version": 1
  2688.       },
  2689.       "locationFacts": {
  2690.         "cityId": 927,
  2691.         "stateId": 14,
  2692.         "supplyCityId": 2933
  2693.       },
  2694.       "retailerAssignmentRequest": null,
  2695.       "retailerAssignmentResponse": null,
  2696.       "context": {
  2697.         "identifier": "74149122|NA|NA",
  2698.         "parentOrderId": "NA",
  2699.         "cartId": "74149122",
  2700.         "childOrderId": "NA"
  2701.       },
  2702.       "productAttributesMap": {
  2703.         "242540": {
  2704.           "ucode": "242540",
  2705.           "vertical": "MEDICINE",
  2706.           "medicineCategory": "CHRONIC",
  2707.           "medicineType": "RX",
  2708.           "fulfilability": "IN_STOCK",
  2709.           "highMarginSubstituteAvailable": false,
  2710.           "hasAvailableSubstitute": true,
  2711.           "hasAvailableVariant": false,
  2712.           "flipForGreen": false,
  2713.           "discountedMrp": 483.9,
  2714.           "volume": 54.23,
  2715.           "privateLabelProduct": false,
  2716.           "slowSellingMedicine": false,
  2717.           "refrigerated": false
  2718.         },
  2719.         "I01179": {
  2720.           "ucode": "I01179",
  2721.           "vertical": "MEDICINE",
  2722.           "medicineCategory": "CHRONIC",
  2723.           "medicineType": "RX",
  2724.           "fulfilability": "IN_STOCK",
  2725.           "highMarginSubstituteAvailable": true,
  2726.           "hasAvailableSubstitute": true,
  2727.           "hasAvailableVariant": false,
  2728.           "flipForGreen": false,
  2729.           "discountedMrp": 81.86,
  2730.           "volume": 30.65,
  2731.           "privateLabelProduct": false,
  2732.           "slowSellingMedicine": false,
  2733.           "refrigerated": false
  2734.         },
  2735.         "W24350": {
  2736.           "ucode": "W24350",
  2737.           "vertical": "MEDICINE",
  2738.           "medicineCategory": "CHRONIC",
  2739.           "medicineType": "RX",
  2740.           "fulfilability": "SHORT_SUPPLY",
  2741.           "highMarginSubstituteAvailable": false,
  2742.           "hasAvailableSubstitute": true,
  2743.           "hasAvailableVariant": false,
  2744.           "flipForGreen": false,
  2745.           "discountedMrp": 334.43,
  2746.           "volume": 22.14,
  2747.           "privateLabelProduct": false,
  2748.           "slowSellingMedicine": false,
  2749.           "refrigerated": false
  2750.         }
  2751.       },
  2752.       "softRoutingFacts": {
  2753.         "5b325fbd-0ac8-4adf-a911-3a71cdbc31d6": {
  2754.           "medicine_types": "RX",
  2755.           "medicine_categories": "CHRONIC",
  2756.           "source": "NEW_OMS",
  2757.           "has_substitutable_yellow_medicines": true,
  2758.           "has_higher_margin_substitutes": false,
  2759.           "cart_value": 1800.38,
  2760.           "supply_city_name": 2933,
  2761.           "demand_city_name": 927,
  2762.           "order_placed_hour": 9,
  2763.           "platform_type": "ANDROID",
  2764.           "retailer_type": "alpha_mp_seller",
  2765.           "delivery_types": "NON_COURIER",
  2766.           "is_substitution_pitched": false
  2767.         }
  2768.       },
  2769.       "softRoutingResponse": {
  2770.         "5b325fbd-0ac8-4adf-a911-3a71cdbc31d6": {
  2771.           "result": {
  2772.             "can_be_performed_by_doctor": true,
  2773.             "reason_keys": "PITCH_AVAILABLE_SUBSTITUTE"
  2774.           },
  2775.           "ruleSetVersionId": "4881"
  2776.         }
  2777.       },
  2778.       "softRoutingCustomerSegmentFacts": null,
  2779.       "softRoutingCustomerSegmentResponse": null,
  2780.       "request": {
  2781.         "placedAt": 1666150294928,
  2782.         "customer": {
  2783.           "customerId": "4476814",
  2784.           "score": null,
  2785.           "segmentIds": [
  2786.             43,
  2787.             47,
  2788.             42,
  2789.             46,
  2790.             70,
  2791.             41,
  2792.             71,
  2793.             44,
  2794.             96,
  2795.             124,
  2796.             703,
  2797.             170,
  2798.             500,
  2799.             162,
  2800.             706,
  2801.             803,
  2802.             365,
  2803.             360,
  2804.             562,
  2805.             374,
  2806.             168,
  2807.             137,
  2808.             530,
  2809.             287,
  2810.             651,
  2811.             195,
  2812.             258,
  2813.             260,
  2814.             305,
  2815.             781,
  2816.             581,
  2817.             603,
  2818.             481,
  2819.             788,
  2820.             422,
  2821.             144,
  2822.             249,
  2823.             586,
  2824.             358,
  2825.             608,
  2826.             229,
  2827.             139,
  2828.             471,
  2829.             210,
  2830.             193,
  2831.             776,
  2832.             192,
  2833.             393,
  2834.             411,
  2835.             252,
  2836.             823,
  2837.             189,
  2838.             779,
  2839.             300,
  2840.             657,
  2841.             247,
  2842.             37,
  2843.             821,
  2844.             588,
  2845.             666,
  2846.             755,
  2847.             363,
  2848.             294,
  2849.             359,
  2850.             403,
  2851.             240,
  2852.             572,
  2853.             699,
  2854.             382,
  2855.             544,
  2856.             216,
  2857.             262
  2858.           ],
  2859.           "membershipDetail": null
  2860.         },
  2861.         "locationAttributes": {
  2862.           "zoneId": "842001",
  2863.           "zoneType": "PINCODE"
  2864.         },
  2865.         "splits": [
  2866.           {
  2867.             "splitId": "5b325fbd-0ac8-4adf-a911-3a71cdbc31d6",
  2868.             "vertical": "DRAFT",
  2869.             "splitReasons": null,
  2870.             "items": [
  2871.               {
  2872.                 "itemIdentifier": "46de9821-0cf2-4ed4-ad2c-6a98f857f8da|W24350|PRODUCT",
  2873.                 "itemType": "PRODUCT",
  2874.                 "itemId": "W24350",
  2875.                 "name": "EUREPA 2MG TABLET 15'S",
  2876.                 "quantity": 2,
  2877.                 "rxDetail": {
  2878.                   "mappingType": "DIRECT",
  2879.                   "version": 2,
  2880.                   "rxId": "62612dab8a9f897a8f1d0bda",
  2881.                   "itemId": "W24350",
  2882.                   "itemType": "PRODUCT",
  2883.                   "isSubstitutionAllowed": true
  2884.                 },
  2885.                 "discountedUnitMrp": "334.43"
  2886.               },
  2887.               {
  2888.                 "itemIdentifier": "46de9821-0cf2-4ed4-ad2c-6a98f857f8da|I01179|PRODUCT",
  2889.                 "itemType": "PRODUCT",
  2890.                 "itemId": "I01179",
  2891.                 "name": "DEPLATT 75MG STRIP OF 15 TABLETS",
  2892.                 "quantity": 2,
  2893.                 "rxDetail": {
  2894.                   "mappingType": "DIRECT",
  2895.                   "version": 1,
  2896.                   "rxId": "62612dabca788c37d97e00a8",
  2897.                   "itemId": "I01179",
  2898.                   "itemType": "PRODUCT",
  2899.                   "isSubstitutionAllowed": true
  2900.                 },
  2901.                 "discountedUnitMrp": "81.86"
  2902.               },
  2903.               {
  2904.                 "itemIdentifier": "46de9821-0cf2-4ed4-ad2c-6a98f857f8da|242540|PRODUCT",
  2905.                 "itemType": "PRODUCT",
  2906.                 "itemId": "242540",
  2907.                 "name": "MINIPRESS XL 5MG STRIP OF 30 TABLETS",
  2908.                 "quantity": 2,
  2909.                 "rxDetail": {
  2910.                   "mappingType": "DIRECT",
  2911.                   "version": 2,
  2912.                   "rxId": "62612dab8a9f897a8f1d0bda",
  2913.                   "itemId": "242540",
  2914.                   "itemType": "PRODUCT",
  2915.                   "isSubstitutionAllowed": true
  2916.                 },
  2917.                 "discountedUnitMrp": "483.9"
  2918.               }
  2919.             ],
  2920.             "context": {
  2921.               "cartId": "74149122",
  2922.               "parentOrderId": "",
  2923.               "childOrderId": ""
  2924.             },
  2925.             "attributes": {
  2926.               "hasUploadedFiles": false,
  2927.               "hasOrderNotes": false,
  2928.               "isSubstitutionPitched": false,
  2929.               "isSoftRoutingCompleted": false,
  2930.               "isAwaitingPrescriptionUpload": false,
  2931.               "needApprovalForSubstitution": false,
  2932.               "hasAttachedPreviousPrescription": false
  2933.             },
  2934.             "origin": {
  2935.               "source": "CONSUMER",
  2936.               "platform": "ANDROID"
  2937.             },
  2938.             "commitments": {
  2939.               "optionId": "8da590f6-8caf-4464-9d69-4961d538eb90",
  2940.               "estimatedContactTime": 1666153894523,
  2941.               "retailerGstStateCode": "19",
  2942.               "retailerId": "13535",
  2943.               "retailerType": "alpha_mp_seller",
  2944.               "deliveryMode": "NON_COURIER",
  2945.               "deliverySpeed": "STANDARD",
  2946.               "charges": [],
  2947.               "estimatedDeliveryDate": {
  2948.                 "minTime": 1666204200000,
  2949.                 "maxTime": 1666456200000
  2950.               },
  2951.               "fulfilabilityTier": null
  2952.             }
  2953.           }
  2954.         ]
  2955.       },
  2956.       "analyticsBoxRequest": {
  2957.         "5b325fbd-0ac8-4adf-a911-3a71cdbc31d6": {
  2958.           "parent_order_id": "",
  2959.           "cart_id": "74149122",
  2960.           "customer_id": "4476814",
  2961.           "zone_id": 842001,
  2962.           "zone_type": "pincode",
  2963.           "browsing_channel": "ANDROID",
  2964.           "platform": "consumer",
  2965.           "ab_variant": "B",
  2966.           "data": [
  2967.             {
  2968.               "ucode": "W24350",
  2969.               "qty": 2,
  2970.               "availability": "SHORT_SUPPLY"
  2971.             },
  2972.             {
  2973.               "ucode": "I01179",
  2974.               "qty": 2,
  2975.               "availability": "IN_STOCK"
  2976.             },
  2977.             {
  2978.               "ucode": "242540",
  2979.               "qty": 2,
  2980.               "availability": "IN_STOCK"
  2981.             }
  2982.           ]
  2983.         }
  2984.       },
  2985.       "analyticsBoxResponse": {
  2986.         "5b325fbd-0ac8-4adf-a911-3a71cdbc31d6": {
  2987.           "flip_decision": false,
  2988.           "item_scores": [
  2989.             {
  2990.               "ucode": "W24350",
  2991.               "confidence": "0.0032"
  2992.             },
  2993.             {
  2994.               "ucode": "I01179",
  2995.               "confidence": "0.0034"
  2996.             },
  2997.             {
  2998.               "ucode": "242540",
  2999.               "confidence": "0.0034"
  3000.             }
  3001.           ],
  3002.           "error": null
  3003.         }
  3004.       },
  3005.       "abExperiment": {
  3006.         "variant": "B",
  3007.         "experimentName": "flip-ds-experiment-1"
  3008.       },
  3009.       "splits": [
  3010.         {
  3011.           "splitId": "5b325fbd-0ac8-4adf-a911-3a71cdbc31d6",
  3012.           "vertical": "PRODUCT",
  3013.           "splitReasons": [
  3014.             "FULFILLABLE"
  3015.           ],
  3016.           "items": [
  3017.             {
  3018.               "itemIdentifier": "46de9821-0cf2-4ed4-ad2c-6a98f857f8da|W24350|PRODUCT",
  3019.               "itemType": "PRODUCT",
  3020.               "itemId": "W24350",
  3021.               "name": "EUREPA 2MG TABLET 15'S",
  3022.               "quantity": 2,
  3023.               "rxDetail": {
  3024.                 "mappingType": "DIRECT",
  3025.                 "version": 2,
  3026.                 "rxId": "62612dab8a9f897a8f1d0bda",
  3027.                 "itemId": "W24350",
  3028.                 "itemType": "PRODUCT",
  3029.                 "isSubstitutionAllowed": true
  3030.               },
  3031.               "discountedUnitMrp": "334.43"
  3032.             },
  3033.             {
  3034.               "itemIdentifier": "46de9821-0cf2-4ed4-ad2c-6a98f857f8da|I01179|PRODUCT",
  3035.               "itemType": "PRODUCT",
  3036.               "itemId": "I01179",
  3037.               "name": "DEPLATT 75MG STRIP OF 15 TABLETS",
  3038.               "quantity": 2,
  3039.               "rxDetail": {
  3040.                 "mappingType": "DIRECT",
  3041.                 "version": 1,
  3042.                 "rxId": "62612dabca788c37d97e00a8",
  3043.                 "itemId": "I01179",
  3044.                 "itemType": "PRODUCT",
  3045.                 "isSubstitutionAllowed": true
  3046.               },
  3047.               "discountedUnitMrp": "81.86"
  3048.             },
  3049.             {
  3050.               "itemIdentifier": "46de9821-0cf2-4ed4-ad2c-6a98f857f8da|242540|PRODUCT",
  3051.               "itemType": "PRODUCT",
  3052.               "itemId": "242540",
  3053.               "name": "MINIPRESS XL 5MG STRIP OF 30 TABLETS",
  3054.               "quantity": 2,
  3055.               "rxDetail": {
  3056.                 "mappingType": "DIRECT",
  3057.                 "version": 2,
  3058.                 "rxId": "62612dab8a9f897a8f1d0bda",
  3059.                 "itemId": "242540",
  3060.                 "itemType": "PRODUCT",
  3061.                 "isSubstitutionAllowed": true
  3062.               },
  3063.               "discountedUnitMrp": "483.9"
  3064.             }
  3065.           ],
  3066.           "context": {
  3067.             "cartId": "74149122",
  3068.             "parentOrderId": "",
  3069.             "childOrderId": ""
  3070.           },
  3071.           "attributes": {},
  3072.           "origin": null,
  3073.           "commitments": {
  3074.             "optionId": "8da590f6-8caf-4464-9d69-4961d538eb90",
  3075.             "estimatedContactTime": 1666153894523,
  3076.             "retailerGstStateCode": "19",
  3077.             "retailerId": "13535",
  3078.             "retailerType": "alpha_mp_seller",
  3079.             "deliveryMode": "NON_COURIER",
  3080.             "deliverySpeed": "STANDARD",
  3081.             "charges": [],
  3082.             "estimatedDeliveryDate": {
  3083.               "minTime": 1666204200000,
  3084.               "maxTime": 1666456200000
  3085.             },
  3086.             "fulfilabilityTier": null
  3087.           }
  3088.         }
  3089.       ]
  3090.     },
  3091.     "Error": null
  3092.   }
  3093. ]
Advertisement
Add Comment
Please, Sign In to add comment