ONDC-Official / ONDC-Protocol-Specs

Open Network for Digital Commerce (ONDC) Open API Specifications. ONDC is an ambitious initiative to democratize digital commerce by creating a decentralized network of buyer apps and seller apps through an interoperable protocol specification.
Other
140 stars 59 forks source link

Maintaining link between retail & logistics order objects #7

Closed BLR-0118 closed 2 years ago

BLR-0118 commented 2 years ago

In a cascaded tx, When logistics provider, updates status from say Active to Shipped -> Delivered, the /on_status is sent back to BAP Logistics, but there is no msg_id that can be mapped back to some tx on the BPP Retail side, how is this supposed to be dealt with in the protocol? One way to handle this would be to pass the logistics Order txn_id back to the retail Order after confirmation of the logistics order. the txn id is passed by the BPP-logistics in these status updates. Passing the txn id from BPP-Logistics, via BAP-Logistics, it will avoid maintaining the reverse mapping on BAP-logistics side.

BLR-0118 commented 2 years ago

Added "./ondc-cascaded_orders" to Order object for retail orders (hyperlocal, f&b)