Shopee SDK API Reference - v2.8.0
    Preparing search index...

    Interface GetAttributeTreeAttributeInfo

    GetAttributeTreeAttributeInfo sub-interface for GetAttributeTreeAttributeTree

    interface GetAttributeTreeAttributeInfo {
        attribute_unit_list?: string[];
        date_format_type?: number;
        format_type?: number;
        input_type?: number;
        input_validation_type?: number;
        introduction?: string;
        is_oem?: boolean;
        max_value_count?: number;
        support_search_value?: boolean;
    }
    Index

    Properties

    attribute_unit_list?: string[]

    Attribute's available units list

    date_format_type?: number

    YEAR_MONTH_DATE = 0 (DD/MM/YYYY)YEAR_MONTH = 1 (MM/YYYY)

    format_type?: number

    FORMAT_NORMAL = 1FORMAT_QUANTITATIVE_WITH_UNIT = 2

    input_type?: number

    SINGLE_DROP_DOWN = 1 SINGLE_COMBO_BOX = 2 FREE_TEXT_FILED = 3 MULTI_DROP_DOWN = 4 MULTI_COMBO_BOX = 5

    input_validation_type?: number

    VALIDATOR_NO_VALIDATE_TYPE = 0 VALIDATOR_INT_TYPE = 1 VALIDATOR_STRING_TYPE = 2VALIDATOR_FLOAT_TYPE = 3 VALIDATOR_DATE_TYPE = 4

    introduction?: string

    Introduction for special Attribute

    is_oem?: boolean
    max_value_count?: number

    Max selected value count

    support_search_value?: boolean

    Indicates whether this attribute has searchable values.If yes, please call v2.product.search_attribute_value_list to get the default values