24/7 Support: 800.608.6482

Navigation


Attribute_Update

This function updates an attribute of a product.

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:
Attribute Update
The name of the function being executed
attribute_id Type:
Number
Title:
Attribute Id
The id number of the attribute being updated
code Type:
String
Title:
Attribute Code
Updated attribute code
prompt Type:
String
Title:
Attribute Prompt
Updated name of the attribute prompt
image Type:
String
Title:
Attribute Image
Filepath for the updated attribute image
type Type:
String
Title:
Attribute Selection Type
Update of type of selector used for the attribute
price Type:
Number
Title:
Attribute Retail Price
Updated price of the attribute
cost Type:
Number
Title:
Attribute Cost
Updated cost of the attribute
weight Type:
Number
Title:
Attribute Weight
Updated weight of the attribute
default Type:
Boolean
Title:
Attribute Default
Boolean value indicating if the updated attribute is the default selection for the product
required Type:
Boolean
Title:
Attribute Required
Boolean value indicating if selecting the updated attribute is required for purchase
inventory Type:
Boolean
Title:
Attribute Inventory
Boolean value indicating if the updated attribute is recorded in inventory

Response Parameters

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

Example Request

Example Response

This website uses cookies to identify visitors, track visitors to our website, store login session information and to remember your user preferences. By continuing to use this site you agree to our use of cookies. Learn More.

This website uses cookies. By continuing to use this site you agree to our use of cookies. Learn More.

Accept

Copyright © 1997 – 2021 Miva©, Miva Merchant©, MivaPay©, MivaCon© Miva, Inc. All Rights Reserved.