In this article

Overview

You can use this Snap to update existing orders or draft an order on behalf of the customer.

Prerequisites

None.

Support for Ultra Pipelines

Works in Ultra Pipelines

Limitations

When you pass invalid data, this Snap does not throw any error. For example, if you enter an invalid country code, currency, or invalid country name, this Snap ignores that invalid data.

Known Issues

None.

Snap Input and Output

Input/OutputType of ViewNumber of ViewsExamples of Upstream and Downstream SnapsDescription
Input 

Document


  • Min:1
  • Max:1
  • Mapper
  • Copy
You must pass appropriate details that you want to update for the order.
Output

Document


  • Min:1
  • Max:1
  • JSON Formatter
  • CSV Formatter

The updated order ID and the order details.

Snap Settings

Field NameField DependencyDescription
Label*N/A
Specify the name for the Snap. You can modify the default name to be specific and meaningful, especially if you have more than one of the same Snap in your Pipeline.

Default ValueUpdate_Order
ExampleUpdate_Orders_123
Version*N/A

Default Value2021-07
Example2021-04

Draft OrdersN/A

Specify the draft order ID to update the draft order.

Default Value: N/A (Expression enabled by default)
Example$id

Resource Id*N/A

Specify the ID of the order/draft order to update a specific record.

Default Value: N/A
Exampleres_id

Number Of RetriesN/A

Specify an integer value to set the maximum number of reconnection attempts that the Snap must perform, in case of connection failure or timeout.

Default Value: 1
Example: 2

Retry Interval (Seconds)N/A

Specify the duration in seconds for which the Snap must wait between two reconnection attempts, until the number of retries is reached.

Default Value: 1
Example: 2

Snap Execution

N/A


Select one of the three modes in which the Snap executes. Available options are:

  • Validate & Execute: Performs limited execution of the Snap, and generates a data preview during Pipeline validation. Subsequently, performs full execution of the Snap (unlimited records) during Pipeline runtime.
  • Execute only: Performs full execution of the Snap during Pipeline execution without generating preview data.
  • Disabled: Disables the Snap and all Snaps that are downstream from it.

Default ValueExecute only
ExampleValidate & Execute




See Also