Skip to content

shopifyUploadProductImages - shopify

Version: 2022-01

← shopify Add-On Übersicht

Uploads new product images to a product via an image URL. In addition, the position and the alt text and the corresponding variants to the image can also be specified.


Inputs

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

Name Datentyp Beschreibung Pflichtfeld Werte
input SPREADSHEET List of images to be uploaded. Ja
mappingdefinition STRING The mapping definition JSON String Ja
Folgende Felder sind zu konfigurieren :

Feld Datentyp Beschreibung Pflichtfeld Standardwert
product_id SINGLE The id of the product associated with the image. Ja
source SINGLE Specifies the location of the product image. This parameter supports URL filters that you can use to retrieve modified copies of the image. For example, add _small, to the filename to retrieve a scaled copy of the image at 100 x 100 px (for example, ipod-nano_small.png), or add _2048x2048 to retrieve a copy of the image constrained at 2048 x 2048 px resolution (for example, ipod-nano_2048x2048.png). Nein
image_base64 SINGLE Image as Base64 string Nein
filename SINGLE Image filename. Required if image_base64 is used Nein
position SINGLE The order of the product image in the list. The first product image is at position 1 and is the "main" image for the product. Nein
variant_ids SINGLE A comma separated list of variant ids associated with the image. Nein
alt SINGLE Image alt tag content. Nein
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

Outputs

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

Name Datentyp Beschreibung Pflichtfeld Werte
createdImages SPREADSHEET List of new images created in shopify. Ja
Folgende Felder sind im Output enthalten :

Feld Datentyp Beschreibung Pflichtfeld Standardwert
image_id SINGLE Nein
product_id SINGLE Nein
position SINGLE Nein
created_at SINGLE Nein
updated_at SINGLE Nein
alt SINGLE Nein
width SINGLE Nein
height SINGLE Nein
src SINGLE Nein
variant_ids SINGLE Nein
admin_graphql_api_id SINGLE Nein
failedItems SPREADSHEET List with failed items. An error occurred when creating images in shopify. Ja
Folgende Felder sind im Output enthalten :

Feld Datentyp Beschreibung Pflichtfeld Standardwert
product_id SINGLE Nein
source SINGLE Nein
position SINGLE Nein
variant_ids SINGLE Nein
alt SINGLE Nein
statusCode SINGLE Nein
errorMessage SINGLE Nein
invalidItems SPREADSHEET List of invalid items. Some required fields are missing. Ja
Folgende Felder sind im Output enthalten :

Feld Datentyp Beschreibung Pflichtfeld Standardwert
product_id SINGLE Nein
source SINGLE Nein
position SINGLE Nein
variant_ids SINGLE Nein
alt SINGLE Nein