24/7 Support: 800.608.6482

Developer Docs

Try our new AI assistant by clicking the chat icon in the lower right corner.

ProductShippingRules_Update

MvDo Function, MVT, Miva Merchant 9+, Engine v5.22+

Tag / Description

<mvt:do file="g.Module_Feature_SHP_DB" name="l.success" value="ProductShippingRules_Update(productshippingrules var)" />

"

ProductShippingRules_Update

This function is used to update a product's shipping rule 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. Available in version 10.08.03 and newer.

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.
ShipsInOwnPackaging Type:
boolean
Title:
Own Package
[optional] Product Always Ships in Separate Packaging
Width Type:
number
Title:
Package Width
[optional] Maximum 10 digits before decimal and 2 digits after decimal
Length Type:
number
Title:
Package Length
[optional] Maximum 10 digits before decimal and 2 digits after decimal
Height Type:
number
Title:
Package Height
[optional] Maximum 10 digits before decimal and 2 digits after decimal
LimitShippingMethods Type:
boolean
Title:
Package Height
[optional] Limit shipping methods
ShippingMethods Type:
object
Title:
Shipping Methods
[optional] Shipping methods to restrict
ShippingMethods.module_code Type:
string
Title:
module code
[optional] Shipping Method module code
ShippingMethods.method_code Type:
string
Title:
Method Code
[optional] Shipping Method code

Response Parameters

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

Example Request

Example Response

"

Parameters

Return Values

Examples

Copyright © 1997 – 2024 Miva®, Miva Merchant®, MivaPay®, MivaCon®, Camp Miva®, Miva Connect®, Miva, Inc. All Rights Reserved.