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[0][0][field] = customer_email
- searchCriteria[0][0][value] = {Email}
Inputs
In order to use the action in your flow you need to provide it with the following inputs:
| Input | Type | Description |
|---|---|---|
| Magento Host | Credentials | Magento Host / Domain Name |
| Access Token | Credentials | The access token required to execute API calls with Magento2 |
| Max Order Results | Optional Number | Max number of orders to return. Defaults to 2 |
| String | The customer's email used to place the order |
Outputs
| Output | Type | Decription |
|---|---|---|
| Success | Boolean | True if managed to find an order; False if no orders found. |
| Shipment Found | Boolean | True if shipment found from order, False if no Shipments found |
| Order | Object | Raw order data |
| List of Orders | List | List of orders with order number and order date |
Updated 13 days ago
Did this page help you?