Happy Returns Get Returns

Get return details from Happy Returns by order number or email address. At least one of Order Number or Email Address must be provided.

Use Happy Returns Get Returns to retrieve return records from Happy Returns by order number, email address, or both.

API Documentation link.

When to use this action

Use this action when you need to look up Happy Returns return details in a flow. You can search by:

  • Order number
  • Customer email address
  • Both order number and customer email address

At least one search value must be provided.

Configure the action

  1. Add the Happy Returns Get Returns action to your flow.
  2. Provide an Order Number, an Email Address, or both.
  3. Use the output fields to check whether the request succeeded and whether any returns were found.

Inputs

InputIDTypeRequiredDescription
Order Numberorder_numberOptional StringRequired if Email Address is not providedOrder number to look up returns for.
Email AddressemailOptional StringRequired if Order Number is not providedCustomer email address to look up returns for.

Outputs

OutputIDTypeDescription
SuccesssuccessBooleanWhether the Happy Returns API call was successful.
Returns Found?returns_foundBooleanWhether any returns were found for the provided search values.
ReturnsreturnsListList of return records returned by Happy Returns.
Number of Returnstotal_itemsNumberTotal number of return records found.
MessagemessageStringError or status message returned by the action.

Handle the result

Use success first to confirm that the API call completed successfully. Then use returns_found and total_items to decide what your flow should do next.

ConditionMeaningRecommended next step
success is true and returns_found is trueThe lookup completed and return records were found.Use returns in the next step of your flow.
success is true and returns_found is falseThe lookup completed, but no matching returns were found.Continue down a no-return-found path or notify the customer.
success is falseThe lookup failed.Read message to understand the error and route the flow to an error-handling path.

Troubleshooting

IssueCauseResolution
No returns are foundThe order number or email address does not match any Happy Returns records.Confirm the input values and try searching with both Order Number and Email Address.
The action fails before searchingBoth Order Number and Email Address are empty.Provide at least one search value.
The action returns an error messageHappy Returns returned an error or the request could not be completed.Check the message output and use it to determine the next flow step.