Magento(SOAP v1) Search for Order by Email V2
Looks up a customer's most recent order in a Magento store using their email address, returning the full order details along with any shipments. Use it in order tracking, returns or refund flows when the customer is identified by email.
What it does
- Finds the customer's latest order placed in the last 6 months that matches the email address.
- Returns the full order information, including line items.
- Adds any shipment records and shipment details linked to the order.
- Reports whether an order was found through the
Successflag.
Inputs
| Name | Type | Description |
|---|---|---|
| Host | String | Magento host |
| Username | String (sensitive) | Magento username |
| API Key | String (sensitive) | Magento API Key |
| String | Email to search order by |
Outputs
| Name | Type | Description |
|---|---|---|
| Success | Boolean | Whether order was found or not |
| Order | Object | Order |
Notes
- Only orders from the last 6 months are searched. Older orders will not be found.
- When a customer has more than one recent order, the most recent one is returned.
- This action uses Magento's legacy SOAP v1 API and requires SOAP API access to be enabled on the store.