Skip to content

Commit

Permalink
ONDC Tech Logs - UPDATE (#1724)
Browse files Browse the repository at this point in the history
Issue #1507
  • Loading branch information
tanyamadaan authored Oct 7, 2024
2 parents c7b9166 + 6b75669 commit 37fbe9a
Show file tree
Hide file tree
Showing 45 changed files with 2,533 additions and 2,376 deletions.
117 changes: 76 additions & 41 deletions B2B/Export-2.0.2/PX/seller/Flow 1/confirm.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,19 +13,19 @@
"version": "2.0.2",
"bap_id": "devapi.proxtera.app",
"bap_uri": "https://devapi.proxtera.app/ondc",
"transaction_id": "cedb0f28-d0c9-450b-842e-55b105d80eca",
"message_id": "e60c2def-2e03-4b47-8cdb-b7c717f8e716",
"timestamp": "2024-05-07T13:41:26.348Z",
"transaction_id": "e7dc2fd6-7e10-41b1-8680-49889aed239f",
"message_id": "f8b5406b-bf45-4c6e-91df-d0e3ddb9fc4b",
"timestamp": "2024-10-01T12:24:57.681Z",
"bpp_id": "preprod-seller-api.proxtera.app",
"bpp_uri": "https://preprod-seller-api.proxtera.app",
"ttl": "PT30S"
},
"message": {
"order": {
"id": "PO5112044845",
"id": "PO7722446494",
"state": "Created",
"provider": {
"id": "661ca9c6ff9903822baed0de",
"id": "6644596fb12b5404c9f57495",
"locations": [
{
"id": "P_L1"
Expand All @@ -34,13 +34,13 @@
},
"items": [
{
"id": "663a0aeb4a0bd362aa25aa0a",
"id": "66b457e93819e3f425bdc83a",
"fulfillment_ids": [
"1"
],
"quantity": {
"selected": {
"count": 10
"count": 100
}
},
"tags": [
Expand All @@ -53,31 +53,31 @@
"descriptor": {
"code": "ITEM_REQ"
},
"value": "item requirement"
"value": "test"
},
{
"descriptor": {
"code": "PACKAGING_REQ"
},
"value": "packging requirements"
"value": "test"
}
]
}
]
}
],
"billing": {
"name": "ABC Private Limited",
"address": "Singapore",
"name": "Platform Hotel",
"address": "Geylang East Ave 3",
"state": {
"name": "Singapore"
},
"city": {
"name": "Singapore"
},
"tax_id": "BFGFG3R34534",
"email": "[email protected]",
"phone": "8870323539"
"tax_id": "33NLUFD6907T1Z0",
"email": "[email protected]",
"phone": "+916383353594"
},
"fulfillments": [
{
Expand All @@ -89,25 +89,25 @@
"type": "end",
"location": {
"gps": "1.2804385, 103.8489962",
"address": "Singapore",
"address": "Geylang East Ave 3",
"city": {
"name": "Singapore"
},
"country": {
"code": "SGP"
},
"area_code": "238858",
"area_code": "389730",
"state": {
"name": "Singapore"
}
},
"contact": {
"phone": "9988776655",
"email": "[email protected]"
"phone": "+916383353594",
"email": "[email protected]"
},
"customer": {
"person": {
"name": "ABC Private Limited"
"name": "Platform Hotel"
}
}
}
Expand All @@ -122,7 +122,7 @@
"descriptor": {
"code": "INCOTERMS"
},
"value": "CIF"
"value": "EXW"
},
{
"descriptor": {
Expand All @@ -137,63 +137,98 @@
],
"quote": {
"price": {
"currency": "USD",
"value": "895"
"currency": "INR",
"value": "470.00"
},
"breakup": [
{
"@ondc/org/item_id": "663a0aeb4a0bd362aa25aa0a",
"@ondc/org/item_id": "66b457e93819e3f425bdc83a",
"@ondc/org/item_quantity": {
"count": 10
"count": 100
},
"title": "ONDC tech logs 5",
"title": "oats idli bater",
"@ondc/org/title_type": "item",
"price": {
"value": "950",
"currency": "USD"
"value": "300.00",
"currency": "INR"
},
"item": {
"price": {
"value": "95",
"currency": "USD"
"value": "3.00",
"currency": "INR"
}
}
},
{
"title": "Discount",
"@ondc/org/item_id": "663a0aeb4a0bd362aa25aa0a",
"@ondc/org/item_id": "66b457e93819e3f425bdc83a",
"@ondc/org/title_type": "discount",
"price": {
"currency": "USD",
"value": "-95"
"currency": "INR",
"value": "-30.00"
}
},
{
"title": "Delivery Charges",
"@ondc/org/title_type": "delivery",
"@ondc/org/item_id": "1",
"price": {
"currency": "USD",
"value": "20"
"currency": "INR",
"value": "100.00"
}
},
{
"title": "Packaging Charges",
"@ondc/org/title_type": "packing",
"@ondc/org/item_id": "1",
"price": {
"currency": "USD",
"value": "20"
"currency": "INR",
"value": "100.00"
}
}
],
"ttl": "P4D"
},
"cancellation_terms": [
{
"fulfillment_state": {
"descriptor": {
"code": "Pending"
}
},
"cancellation_fee": {
"percentage": "0"
},
"reason_required": false
},
{
"fulfillment_state": {
"descriptor": {
"code": "Order-picked-up"
}
},
"cancellation_fee": {
"percentage": "0"
},
"reason_required": false
},
{
"fulfillment_state": {
"descriptor": {
"code": "Out-for-delivery"
}
},
"cancellation_fee": {
"percentage": "0"
},
"reason_required": false
}
],
"payments": [
{
"params": {
"currency": "USD",
"amount": "895"
"currency": "INR",
"amount": "470.00"
},
"status": "NOT-PAID",
"type": "ON-FULFILLMENT",
Expand Down Expand Up @@ -234,7 +269,7 @@
"descriptor": {
"code": "buyer_id_no"
},
"value": "BFGFG3R34534"
"value": "33NLUFD6907T1Z0"
}
]
},
Expand Down Expand Up @@ -271,8 +306,8 @@
]
}
],
"created_at": "2024-05-07T13:41:26.348Z",
"updated_at": "2024-05-07T13:41:26.348Z"
"created_at": "2024-10-01T12:24:57.681Z",
"updated_at": "2024-10-01T12:24:57.681Z"
}
}
}
38 changes: 19 additions & 19 deletions B2B/Export-2.0.2/PX/seller/Flow 1/init.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,17 +13,17 @@
"version": "2.0.2",
"bap_id": "devapi.proxtera.app",
"bap_uri": "https://devapi.proxtera.app/ondc",
"transaction_id": "cedb0f28-d0c9-450b-842e-55b105d80eca",
"message_id": "8f45801c-9d05-4fbe-bdee-6edc2e117875",
"timestamp": "2024-05-07T13:41:21.086Z",
"transaction_id": "e7dc2fd6-7e10-41b1-8680-49889aed239f",
"message_id": "884bf6ec-22af-4f33-83c6-9684020eb151",
"timestamp": "2024-10-01T12:23:36.021Z",
"bpp_id": "preprod-seller-api.proxtera.app",
"bpp_uri": "https://preprod-seller-api.proxtera.app",
"ttl": "PT30S"
},
"message": {
"order": {
"provider": {
"id": "661ca9c6ff9903822baed0de",
"id": "6644596fb12b5404c9f57495",
"locations": [
{
"id": "P_L1"
Expand All @@ -32,7 +32,7 @@
},
"items": [
{
"id": "663a0aeb4a0bd362aa25aa0a",
"id": "66b457e93819e3f425bdc83a",
"location_ids": [
"P_L1"
],
Expand All @@ -41,7 +41,7 @@
],
"quantity": {
"selected": {
"count": 10
"count": 100
}
},
"tags": [
Expand All @@ -54,31 +54,31 @@
"descriptor": {
"code": "ITEM_REQ"
},
"value": "item requirement"
"value": "test"
},
{
"descriptor": {
"code": "PACKAGING_REQ"
},
"value": "packging requirements"
"value": "test"
}
]
}
]
}
],
"billing": {
"name": "ABC Private Limited",
"address": "Singapore",
"name": "Platform Hotel",
"address": "Geylang East Ave 3",
"state": {
"name": "Singapore"
},
"city": {
"name": "Singapore"
},
"tax_id": "BFGFG3R34534",
"email": "[email protected]",
"phone": "8870323539"
"tax_id": "33NLUFD6907T1Z0",
"email": "[email protected]",
"phone": "+916383353594"
},
"fulfillments": [
{
Expand All @@ -89,21 +89,21 @@
"type": "end",
"location": {
"gps": "1.2804385, 103.8489962",
"address": "Singapore",
"address": "Geylang East Ave 3",
"city": {
"name": "Singapore"
},
"country": {
"code": "SGP"
},
"area_code": "238858",
"area_code": "389730",
"state": {
"name": "Singapore"
}
},
"contact": {
"phone": "9988776655",
"email": "[email protected]"
"phone": "+916383353594",
"email": "[email protected]"
}
}
],
Expand All @@ -117,7 +117,7 @@
"descriptor": {
"code": "INCOTERMS"
},
"value": "CIF"
"value": "EXW"
},
{
"descriptor": {
Expand Down Expand Up @@ -152,7 +152,7 @@
"descriptor": {
"code": "buyer_id_no"
},
"value": "BFGFG3R34534"
"value": "33NLUFD6907T1Z0"
}
]
}
Expand Down
Loading

0 comments on commit 37fbe9a

Please sign in to comment.