Shopify Has Customer Bought Item
Checks if a Shopify customer (by email) has purchased a product where a specified line item field matches a given regex pattern, returning the first matching order and a list of all matching orders.
Inputs
Name | Description | |
|---|---|---|
String | Customer email address based on which the order should be found. | |
Shopify Token | Credentials | Shopify token. Read here how to find your Shopify token. |
Shopify Domain | String | Shopify sub-domain from store Shopify account. |
Match Pattern | String | Pattern to match in line items |
Match Field | String | Field to match in line items |
Case Sensitive? | Boolean | Regex |
Include New Lines? | Boolean | Regex |
Outputs
| Name | Type | Description |
|---|---|---|
| Success? | Boolean | Whether the call was successful or not |
| Found? | Boolean | Whether an order with the specified line item title was found or not |
| First Match | Object | The order object or the first occurrence of line_item.title |
| Matching Orders | List | List of all matching orders |
Updated 7 days ago
