- Version: API v3 - wc 3.5.x or later
- Add-On
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 | |
Das sind die Ergebnisse des Steps, die von nachfolgenden Steps, nach der Ausführung verwendet werden können.
Name | Datentyp | Beschreibung | Pflichtfeld | Werte |
createdProducts | SPREADSHEET | | Ja | |
| Folgende Felder sind im Output enthalten:
Feld | Datentyp | Beschreibung | Pflichtfeld | Standardwert | identifier | SINGLE | | Nein | | id | SINGLE | | Nein | | sku | SINGLE | | Nein | | name | SINGLE | | Nein | | slug | SINGLE | | Nein | | permalink | SINGLE | | Nein | | date_created | SINGLE | | Nein | | date_created_gmt | SINGLE | | Nein | |
|
failedItems | SPREADSHEET | | Ja | |
| Folgende Felder sind im Output enthalten:
Feld | Datentyp | Beschreibung | Pflichtfeld | Standardwert | identifier | SINGLE | | Nein | | sku | SINGLE | | Nein | | name | SINGLE | | Nein | | statusCode | SINGLE | | Nein | | statusMessage | SINGLE | | Nein | | responseHeaders | SINGLE | | Nein | | responseFilename | SINGLE | | Nein | | error | SINGLE | | Nein | | responseContent | SINGLE | | Nein | | errorMessage | SINGLE | | Nein | |
|
invalidItems | SPREADSHEET | | Ja | |