Actions35
- Order Actions
- Contact Actions
- Company Actions
- Files Actions
- Admin Actions
Admin → Get Payment Terms
AI-generatedOverview
This node integrates with the Decogro API to perform various administrative operations, including retrieving payment terms. Specifically, the 'Get Payment Terms' operation fetches a list of payment terms configured in the Decogro system. This is useful for workflows that need to access or display payment term options for orders or financial processing within Decogro.
Use Case Examples
- A user wants to retrieve available payment terms to populate a dropdown in a form for order creation.
- A workflow needs to validate or display payment terms associated with a customer or order.
Properties
| Name | Meaning |
|---|---|
| Limit | Number of items to return, controls pagination size for the results. |
| Offset | Number of items to skip, controls pagination offset for the results. |
Output
JSON
operation- The operation performed, e.g., 'getPaymentTerms'.data- The array or object containing the payment terms data returned from Decogro.metadatamethod- HTTP method used for the API request, typically 'GET'.endpoint- API endpoint accessed, e.g., 'admin/payment-terms'.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 permissions to access admin endpoints.
- If the node returns an error about invalid JSON, verify that the input parameters are correctly set and no malformed JSON is provided.
- Pagination parameters (limit and offset) must be within allowed ranges; otherwise, the API may reject the request.
Links
- Decogro API Documentation - Payment Terms - Official documentation for the payment terms endpoint in Decogro API.