shopifyAddProductMetafields Step

Creates new metafields for products or product variants.

Inputs

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

Name Datentyp Beschreibung Pflichtfeld Werte
input SPREADSHEET Spreadsheet of items to be proceeded Ja
mappingdefinition STRING The mapping definition JSON String Ja
Folgende Felder sind zu konfigurieren:

Feld Datentyp Beschreibung Pflichtfeld Standardwert
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
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
successfullyCreatedProductMetafields SPREADSHEET List with successfully created product metafields. Ja
Folgende Felder sind im Output enthalten:

Feld Datentyp Beschreibung Pflichtfeld Standardwert
identifierSINGLENein
idSINGLENein
product_idSINGLENein
variant_idSINGLENein
namespaceSINGLENein
keySINGLENein
valueSINGLENein
value_typeSINGLENein
descriptionSINGLENein
created_atSINGLENein
updated_atSINGLENein
owner_resourceSINGLENein
admin_graphql_api_idSINGLENein
failedItems SPREADSHEET List with failed items. An error occurred when creating items in shopify. Ja
Folgende Felder sind im Output enthalten:

Feld Datentyp Beschreibung Pflichtfeld Standardwert
identifierSINGLENein
product_idSINGLENein
namespaceSINGLENein
keySINGLENein
valueSINGLENein
value_typeSINGLENein
descriptionSINGLENein
errorMessageSINGLENein
invalidItems SPREADSHEET List of invalid items. Some required fields are missing or values are incorrect. Ja
Folgende Felder sind im Output enthalten:

Feld Datentyp Beschreibung Pflichtfeld Standardwert
identifierSINGLENein
product_idSINGLENein
namespaceSINGLENein
keySINGLENein
valueSINGLENein
value_typeSINGLENein
descriptionSINGLENein