Skip to content

shopifyAddProduct - shopify

Version: 2024-01

← shopify Add-On Übersicht

With this step simple products (without variants) or products with its first variant(mainvariant)can be created in shopify. Version 2.0 supports the new inventory management of shopify. To create a product with variant you have to fill at least the option1 parameters.


Inputs

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

NameDatentypBeschreibungPflichtfeldWerte
accountACCOUNTshopify account dataJa
inputSPREADSHEETSpreadsheet of items to be proceededJa
mappingdefinitionSTRINGThe mapping definition JSON StringJa
Folgende Felder sind zu konfigurieren:

FeldDatentypBeschreibungPflichtfeldStandardwert
skuSINGLESKU (Stock Keeping Unit) A unique identifier for the product in the shop.Ja
titleSINGLEThe name of the product.Ja
vendorSINGLEThe name of the vendor of the product.Nein
priceSINGLEThe price of the product variant.Nein
compare_at_priceSINGLEThe competitors price for the same item.Nein
barcodeSINGLEThe barcode, UPC, EAN or ISBN number for the product.Nein
statusSINGLEThe status of the product. Default value: activeNeinactive
inventory_managementSINGLEThe fulfillment service that tracks the number of items in stock for the product variant.Nein
inventory_quantitySINGLESets the inventory for the given location_id. Note: inventory_management must be set to "shopify".Nein
inventory_policySINGLESpecifies whether or not customers are allowed to place an order for a product variant when it is out of stock. value "continue" allowed to place an order value "deny" not allowed to place an order Neindeny
location_idSINGLEThe ID of the location that the inventory level belongs to. To find the ID of the location, use the step shopifyGetLocations.Nein
requires_shippingSINGLEWhether a customer needs to provide a shipping address when placing an order containing the inventory item.Nein
body_htmlSINGLEThe description of the product, complete with HTML formatting.Nein
handleSINGLEA unique human-friendly string for the product. Automatically generated from the product's title.Nein
product_typeSINGLEA categorization for the product used for filtering and searching products.Nein
tagsMULTIPLEVALUEA categorization that a product can be tagged with, commonly used for filtering and searching. Each comma-separated tag has a character limit of 255.Nein
publishingSINGLEPublishing to the Online Store channel. "Y" the product including the variants is published and visible. "N" the product including the variants is not published and not visible.Nein
weightSINGLEThe weight of the product variant in the unit system specified with weight_unit.Nein
weight_unitSINGLEThe unit system that the product variant's weight is measure in. The weight_unit can be either "g", "kg, "oz", or "lb".Nein
imagesMULTIPLEVALUEA list of image URLs (comma separated) Images associated with the product.Nein
option1_nameSINGLETo create a product with the first variant, enter a name for the option1. Example: ColorNein
option1_valueSINGLETo create a product with the first variant, enter a value for the option1. Example: redNein
option2_nameSINGLETo create a product with the first variant, enter a name for the option2. Example: SizeNein
option2_valueSINGLETo create a product with the first variant, enter a value for the option2. Example: XLNein
option3_nameSINGLETo create a product with the first variant, enter a name for the option3. Example: MaterialNein
option3_valueSINGLETo create a product with the first variant, enter a value for the option3. Example: cottonNein
taxableSINGLEWhether a tax is charged when the product variant is sold.Neintrue
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
template_suffixSINGLEThe suffix of the Liquid template used for the product page. If this property is specified, then the product page uses a template called "product.suffix.liquid", where "suffix" is the value of this property. If this property is "" or null, then the product page uses the default template "product.liquid". (default: null)Nein
limitSTRINGLimits the number of rows used from the input SPREADSHEET. Use low values for testing. If limit is empty, all lines are processed.Nein

Outputs

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

NameDatentypBeschreibungWerte
successfullyCreatedProductsSPREADSHEET
Folgende Felder sind im Output enthalten:

FeldDatentypBeschreibungStandardwert
identifierSINGLE
idSINGLE
product_idSINGLE
priceSINGLE
skuSINGLE
positionSINGLE
inventory_policySINGLE
compare_at_priceSINGLE
fulfillment_serviceSINGLE
inventory_managementSINGLE
option1SINGLE
option2SINGLE
option3SINGLE
created_atSINGLE
updated_atSINGLE
taxableSINGLE
barcodeSINGLE
gramsSINGLE
image_idSINGLE
image_idsSINGLE
weightSINGLE
weight_unitSINGLE
inventory_item_idSINGLE
inventory_quantitySINGLE
old_inventory_quantitySINGLE
requires_shippingSINGLE
admin_graphql_api_idSINGLE
item_titleSINGLE
item_body_htmlSINGLE
item_handleSINGLE
item_urlSINGLE
item_vendorSINGLE
item_product_typeSINGLE
item_tagsSINGLE
template_suffixSINGLE
isVariantSINGLE
failedItemsSPREADSHEETList with failed items. An error occurred when creating items in shopify.
Folgende Felder sind im Output enthalten:

FeldDatentypBeschreibungStandardwert
identifierSINGLE
source_skuSINGLE
source_titleSINGLE
methodSINGLE
hostSINGLE
requestBodySINGLE
statusCodeSINGLE
statusMessageSINGLE
responseHeadersSINGLE
responseFilenameSINGLE
errorSINGLE
errorMessageSINGLE
responseContentSINGLE
invalidItemsSPREADSHEETList of invalid items. Some required fields are missing or values are incorrect.
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