Cancel Return Step

This step is solely responsible for cancelling a return, there is no UI so the only response needed is to tell the frontend whether the cancellation was successful or not.

Example Flow

Success response:

{
  "success": true
}

If successful, the returns portal is closed and the product_selection step is executed, starting the journey from the beginning.

Error response:

{
  "success": false,
  "errorMessage": "Something went wrong"
}

If the request fails, an error message is displayed and the user can try again.