Version: API v3 - wc 3.5.x or later
← woocommerce Add-On Übersicht
Updates the price and stock of products and variants
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 | | 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 | | |
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 | |
Outputs
Das sind die Ergebnisse des Steps, die von nachfolgenden Steps, nach
der Ausführung verwendet werden können.
Name | Datentyp | Beschreibung | Werte |
updatedItems | SPREADSHEET | | |
| Folgende Felder sind im Output enthalten:
Feld | Datentyp | Beschreibung | Standardwert | 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 | | | |
invalidItems | SPREADSHEET | | |
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 | | | |