Version: API v3 - wc 3.5.x or later
← woocommerce Add-On Übersicht
Create attributes and terms in WooCommerce. The column "attribute_id" determines, if a new attribute is created (if empty) or if the term is added to an existing attribute (includes id).
Example attributes: size, weight, color
Example terms: S, M, L, 25g, 50g, 100g, yellow, red, green
Das sind die Optionen, mit denen man den Step konfigurieren kann.
| Name | Datentyp | Beschreibung | Pflichtfeld | Werte |
| account | ACCOUNT | | Ja | |
| input | SPREADSHEET | | Ja | |
| mappingdefinition | STRING | The mapping definition JSON String | Ja | |
| Folgende Felder sind zu konfigurieren:
| Feld | Datentyp | Beschreibung | Pflichtfeld | Standardwert | | attribute_id | SINGLE | | Nein | | | attribute_name | SINGLE | | Nein | | | attribute_slug | SINGLE | | Nein | | | attribute_order_by | SINGLE | | Nein | menu_order | | attribute_has_archives | SINGLE | | Nein | false | | term_id | SINGLE | | Nein | | | term_name | SINGLE | | Nein | | | term_slug | SINGLE | | Nein | | | term_description | SINGLE | | Nein | | |
| limit | STRING | Limit the number of created or updated categories | Nein | |
Outputs
Das sind die Ergebnisse des Steps, die von nachfolgenden Steps, nach
der Ausführung verwendet werden können.
| Name | Datentyp | Beschreibung | Werte |
| createdAttributesAndTerms | SPREADSHEET | | |
| Folgende Felder sind im Output enthalten:
| Feld | Datentyp | Beschreibung | Standardwert | | attribute_id | SINGLE | | | | attribute_name | SINGLE | | | | attribute_slug | SINGLE | | | | attribute_type | SINGLE | | | | attribute_order_by | SINGLE | | | | attribute_has_archives | SINGLE | | | | term_id | SINGLE | | | | term_name | SINGLE | | | | term_slug | SINGLE | | | | term_description | SINGLE | | | |
| errorAttributes | SPREADSHEET | | |
| Folgende Felder sind im Output enthalten:
| Feld | Datentyp | Beschreibung | Standardwert | | method | SINGLE | | | | host | SINGLE | | | | requestBody | SINGLE | | | | statusCode | SINGLE | | | | statusMessage | SINGLE | | | | responseHeaders | SINGLE | | | | responseFilename | SINGLE | | | | error | SINGLE | | | | responseContent | SINGLE | | | | errorMessage | SINGLE | | | |
| errorTerms | SPREADSHEET | | |
| Folgende Felder sind im Output enthalten:
| Feld | Datentyp | Beschreibung | Standardwert | | method | SINGLE | | | | host | SINGLE | | | | requestBody | SINGLE | | | | statusCode | SINGLE | | | | statusMessage | SINGLE | | | | responseHeaders | SINGLE | | | | responseFilename | SINGLE | | | | error | SINGLE | | | | responseContent | SINGLE | | | | errorMessage | SINGLE | | | |