In this article
You can use this Snap to create a new customer record in the online Shopify store.
Works in Ultra Pipelines.
|Input/Output||Type of View||Number of Views||Examples of Upstream and Downstream Snaps||Description|
The customer details, such as first name, last name, email, and phone number to create a new customer.
The created customer object.
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 Value: Create Customer
Example: Create Customer
Specify the Shopify API version that you want to use. Alternatively, click the Suggestion icon to fetch the list of supported Shopify API versions and select a version.
Default Value: 2021-07
|Number Of Retries||N/A|
Specify an integer value to set the maximum number of reconnection attempts the Snap must perform in case of connection failure or timeout.
Default Value: 1
|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
Select one of the three modes in which the Snap executes. Available options are:
Default Value: Execute only
The following example Pipeline demonstrates how we can create a customer record in the Shopify store using the Create Customer Snap.
Initially, we configure the JSON Generator Snap to pass customer details in JSON format. Upon validation we see the following customer details in the output preview of the Snap.
|JSON Generator Snap Configuration||Output|
Next, we configure the Mapper Snap to get specific customer details and map them to the target columns.
Upon validation, we see the following data in the output preview of the Snap.
Next, we configure the Create Customer Snap to create a customer with the output from the upstream Snap.
Upon validation, the Snap creates the customer and we can view the customer data in the output preview of the Snap.
You can extend this Pipeline further to create orders for the created customers.
Download this Pipeline.