24/7 Support: 800.608.6482

Navigation


AttributeTemplateOption_Update

This function updates an option in an 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 Option Update
The name of the function being executed
attributetemplateoption_id Type:
Number
Title:
Attribute Template Option ID
The id number of the attribute template option to be updated
code Type:
String
Title:
Code
Attribute template option code to be updated
prompt Type:
String
Title:
Attribute Template Option Prompt
The prompt to be offered for selecting the updated attribute template option
image Type:
String
Title:
Attribute Template Option Image
Filepath for attribute template option image being updated
price Type:
Number
Title:
Attribute Template Option Retail Price
The updated price of the attribute template option
cost Type:
Number
Title:
Attribute Template Option Cost
The cost of the attribute template option
weight Type:
Number
Title:
Attribute Template Option Weight
The weight of the attribute template option
default Type:
Boolean
Title:
Attribute Template Option Default
Boolean value indicating if the attribute template option 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

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