Skip to content

shopifyModifyProductImages - shopify

Version: 2023-04

← shopify Add-On Übersicht

Modifies images in shopify. The image position, the alt text and the corresponding variants to the image can be modified. The specified variants to the image are added in addition to any already assigned variant.


Inputs

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

Name Datentyp Beschreibung Pflichtfeld Werte
input SPREADSHEET List of images to be modified. 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
image_id SINGLE The id of the product image. Ja
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. The specified variant ids are added in addition to any already assigned variant ids. 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
modifiedImages SPREADSHEET List of successfully modified images. Ja
Folgende Felder sind im Output enthalten :

Feld Datentyp Beschreibung Pflichtfeld Standardwert
identifier SINGLE Nein
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
invalidItems SPREADSHEET List of invalid items. Some required fields are missing. Ja
Folgende Felder sind im Output enthalten :

Feld Datentyp Beschreibung Pflichtfeld Standardwert
identifier SINGLE Nein
product_id SINGLE Nein
image_id SINGLE Nein
position SINGLE Nein
variant_ids SINGLE Nein
alt 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
identifier SINGLE Nein
product_id SINGLE Nein
image_id SINGLE Nein
position SINGLE Nein
variant_ids SINGLE Nein
alt SINGLE Nein
statusCode SINGLE Nein
errorMessage SINGLE Nein