Skip to content

shopifyGetProductMetafields - shopify

Version: 2024-01

← shopify Add-On Übersicht

Retrieves a list of metafields that belong to a product or a product variant.


Inputs

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

NameDatentypBeschreibungPflichtfeldWerte
accountACCOUNTshopif AccountJa
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 retrieved.Nein
limitSTRINGLimits the number of items to be retrieved. Enter a small number for tests. If limit is empty or greater than 249 then all items are retrieved.Nein

Outputs

Das sind die Ergebnisse des Steps, die von nachfolgenden Steps, nach der Ausführung verwendet werden können.

NameDatentypBeschreibungWerte
ProductMetafieldsSPREADSHEET
Folgende Felder sind im Output enthalten:

FeldDatentypBeschreibungStandardwert
identifierSINGLE
idSINGLEContains the id of the metafield
product_idSINGLE
variant_idSINGLE
namespaceSINGLE
keySINGLE
valueSINGLE
value_typeSINGLE
descriptionSINGLE
created_atSINGLE
updated_atSINGLE
owner_resourceSINGLE
admin_graphql_api_idSINGLE
ProductsWithoutMetafieldsSPREADSHEET
Folgende Felder sind im Output enthalten:

FeldDatentypBeschreibungStandardwert
identifierSINGLE
product_idSINGLE
variant_idSINGLE
failedItemsSPREADSHEETList with failed items. An error occurred when retrieving items from shopify.
Folgende Felder sind im Output enthalten:

FeldDatentypBeschreibungStandardwert
identifierSINGLE
idSINGLE
variant_idSINGLE
errorMessageSINGLE
invalidItemsSPREADSHEETList of invalid items. Some required fields are missing or values are incorrect.
Folgende Felder sind im Output enthalten:

FeldDatentypBeschreibungStandardwert
identifierSINGLE
product_idSINGLE
variant_idSINGLE