Happy Returns Get Returns

Retrieves return details from Happy Returns by order number or email address. At least one search parameter must be provided.

What it does

  • Queries the Happy Returns API for returns matching the given order number and/or email.
  • Returns the list of return records found and a count.

Notes

  • At least one of Order Number or Email Address must be provided.
  • If both are provided, results are filtered by both criteria.
  • Returns include all return records (may contain multiple returns per order).

Inputs

NameTypeDescription
Order NumberString (optional)Order number to look up returns for
Email AddressString (optional)Customer email address

Outputs

NameTypeDescription
SuccessBooleanWhether the API call succeeded
Returns Found?BooleanWhether any returns were found
ReturnsListList of return records
Number of ReturnsNumberTotal count of returns found
MessageStringError or status message