Works in Ultra Pipelines.
Snap Input and Output
|Input/Output||Type of View||Number of Views||Examples of Upstream and Downstream Snaps||Description|
|The ID of the order that the order risk belongs to.|
Creates an order risk for an order.
First, we configure the JSON Generator Snap to pass the order data as follows.
|Order Data||Order Data Output|
Next, we create an order with the order details from the upstream Snap—we configure the Create Order Snap as follows.
|Create Order Snap Settings||Create Order Snap Output|
Next, we prepare an order risk for the order we just created using the Mapper Snap. To this end, we map the order risk details as highlighted in the image below.
Next, we create an Order Risk for the order using the Create Order Risk Snap. We pass $id in the Order Id field. Upon validation, the Snap generates the order risk details for the given order as follows:
|Create Order Risk Settings||Create Order Risk Output|