Skip to content

AttributeTemplate_Update#


Description#

This function updates an attribute template.

Request Parameters#

Parameter
Type Description
AttributeTemplate_id Number The id number of the attribute template being updated
code String Updated attribute template code
prompt String Updated name of the attribute template prompt

Response Parameters#

Parameter
Type Description
success Number 1 indicating a successful request.
0 indicating an unsuccessful request.

Example Request#

{
    "Store_Code": "{{Store_Code}}",
    "Miva_Request_Timestamp": "{{$timestamp}}",
    "Function": "AttributeTemplate_Update",
    "AttributeTemplate_ID": 1,
    "Code": "size",
    "Prompt": "Size"
}

Example Response#

{
    "success": 1
}

Error Responses#

Error Code Error Message Error Description
MER-ATT-JSN-00032 Attribute template not found Attribute template id is not found