24/7 Support: 800.608.6482

Navigation


AttributeTemplateOption_Set_Default

This function sets the default attribute option within 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 Set Default
The name of the function
attributetemplate option_id Type:
Number
Title:
Attribute Template Option Id
The id number of the option to be set as default in an attribute template.
attributetemplate option_default Type:
Boolean
Title:
Attribute Template Option Default
Boolean value indicating if the option is set to default (1)

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-JSN-PRD-00031
error message:
Option not found
description:
Option 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.