Version: API v3 - wc 3.5.x or later
← woocommerce Add-On Übersicht
Creates products of the product type "Simple product".
Das sind die Optionen, mit denen man den Step konfigurieren kann.
| Name | Datentyp | Beschreibung | Pflichtfeld | Werte |
| input | SPREADSHEET | Spreadsheet of items to be proceeded | Nein | |
| mappingdefinition | STRING | The mapping definition JSON String | Nein | |
| Folgende Felder sind zu konfigurieren:
| Feld | Datentyp | Beschreibung | Pflichtfeld | Standardwert | | sku | SINGLE | stock keeping unit. Unique identifier of the product. | Ja | | | name | SINGLE | Product name. | Ja | | | description | SINGLE | Product description. | Nein | | | short_description | SINGLE | Product short description. | Nein | | | images | SINGLE | List of images URL (comma-separated). | Nein | | | stock_quantity | SINGLE | Stock quantity. | Nein | | | regular_price | SINGLE | Product regular price. | Nein | | | sale_price | SINGLE | Product sale price. | Nein | | | date_on_sale_from | SINGLE | Start date of sale price in the site timezone in the following format yyyy-MM-ddTHH:mm:ss (e.g. 2019-01-24T00:00:00). | Nein | | | date_on_sale_to | SINGLE | End date of sale price in the site timezone in the following format yyyy-MM-ddTHH:mm:ss (e.g. 2019-01-24T00:00:00). | Nein | | | status | SINGLE | Product status (post status). Options: draft, pending, private and publish. Default is publish. | Nein | publish | | catalog_visibility | SINGLE | Catalog visibility. Options: visible, catalog, search and hidden. Default is visible. | Nein | visible | | categories | SINGLE | List of category IDs (comma-separated). The category ID is an internal indentifiere created by woocommerce. | Nein | | |
| account | ACCOUNT | account data | Nein | |
| limit | STRING | Limit the number or rows used from the input SPREADSHEET (default value is 5). Use low values for testing. | Nein | |
Outputs
Das sind die Ergebnisse des Steps, die von nachfolgenden Steps, nach
der Ausführung verwendet werden können.
| Name | Datentyp | Beschreibung | Werte |
| createdProducts | SPREADSHEET | | |
| Folgende Felder sind im Output enthalten:
| Feld | Datentyp | Beschreibung | Standardwert | | identifier | SINGLE | | | | id | SINGLE | | | | sku | SINGLE | | | | name | SINGLE | | | | slug | SINGLE | | | | permalink | SINGLE | | | | date_created | SINGLE | | | | date_created_gmt | SINGLE | | | |
| failedItems | SPREADSHEET | | |
| Folgende Felder sind im Output enthalten:
| Feld | Datentyp | Beschreibung | Standardwert | | identifier | SINGLE | | | | sku | SINGLE | | | | name | SINGLE | | | | statusCode | SINGLE | | | | statusMessage | SINGLE | | | | responseHeaders | SINGLE | | | | responseFilename | SINGLE | | | | error | SINGLE | | | | responseContent | SINGLE | | | | errorMessage | SINGLE | | | |
| invalidItems | SPREADSHEET | | |