CAPIShop icon

CAPIShop

Integração completa com Nuvemshop API

Actions35

Category → Update

AI-generated

Overview

This node operation updates an existing category in the Nuvemshop platform using the Nuvemshop API. It is useful for scenarios where you need to modify category details such as the category name or other attributes dynamically via JSON input. For example, you can update the name of a category to reflect new product classifications or seasonal changes.

Use Case Examples

  1. Updating the name of a category by providing the category ID and a JSON object with the new name.
  2. Modifying other category attributes by sending the appropriate JSON fields to the API.

Properties

Name Meaning
Category ID The unique identifier of the category to update, required to specify which category to modify.
Update Data (JSON) A JSON object containing the fields and values to update in the category, allowing flexible updates to any category attribute.

Output

JSON

  • json - The updated category object returned from the Nuvemshop API after the update operation.

Dependencies

  • Requires an API key credential for Nuvemshop API authentication.

Troubleshooting

  • Common issues include providing an invalid or non-existent Category ID, which will cause the API to return an error indicating the category was not found.
  • Malformed JSON in the Update Data property can cause parsing errors; ensure the JSON is valid and correctly formatted.
  • API authentication errors may occur if the API key credential is missing or invalid, resulting in authorization failures.

Links

Discussion