24/7 Support: 800.608.6482

Navigation


ProductVariant_Update

This function updates product variant.

Request Parameters

store_code Type:
String
Title:
Store Code
Store code to run the function against. Found in the Miva Admin under Settings > Store Details
function Type:
String
Title:
Product Variant Update
The name of the function being executed
product_id Type:
Number
Title:
Product ID
The id number of the product
variant_id Type:
Number
Title:
Variant ID
The variant id of the product
attribute_ids Type:
Number
Title:
Attribute IDs
The attribute ids of the product
attributetemplateattribute_id Type:
Number
Title:
Attribute Template Attribute ID
The attribute template id of the product attribute
option_ids Type:
Number
Title:
Option IDs
The option id numbers of the product
part_ids Type:
Number
Title:
Part IDs
The id numbers of the product parts
quantities Type:
Number
Title:
Quantities
The part quantities for the product variant

Response Parameters

success Type:
Boolean
Title:
Status Response
Boolean value indicating if the api request was successful

Example Request

Example Response

Copyright © 1997 – 2026 Miva®, Miva Merchant®, MivaPay Vault®, Camp Miva®, Miva Connect®, Vexture℠, Miva, Inc. All Rights Reserved.