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.

Name Datentyp Beschreibung Pflichtfeld Werte
account ACCOUNT shopif Account Ja
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_id SINGLE The unique identifier of the product. To find the product_id of the product, use the step shopifyGetProducts. Ja
variant_id SINGLE The 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
limit STRING Limits 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.

Name Datentyp Beschreibung Werte
ProductMetafields SPREADSHEET
Folgende Felder sind im Output enthalten:

Feld Datentyp Beschreibung Standardwert
identifier SINGLE
id SINGLE Contains the id of the metafield
product_id SINGLE
variant_id SINGLE
namespace SINGLE
key SINGLE
value SINGLE
value_type SINGLE
description SINGLE
created_at SINGLE
updated_at SINGLE
owner_resource SINGLE
admin_graphql_api_id SINGLE
ProductsWithoutMetafields SPREADSHEET
Folgende Felder sind im Output enthalten:

Feld Datentyp Beschreibung Standardwert
identifier SINGLE
product_id SINGLE
variant_id SINGLE
failedItems SPREADSHEET List with failed items. An error occurred when retrieving items from shopify.
Folgende Felder sind im Output enthalten:

Feld Datentyp Beschreibung Standardwert
identifier SINGLE
id SINGLE
variant_id SINGLE
errorMessage SINGLE
invalidItems SPREADSHEET List of invalid items. Some required fields are missing or values are incorrect.
Folgende Felder sind im Output enthalten:

Feld Datentyp Beschreibung Standardwert
identifier SINGLE
product_id SINGLE
variant_id SINGLE