Skip to content

woocommerceCreateMainVariantProducts - woocommerce

Version: API v3 - wc 3.5.x or later

← woocommerce Add-On Übersicht

This step creates main variant articles and assigns it the corresponding attributes (eg. size) and terms (eg. S, M, L, XL etc.) After that, the individual variants can be created with the step "woocommerceAddVariantsToProducts"


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
sku SINGLE stock keeping unit. Unique identifier of the product. Nein
name SINGLE Product name. Nein
description SINGLE Product description. Nein
short_description SINGLE Product short description. Nein
images SINGLE List of images URL (comma-separated). Nein
attributes MULTIPLEVALUE Attributes & terms that need to be added to create product variations. Form: attribute_id=term_name1|term_name2;attribute_id=term_name1|term_name2 Nein
status SINGLE Product status (post status). Options: draft, pending, private and publish. Default is publish. Nein publish
catalog_visibility SINGLE Catalog visibility. Options: visible, catalog, search and hidden. Default is visible. Nein visible
categories SINGLE List of category IDs (comma-separated). The category ID is an internal indentifier created by woocommerce. Nein
tax_status SINGLE Nein taxable
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
createdProducts SPREADSHEET
Folgende Felder sind im Output enthalten:

Feld Datentyp Beschreibung Standardwert
identifier SINGLE
id SINGLE
sku SINGLE
name SINGLE
slug SINGLE
attributes SINGLE
permalink SINGLE
date_created SINGLE
date_created_gmt SINGLE
failedItems SPREADSHEET
Folgende Felder sind im Output enthalten:

Feld Datentyp Beschreibung Standardwert
identifier SINGLE
sku SINGLE
name SINGLE
statusCode SINGLE
statusMessage SINGLE
responseHeaders SINGLE
responseFilename SINGLE
error SINGLE
responseContent SINGLE
errorMessage SINGLE
invalidItems SPREADSHEET