Shopware icon

Shopware

Shopware

Actions778

Number Range Sales Channel → Create Number Range Sales Channel

AI-generated

Overview

This node operation creates a Number Range Sales Channel in the Shopware system. It is useful for automating the management of sales channels associated with specific number ranges, which can be critical for organizing sales data and processes in e-commerce platforms. For example, it can be used to programmatically assign a sales channel to a number range for order numbering or inventory tracking.

Use Case Examples

  1. Creating a new sales channel linked to a specific number range for order processing automation.
  2. Assigning sales channels to number ranges to segment sales data by channel automatically.

Properties

Name Meaning
Response Specifies the data format for the response, either basic or detailed.
Id The unique identifier for the Number Range Sales Channel to be created.
Number Range Id The identifier of the number range to associate with the sales channel.
Sales Channel Id The identifier of the sales channel to associate with the number range.
Number Range Type Id Optional identifier for the type of number range.
Created At Optional creation timestamp for the record.
Updated At Optional update timestamp for the record.
Number Range Optional JSON object representing the number range details.
Sales Channel Optional JSON object representing the sales channel details.
Number Range Type Optional JSON object representing the number range type details.
Request Options Node-level request options such as batching, SSL handling, proxy, and timeout settings.

Output

JSON

  • id - The unique identifier of the created Number Range Sales Channel.
  • numberRangeId - The identifier of the associated number range.
  • salesChannelId - The identifier of the associated sales channel.
  • numberRangeTypeId - The identifier of the number range type, if provided.
  • createdAt - Timestamp when the Number Range Sales Channel was created.
  • updatedAt - Timestamp when the Number Range Sales Channel was last updated.
  • numberRange - Detailed JSON object of the number range associated with the sales channel.
  • salesChannel - Detailed JSON object of the sales channel associated with the number range.
  • numberRangeType - Detailed JSON object of the number range type.

Dependencies

  • An API key credential for Shopware Admin API

Troubleshooting

  • Ensure all required fields (Id, Number Range Id, Sales Channel Id) are provided to avoid validation errors.
  • If the API returns authentication errors, verify that the Shopware Admin API credentials are correctly configured.
  • Timeouts can occur if the server is slow; adjust the timeout setting in Request Options if needed.
  • Malformed JSON in the Number Range, Sales Channel, or Number Range Type fields can cause request failures; ensure valid JSON format.

Discussion