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.

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_identifier SINGLE internal identifier of the product Ja
variation_identifier SINGLE internal identifier of the variant Nein
stock_quantity SINGLE Stock quantity. Nein
manage_stock SINGLE Enable/Disable stock management. Nein
virtual SINGLE Virtual products are intangible and are not shipped. Nein
downloadable SINGLE Downloadable product. Nein
sku SINGLE Stock-keeping unit, a unique identifier for each distinct product and service that can be purchased. Nein
tax_class SINGLE The tax class for this product. Nein
tax_status SINGLE Define whether or not the entire product is taxable, or just the cost of shipping it. 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
weight SINGLE Nein
length SINGLE Nein
width SINGLE Nein
height SINGLE Nein
menu_order SINGLE Nein
meta_data MAP Nein
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 Werte
invalidItems SPREADSHEET
Folgende Felder sind im Output enthalten:

Feld Datentyp Beschreibung Standardwert
identifier SINGLE
product_identifier SINGLE
variation_identifier SINGLE
stock_quantity SINGLE
regular_price SINGLE
sale_price SINGLE
type SINGLE
updatedItems SPREADSHEET
Folgende Felder sind im Output enthalten:

Feld Datentyp Beschreibung Standardwert
identifier SINGLE
product_identifier SINGLE
variation_identifier SINGLE
stock_quantity SINGLE
regular_price SINGLE
sale_price SINGLE
on_sale_from SINGLE
date_on_sale_to SINGLE
statusCode SINGLE
statusMessage SINGLE
failedItems SPREADSHEET
Folgende Felder sind im Output enthalten:

Feld Datentyp Beschreibung Standardwert
method SINGLE
host SINGLE
requestBody SINGLE
statusCode SINGLE
statusMessage SINGLE
responseHeaders SINGLE
responseFilename SINGLE
error SINGLE
source_product_identifier SINGLE
source_variation_identifier SINGLE
source_stock_quantity SINGLE
source_regular_price SINGLE
source_sale_price SINGLE
source_date_on_sale_from SINGLE
source_date_on_sale_to SINGLE
responseContent SINGLE
errorMessage SINGLE