Magento2 Search for Orders by Email

This action is used to get order information from Magento2.

https://adobe-commerce.redoc.ly/2.4.7-admin/tag/orders#operation/GetV1Orders

We are using the following query parameters in this action:

  • searchCriteria[filter_groups][0][filters][0][field] = customer_email
  • searchCriteria[filter_groups][0][filters][0][value] = {Email}

Inputs

In order to use the action in your flow you need to provide it with the following inputs:

InputTypeDescription
Magento HostStringMagento Host / Domain Name
Access TokenSensitiveStringThe access token required to execute API calls with Magento2
EmailStringThe customer's email used to place the order

Outputs

OutputTypeDecription
SuccessBooleanTrue if managed to find an order; False if no orders found.
Shipment FoundBooleanTrue if shipment found from order, False if no Shipments found
OrderObjectRaw order data