Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- {
- "ts": "2022-02-21T14:13:38.975+05:30",
- "msg": "API ",
- "logger": "com.pharmeasy.core.reactive.web.filters.RequestResponseLoggerWebFilter",
- "thread": "reactor-http-epoll-3",
- "level": "DEBUG",
- "url": "http://qa-iron.qa.pharmeasy.in/v1/tenants/PE/parent-orders",
- "method": "POST",
- "reqHeaders": {
- "host": [
- "qa-iron.qa.pharmeasy.in"
- ],
- "x-forwarded-for": [
- "10.100.10.198,172.25.10.136"
- ],
- "x-forwarded-proto": [
- "http"
- ],
- "x-forwarded-port": [
- "443"
- ],
- "x-amzn-trace-id": [
- "Root=1-621350ba-3bc7d5df016cd4c11933be0f"
- ],
- "user-agent": [
- "Go-http-client/1.1"
- ],
- "content-type": [
- "application/json"
- ],
- "x-envoy-external-address": [
- "172.25.10.136"
- ],
- "x-request-id": [
- "a52ff1c7-8db0-493e-9f5e-59a1546ea797"
- ],
- "x-envoy-expected-rq-timeout-ms": [
- "200000"
- ],
- "x-envoy-original-path": [
- "/v1/tenants/PE/parent-orders"
- ],
- "content-length": [
- "13410"
- ]
- },
- "x-request-id": "a52ff1c7-8db0-493e-9f5e-59a1546ea797",
- "reqBody": {
- "attributes": {
- "appsflyerDetail": {
- "id": null
- },
- "orderNotes": "",
- "phonePeContext": {
- "token": null
- },
- "placementReason": ""
- },
- "origin": {
- "source": "CONSUMER",
- "sourceVersion": "4.12.1",
- "platform": "MWEB",
- "platformVersion": "1.0",
- "ipAddress": "",
- "deviceId": "12",
- "userAgent": "",
- "attributes": {
- "franchiseeId": "",
- "partnerId": "",
- "userId": "",
- "userType": ""
- }
- },
- "customer": {
- "customerId": "307315",
- "emailId": null,
- "name": "token://A1/50381885-dcdb-45b3-af04-26345495200c",
- "mobileNumber": "token://A1/913f0851-a4f1-4efa-abf6-bf5d109b0b6a",
- "membershipDetail": null,
- "attributes": {},
- "segments": [
- 1519,
- 1484,
- 537,
- 545,
- 4255,
- 1464,
- 103,
- 3126,
- 4346,
- 4354,
- 1463,
- 4417,
- 3344,
- 4221,
- 95,
- 3372,
- 4408,
- 1512,
- 1485,
- 1506,
- 4459,
- 4501,
- 4132,
- 1504,
- 4503,
- 4123,
- 4502,
- 1505
- ]
- },
- "placedAt": "2022-02-21T08:43:37.888Z",
- "promotions": [
- {
- "type": "COUPON",
- "code": "",
- "benefits": null
- }
- ],
- "paymentConfigurations": {
- "preferredPaymentMode": "ONLINE",
- "isPaymentAllowed": true,
- "eligiblePaymentModes": [
- "OFFLINE",
- "ONLINE",
- "PE_WALLET"
- ]
- },
- "priceConfigurations": {
- "calculationId": "a000e2a4-849b-479e-9679-200a02995b75",
- "exemptAllCharges": false
- },
- "configurations": {
- "isCommunicationRequired": true,
- "isSubstitutionAllowed": true,
- "isOtpEnabled": true
- },
- "pastRxIds": null,
- "splits": [
- {
- "vertical": "TELECONSULTATION",
- "billingAddress": {
- "addressId": "251889",
- "addressType": "HOME",
- "contactName": "token://A1/9e89a983-02e5-4899-badd-9305a43521f2",
- "addressToken": "token://A1/d3323e90-0819-4124-b935-3c8a83d023f9",
- "city": "Bengaluru",
- "state": "Karnataka",
- "country": "India",
- "pincode": "560063",
- "zoneId": "560063",
- "zoneType": "PINCODE",
- "primaryContactNumber": "token://A1/dab2d552-279a-4e61-8689-ccb7334e0094",
- "secondaryContactNumber": null,
- "gstStateCode": "27"
- },
- "deliveryAddress": {
- "addressId": "251889",
- "addressType": "HOME",
- "contactName": "token://A1/9e89a983-02e5-4899-badd-9305a43521f2",
- "addressToken": "token://A1/d3323e90-0819-4124-b935-3c8a83d023f9",
- "city": "Bengaluru",
- "state": "Karnataka",
- "country": "India",
- "pincode": "560063",
- "zoneId": "560063",
- "zoneType": "PINCODE",
- "primaryContactNumber": "token://A1/dab2d552-279a-4e61-8689-ccb7334e0094",
- "secondaryContactNumber": null,
- "gstStateCode": "29"
- },
- "reasons": [
- "RX_MISSING"
- ],
- "price": {
- "totalMrp": "120.00",
- "totalSellingPrice": "102.00",
- "totalDiscount": "18.00",
- "totalCashback": "0.00",
- "orderTotal": "102.00",
- "totalCharges": "0.00",
- "netDiscountPercentage": "",
- "total": "102.00",
- "totalReturnableAmount": "",
- "charges": [
- {
- "type": "DELIVERY_CHARGE",
- "maxValue": "0.0",
- "applicableValue": "0.00",
- "returnableAmount": "0.00",
- "label": "Delivery Charges",
- "description": "",
- "SACCode": "9800"
- },
- {
- "type": "ADDITIONAL_CHARGE",
- "maxValue": "1.0",
- "applicableValue": "0.0",
- "returnableAmount": "0.0",
- "label": "Additional Charges",
- "description": "this is default charge value for charges",
- "SACCode": "9180656460",
- "excludedAbove": "100.0"
- }
- ],
- "discounts": [
- {
- "type": "ITEM_LEVEL",
- "unitDiscount": "",
- "unitReturnableAmount": "",
- "totalReturnableAmount": "",
- "percentage": "15.00",
- "totalDiscount": "18.00",
- "label": "PharmEasy Savings",
- "description": "Get discounts on all* healthcare products",
- "exclusionReason": "",
- "attributes": {}
- }
- ],
- "cashbacks": [],
- "tax": {
- "percentWiseTaxBifurcation": [
- {
- "taxableAmount": "102.00",
- "totalTaxAmount": "0.00",
- "taxPercent": "0.00",
- "bifurcation": [
- {
- "type": "GST",
- "percent": "0.00",
- "amount": "0.00"
- },
- {
- "type": "IGST",
- "percent": "0.00",
- "amount": "0.00"
- }
- ]
- }
- ],
- "consolidatedTaxBifurcation": {
- "taxableAmount": "102.00",
- "totalTaxAmount": "0.00",
- "bifurcation": [
- {
- "type": "IGST",
- "amount": "0.00"
- },
- {
- "type": "GST",
- "amount": "0.00"
- }
- ]
- }
- }
- },
- "items": [
- {
- "origin": {
- "source": "CONSUMER",
- "sourceVersion": "",
- "platform": "MWEB",
- "platformVersion": "1.0",
- "ipAddress": "",
- "deviceId": "12",
- "userAgent": "",
- "attributes": {
- "franchiseeId": "",
- "partnerId": "",
- "userId": "",
- "userType": ""
- }
- },
- "itemId": "Y11943",
- "itemType": "PRODUCT",
- "name": "TESTMEDICINE POMS PL MUM1",
- "quantity": 2,
- "rxDetail": null,
- "attributes": {
- "productId": "569889",
- "fulfilability": {
- "productFulfilability": "IN_STOCK"
- },
- "productTraits": {
- "dimension": null
- },
- "therapies": [],
- "verticalId": "1",
- "categoryId": "",
- "isChronic": false,
- "isRefrigerated": false,
- "consumerBrandId": "395471",
- "isNpp": false,
- "returnableDays": 15,
- "unitMrp": "50.0",
- "discountedUnitMrp": "42.5",
- "discounts": [
- {
- "type": "ITEM_LEVEL",
- "value": "15.00",
- "valueType": "PERCENT"
- }
- ]
- },
- "tax": [
- {
- "type": "IGST",
- "percent": "0.000000"
- },
- {
- "type": "CGST",
- "percent": "0.000000"
- },
- {
- "type": "SGST",
- "percent": "0.000000"
- },
- {
- "type": "GST",
- "percent": "0.000000"
- }
- ],
- "price": {
- "itemId": "Y11943",
- "itemType": "PRODUCT",
- "quantity": 2,
- "batchNumber": "",
- "discounts": [
- {
- "type": "ITEM_LEVEL",
- "unitDiscount": "7.50",
- "unitReturnableAmount": "7.50",
- "totalReturnableAmount": "15.00",
- "percentage": "15.00",
- "totalDiscount": "15.00",
- "label": "PharmEasy Savings",
- "description": "Get discounts on all* healthcare products",
- "attributes": {}
- }
- ],
- "cashbacks": [],
- "unitMrp": "50.00",
- "totalMrp": "100.00",
- "unitSellingPrice": "42.50",
- "totalSellingPrice": "85.00",
- "unitNetDiscount": "7.50",
- "totalDiscount": "15.00",
- "totalAmount": "",
- "unitAmount": "42.50",
- "total": "85.00",
- "netDiscountPercentage": "15.00",
- "unitReturnableAmount": "42.50",
- "totalReturnableAmount": "85.00",
- "percentWiseTaxBifurcation": [
- {
- "taxableAmount": "85.00",
- "totalTaxAmount": "0.00",
- "taxPercent": "0.00",
- "bifurcation": [
- {
- "type": "GST",
- "percent": "0.00",
- "amount": "0.00"
- },
- {
- "type": "IGST",
- "percent": "0.00",
- "amount": "0.00"
- }
- ]
- }
- ]
- }
- },
- {
- "origin": {
- "source": "CONSUMER",
- "sourceVersion": "",
- "platform": "MWEB",
- "platformVersion": "1.0",
- "ipAddress": "",
- "deviceId": "12",
- "userAgent": "",
- "attributes": {
- "franchiseeId": "",
- "partnerId": "",
- "userId": "",
- "userType": ""
- }
- },
- "itemId": "X24170",
- "itemType": "PRODUCT",
- "name": "TESTMEDICINE POMS RX1 MUM",
- "quantity": 2,
- "rxDetail": null,
- "attributes": {
- "productId": "569879",
- "fulfilability": {
- "productFulfilability": "IN_STOCK"
- },
- "productTraits": {
- "dimension": null
- },
- "therapies": [],
- "verticalId": "1",
- "categoryId": "",
- "isChronic": false,
- "isRefrigerated": false,
- "consumerBrandId": "395471",
- "isNpp": false,
- "returnableDays": 15,
- "unitMrp": "10.0",
- "discountedUnitMrp": "8.5",
- "discounts": [
- {
- "type": "ITEM_LEVEL",
- "value": "15.00",
- "valueType": "PERCENT"
- }
- ]
- },
- "tax": [
- {
- "type": "IGST",
- "percent": "0.000000"
- },
- {
- "type": "CGST",
- "percent": "0.000000"
- },
- {
- "type": "SGST",
- "percent": "0.000000"
- },
- {
- "type": "GST",
- "percent": "0.000000"
- }
- ],
- "price": {
- "itemId": "X24170",
- "itemType": "PRODUCT",
- "quantity": 2,
- "batchNumber": "",
- "discounts": [
- {
- "type": "ITEM_LEVEL",
- "unitDiscount": "1.50",
- "unitReturnableAmount": "1.50",
- "totalReturnableAmount": "3.00",
- "percentage": "15.00",
- "totalDiscount": "3.00",
- "label": "PharmEasy Savings",
- "description": "Get discounts on all* healthcare products",
- "attributes": {}
- }
- ],
- "cashbacks": [],
- "unitMrp": "10.00",
- "totalMrp": "20.00",
- "unitSellingPrice": "8.50",
- "totalSellingPrice": "17.00",
- "unitNetDiscount": "1.50",
- "totalDiscount": "3.00",
- "totalAmount": "",
- "unitAmount": "8.50",
- "total": "17.00",
- "netDiscountPercentage": "15.00",
- "unitReturnableAmount": "8.50",
- "totalReturnableAmount": "17.00",
- "percentWiseTaxBifurcation": [
- {
- "taxableAmount": "17.00",
- "totalTaxAmount": "0.00",
- "taxPercent": "0.00",
- "bifurcation": [
- {
- "type": "GST",
- "percent": "0.00",
- "amount": "0.00"
- },
- {
- "type": "IGST",
- "percent": "0.00",
- "amount": "0.00"
- }
- ]
- }
- ]
- }
- }
- ],
- "commitments": {
- "optionId": "9ac4b675-26a9-4d9f-be94-fc818af08972",
- "retailerId": "8673",
- "retailerType": "alpha_mp_seller",
- "retailerGstStateCode": "27",
- "deliveryMode": "COURIER",
- "deliverySpeed": "PRIORITY",
- "charges": [
- {
- "type": "PRIORITY_DELIVERY",
- "maxValue": "1000",
- "applicableValue": "1000.0",
- "label": "Priority Delivery Charge",
- "description": "Max applicable charge",
- "excludedAbove": "500.0",
- "exclusionReason": "Order amount greater than 500",
- "attributes": {}
- }
- ],
- "estimatedDeliveryDate": {
- "maxTime": "2022-02-23T08:30:00.000Z",
- "minTime": "2022-02-23T02:30:00.000Z"
- },
- "estimatedContactTime": "2022-02-23T02:45:00.000Z"
- }
- },
- {
- "vertical": "TELECONSULTATION",
- "billingAddress": {
- "addressId": "251889",
- "addressType": "HOME",
- "contactName": "token://A1/9e89a983-02e5-4899-badd-9305a43521f2",
- "addressToken": "token://A1/d3323e90-0819-4124-b935-3c8a83d023f9",
- "city": "Bengaluru",
- "state": "Karnataka",
- "country": "India",
- "pincode": "560063",
- "zoneId": "560063",
- "zoneType": "PINCODE",
- "primaryContactNumber": "token://A1/dab2d552-279a-4e61-8689-ccb7334e0094",
- "secondaryContactNumber": null,
- "gstStateCode": "27"
- },
- "deliveryAddress": {
- "addressId": "251889",
- "addressType": "HOME",
- "contactName": "token://A1/9e89a983-02e5-4899-badd-9305a43521f2",
- "addressToken": "token://A1/d3323e90-0819-4124-b935-3c8a83d023f9",
- "city": "Bengaluru",
- "state": "Karnataka",
- "country": "India",
- "pincode": "560063",
- "zoneId": "560063",
- "zoneType": "PINCODE",
- "primaryContactNumber": "token://A1/dab2d552-279a-4e61-8689-ccb7334e0094",
- "secondaryContactNumber": null,
- "gstStateCode": "29"
- },
- "reasons": [
- "RX_MISSING"
- ],
- "price": {
- "totalMrp": "40.00",
- "totalSellingPrice": "40.00",
- "totalDiscount": "0.00",
- "totalCashback": "0.00",
- "orderTotal": "40.00",
- "totalCharges": "0.00",
- "netDiscountPercentage": "",
- "total": "40.00",
- "totalReturnableAmount": "",
- "charges": [
- {
- "type": "DELIVERY_CHARGE",
- "maxValue": "0.0",
- "applicableValue": "0.00",
- "returnableAmount": "0.00",
- "label": "Delivery Charges",
- "description": "",
- "SACCode": "9800"
- },
- {
- "type": "ADDITIONAL_CHARGE",
- "maxValue": "1.0",
- "applicableValue": "0.0",
- "returnableAmount": "0.0",
- "label": "Additional Charges",
- "description": "this is default charge value for charges",
- "SACCode": "9180656460",
- "excludedAbove": "100.0"
- }
- ],
- "discounts": [
- {
- "type": "ITEM_LEVEL",
- "unitDiscount": "",
- "unitReturnableAmount": "",
- "totalReturnableAmount": "",
- "percentage": "0.00",
- "totalDiscount": "0.00",
- "label": "PharmEasy Savings",
- "description": "Get discounts on all* healthcare products",
- "exclusionReason": "",
- "attributes": {}
- }
- ],
- "cashbacks": [],
- "tax": {
- "percentWiseTaxBifurcation": [
- {
- "taxableAmount": "35.71",
- "totalTaxAmount": "4.29",
- "taxPercent": "12.00",
- "bifurcation": [
- {
- "type": "GST",
- "percent": "12.00",
- "amount": "4.29"
- },
- {
- "type": "IGST",
- "percent": "12.00",
- "amount": "4.29"
- }
- ]
- }
- ],
- "consolidatedTaxBifurcation": {
- "taxableAmount": "35.71",
- "totalTaxAmount": "4.29",
- "bifurcation": [
- {
- "type": "IGST",
- "amount": "4.29"
- },
- {
- "type": "GST",
- "amount": "4.29"
- }
- ]
- }
- }
- },
- "items": [
- {
- "origin": {
- "source": "CONSUMER",
- "sourceVersion": "",
- "platform": "MWEB",
- "platformVersion": "1.0",
- "ipAddress": "",
- "deviceId": "12",
- "userAgent": "",
- "attributes": {
- "franchiseeId": "",
- "partnerId": "",
- "userId": "",
- "userType": ""
- }
- },
- "itemId": "N00400",
- "itemType": "PRODUCT",
- "name": "TESTMEDICINE POMS RX MUM",
- "quantity": 2,
- "rxDetail": null,
- "attributes": {
- "productId": "569886",
- "fulfilability": {
- "productFulfilability": "NOT_SURE"
- },
- "productTraits": {
- "dimension": null
- },
- "therapies": [
- {
- "therapyId": 427172,
- "therapyName": "PAIN RELIEF"
- }
- ],
- "verticalId": "1",
- "categoryId": "",
- "isChronic": false,
- "isRefrigerated": false,
- "consumerBrandId": "395471",
- "isNpp": false,
- "returnableDays": 15,
- "unitMrp": "20.0",
- "discountedUnitMrp": "20.0",
- "discounts": [
- {
- "type": "ITEM_LEVEL",
- "value": "0.00",
- "valueType": "PERCENT"
- }
- ]
- },
- "tax": [
- {
- "type": "IGST",
- "percent": "12.000000"
- },
- {
- "type": "CGST",
- "percent": "6.000000"
- },
- {
- "type": "SGST",
- "percent": "6.000000"
- },
- {
- "type": "GST",
- "percent": "12.000000"
- }
- ],
- "price": {
- "itemId": "N00400",
- "itemType": "PRODUCT",
- "quantity": 2,
- "batchNumber": "",
- "discounts": [
- {
- "type": "ITEM_LEVEL",
- "unitDiscount": "0.00",
- "unitReturnableAmount": "0.00",
- "totalReturnableAmount": "0.00",
- "percentage": "0.00",
- "totalDiscount": "0.00",
- "label": "PharmEasy Savings",
- "description": "Get discounts on all* healthcare products",
- "attributes": {}
- }
- ],
- "cashbacks": [],
- "unitMrp": "20.00",
- "totalMrp": "40.00",
- "unitSellingPrice": "20.00",
- "totalSellingPrice": "40.00",
- "unitNetDiscount": "0.00",
- "totalDiscount": "0.00",
- "totalAmount": "",
- "unitAmount": "20.00",
- "total": "40.00",
- "netDiscountPercentage": "0.00",
- "unitReturnableAmount": "20.00",
- "totalReturnableAmount": "40.00",
- "percentWiseTaxBifurcation": [
- {
- "taxableAmount": "35.71",
- "totalTaxAmount": "4.29",
- "taxPercent": "12.00",
- "bifurcation": [
- {
- "type": "GST",
- "percent": "12.00",
- "amount": "4.29"
- },
- {
- "type": "IGST",
- "percent": "12.00",
- "amount": "4.29"
- }
- ]
- }
- ]
- }
- }
- ],
- "commitments": {
- "optionId": "393152a4-ca31-4246-9ccd-9ed458035ce7",
- "retailerId": "1003",
- "retailerType": "alpha_satellite_mp_seller",
- "retailerGstStateCode": "27",
- "deliveryMode": "COURIER",
- "deliverySpeed": "PRIORITY",
- "charges": [
- {
- "type": "PRIORITY_DELIVERY",
- "maxValue": "1000",
- "applicableValue": "1000.0",
- "label": "Priority Delivery Charge",
- "description": "Max applicable charge",
- "excludedAbove": "500.0",
- "exclusionReason": "Order amount greater than 500",
- "attributes": {}
- }
- ],
- "estimatedDeliveryDate": {
- "maxTime": "2022-02-23T08:30:00.000Z",
- "minTime": "2022-02-23T02:30:00.000Z"
- },
- "estimatedContactTime": "2022-02-23T02:45:00.000Z"
- }
- }
- ],
- "files": null,
- "price": {
- "totalMrp": "160.00",
- "totalSellingPrice": "142.00",
- "total": "142.00",
- "totalDiscount": "18.00",
- "totalReturnableAmount": "",
- "discounts": [
- {
- "type": "ITEM_LEVEL",
- "unitDiscount": "",
- "unitReturnableAmount": "",
- "totalReturnableAmount": "",
- "percentage": "12.68",
- "totalDiscount": "18.00",
- "label": "PharmEasy Savings",
- "description": "Get discounts on all* healthcare products",
- "exclusionReason": "",
- "attributes": {}
- }
- ],
- "cashbacks": null,
- "tax": {
- "percentWiseTaxBifurcation": [
- {
- "taxableAmount": "35.71",
- "totalTaxAmount": "4.29",
- "taxPercent": "12.00",
- "bifurcation": [
- {
- "type": "GST",
- "percent": "12.00",
- "amount": "4.29"
- },
- {
- "type": "IGST",
- "percent": "12.00",
- "amount": "4.29"
- }
- ]
- },
- {
- "taxableAmount": "102.00",
- "totalTaxAmount": "0.00",
- "taxPercent": "0.00",
- "bifurcation": [
- {
- "type": "GST",
- "percent": "0.00",
- "amount": "0.00"
- },
- {
- "type": "IGST",
- "percent": "0.00",
- "amount": "0.00"
- }
- ]
- }
- ],
- "consolidatedTaxBifurcation": {
- "taxableAmount": "137.71",
- "totalTaxAmount": "4.29",
- "bifurcation": [
- {
- "type": "IGST",
- "amount": "4.29"
- },
- {
- "type": "GST",
- "amount": "4.29"
- }
- ]
- }
- },
- "totalCashback": "0.00",
- "orderTotal": "142.00",
- "totalCharges": "0.00",
- "charges": [
- {
- "type": "DELIVERY_CHARGE",
- "applicableValue": "0.00",
- "returnableAmount": "0.00",
- "label": "Delivery Charges",
- "description": "",
- "SACCode": "9800"
- },
- {
- "type": "ADDITIONAL_CHARGE",
- "applicableValue": "0.00",
- "returnableAmount": "0.00",
- "label": "Additional Charges",
- "description": "this is default charge value for charges",
- "SACCode": "9180656460"
- }
- ]
- }
- },
- "time": 107,
- "resBody": {
- "promotions[0].code": "must not be blank"
- },
- "resCode": 400,
- "resHeaders": {
- "Content-Type": [
- "application/json"
- ],
- "Content-Length": [
- "42"
- ],
- "Cache-Control": [
- "no-cache, no-store, max-age=0, must-revalidate"
- ],
- "Pragma": [
- "no-cache"
- ],
- "Expires": [
- "0"
- ],
- "X-Content-Type-Options": [
- "nosniff"
- ],
- "X-Frame-Options": [
- "DENY"
- ],
- "X-XSS-Protection": [
- "1 ; mode=block"
- ],
- "Referrer-Policy": [
- "no-referrer"
- ]
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment