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

NameDescription
EmailStringCustomer email address based on which the order should be found.
Shopify TokenCredentialsShopify token. Read here how to find your Shopify token.
Shopify DomainStringShopify 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 PatternStringPattern to match in line items
Match FieldStringField to match in line items
Case Sensitive?BooleanRegex
Include New Lines?BooleanRegex

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