Product Variant Upload¶
The variant upload touchpoint allows you to create/insert product variants in WooCommerce.
How to associate a Variant to a Product¶
In order to associate a variant to product, the product_id must be mapped and have a valid product id. An error will be generated if no product id is mapped or if an invalid value is set.
Update Handling¶
To update an existing variant, both the product id of the WooCommerce product and the id of the variant. If id field is neither mapped nor has a value a new variant will be generated.
The Variant Id is typically obtained when creating the product. Mapping an empty field to the id field will catch the auto-generated id, where it can be written back to source solution/account system.
Fields¶
All writeable fields as part of the standard WooCommerce REST Product endpoint are available as fields on the connector.
See Product variations.
Meta Field Handling¶
Global Product attributes are listed as writeable fields through the connector screen.
It is not possible to write/set attributes if they not defined in WooCommerce.
Exceptions¶
- Updating/setting the Downloads are not supported.
- The variant upload only supports the ability to set a single image to a variant.