Use this API to fetch orders details for a guest/connected user using transactionId/batchId
Possible inputs
1. Passing only transactionId(s)
transactionId(s) If transactionId(s) are passed as input, then order details will be returned for all valid transactionId having intent of TRANSACTION and status = COMPLETED . If all of them are invalid ids, no orders will be returned
For a connected user, the transactionId must be associated with the user smallcaseAuthId, else no order details will be shown
For a guest user, order details will be fetched for the provided transactionId(s)
2. Passing only batchId(s)
batchId(s) For a connected user, order details will be fetched with the provided batchId(s), which should be associated with the user smallcaseAuthId, else no order details will be shown.
For a guest user, order details will be fetched for the provided batchId(s)
3. Passing both transactionId(s) and batchId(s)
transactionId(s) and batchId(s)If a mix of both transactionId and batchId is passed as input params, then order details will be fetched in a similar fashion as discussed in the points above.
Note: For guest users, either transactionId or batchId must be present
transactionId or batchId must be present