Shopware icon

Shopware

Shopware

Actions778

Locale → Delete Locale

AI-generated

Overview

This node operation deletes a specified locale in the Shopware system. It is useful for managing and cleaning up locales that are no longer needed in the Shopware environment. For example, if a locale is deprecated or mistakenly added, this operation can remove it by its identifier.

Use Case Examples

  1. Deleting a locale by providing its unique identifier to maintain an up-to-date list of supported locales in an e-commerce platform.
  2. Automating the removal of unused locales during a data cleanup process.

Properties

Name Meaning
Id Identifier for the locale to be deleted, required to specify which locale to remove.
Response Data format for the response, can be used to specify how the response data should be formatted or left empty if no specific 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 locale.
  • 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 to a valid locale identifier; otherwise, the delete operation will fail.
  • If SSL certificate validation issues occur, consider enabling the 'Ignore SSL Issues' option, but be aware of the security implications.
  • Check proxy settings if the request fails to connect to the Shopware server through a proxy.
  • Timeout errors may occur if the server is slow to respond; increase the timeout setting if necessary.
  • Common error messages include 'Locale not found' if the provided Id does not exist, or authentication errors if the API credentials are invalid.

Discussion