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;
        mandatory_region?: string[];
        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 = 1SINGLE_COMBO_BOX = 2FREE_TEXT_FILED = 3MULTI_DROP_DOWN = 4MULTI_COMBO_BOX = 5

    input_validation_type?: number

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

    introduction?: string

    introduction of special attribute

    is_oem?: boolean
    mandatory_region?: string[]

    Attribute is mandatory for these regions

    max_value_count?: number

    Max selected value count

    support_search_value?: boolean

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