SerB2B icon

SerB2B

Interact with SerB2B API

Category → Get All

AI-generated

Overview

This node interacts with the SerB2B API to retrieve all categories. It supports fetching either all categories or a limited number based on user input, with optional filtering by status (Active or Inactive). This is useful for scenarios where you need to list or process categories from the SerB2B system, such as syncing category data or displaying categories in an application.

Use Case Examples

  1. Fetch all categories without limit to synchronize with an external system.
  2. Retrieve up to 50 active categories to display in a dropdown menu.

Properties

Name Meaning
Return All Whether to return all category results or only up to a given limit.
Limit Maximum number of category results to return when 'Return All' is false.
Filters Filters to apply when retrieving categories, such as filtering by status (Active or Inactive).

Output

JSON

  • id - Unique identifier of the category.
  • kategori_adi - Name of the category.
  • status - Status of the category, e.g., active or inactive.

Dependencies

  • SerB2B API with an API key credential

Troubleshooting

  • Common issues include API authentication errors due to invalid or missing credentials. Ensure the API key credential is correctly configured.
  • If no categories are returned, check the filter settings and ensure categories exist in the SerB2B system matching those filters.
  • Rate limiting or network errors may cause request failures; retry or check network connectivity.

Discussion