Version: 2024-01
← shopify Add-On Übersicht
Updates metafields. Please note that namespace and key cannot be changed.
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 | | metafield_id | SINGLE | The unique ID of the metafield. To find the metafield_id for products or product variants, use the step shopifyGetProductMetafields. | Nein | | | value | SINGLE | The information to be stored as metadata. | Nein | | | value_type | SINGLE | The metafield's information type. Valid values: string, integer, json_string. | Nein | | | 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 | Werte |
| successfullyUpdatedMetafields | SPREADSHEET | List with successfully updated metafields. | |
| Folgende Felder sind im Output enthalten:
| Feld | Datentyp | Beschreibung | Standardwert | | identifier | SINGLE | | | | id | SINGLE | | | | namespace | SINGLE | | | | key | SINGLE | | | | value | SINGLE | | | | value_type | SINGLE | | | | description | SINGLE | | | | owner_id | SINGLE | | | | created_at | SINGLE | | | | updated_at | SINGLE | | | | owner_resource | SINGLE | | | | admin_graphql_api_id | SINGLE | | | |
| failedItems | SPREADSHEET | List with failed items. An error occurred when creating items in shopify. | |
| Folgende Felder sind im Output enthalten:
| Feld | Datentyp | Beschreibung | Standardwert | | identifier | SINGLE | | | | metafield_id | SINGLE | | | | value | SINGLE | | | | value_type | SINGLE | | | | description | 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 | | | | metafield_id | SINGLE | | | | value | SINGLE | | | | value_type | SINGLE | | | | description | SINGLE | | | |