Skip to content

shopifyModifyProductImages - shopify

Version: 2024-01

← 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.

NameDatentypBeschreibungPflichtfeldWerte
accountACCOUNTshopify account dataJa
inputSPREADSHEETList of images to be modified.Ja
mappingdefinitionSTRINGThe mapping definition JSON StringJa
Folgende Felder sind zu konfigurieren:

FeldDatentypBeschreibungPflichtfeldStandardwert
product_idSINGLEThe id of the product associated with the image.Ja
image_idSINGLEThe id of the product image.Ja
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. The specified variant ids are added in addition to any already assigned variant ids.Nein
altSINGLEImage alt tag content.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
modifiedImagesSPREADSHEETList of successfully modified images.
Folgende Felder sind im Output enthalten:

FeldDatentypBeschreibungStandardwert
identifierSINGLE
image_idSINGLE
product_idSINGLE
positionSINGLE
created_atSINGLE
updated_atSINGLE
altSINGLE
widthSINGLE
heightSINGLE
srcSINGLE
variant_idsSINGLE
admin_graphql_api_idSINGLE
invalidItemsSPREADSHEETList of invalid items. Some required fields are missing.
Folgende Felder sind im Output enthalten:

FeldDatentypBeschreibungStandardwert
identifierSINGLE
product_idSINGLE
image_idSINGLE
positionSINGLE
variant_idsSINGLE
altSINGLE
failedItemsSPREADSHEETList with failed items. An error occurred when creating images in shopify.
Folgende Felder sind im Output enthalten:

FeldDatentypBeschreibungStandardwert
identifierSINGLE
product_idSINGLE
image_idSINGLE
positionSINGLE
variant_idsSINGLE
altSINGLE
statusCodeSINGLE
errorMessageSINGLE