Actions35
- Order Actions
- Contact Actions
- Company Actions
- Files Actions
- Admin Actions
Admin → Get Categories
AI-generatedOverview
This node integrates with the Decogro API to perform various administrative operations, including retrieving categories. Specifically, the 'Get Categories' operation fetches a list of categories from the Decogro admin endpoint. This is useful for workflows that need to access or manage category data within Decogro, such as syncing categories with other systems or displaying them in reports.
Use Case Examples
- Retrieve a list of product or service categories from Decogro to populate a dropdown in a form.
- Fetch categories to synchronize with an external inventory or catalog system.
Properties
| Name | Meaning |
|---|---|
| Limit | Number of items to return, with a minimum of 1 and a maximum of 100. |
| Offset | Number of items to skip before starting to collect the result set, minimum value is 0. |
Output
JSON
operation- The operation performed, e.g., 'getCategories'.data- The JSON response data from the Decogro API containing the categories.metadatamethod- HTTP method used for the request, typically 'GET'.endpoint- API endpoint accessed, e.g., 'admin/categories'.timestamp- Timestamp when the request was made.limit- The limit parameter used in the request.offset- The offset parameter used in the request.page- The calculated page number based on limit and offset.
Dependencies
- Decogro API with API key authentication
Troubleshooting
- Ensure the API key credential is correctly configured and has the necessary permissions to access admin endpoints.
- If the node returns an error about invalid JSON, verify that any JSON body inputs are correctly formatted (not applicable for 'Get Categories' as it uses GET).
- Check that the 'Limit' and 'Offset' values are within the allowed ranges to avoid request errors.
- Network or API endpoint issues may cause request failures; verify the base URL and network connectivity.
Links
- Decogro API - Admin Categories - Official API documentation for retrieving categories from Decogro admin endpoints.