Aurora Get Order By Customer ID
Retrieves the most recent order for a customer in the Aurora ERP system, using the customer's Aurora ID. Use it when you already have the customer ID and need their latest order.
Retrieves the most recent order for a customer in the Aurora ERP system, using the customer's Aurora ID. Use it when you already have the customer ID and need their latest order.
What it does
- Sends an order lookup request to your Aurora ERP endpoint, authenticated with your Aurora auth token.
- Looks up orders for the given customer ID and returns the most recent one.
- Reports whether an order was found through the "Order Found?" output.
- If Aurora returns an error, it is passed back so the flow can handle it.
Requires an Aurora auth token and the Aurora API URL.
Inputs
| Name | Type | Required | Description |
|---|---|---|---|
| Auth Token | String | Yes | Aurora authentication token |
| API URL | String | Yes | Aurora API URL |
| Customer ID | String | Yes | Aurora customer ID whose order should be retrieved |
Outputs
| Name | Type | Description |
|---|---|---|
| Order Found? | Boolean | Whether an order was found for the customer |
| Order | Object | The most recent order record from Aurora |
Notes
- Returns only the customer's most recent order.
- If no order is found, "Order Found?" is false and no order is returned.