Setting Request unit

A default data sample needs to be defined in the Request unit. You use the Formula editor in the Mapping dashboard to define this value.

For example, in this Request unit, we want to set a value for variant_id with the following value.


Clicking the Request unit opens the Mapping dashboard. A dark green area under a property is used to display the property's value. If no property has been set, it displays null and a Set data sample button.

Set Request value

Clicking Set data sample opens the Formula editor. In this editor we want to enter a string value, so we enter this value including the quotes. You may have to delete a placeholder text null.

Request value entered

Click Save to save your changes.

If errors are found, changes will not be saved and the property value will revert to null.

Click Done to close the Mapping dashboard. Properties in the Request unit now have values.

The Help text next to the editing field provides a description of the types of data samples that can be entered, based on their data types. Data samples can include:

  • Boolean that resolves to either true or false

  • Numbers: integers such as 1 or 2.5

  • Strings: "text string within quotes"

For more details, see Set request data value in the Pipeline tutorial.