Shopware icon

Shopware

Shopware

Actions778

Number Range Type → Create Number Range Type

AI-generated

Overview

This node operation allows users to create a Number Range Type in the Shopware system. It is useful for defining and managing number range types which can be used for various numbering schemes within Shopware, such as order numbers or invoice numbers. Users can specify details like the ID, technical name, type name, global flag, custom fields, creation and update timestamps, translations, and associated number ranges and sales channels.

Use Case Examples

  1. Creating a new number range type for order numbering with specific sales channel associations.
  2. Defining a global number range type with custom fields and translations for multi-language support.

Properties

Name Meaning
Response Data format for response, either basic or detailed.
Id Unique identifier for the number range type.
Technical Name Technical name of the number range type.
Type Name Name of the number range type.
Global Flag indicating if the number range type is global.
Custom Fields Custom fields in JSON format for additional data.
Created At Timestamp of when the number range type was created.
Updated At Timestamp of when the number range type was last updated.
Translated Translations in JSON format for multi-language support.
Number Ranges JSON array defining the number ranges associated with this type.
Number Range Sales Channels JSON array defining the sales channels associated with the number range type.
Request Options Settings for request behavior such as batching, SSL issues, proxy, and timeout.

Output

JSON

  • id - Unique identifier of the created number range type.
  • technicalName - Technical name of the created number range type.
  • typeName - Name of the created number range type.
  • global - Indicates if the number range type is global.
  • customFields - Custom fields associated with the number range type.
  • createdAt - Creation timestamp of the number range type.
  • updatedAt - Last update timestamp of the number range type.
  • translated - Translations for the number range type.
  • numberRanges - Number ranges associated with the type.
  • numberRangeSalesChannels - Sales channels associated with the number range type.

Dependencies

  • An API key credential for Shopware Admin API

Troubleshooting

  • Ensure required fields like 'Id', 'Type Name', and 'Global' are provided to avoid validation errors.
  • If the API returns authentication errors, verify the Shopware Admin API credentials are correctly configured.
  • For JSON fields like 'customFields', 'translated', 'numberRanges', and 'numberRangeSalesChannels', ensure valid JSON format to prevent parsing errors.
  • Timeout or network errors can be mitigated by adjusting the 'Timeout' and 'Proxy' settings in Request Options.

Discussion