Actions17
Overview
This node interacts with a Store resource to retrieve details of a specific order by its unique identifier. It is useful in scenarios where you need to fetch the current status, items, or other metadata of an existing order from an online store system. For example, it can be used in workflows that monitor order fulfillment, update customer records, or trigger notifications based on order information.
Properties
| Name | Meaning |
|---|---|
| Order Id | ID of the order that needs to be fetched (number) |
Output
The output will contain a JSON object representing the order details corresponding to the provided Order Id. This typically includes fields such as order status, items purchased, quantities, prices, customer information, and timestamps. The exact structure depends on the underlying API response but generally provides comprehensive data about the specified order.
No binary data output is indicated for this operation.
Dependencies
- Requires access to the Store API endpoint that supports fetching orders by ID.
- Needs appropriate API authentication credentials configured in n8n to authorize requests.
- The base URL for the API is set to
https://petstore3.swagger.io/api/v3as per the bundled source code, indicating it uses the Petstore API specification.
Troubleshooting
- Invalid Order Id: If the provided Order Id does not exist, the node may return an error or empty result. Verify the Order Id is correct and exists in the store.
- Authentication Errors: Missing or invalid API credentials will cause authorization failures. Ensure valid credentials are configured.
- Network Issues: Connectivity problems to the API endpoint will prevent data retrieval. Check network access and API availability.
- API Changes: If the API schema changes, the node's expected properties might not match, causing errors or incomplete data.