24/7 Support: 800.608.6482

Navigation


AttributeTemplateOptionList_Load_Attribute

This function loads a list of attribute options from an attribute template attribute.

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 List Load Attribute
The name of the function being executed
attributetemplate_id Type:
Number
Title:
Attribute Template Id
The id number of the attribute template being loaded
attributetemplateattribute_id Type:
Number
Title:
Attribute Template Attribute Id
The id number of the attribute template attribute being loaded

Response Parameters

success Type:
Boolean
Title:
Status Response
Boolean value indicating if the api request was successful
id Type:
Number
Title:
Option ID
option id
attemp_id Type:
Number
Title:
Attribute Template Id
Attribute template id
attmpat_id Type:
Number
Title:
Attribute Template Attribute Id
Attribute template attribute id
disporder Type:
Number
Title:
Display Order
Number indicating attribute option display order position
code Type:
String
Title:
Code
Attribute template attribute option code
prompt Type:
String
Title:
Attribute Option Prompt
The prompt offered for selecting the attribute option
price Type:
Number
Title:
Attribute Option Retail Price
The price of the attribute option
formatted_price Type:
String
Title:
Currency Formatted Attribute Option Retail Price
Retail formatted total
cost Type:
Number
Title:
Attribute Option Cost
The cost of the attribute option
formatted_cost Type:
String
Title:
Currency Formatted Attribute Option Cost
Cost formatted total
weight Type:
Number
Title:
Attribute Option Weight
The weight of the attribute option
image Type:
String
Title:
Attribute Option Image
Filepath for attribute option image

Example Request

Example Response

Error Responses

error code:
MER-UTL-QUOTES-00032
error message:
Attribute template not found
description:
Attribute template not found

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.