Orderhive Search For Orders
Searches for orders in Orderhive by email address or order number and returns the matching order data. Use it in order tracking and customer service flows for stores running on Orderhive.
What it does
- Signs in to Orderhive and reuses cached credentials when the sign-in is rate limited.
- Searches orders using the supplied search word, which can be an email or an order number.
- Returns the matching orders, or a clear "Order Not Found" message when there are no results.
Inputs
| Name | Type | Description |
|---|---|---|
| AWS ID Token | String (sensitive) | AWS ID Token |
| AWS Refresh Token | String (sensitive) | AWS Refresh Token |
| AWS Region | String | AWS Region. us-east-1 |
| AWS Service | String | AWS Service. execute-api |
| DG API Key | String (sensitive) | DG API Key |
| DG API Secret | String (sensitive) | DG API Secret |
| DG Region | String | DG Region |
| Search Word | String | Can be Email or Order Number |
Outputs
| Name | Type | Description |
|---|---|---|
| Success | Boolean | Orders found? |
| Orders | Object | Orders Data Object |
Notes
Search Wordaccepts either a customer email or an order number.- The action manages Orderhive's authentication for you, caching session credentials so repeated calls do not hit sign-in rate limits.
- A successful call with no matches still returns
Success: truewith an "Order Not Found" indication, rather than an error.