24/7 Support: 800.608.6482

Navigation


AttributeTemplateAttribute_Update

This function updates an attribute in an existing attribute template.

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

Response Parameters

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

Example Request

Example Response

Error Responses

error code:
MER-UTL-QUOTES-00032
error message:
Attribute template not found
description:
Attribute template not found
error code:
MER-ATT-JSN-00036
error message:
Unable to load attribute template attribute: One of AttributeTemplateAttribute_ID, Edit_AttributeTemplateAttribute or AttributeTemplateAttribute_Code must be specified
description:
Attribute template attribute not found

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