How to Perform a Manual Basket Item Confirmation

Within this guide you are going to learn how to perform manually perform a confirmation of a basket item for the Order Management service.

Context

  • Given the order ORD00562-Common the confirmation for the basket item BOO0000719 failed
  • You already obtained the BProc Context Id 765ee790-8581-ee11-2fa3-00505685d9fb (e.g. from the BProc Error Incident, BProc - Reference History, Order Management Registration Entry)
  • The failure reason could include
    • temporary networking issues
    • a faulty registration basket item call
    • etc.

Fix

  1. It is crucial that the manual registration is performed against the BProc Gateway and not directly the Order Management service. The reason for this is, that the BProc Gateway introduces the Command and Event pattern, required for the Matrix42 workflows.
  2. Open Postman or a similiar program within which you have configured the authorization required for the BProc gateway.
  3. Perform the following call by replacing the provided values with the correct values for your context.

    POST {{baseUrl}}/Orders/ORD00562-Common/confirm
{    "Context": {        "Id": "765ee790-8581-ee11-2fa3-00505685d9fb"    },    "Id": "BOO0000719",    "ReferenceNote": "Angefragt durch : Soennecken, Torben (soennecken@rootitup.de)",    "ReferenceId": "#TCK00000685"}