Skip to content

woocommerceCreateSimpleProducts - woocommerce

Version: API v3 - wc 3.5.x or later

← woocommerce Add-On Übersicht

Creates products of the product type "Simple product".


Inputs

Das sind die Optionen, mit denen man den Step konfigurieren kann.

NameDatentypBeschreibungPflichtfeldWerte
inputSPREADSHEETSpreadsheet of items to be proceededNein
mappingdefinitionSTRINGThe mapping definition JSON StringNein
Folgende Felder sind zu konfigurieren:

FeldDatentypBeschreibungPflichtfeldStandardwert
skuSINGLEstock keeping unit. Unique identifier of the product. Ja
nameSINGLEProduct name.Ja
descriptionSINGLEProduct description.Nein
short_descriptionSINGLEProduct short description.Nein
imagesSINGLEList of images URL (comma-separated).Nein
stock_quantitySINGLEStock quantity.Nein
regular_priceSINGLEProduct regular price.Nein
sale_priceSINGLEProduct sale price.Nein
date_on_sale_fromSINGLEStart 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_toSINGLEEnd 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
statusSINGLEProduct status (post status). Options: draft, pending, private and publish. Default is publish.Neinpublish
catalog_visibilitySINGLECatalog visibility. Options: visible, catalog, search and hidden. Default is visible.Neinvisible
categoriesSINGLEList of category IDs (comma-separated). The category ID is an internal indentifiere created by woocommerce.Nein
accountACCOUNTaccount dataNein
limitSTRINGLimit 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.

NameDatentypBeschreibungWerte
createdProductsSPREADSHEET
Folgende Felder sind im Output enthalten:

FeldDatentypBeschreibungStandardwert
identifierSINGLE
idSINGLE
skuSINGLE
nameSINGLE
slugSINGLE
permalinkSINGLE
date_createdSINGLE
date_created_gmtSINGLE
failedItemsSPREADSHEET
Folgende Felder sind im Output enthalten:

FeldDatentypBeschreibungStandardwert
identifierSINGLE
skuSINGLE
nameSINGLE
statusCodeSINGLE
statusMessageSINGLE
responseHeadersSINGLE
responseFilenameSINGLE
errorSINGLE
responseContentSINGLE
errorMessageSINGLE
invalidItemsSPREADSHEET