Skip to content

shopifyUpdateMetafields - shopify

Version: 2024-01

← shopify Add-On Übersicht

Updates metafields. Please note that 'namespace' and 'key' cannot be changed.


Inputs

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

NameDatentypBeschreibungPflichtfeldWerte
accountACCOUNTshopify account dataJa
inputSPREADSHEETSpreadsheet of items to be proceededJa
mappingdefinitionSTRINGThe mapping definition JSON StringJa
Folgende Felder sind zu konfigurieren:

FeldDatentypBeschreibungPflichtfeldStandardwert
metafield_idSINGLEThe unique ID of the metafield. To find the metafield_id for products or product variants, use the step shopifyGetProductMetafields.Nein
valueSINGLEThe information to be stored as metadata.Nein
value_typeSINGLEThe metafield's information type. Valid values: string, integer, json_string.Nein
descriptionSINGLEA description of the information that the metafield contains.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
successfullyUpdatedMetafieldsSPREADSHEETList with successfully updated metafields.
Folgende Felder sind im Output enthalten:

FeldDatentypBeschreibungStandardwert
identifierSINGLE
idSINGLE
namespaceSINGLE
keySINGLE
valueSINGLE
value_typeSINGLE
descriptionSINGLE
owner_idSINGLE
created_atSINGLE
updated_atSINGLE
owner_resourceSINGLE
admin_graphql_api_idSINGLE
failedItemsSPREADSHEETList with failed items. An error occurred when creating items in shopify.
Folgende Felder sind im Output enthalten:

FeldDatentypBeschreibungStandardwert
identifierSINGLE
metafield_idSINGLE
valueSINGLE
value_typeSINGLE
descriptionSINGLE
errorMessageSINGLE
invalidItemsSPREADSHEETList of invalid items. Some required fields are missing or values are incorrect.
Folgende Felder sind im Output enthalten:

FeldDatentypBeschreibungStandardwert
identifierSINGLE
metafield_idSINGLE
valueSINGLE
value_typeSINGLE
descriptionSINGLE