stepshopify Skip to content

shopifyUploadProductImages Step

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_idSINGLEThe id of the product associated with the image.Ja
sourceSINGLESpecifies 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_base64SINGLEImage as Base64 stringNein
filenameSINGLEImage filename. Required if image_base64 is usedNein
positionSINGLEThe 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_idsSINGLEA comma separated list of variant ids associated with the image.Nein
altSINGLEImage 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_idSINGLENein
product_idSINGLENein
positionSINGLENein
created_atSINGLENein
updated_atSINGLENein
altSINGLENein
widthSINGLENein
heightSINGLENein
srcSINGLENein
variant_idsSINGLENein
admin_graphql_api_idSINGLENein
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_idSINGLENein
sourceSINGLENein
positionSINGLENein
variant_idsSINGLENein
altSINGLENein
statusCodeSINGLENein
errorMessageSINGLENein
invalidItems SPREADSHEET List of invalid items. Some required fields are missing. Ja
Folgende Felder sind im Output enthalten:

Feld Datentyp Beschreibung Pflichtfeld Standardwert
product_idSINGLENein
sourceSINGLENein
positionSINGLENein
variant_idsSINGLENein
altSINGLENein