Shopware icon

Shopware

Shopware

Actions778

Number Range State → Update Number Range State

AI-generated

Overview

This node updates the state of a number range in the Shopware system. It is useful for scenarios where you need to modify the current state of a number range, such as updating the last used value or changing associated metadata. For example, it can be used to keep track of invoice numbers or order numbers that are generated sequentially.

Use Case Examples

  1. Updating the last value of a number range after generating a new invoice number.
  2. Modifying metadata related to a number range state for reporting or auditing purposes.

Properties

Name Meaning
Id Identifier for the number_range_state, used to specify which number range state to update.
Response Data format for the response, can be empty if no specific format is required.
Number Range Id Identifier for the associated number range.
Last Value The last value used in the number range, typically a number that increments with each use.
Created At Timestamp indicating when the number range state was created.
Updated At Timestamp indicating when the number range state was last updated.
Number Range A JSON object representing the detailed structure and relationships of the number range, including nested entities and metadata.
Request Options Settings for request behavior such as batching, SSL handling, proxy, and timeout.

Output

JSON

  • id - The identifier of the updated number range state.
  • numberRangeId - The identifier of the associated number range.
  • lastValue - The last value used in the number range after the update.
  • createdAt - Creation timestamp of the number range state.
  • updatedAt - Last update timestamp of the number range state.
  • numberRange - Detailed JSON object representing the number range and its related entities.

Dependencies

  • Requires an API key credential for Shopware Admin API authentication.

Troubleshooting

  • Ensure all required fields (id, numberRangeId, lastValue) are provided to avoid validation errors.
  • Check API credentials and base URL configuration if authentication fails.
  • If the response format is incorrect or empty, verify the _response parameter and API endpoint compatibility.
  • Network issues or proxy misconfiguration can cause request failures; verify proxy and timeout settings.

Discussion