product_variants
konigle.cli.product_variants
¶
CLI commands for product variant operations.
create(ctx, product, title, price, sku, barcode, compare_at_price, cost, currency, option1, option2, option3, position, weight, weight_unit, grams, taxable, inventory_policy, inventory_quantity, image, content, content_file)
¶
Create a new product variant.
delete(ctx, variant_id, yes)
¶
Delete a product variant.
get(ctx, variant_id)
¶
Get a product variant by ID.
list_product_variants(ctx, page, page_size, search, product_id)
¶
List product variants.
product_variants()
¶
Product variant management commands.
update(ctx, variant_id, title, handle, price, sku, barcode, compare_at_price, cost, currency, position, weight, weight_unit, grams, taxable, inventory_policy, inventory_quantity, image, content, content_file)
¶
Update a product variant.