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

Email

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.
For example, if the URL of the store Shopify account is: https://digitalgenius.myshopify.com/
than the sub-domain is: digitalgenius

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

NameTypeDescription
Success?BooleanWhether the call was successful or not
Found?BooleanWhether an order with the specified line item title was found or not
First MatchObjectThe order object or the first occurrence of line_item.title
Matching OrdersListList of all matching orders