KiotViet icon

KiotViet

Interact with KiotViet

Category → Get Categories

AI-generated

Overview

This node interacts with the KiotViet API to retrieve a list of categories. It is useful for scenarios where you need to fetch and process category data from a KiotViet store, such as syncing categories with another system, displaying them in a dashboard, or performing analytics.

Use Case Examples

  1. Fetching a paginated list of product categories from a KiotViet store to display in an inventory management system.
  2. Retrieving categories to update a website's product categorization dynamically.

Properties

Name Meaning
Page Size Specifies the number of categories to retrieve per API call, allowing control over pagination.
Current Item ID Indicates the starting point or offset for the current batch of categories to fetch, used for pagination.

Output

JSON

  • json - The JSON response containing the list of categories retrieved from the KiotViet API.

Dependencies

  • Requires an API key credential for KiotViet API authentication.

Troubleshooting

  • If the node throws an error 'Get access_token failed', it means the authentication token could not be retrieved. Check the API credentials and ensure they are correctly configured.
  • Errors indicating 'Unknown operation' or 'Unknown resource' suggest that the operation or resource parameter is incorrectly set or unsupported. Verify the input parameters.

Discussion