Skip to content

shopifyAddVariantToProduct - shopify

Version: 2024-01

← shopify Add-On Übersicht

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.


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
input SPREADSHEET Spreadsheet of variants to be proceeded Nein
mappingdefinition STRING The mapping definition JSON String Nein
Folgende Felder sind zu konfigurieren:

Feld Datentyp Beschreibung Pflichtfeld Standardwert
product_id SINGLE The unique numeric identifier for the product. Ja
title SINGLE The title of the product variant. Nein
sku SINGLE A unique identifier for the product variant in the shop. Required in order to connect to a FulfillmentService. Ja
barcode SINGLE The barcode, UPC, or ISBN number for the product. Nein
price SINGLE The price of the product variant. Ja
compare_at_price SINGLE The original price of the item before an adjustment or a sale. Nein
option1_value SINGLE The custom properties that a shop owner uses to define product variants. For example: red when your option1 is something like Color Ja
option2_value SINGLE The custom properties that a shop owner uses to define product variants. For example: XL when your option2 is something like Size Nein
option3_value SINGLE The custom properties that a shop owner uses to define product variants. For example: cotton when your option3 is something like material Nein
grams SINGLE The weight of the product variant in grams. Nein
weight SINGLE The weight of the product variant in the unit system specified with weight_unit. Nein
tax_code SINGLE This parameter applies only to the stores that have the Avalara AvaTax app installed. Specifies the Avalara tax code for the product variant. Nein
inventory_quantity SINGLE Nein
inventory_management SINGLE The fulfillment service that tracks the number of items in stock for the product variant. Nein
inventory_policy SINGLE Whether customers are allowed to place an order for the product variant when it's out of stock. Nein deny
requires_shipping SINGLE Whether a customer needs to provide a shipping address when placing an order containing the inventory item. Nein true
image_id SINGLE The unique numeric identifier for a product's image. The image must be associated to the same product as the variant. Nein
taxable SINGLE Whether a tax is charged when the product variant is sold. Nein true

Outputs

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

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

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