Shopware icon

Shopware

Shopware

Actions778

Number Range Type → Update Number Range Type

AI-generated

Overview

This node updates a Number Range Type resource in the Shopware system. It is useful for modifying existing number range types by specifying their ID and updating properties such as technical name, type name, global flag, custom fields, creation and update timestamps, translations, number ranges, and number range sales channels. This operation is typically used in scenarios where number range types need to be maintained or adjusted programmatically within Shopware, for example, updating numbering schemes for orders or invoices.

Use Case Examples

  1. Updating the technical name and type name of a specific number range type by its ID.
  2. Modifying the global flag and custom fields of a number range type to change its scope and metadata.
  3. Adjusting the number ranges and associated sales channels for a number range type to reflect new business rules.

Properties

Name Meaning
Id Identifier for the number_range_type, used to specify which number range type to update.
Response Data format for the response, used as a query parameter to control the response format.
Technical Name Technical name of the number range type, used to update this property.
Type Name Type name of the number range type, required for the update operation.
Global Boolean flag indicating if the number range type is global, required for the update operation.
Custom Fields Custom fields in JSON format, used to update additional metadata for the number range type.
Created At Timestamp string indicating when the number range type was created, used for update.
Updated At Timestamp string indicating when the number range type was last updated, used for update.
Translated Translated fields in JSON format, used to update translations for the number range type.
Number Ranges JSON array representing the number ranges associated with the number range type, used to update these ranges.
Number Range Sales Channels JSON array representing the sales channels associated with the number range type's number ranges, used to update these associations.

Output

JSON

  • id - The identifier of the updated number range type.
  • technicalName - The updated technical name of the number range type.
  • typeName - The updated type name of the number range type.
  • global - The updated global flag of the number range type.
  • customFields - The updated custom fields of the number range type.
  • createdAt - The creation timestamp of the number range type.
  • updatedAt - The last update timestamp of the number range type.
  • translated - The updated translations of the number range type.
  • numberRanges - The updated number ranges associated with the number range type.
  • numberRangeSalesChannels - The updated sales channels associated with the number ranges.

Dependencies

  • An API key credential for Shopware Admin API

Troubleshooting

  • Ensure the 'Id' property is correctly set to the existing number range type identifier to avoid 'not found' errors.
  • Verify that required fields like 'Type Name' and 'Global' are provided to prevent validation errors.
  • Check the JSON format of 'Custom Fields', 'Translated', 'Number Ranges', and 'Number Range Sales Channels' to avoid parsing errors.
  • If SSL issues occur, consider enabling the 'Ignore SSL Issues' option or verify the SSL certificate of the Shopware server.
  • Use the 'Timeout' and 'Proxy' settings appropriately to handle network-related issues.

Discussion