Shopware icon

Shopware

Shopware

Actions778

Number Range → Update Number Range

AI-generated

Overview

This node operation updates a Number Range resource in the Shopware system. It allows users to modify properties of an existing number range, such as its identifier, type, global status, name, description, pattern, start value, custom fields, timestamps, translations, type details, sales channels, and state. This operation is useful for managing and customizing number ranges used in Shopware, for example, to update numbering schemes for orders, invoices, or other entities.

Use Case Examples

  1. Updating the pattern and start value of a specific number range to change how order numbers are generated.
  2. Modifying the name and description of a number range to better reflect its purpose in the system.

Properties

Name Meaning
Id Identifier for the number_range, used to specify which number range to update.
Response Data format for response, used to specify the response format if needed.
Type Id Type identifier of the number range, specifying the category or type of the number range.
Global Boolean flag indicating if the number range is global.
Name Name of the number range.
Description Description of the number range.
Pattern Pattern used for the number range, defining the format of the generated numbers.
Start Starting number for the number range.
Custom Fields Custom fields in JSON format for additional data related to the number range.
Created At Timestamp of when the number range was created.
Updated At Timestamp of when the number range was last updated.
Translated Translated fields in JSON format for localization.
Type Detailed JSON object representing the type and related nested data of the number range.
Number Range Sales Channels JSON array representing sales channels associated with the number range.
State JSON object representing the state of the number range and related nested data.
Request Options Settings for request options such as batching, SSL issues, proxy, and timeout.

Output

JSON

  • id - Identifier of the updated number range.
  • typeId - Type identifier of the updated number range.
  • global - Global flag of the updated number range.
  • name - Name of the updated number range.
  • description - Description of the updated number range.
  • pattern - Pattern of the updated number range.
  • start - Starting number of the updated number range.
  • customFields - Custom fields of the updated number range.
  • createdAt - Creation timestamp of the updated number range.
  • updatedAt - Last update timestamp of the updated number range.
  • translated - Translated fields of the updated number range.
  • type - Type details of the updated number range.
  • numberRangeSalesChannels - Sales channels associated with the updated number range.
  • state - State details of the updated number range.

Dependencies

  • An API key credential for Shopware Admin API

Troubleshooting

  • Ensure the 'Id' property is correctly set to the identifier of the number range to update, otherwise the update will fail.
  • Verify that required properties such as 'Type Id', 'Global', 'Name', 'Pattern', and 'Start' are provided to avoid validation errors.
  • Check network connectivity and API credentials if the request to Shopware API fails.
  • If SSL issues occur, consider enabling the 'Ignore SSL Issues' option in request settings, but be aware of security implications.

Discussion