Shopware icon

Shopware

Shopware

Actions778

Main Category → Delete Main Category

AI-generated

Overview

This node operation deletes a main category in the Shopware system. It is useful for scenarios where you need to programmatically remove a main category by specifying its identifier. For example, it can be used in workflows that manage product categories dynamically, such as cleaning up obsolete categories or automating category management.

Use Case Examples

  1. Deleting a main category by providing its unique ID to keep the category list up to date.
  2. Automating category removal in response to business rules or external triggers.

Properties

Name Meaning
Id Identifier for the main_category to be deleted, required to specify which main category to remove.
Response Data format for the response. It can be left empty if no specific response format is needed.
Request Options Additional request options such as batching, SSL certificate validation, proxy settings, and timeout configuration to control the HTTP request behavior.

Output

JSON

  • id - The identifier of the deleted main category.
  • status - Status of the delete operation, indicating success or failure.
  • message - Additional message or information about the delete operation result.

Dependencies

  • An API key credential for authenticating with the Shopware Admin API.

Troubleshooting

  • Ensure the 'Id' property is correctly set and corresponds to an existing main category; otherwise, the delete operation will fail.
  • Check network connectivity and proxy settings if the request times out or fails to reach the Shopware server.
  • If SSL certificate validation fails and the request is rejected, consider enabling the 'Ignore SSL Issues' option if appropriate.
  • Verify that the API credentials have sufficient permissions to delete main categories in Shopware.

Discussion