售后服务管理系统免费试用

开放平台

获取产品分类以及产品


请求方式:

GET

请求地址:

https://api.eshouhou.cn/open/v2/Client/GetCategoryAndProductList?access_token=eXNoNTRkZDRmOGFyaW5meCY2YTgyNTFiYS1jZTY0LTQ2YjctYTUwNS1hNGU1NjAwMzI3MDYmMTIw


请求参数:

参数

类型

必填

名称

备注

categoryId

string

分类id


queryType

String

查询方式

1获取类别下所有子产品分类和产品;

2获取类别下所有子产品分类;3获取类别下所有产品

 

返回参数:

参数

类型

必填

名称

ResultCode

String

返回编码

ErrorMsg

String

返回信息

ResultValue

Array

返回对象集合

 

ResultValue对象:

参数

类型

必填

名称

备注

ID

string

当前请求的分类id


Name

string

当前请求的分类名称


Product

Array

产品集合

查看获取产品返回的数据

Category

Array

分类集合

查看产品分类接口参数


请求示例:

https://api.eshouhou.cn/open/v2/Client/GetCategoryAndProductList?access_token=eXNoYmRiMDgxNjh6Y2pveCY2YTgyNTFiYS1jZTY0LTQ2YjctYTUwNS1hNGU1NjAwMzI3MDY=&categoryId=0&queryType=1

 

返回成功示例:

{

    "ResultCode"0,

    "ErrorMsg""",

    "ResultValue": {

        "ID""1",

        "Name""家电",

        "Product": [

            {

                "CategoryID""1",

                "CategoryName""家电",

                "ServiceSpaceID""6a8251ba-ce64-46b7-a505-a4e560032706",

                "Name""家电5",

                "Type""L55H7804A-UD",

                "Brand""[示例]品牌",

                "ImgUrl""",

                "CreateTime""2020-10-21",

                "Code""PD00000006",

                "Unit""",

                "BrandID""46",

                "Weight""",

                "WeightUnit""",

                "Volume""",

                "VolumeUnit""",

                "Description""",

                "RetailPrice""",

                "RetailPriceUnit""",

                "AgentPrice""",

                "AgentPriceUnit""",

                "WarrantyPeriod"0,

                "WarrantyPeriodName""未知",

                "ProductBOMs"null,

                "ServiceCapacity""",

                "ServiceCapacityName""",

                "Price""",

                "PriceUnit""",

                "ID""151"

            }

        ],

        "Category": [

            {

                "ServiceSpaceID""6a8251ba-ce64-46b7-a505-a4e560032706",

                "ParentID""1",

                "ParentName""家电",

                "Name""空调类",

                "CssName""",

                "Description""",

                "ImgUrl""",

                "IsDeleted"false,

                "BrandIDs"null,

                "OrderNumber"0,

                "ID""69"

            },

            {

                "ServiceSpaceID""6a8251ba-ce64-46b7-a505-a4e560032706",

                "ParentID""1",

                "ParentName""家电",

                "Name""洗衣机",

                "CssName""",

                "Description""",

                "ImgUrl""",

                "IsDeleted"false,

                "BrandIDs"null,

                "OrderNumber"1,

                "ID""73"

            },

            {

                "ServiceSpaceID""6a8251ba-ce64-46b7-a505-a4e560032706",

                "ParentID""1",

                "ParentName""家电",

                "Name""电视",

                "CssName""",

                "Description""",

                "ImgUrl""",

                "IsDeleted"false,

                "BrandIDs"null,

                "OrderNumber"2,

                "ID""74"

            }

        ]

    }

}


开发者:可为天下(北京)科技有限公司 版本号:V3.1.2
© 2024 eshouhou.com 易售后 保留所有权利
京ICP备15041347号-2京公网安备11011302007053
电话咨询
400-071-2899
在线咨询
免费试用
下载APP
返回顶部