24/7 Support: 800.608.6482

Navigation


InventoryProductSettings_Update

This function is used to update a product's inventory settings in Miva. All parameters are optional. The product you want to update can be specified using Product_ID, Product_Code, Edit_Product or Product_SKU.

Request Body Parameters

product_id Type:
Number
Title:
Product
This is the product id of the product you wish to update.
product_code Type:
String
Title:
Product Code
[optional]This is the product code of the product you wish to update.
product_sku Type:
String
Title:
Product SKU
[optional]This is the product SKU of the product you wish to update.
TrackLowStockLevel Type:
String
Title:
Track Low Stock Level
[optional] The string of Default, Yes, No can used to set the Track Low Stock Level setting
TrackOutOfStockLevel Type:
String
Title:
Track Out Of Stock Level
[optional] The string of Default, Yes, No can used to set the Track Out Of Stock Level setting
HideOutOfStockProducts Type:
String
Title:
Hide Out Of Stock Products
[optional] The string of Default, Yes, No can used to set the Hide Out Of Stock Products setting
LowStockLevel Type:
Number
Title:
Low Stock Level
[optional] The Number for the low stock level.
OutOfStockLevel Type:
Number
Title:
Out Of Stock Level
[optional] The Number for the out of stock level.
TrackProduct Type:
Boolean
Title:
Track Product
[optional] True of False value to track product inventory
InStockMessageShort Type:
String
Title:
In Stock Message Short
[optional] The In Stock Message Short
InStockMessageLong Type:
String
Title:
In Stock Message Long
[optional] The In Stock Message Long
LowStockMessageShort Type:
String
Title:
Low Stock Message Short
[optional] The Low Stock Message Short
LowStockMessageLong Type:
String
Title:
Low Stock Message Long
[optional] The Low Stock Message Long
OutOfStockMessageShort Type:
String
Title:
Out Of Stock Message Short
[optional] The Out Of Stock Message Short
OutOfStockMessageLong Type:
String
Title:
Out of Stock Stock Message
[optional] The out of stock message
LimitedStockMessage Type:
String
Title:
Limited Stock Stock Message
[optional] The limited stock message
AdjustStockBy Type:
Number
Title:
Adjust Stock By
[optional] An Number with the value to adjust the current product inventory count. Note this parameter can not be used with CurrentStock
CurrentStock Type:
Number
Title:
Current Stock
[optional] An Number with the value to adjust the current product inventory count. Note this parameter can not be used with CurrentStock

Response Parameters

success Type:
boolean
Title:
Success
boolean value for if the request was successfull

Example Request

Example Response

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