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.

NameDatentypBeschreibungPflichtfeldWerte
accountACCOUNTshopify account dataJa
limitSTRINGLimits the number of rows used from the input SPREADSHEET. Use low values for testing. If limit is empty, all lines are processed.Nein
inputSPREADSHEETSpreadsheet of variants to be proceededNein
mappingdefinitionSTRINGThe mapping definition JSON StringNein
Folgende Felder sind zu konfigurieren:

FeldDatentypBeschreibungPflichtfeldStandardwert
product_idSINGLEThe unique numeric identifier for the product.Ja
titleSINGLEThe title of the product variant.Nein
skuSINGLEA unique identifier for the product variant in the shop. Required in order to connect to a FulfillmentService.Ja
barcodeSINGLEThe barcode, UPC, or ISBN number for the product.Nein
priceSINGLEThe price of the product variant.Ja
compare_at_priceSINGLEThe original price of the item before an adjustment or a sale.Nein
option1_valueSINGLEThe custom properties that a shop owner uses to define product variants. For example: red when your option1 is something like ColorJa
option2_valueSINGLEThe custom properties that a shop owner uses to define product variants. For example: XL when your option2 is something like SizeNein
option3_valueSINGLEThe custom properties that a shop owner uses to define product variants. For example: cotton when your option3 is something like materialNein
gramsSINGLEThe weight of the product variant in grams.Nein
weightSINGLEThe weight of the product variant in the unit system specified with weight_unit.Nein
tax_codeSINGLEThis parameter applies only to the stores that have the Avalara AvaTax app installed. Specifies the Avalara tax code for the product variant.Nein
inventory_quantitySINGLENein
inventory_managementSINGLEThe fulfillment service that tracks the number of items in stock for the product variant.Nein
inventory_policySINGLEWhether customers are allowed to place an order for the product variant when it's out of stock.Neindeny
requires_shippingSINGLEWhether a customer needs to provide a shipping address when placing an order containing the inventory item.Neintrue
image_idSINGLEThe unique numeric identifier for a product's image. The image must be associated to the same product as the variant.Nein
taxableSINGLEWhether a tax is charged when the product variant is sold.Neintrue

Outputs

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

NameDatentypBeschreibungWerte
successfullyCreatedVaraintsSPREADSHEET
failedItemsSPREADSHEET
invalidItemsSPREADSHEET
Folgende Felder sind im Output enthalten:

FeldDatentypBeschreibungStandardwert
identifierSINGLE
skuSINGLE
titleSINGLE
inventory_managementSINGLE
priceSINGLE
body_htmlSINGLE
compare_at_priceSINGLE
inventory_policySINGLE
barcodeSINGLE
vendorSINGLE
product_typeSINGLE
tagsSINGLE
publishingSINGLE
weightSINGLE
weight_unitSINGLE
imagesSINGLE