shopifyAddProduct Step

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-shopifyAddProduct will then use this step and see the input and outputs.

Inputs

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

Name Datentyp Beschreibung Pflichtfeld Werte
account ACCOUNT shopify account data Ja
input SPREADSHEET Spreadsheet of items to be proceeded Ja
mappingdefinition STRING The mapping definition JSON String Ja
Folgende Felder sind zu konfigurieren:

Feld Datentyp Beschreibung Pflichtfeld Standardwert
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 orderNein
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
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

Outputs

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

Name Datentyp Beschreibung Pflichtfeld Werte
successfullyCreatedProducts SPREADSHEET Ja
Folgende Felder sind im Output enthalten:

Feld Datentyp Beschreibung Pflichtfeld Standardwert
identifierSINGLENein
idSINGLENein
product_idSINGLENein
priceSINGLENein
skuSINGLENein
positionSINGLENein
inventory_policySINGLENein
compare_at_priceSINGLENein
fulfillment_serviceSINGLENein
inventory_managementSINGLENein
option1SINGLENein
option2SINGLENein
option3SINGLENein
created_atSINGLENein
updated_atSINGLENein
taxableSINGLENein
barcodeSINGLENein
gramsSINGLENein
image_idSINGLENein
weightSINGLENein
weight_unitSINGLENein
inventory_item_idSINGLENein
inventory_quantitySINGLENein
old_inventory_quantitySINGLENein
requires_shippingSINGLENein
admin_graphql_api_idSINGLENein
item_titleSINGLENein
item_body_htmlSINGLENein
item_handleSINGLENein
item_urlSINGLENein
item_vendorSINGLENein
item_product_typeSINGLENein
item_tagsSINGLENein
isVariantSINGLENein
failedItems SPREADSHEET List with failed items. An error occurred when creating items in shopify. Ja
Folgende Felder sind im Output enthalten:

Feld Datentyp Beschreibung Pflichtfeld Standardwert
identifierSINGLENein
source_skuSINGLENein
source_titleSINGLENein
methodSINGLENein
hostSINGLENein
requestBodySINGLENein
statusCodeSINGLENein
statusMessageSINGLENein
responseHeadersSINGLENein
responseFilenameSINGLENein
errorSINGLENein
errorMessageSINGLENein
invalidItems SPREADSHEET List of invalid items. Some required fields are missing or values are incorrect. Ja
Folgende Felder sind im Output enthalten:

Feld Datentyp Beschreibung Pflichtfeld Standardwert
identifierSINGLENein
skuSINGLENein
titleSINGLENein
inventory_managementSINGLENein
priceSINGLENein
body_htmlSINGLENein
compare_at_priceSINGLENein
inventory_policySINGLENein
barcodeSINGLENein
vendorSINGLENein
product_typeSINGLENein
tagsSINGLENein
publishingSINGLENein
weightSINGLENein
weight_unitSINGLENein
imagesSINGLENein