Actions17
Overview
This node places an order in the Store resource of the Petstore API. It allows users to create a new order by specifying details such as the order ID, pet ID, quantity, shipping date, status, and completion state. This is useful for automating order creation workflows, managing inventory, or integrating order placement into larger automation processes. For example, a user can automatically place an order for a pet product when stock is low or when a customer submits a purchase request.
Properties
| Name | Meaning |
|---|---|
| Id | Unique identifier for the order being placed. |
| Pet Id | Identifier of the pet associated with the order. |
| Quantity | Number of items to order. |
| Ship Date | Date when the order should be shipped. |
| Status | Current status of the order. |
| Complete | Indicates whether the order is complete. |
Output
JSON
id- The unique identifier of the placed order.petId- The pet identifier associated with the order.quantity- The quantity of items ordered.shipDate- The shipping date of the order.status- The status of the order (placed, approved, delivered).complete- Boolean indicating if the order is complete.
Dependencies
- Petstore API endpoint at https://petstore3.swagger.io/api/v3
- Optional API authentication credential (API key or token) for Petstore API
Troubleshooting
- Ensure all required properties (id, petId, quantity) are provided and valid numbers.
- Verify the shipDate is in a valid date string format if provided.
- Check that the status value is one of the allowed options: placed, approved, or delivered.
- If the API returns authentication errors, confirm that the API key credential is correctly configured.
- Network errors may occur if the Petstore API endpoint is unreachable; verify internet connectivity and endpoint URL.
Links
- Petstore API Documentation - Official API documentation for the Petstore service used by this node.