stepwoocommerce Skip to content

woocommerceUpdateProductVariations Step

  • Version: API v3 - wc 3.5.x or later
  • Add-On

Updates product information for product variants including price and stock

Inputs

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
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
account ACCOUNT 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 Pflichtfeld Werte
invalidItems SPREADSHEET Ja
Folgende Felder sind im Output enthalten:

Feld Datentyp Beschreibung Pflichtfeld Standardwert
identifierSINGLENein
product_identifierSINGLENein
variation_identifierSINGLENein
stock_quantitySINGLENein
regular_priceSINGLENein
sale_priceSINGLENein
typeSINGLENein
updatedItems SPREADSHEET Ja
Folgende Felder sind im Output enthalten:

Feld Datentyp Beschreibung Pflichtfeld Standardwert
identifierSINGLENein
product_identifierSINGLENein
variation_identifierSINGLENein
stock_quantitySINGLENein
regular_priceSINGLENein
sale_priceSINGLENein
on_sale_fromSINGLENein
date_on_sale_toSINGLENein
statusCodeSINGLENein
statusMessageSINGLENein
failedItems SPREADSHEET Ja
Folgende Felder sind im Output enthalten:

Feld Datentyp Beschreibung Pflichtfeld Standardwert
methodSINGLENein
hostSINGLENein
requestBodySINGLENein
statusCodeSINGLENein
statusMessageSINGLENein
responseHeadersSINGLENein
responseFilenameSINGLENein
errorSINGLENein
source_product_identifierSINGLENein
source_variation_identifierSINGLENein
source_stock_quantitySINGLENein
source_regular_priceSINGLENein
source_sale_priceSINGLENein
source_date_on_sale_fromSINGLENein
source_date_on_sale_toSINGLENein
responseContentSINGLENein
errorMessageSINGLENein