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 Success flag.

Inputs

NameTypeDescription
HostStringMagento host
UsernameString (sensitive)Magento username
API KeyString (sensitive)Magento API Key
EmailStringEmail to search order by

Outputs

NameTypeDescription
SuccessBooleanWhether order was found or not
OrderObjectOrder

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.