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
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.
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.