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
| Name | Type | Description |
|---|---|---|
| Order Number | String (optional) | Order number to look up returns for |
| Email Address | String (optional) | Customer email address |
Outputs
| Name | Type | Description |
|---|---|---|
| Success | Boolean | Whether the API call succeeded |
| Returns Found? | Boolean | Whether any returns were found |
| Returns | List | List of return records |
| Number of Returns | Number | Total count of returns found |
| Message | String | Error or status message |