Creates new metafields for products or product variants.
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_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 created. | Nein | | namespace | SINGLE | A 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 | | key | SINGLE | The name of the metafield. Maximum length: 30 characters. | Ja | | value | SINGLE | The information to be stored as metadata. | Ja | | value_type | SINGLE | The metafield's information type. | Ja | | description | SINGLE | A 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 | identifier | SINGLE | | Nein | | id | SINGLE | | Nein | | product_id | SINGLE | | Nein | | variant_id | SINGLE | | Nein | | namespace | SINGLE | | Nein | | key | SINGLE | | Nein | | value | SINGLE | | Nein | | value_type | SINGLE | | Nein | | description | SINGLE | | Nein | | created_at | SINGLE | | Nein | | updated_at | SINGLE | | Nein | | owner_resource | SINGLE | | Nein | | admin_graphql_api_id | SINGLE | | Nein | |
|
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 | identifier | SINGLE | | Nein | | product_id | SINGLE | | Nein | | namespace | SINGLE | | Nein | | key | SINGLE | | Nein | | value | SINGLE | | Nein | | value_type | SINGLE | | Nein | | description | SINGLE | | Nein | | errorMessage | SINGLE | | Nein | |
|
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 | identifier | SINGLE | | Nein | | product_id | SINGLE | | Nein | | namespace | SINGLE | | Nein | | key | SINGLE | | Nein | | value | SINGLE | | Nein | | value_type | SINGLE | | Nein | | description | SINGLE | | Nein | |
|