Skip to content

shopifyAddProductMetafields - shopify

Version: 2024-01

← shopify Add-On Übersicht

Creates new metafields for products or product variants.


Inputs

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

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

FeldDatentypBeschreibungPflichtfeldStandardwert
product_idSINGLEThe unique identifier of the product. To find the product_id of the product, use the step shopifyGetProducts.Ja
variant_idSINGLEThe unique identifier of the product variant. To find the variant_id of the product, use the step shopifyGetProducts (output field name id). Enter this optional field only if metafields of a product variant should be created.Nein
namespaceSINGLEA container for a set of metafields. You need to define a custom namespace for your metafields to distinguish them from the metafields used by other apps. Maximum length: 20 characters.Ja
keySINGLEThe name of the metafield. Maximum length: 30 characters.Ja
valueSINGLEThe information to be stored as metadata.Ja
value_typeSINGLEThe metafield's information type.Ja
descriptionSINGLEA description of the information that the metafield contains.Nein
accountACCOUNTshopify account dataJa
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
successfullyCreatedProductMetafieldsSPREADSHEETList with successfully created product metafields.
Folgende Felder sind im Output enthalten:

FeldDatentypBeschreibungStandardwert
identifierSINGLE
idSINGLE
product_idSINGLE
variant_idSINGLE
namespaceSINGLE
keySINGLE
valueSINGLE
value_typeSINGLE
descriptionSINGLE
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
product_idSINGLE
namespaceSINGLE
keySINGLE
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
product_idSINGLE
namespaceSINGLE
keySINGLE
valueSINGLE
value_typeSINGLE
descriptionSINGLE