shopifyAddVariantToProduct Step

shopifyAddVariantToProduct

ext. Version: 2020-10
  • Produktdaten anlegen

With this step variants will be added to a simple products with the option1 parameters. 

Does the product already has variants it will also use the option2 and 3 parameters if they exists.

Über Synesty Studio

Mit Synesty als No Code Middleware verbinden Sie Ihre Systeme, Schnittstellen und APIs ohne Programmierung per Drag&Drop. Automatisieren Sie Geschäftsprozesse und Integrationen wie EDI Datenimport / Export oder eine einmalige Daten-Migration.

Wir unterstützen Datenformate wie CSV, Excel (XLS/XLSX), XML oder JSON und ermöglichen auch HTTP-Konnektoren zu REST- oder GraphQL-APIs. Kunden nutzen es auch für Auswertungen, ETL-Aufgaben oder Feed-Optimierung.
Unser No Code Flow-Editor und unsere Low Code Scripting Tools ermöglichen kreative Anpassungen für jede Art von Integration.

Jetzt registrieren und zeitlich unbegrenzt testen

Über Synesty Studio

Mit Synesty als No Code Middleware verbinden Sie Ihre Systeme, Schnittstellen und APIs ohne Programmierung per Drag&Drop. Automatisieren Sie Geschäftsprozesse und Integrationen wie EDI Datenimport / Export oder eine einmalige Daten-Migration.

Wir unterstützen Datenformate wie CSV, Excel (XLS/XLSX), XML oder JSON und ermöglichen auch HTTP-Konnektoren zu REST- oder GraphQL-APIs. Kunden nutzen es auch für Auswertungen, ETL-Aufgaben oder Feed-Optimierung.
Unser No Code Flow-Editor und unsere Low Code Scripting Tools ermöglichen kreative Anpassungen für jede Art von Integration.

Jetzt registrieren und zeitlich unbegrenzt testen

Inputs

Das sind die Optionen, mit denen man den Step konfigurieren kann.

Name Datentyp Beschreibung Pflichtfeld Werte
account ACCOUNT shopify account data Ja
limit STRING Limits the number of rows used from the input SPREADSHEET. Use low values for testing. If limit is empty, all lines are processed. Nein Standardwert:
input SPREADSHEET Spreadsheet of variants to be proceeded Nein Standardwert:
mappingdefinition STRING The mapping definition JSON String Nein
Folgende Felder sind zu konfigurieren:

Feld Beschreibung Datentyp Pflichtfeld Standardwert
product_id The unique numeric identifier for the product. Dezimalzahl Ja
title The title of the product variant. Text Ja
sku A unique identifier for the product variant in the shop. Required in order to connect to a FulfillmentService. Text Ja
barcode The barcode, UPC, or ISBN number for the product. Text
price The price of the product variant. Dezimalzahl Ja
compare_at_price The original price of the item before an adjustment or a sale. Dezimalzahl
option1_value The custom properties that a shop owner uses to define product variants. For example: red when your option1 is something like Color Text Ja
option2_value The custom properties that a shop owner uses to define product variants. For example: XL when your option2 is something like Size Text
option3_value The custom properties that a shop owner uses to define product variants. For example: cotton when your option3 is something like material Text
grams The weight of the product variant in grams. Text
weight The weight of the product variant in the unit system specified with weight_unit. Text
weight_unit The unit of measurement that applies to the product variant's weight. If you don't specify a value for weight_unit, then the shop's default unit of measurement is applied. Valid values: g, kg, oz, and lb.
Erlaubte Werte anzeigen
  • g
  • kg
  • oz
  • lb
Text
inventory_management The fulfillment service that tracks the number of items in stock for the product variant.
Erlaubte Werte anzeigen
  • You are tracking inventory yourself using the admin. (shopify)
  • You aren't tracking inventory on the variant. (null)
  • the handle of a fulfillment service that has inventory management enabled: This must be the same fulfillment service referenced by the fulfillment_service property. (fulfillment_service)
Text
inventory_quantity Sets the inventory for the given location_id. Note: inventory_management must be set to "shopify". Text
inventory_policy Whether customers are allowed to place an order for the product variant when it's out of stock.
Erlaubte Werte anzeigen
  • Customers are not allowed to place orders for the product variant if it's out of stock. (deny)
  • Customers are allowed to place orders for the product variant if it's out of stock. (continue)
Text deny
requires_shipping Whether a customer needs to provide a shipping address when placing an order containing the inventory item.
Erlaubte Werte anzeigen
  • true
  • false
Text true
image_id The unique numeric identifier for a product's image. The image must be associated to the same product as the variant. Text
taxable Whether a tax is charged when the product variant is sold.
Erlaubte Werte anzeigen
  • true
  • false
Text true
tax_code This parameter applies only to the stores that have the Avalara AvaTax app installed. Specifies the Avalara tax code for the product variant. Text

Outputs

Das sind die Ergebnisse des Steps, die von nachfolgenden Steps, nach der Ausführung verwendet werden können.

Name Datentyp Beschreibung
successfullyCreatedVaraints SPREADSHEET
failedItems SPREADSHEET
Folgende Felder sind im Output enthalten:

Feld Beschreibung Datentyp Pflichtfeld Standardwert
identifier Text
method Text
host Text
requestBody Text
statusCode Text
statusMessage Text
responseHeaders Text
responseFilename Text
error Text
source_sku Text
source_title Text
errorMessage Text
invalidItems SPREADSHEET
Folgende Felder sind im Output enthalten:

Feld Beschreibung Datentyp Pflichtfeld Standardwert
identifier Text
sku Text
title Text
inventory_management Text
price Text
body_html Text
compare_at_price Text
inventory_policy Text
barcode Text
vendor Text
product_type Text
tags Text
publishing Text
weight Text
weight_unit Text
images Text

Hilfe oder Projektsupport gewünscht?

Wenn Sie Unterstützung oder Beratung für Ihr Vorhaben benötigen, begleiten wir Sie mit gezielten Workshops und Trainings auf dem Weg zum erfolgreichen Einsatz von Synesty.
Weitere Informationen

shopifyAddVariantToProduct wird oft in Verbindung mit folgenden Steps verwendet:

Name Version Beschreibung Anwendungsfall
shopifyGetProductsQL Step shopifyGetProductsQL (ext. Version: GraphQL)
shopifyGetProductsQL (ext. Version: GraphQL)
GraphQL This is the actual step which will be published in your Add-On. Typically it will consist of Flow-Variables, steps for the execution logic and Output-Variables. The corresponding Test-Flow TestFlow-shopifyGetProductsQL will then use this step and see the input and outputs.
Produktdaten abrufen