- Version: API v3 - wc 3.5.x or later
- Add-On
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 | |
Das sind die Ergebnisse des Steps, die von nachfolgenden Steps, nach der Ausführung verwendet werden können.
Name | Datentyp | Beschreibung | Pflichtfeld | Werte |
updatedItems | SPREADSHEET | | Ja | |
| Folgende Felder sind im Output enthalten:
Feld | Datentyp | Beschreibung | Pflichtfeld | Standardwert | product_identifier | SINGLE | | Nein | | variation_identifier | SINGLE | | Nein | | stock_quantity | SINGLE | | Nein | | regular_price | SINGLE | | Nein | | sale_price | SINGLE | | Nein | | on_sale_from | SINGLE | | Nein | | date_on_sale_to | SINGLE | | Nein | | statusCode | SINGLE | | Nein | | statusMessage | SINGLE | | Nein | |
|
invalidItems | SPREADSHEET | | Ja | |
failedItems | SPREADSHEET | | Ja | |
| Folgende Felder sind im Output enthalten:
Feld | Datentyp | Beschreibung | Pflichtfeld | Standardwert | method | SINGLE | | Nein | | host | SINGLE | | Nein | | requestBody | SINGLE | | Nein | | statusCode | SINGLE | | Nein | | statusMessage | SINGLE | | Nein | | responseHeaders | SINGLE | | Nein | | responseFilename | SINGLE | | Nein | | error | SINGLE | | Nein | | source_product_identifier | SINGLE | | Nein | | source_variation_identifier | SINGLE | | Nein | | source_stock_quantity | SINGLE | | Nein | | source_regular_price | SINGLE | | Nein | | source_sale_price | SINGLE | | Nein | | source_date_on_sale_from | SINGLE | | Nein | | source_date_on_sale_to | SINGLE | | Nein | | responseContent | SINGLE | | Nein | | errorMessage | SINGLE | | Nein | |
|