Skip to content

woocommerceUpdateProductVariations - woocommerce

Version: API v3 - wc 3.5.x or later

← woocommerce Add-On Übersicht

Updates product information for product variants including price and stock


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
product_identifierSINGLEinternal identifier of the productJa
variation_identifierSINGLEinternal identifier of the variantNein
stock_quantitySINGLEStock quantity.Nein
manage_stockSINGLEEnable/Disable stock management.Nein
virtualSINGLEVirtual products are intangible and are not shipped.Nein
downloadableSINGLEDownloadable product.Nein
skuSINGLEStock-keeping unit, a unique identifier for each distinct product and service that can be purchased.Nein
tax_classSINGLEThe tax class for this product.Nein
tax_statusSINGLEDefine whether or not the entire product is taxable, or just the cost of shipping it.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
weightSINGLENein
lengthSINGLENein
widthSINGLENein
heightSINGLENein
menu_orderSINGLENein
meta_dataMAPNein
accountACCOUNTNein
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
invalidItemsSPREADSHEET
Folgende Felder sind im Output enthalten:

FeldDatentypBeschreibungStandardwert
identifierSINGLE
product_identifierSINGLE
variation_identifierSINGLE
stock_quantitySINGLE
regular_priceSINGLE
sale_priceSINGLE
typeSINGLE
updatedItemsSPREADSHEET
Folgende Felder sind im Output enthalten:

FeldDatentypBeschreibungStandardwert
identifierSINGLE
product_identifierSINGLE
variation_identifierSINGLE
stock_quantitySINGLE
regular_priceSINGLE
sale_priceSINGLE
on_sale_fromSINGLE
date_on_sale_toSINGLE
statusCodeSINGLE
statusMessageSINGLE
failedItemsSPREADSHEET
Folgende Felder sind im Output enthalten:

FeldDatentypBeschreibungStandardwert
methodSINGLE
hostSINGLE
requestBodySINGLE
statusCodeSINGLE
statusMessageSINGLE
responseHeadersSINGLE
responseFilenameSINGLE
errorSINGLE
source_product_identifierSINGLE
source_variation_identifierSINGLE
source_stock_quantitySINGLE
source_regular_priceSINGLE
source_sale_priceSINGLE
source_date_on_sale_fromSINGLE
source_date_on_sale_toSINGLE
responseContentSINGLE
errorMessageSINGLE