crm

package
v1.2.9 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 11, 2023 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Package crm 包含店铺会员管理API相关结构体

https://open.taobao.com/API.htm?docType=2&docId=25584

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BasicMember

type BasicMember struct {
	// 会员昵称
	BuyerNick string `json:"buyer_nick,omitempty" xml:"buyer_nick,omitempty"`
	// open_uid
	Ouid string `json:"ouid,omitempty" xml:"ouid,omitempty"`
	// 交易关闭金额
	CloseTradeAmount string `json:"close_trade_amount,omitempty" xml:"close_trade_amount,omitempty"`
	// 分组的id集合字符串
	GroupIds string `json:"group_ids,omitempty" xml:"group_ids,omitempty"`
	// 显示会员的状态,normal正常,blacklist黑名单
	Status string `json:"status,omitempty" xml:"status,omitempty"`
	// 交易的金额
	TradeAmount string `json:"trade_amount,omitempty" xml:"trade_amount,omitempty"`
	// 最后交易的日期
	LastTradeTime string `json:"last_trade_time,omitempty" xml:"last_trade_time,omitempty"`
	// 等级名称
	GradeName string `json:"grade_name,omitempty" xml:"grade_name,omitempty"`
	// 购买的宝贝件数
	ItemNum int64 `json:"item_num,omitempty" xml:"item_num,omitempty"`
	// 关系来源,1交易成功,2未交易成功 ,3 卖家主动吸纳
	RelationSource int64 `json:"relation_source,omitempty" xml:"relation_source,omitempty"`
	// 会员等级,0未非会员,其余对应等级名称取grade_name
	Grade int64 `json:"grade,omitempty" xml:"grade,omitempty"`
	// 交易关闭的笔数
	CloseTradeCount int64 `json:"close_trade_count,omitempty" xml:"close_trade_count,omitempty"`
	// 交易成功的次数
	TradeCount int64 `json:"trade_count,omitempty" xml:"trade_count,omitempty"`
	// 最后一次交易的订单号.注:该字段从2014.4.23之后不再返回.
	BizOrderId int64 `json:"biz_order_id,omitempty" xml:"biz_order_id,omitempty"`
}

BasicMember 结构体

type CrmMember

type CrmMember struct {
	// 交易关闭的金额
	CloseTradeAmount string `json:"close_trade_amount,omitempty" xml:"close_trade_amount,omitempty"`
	// 显示会员的状态,normal正常,blacklist黑名单
	Status string `json:"status,omitempty" xml:"status,omitempty"`
	// 会员拥有的所有分组
	GroupIds string `json:"group_ids,omitempty" xml:"group_ids,omitempty"`
	// 最后交易时间
	LastTradeTime string `json:"last_trade_time,omitempty" xml:"last_trade_time,omitempty"`
	// 城市.请注意:从2014.4.23之后,省市将采用地区标准码,请通过物流API taobao.areas.get接口获取,参考:http://api.taobao.com/apidoc/api.htm?spm=0.0.0.0.nOOF9g&path=cid:7-apiId:59.API对于老的省市代码兼容会逐步下线.
	City string `json:"city,omitempty" xml:"city,omitempty"`
	// 买家昵称
	BuyerNick string `json:"buyer_nick,omitempty" xml:"buyer_nick,omitempty"`
	// openuid
	Ouid string `json:"ouid,omitempty" xml:"ouid,omitempty"`
	// 交易成功的金额
	TradeAmount string `json:"trade_amount,omitempty" xml:"trade_amount,omitempty"`
	// 平均客单价.
	AvgPrice string `json:"avg_price,omitempty" xml:"avg_price,omitempty"`
	// 等级名称
	GradeName string `json:"grade_name,omitempty" xml:"grade_name,omitempty"`
	// 购买的宝贝件数
	ItemNum int64 `json:"item_num,omitempty" xml:"item_num,omitempty"`
	// 交易关闭的宝贝件数
	ItemCloseCount int64 `json:"item_close_count,omitempty" xml:"item_close_count,omitempty"`
	// 关系来源,1交易成功,2未成交,3卖家主动吸纳
	RelationSource int64 `json:"relation_source,omitempty" xml:"relation_source,omitempty"`
	// 交易关闭的的笔数
	CloseTradeCount int64 `json:"close_trade_count,omitempty" xml:"close_trade_count,omitempty"`
	// 最后一次交易的订单号.注:该字段从2014.4.23之后不再返回.
	BizOrderId int64 `json:"biz_order_id,omitempty" xml:"biz_order_id,omitempty"`
	// 北京=1,天津=2,河北省=3,山西省=4,内蒙古自治区=5,辽宁省=6,吉林省=7,黑龙江省=8,上海=9,江苏省=10,浙江省=11,安徽省=12,福建省=13,江西省=14,山东省=15,河南省=16,湖北省=17,湖南省=18, 广东省=19,广西壮族自治区=20,海南省=21,重庆=22,四川省=23,贵州省=24,云南省=25,西藏自治区26,陕西省=27,甘肃省=28,青海省=29,宁夏回族自治区=30,新疆维吾尔自治区=31,台湾省=32,香港特别行政区=33,澳门特别行政区=34,海外=35.注:请注意:从2014.4.23之后,省市将采用地区标准码,请通过物流API taobao.areas.get接口获取,参考:http://api.taobao.com/apidoc/api.htm?spm=0.0.0.0.nOOF9g&path=cid:7-apiId:59.API对于老的省市代码兼容会逐步下线.
	Province int64 `json:"province,omitempty" xml:"province,omitempty"`
	// 会员等级,0未非会员,其余对应等级名称取grade_name
	Grade int64 `json:"grade,omitempty" xml:"grade,omitempty"`
	// 交易成功笔数
	TradeCount int64 `json:"trade_count,omitempty" xml:"trade_count,omitempty"`
}

CrmMember 结构体

type ExchangeActivityCreateDto

type ExchangeActivityCreateDto struct {
	// 不包邮地区
	ExcludeArea string `json:"exclude_area,omitempty" xml:"exclude_area,omitempty"`
	// 活动结束时间
	EndTime string `json:"end_time,omitempty" xml:"end_time,omitempty"`
	// 优惠标签
	ActivityTag string `json:"activity_tag,omitempty" xml:"activity_tag,omitempty"`
	// 活动开始时间
	StartTime string `json:"start_time,omitempty" xml:"start_time,omitempty"`
	// 活动名称
	ActivityName string `json:"activity_name,omitempty" xml:"activity_name,omitempty"`
	// 商品ID
	ItmeId int64 `json:"itme_id,omitempty" xml:"itme_id,omitempty"`
	// 商品一口价
	FixPrice int64 `json:"fix_price,omitempty" xml:"fix_price,omitempty"`
	// 商品是否包邮
	FreePostage bool `json:"free_postage,omitempty" xml:"free_postage,omitempty"`
}

ExchangeActivityCreateDto 结构体

type GradePromotion

type GradePromotion struct {
	// 店铺客户、普通会员 、高级会员、VIP会员、至尊VIP
	CurGradeName string `json:"cur_grade_name,omitempty" xml:"cur_grade_name,omitempty"`
	// 买家会员级别  0:店铺客户  1:普通会员 2:高级会员 3:VIP会员 4:至尊VIP
	CurGrade string `json:"cur_grade,omitempty" xml:"cur_grade,omitempty"`
	// 该等级对应的下一等级1:普通会员  2:高级会员 3:VIP会员 4:至尊VIP 0:后续等级都未启用或没有下一等级
	NextGradeName string `json:"next_grade_name,omitempty" xml:"next_grade_name,omitempty"`
	// 普通会员、高级会员、VIP会员、至尊VIP。空的时候代表后续等级未启用或没有下一等级
	NextGrade string `json:"next_grade,omitempty" xml:"next_grade,omitempty"`
	// 升级到下一个级别的需要的交易量
	NextUpgradeCount int64 `json:"next_upgrade_count,omitempty" xml:"next_upgrade_count,omitempty"`
	// 升级到下一个级别的需要的交易额,单位:分
	NextUpgradeAmount int64 `json:"next_upgrade_amount,omitempty" xml:"next_upgrade_amount,omitempty"`
	// 会员级别折扣率没有小数,990代表9.9折
	Discount int64 `json:"discount,omitempty" xml:"discount,omitempty"`
}

GradePromotion 结构体

type Group

type Group struct {
	// 分组的名称
	GroupName string `json:"group_name,omitempty" xml:"group_name,omitempty"`
	// 分组的状态,1表示正常
	Status string `json:"status,omitempty" xml:"status,omitempty"`
	// 分组的修改时间
	GroupModify string `json:"group_modify,omitempty" xml:"group_modify,omitempty"`
	// 分组的创建时间
	GroupCreate string `json:"group_create,omitempty" xml:"group_create,omitempty"`
	// 分组所拥有的会员数量,如果返回值为-1,表示当前服务忙或数据在初始化。
	MemberCount int64 `json:"member_count,omitempty" xml:"member_count,omitempty"`
	// 分组的id
	GroupId int64 `json:"group_id,omitempty" xml:"group_id,omitempty"`
}

Group 结构体

type HsMemberInfoDto added in v1.2.5

type HsMemberInfoDto struct {
	// 版本拓展信息
	SnapshotInfo string `json:"snapshot_info,omitempty" xml:"snapshot_info,omitempty"`
	// 等级名称
	GradeName string `json:"grade_name,omitempty" xml:"grade_name,omitempty"`
	// ouid
	Ouid string `json:"ouid,omitempty" xml:"ouid,omitempty"`
	// 记录最后修改时间
	GmtModified string `json:"gmt_modified,omitempty" xml:"gmt_modified,omitempty"`
	// 等级编码
	Grade int64 `json:"grade,omitempty" xml:"grade,omitempty"`
}

HsMemberInfoDto 结构体

type TaobaoCrmExchangeActivityCreateAPIRequest added in v1.2.0

type TaobaoCrmExchangeActivityCreateAPIRequest struct {
	model.Params
	// contains filtered or unexported fields
}

TaobaoCrmExchangeActivityCreateAPIRequest 创建积分兑换活动 API请求 taobao.crm.exchange.activity.create

创建针对积分兑换类型的活动

func NewTaobaoCrmExchangeActivityCreateRequest

func NewTaobaoCrmExchangeActivityCreateRequest() *TaobaoCrmExchangeActivityCreateAPIRequest

NewTaobaoCrmExchangeActivityCreateRequest 初始化TaobaoCrmExchangeActivityCreateAPIRequest对象

func (TaobaoCrmExchangeActivityCreateAPIRequest) GetApiMethodName added in v1.2.0

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoCrmExchangeActivityCreateAPIRequest) GetApiParams added in v1.2.0

func (r TaobaoCrmExchangeActivityCreateAPIRequest) GetApiParams(params url.Values)

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoCrmExchangeActivityCreateAPIRequest) GetExchangeActivityCreateDto added in v1.2.0

func (r TaobaoCrmExchangeActivityCreateAPIRequest) GetExchangeActivityCreateDto() *ExchangeActivityCreateDto

GetExchangeActivityCreateDto ExchangeActivityCreateDto Getter

func (TaobaoCrmExchangeActivityCreateAPIRequest) GetRawParams added in v1.2.8

GetRawParams IRequest interface 方法, 获取API原始参数

func (*TaobaoCrmExchangeActivityCreateAPIRequest) SetExchangeActivityCreateDto added in v1.2.0

func (r *TaobaoCrmExchangeActivityCreateAPIRequest) SetExchangeActivityCreateDto(_exchangeActivityCreateDto *ExchangeActivityCreateDto) error

SetExchangeActivityCreateDto is ExchangeActivityCreateDto Setter 创建积分兑换活动

type TaobaoCrmExchangeActivityCreateAPIResponse

type TaobaoCrmExchangeActivityCreateAPIResponse struct {
	model.CommonResponse
	TaobaoCrmExchangeActivityCreateAPIResponseModel
}

TaobaoCrmExchangeActivityCreateAPIResponse 创建积分兑换活动 API返回值 taobao.crm.exchange.activity.create

创建针对积分兑换类型的活动

type TaobaoCrmExchangeActivityCreateAPIResponseModel added in v1.2.0

type TaobaoCrmExchangeActivityCreateAPIResponseModel struct {
	XMLName xml.Name `xml:"crm_exchange_activity_create_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 活动ID
	ActivityId int64 `json:"activity_id,omitempty" xml:"activity_id,omitempty"`
	// 人群实例ID
	CrowdinstanceId int64 `json:"crowdinstance_id,omitempty" xml:"crowdinstance_id,omitempty"`
	// 接口调用成功
	SubSuccess bool `json:"sub_success,omitempty" xml:"sub_success,omitempty"`
}

TaobaoCrmExchangeActivityCreateAPIResponseModel is 创建积分兑换活动 成功返回结果

type TaobaoCrmExchangeCrowdinstanceAddPrivyAPIRequest added in v1.2.5

type TaobaoCrmExchangeCrowdinstanceAddPrivyAPIRequest struct {
	model.Params
	// contains filtered or unexported fields
}

TaobaoCrmExchangeCrowdinstanceAddPrivyAPIRequest 向活动人群实例中增加买家(隐私号版) API请求 taobao.crm.exchange.crowdinstance.add.privy

向活动人群实例中增加买家

func NewTaobaoCrmExchangeCrowdinstanceAddPrivyRequest added in v1.2.5

func NewTaobaoCrmExchangeCrowdinstanceAddPrivyRequest() *TaobaoCrmExchangeCrowdinstanceAddPrivyAPIRequest

NewTaobaoCrmExchangeCrowdinstanceAddPrivyRequest 初始化TaobaoCrmExchangeCrowdinstanceAddPrivyAPIRequest对象

func (TaobaoCrmExchangeCrowdinstanceAddPrivyAPIRequest) GetApiMethodName added in v1.2.5

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoCrmExchangeCrowdinstanceAddPrivyAPIRequest) GetApiParams added in v1.2.5

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoCrmExchangeCrowdinstanceAddPrivyAPIRequest) GetCrowdInstanceId added in v1.2.5

GetCrowdInstanceId CrowdInstanceId Getter

func (TaobaoCrmExchangeCrowdinstanceAddPrivyAPIRequest) GetOuid added in v1.2.5

GetOuid Ouid Getter

func (TaobaoCrmExchangeCrowdinstanceAddPrivyAPIRequest) GetRawParams added in v1.2.8

GetRawParams IRequest interface 方法, 获取API原始参数

func (TaobaoCrmExchangeCrowdinstanceAddPrivyAPIRequest) GetReason added in v1.2.5

GetReason Reason Getter

func (*TaobaoCrmExchangeCrowdinstanceAddPrivyAPIRequest) SetCrowdInstanceId added in v1.2.5

func (r *TaobaoCrmExchangeCrowdinstanceAddPrivyAPIRequest) SetCrowdInstanceId(_crowdInstanceId int64) error

SetCrowdInstanceId is CrowdInstanceId Setter 人群实例ID

func (*TaobaoCrmExchangeCrowdinstanceAddPrivyAPIRequest) SetOuid added in v1.2.5

SetOuid is Ouid Setter ouid

func (*TaobaoCrmExchangeCrowdinstanceAddPrivyAPIRequest) SetReason added in v1.2.5

SetReason is Reason Setter 操作原因

type TaobaoCrmExchangeCrowdinstanceAddPrivyAPIResponse added in v1.2.5

type TaobaoCrmExchangeCrowdinstanceAddPrivyAPIResponse struct {
	model.CommonResponse
	TaobaoCrmExchangeCrowdinstanceAddPrivyAPIResponseModel
}

TaobaoCrmExchangeCrowdinstanceAddPrivyAPIResponse 向活动人群实例中增加买家(隐私号版) API返回值 taobao.crm.exchange.crowdinstance.add.privy

向活动人群实例中增加买家

type TaobaoCrmExchangeCrowdinstanceAddPrivyAPIResponseModel added in v1.2.5

type TaobaoCrmExchangeCrowdinstanceAddPrivyAPIResponseModel struct {
	XMLName xml.Name `xml:"crm_exchange_crowdinstance_add_privy_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 调用是否成功
	SubSuccess bool `json:"sub_success,omitempty" xml:"sub_success,omitempty"`
}

TaobaoCrmExchangeCrowdinstanceAddPrivyAPIResponseModel is 向活动人群实例中增加买家(隐私号版) 成功返回结果

type TaobaoCrmGradeGetAPIRequest added in v1.2.0

type TaobaoCrmGradeGetAPIRequest struct {
	model.Params
}

TaobaoCrmGradeGetAPIRequest 卖家查询等级规则 API请求 taobao.crm.grade.get

卖家查询等级规则,包括店铺客户、普通会员、高级会员、VIP会员、至尊VIP会员四个等级的信息

func NewTaobaoCrmGradeGetRequest

func NewTaobaoCrmGradeGetRequest() *TaobaoCrmGradeGetAPIRequest

NewTaobaoCrmGradeGetRequest 初始化TaobaoCrmGradeGetAPIRequest对象

func (TaobaoCrmGradeGetAPIRequest) GetApiMethodName added in v1.2.0

func (r TaobaoCrmGradeGetAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoCrmGradeGetAPIRequest) GetApiParams added in v1.2.0

func (r TaobaoCrmGradeGetAPIRequest) GetApiParams(params url.Values)

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoCrmGradeGetAPIRequest) GetRawParams added in v1.2.8

func (r TaobaoCrmGradeGetAPIRequest) GetRawParams() model.Params

GetRawParams IRequest interface 方法, 获取API原始参数

type TaobaoCrmGradeGetAPIResponse

type TaobaoCrmGradeGetAPIResponse struct {
	model.CommonResponse
	TaobaoCrmGradeGetAPIResponseModel
}

TaobaoCrmGradeGetAPIResponse 卖家查询等级规则 API返回值 taobao.crm.grade.get

卖家查询等级规则,包括店铺客户、普通会员、高级会员、VIP会员、至尊VIP会员四个等级的信息

type TaobaoCrmGradeGetAPIResponseModel added in v1.2.0

type TaobaoCrmGradeGetAPIResponseModel struct {
	XMLName xml.Name `xml:"crm_grade_get_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 等级信息集合
	GradePromotions []GradePromotion `json:"grade_promotions,omitempty" xml:"grade_promotions>grade_promotion,omitempty"`
}

TaobaoCrmGradeGetAPIResponseModel is 卖家查询等级规则 成功返回结果

type TaobaoCrmGradeSetAPIRequest added in v1.2.0

type TaobaoCrmGradeSetAPIRequest struct {
	model.Params
	// contains filtered or unexported fields
}

TaobaoCrmGradeSetAPIRequest 卖家设置等级规则 API请求 taobao.crm.grade.set

设置等级信息,可以设置层级等级,也可以单独设置一个等级。出于安全原因,折扣现最低只能设置到700即7折。

func NewTaobaoCrmGradeSetRequest

func NewTaobaoCrmGradeSetRequest() *TaobaoCrmGradeSetAPIRequest

NewTaobaoCrmGradeSetRequest 初始化TaobaoCrmGradeSetAPIRequest对象

func (TaobaoCrmGradeSetAPIRequest) GetAmount added in v1.2.0

func (r TaobaoCrmGradeSetAPIRequest) GetAmount() []int64

GetAmount Amount Getter

func (TaobaoCrmGradeSetAPIRequest) GetApiMethodName added in v1.2.0

func (r TaobaoCrmGradeSetAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoCrmGradeSetAPIRequest) GetApiParams added in v1.2.0

func (r TaobaoCrmGradeSetAPIRequest) GetApiParams(params url.Values)

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoCrmGradeSetAPIRequest) GetCount added in v1.2.0

func (r TaobaoCrmGradeSetAPIRequest) GetCount() []int64

GetCount Count Getter

func (TaobaoCrmGradeSetAPIRequest) GetDiscount added in v1.2.0

func (r TaobaoCrmGradeSetAPIRequest) GetDiscount() []int64

GetDiscount Discount Getter

func (TaobaoCrmGradeSetAPIRequest) GetGrade added in v1.2.0

func (r TaobaoCrmGradeSetAPIRequest) GetGrade() []int64

GetGrade Grade Getter

func (TaobaoCrmGradeSetAPIRequest) GetHierarchy added in v1.2.0

func (r TaobaoCrmGradeSetAPIRequest) GetHierarchy() []bool

GetHierarchy Hierarchy Getter

func (TaobaoCrmGradeSetAPIRequest) GetRawParams added in v1.2.8

func (r TaobaoCrmGradeSetAPIRequest) GetRawParams() model.Params

GetRawParams IRequest interface 方法, 获取API原始参数

func (*TaobaoCrmGradeSetAPIRequest) SetAmount added in v1.2.0

func (r *TaobaoCrmGradeSetAPIRequest) SetAmount(_amount []int64) error

SetAmount is Amount Setter 只对设置的层级等级有效,必须要在amount和count参数中选择一个<br><br/>amount参数的填写规范:升级到下一个级别的需要的交易额,单位为分,必须全部填写.例如10000,20000,30000,其中10000表示非会员升级到普通的所需的交易额,20000表示普通升级到高级所需的交易额,层级等级中最高等级的下一个等级默认为0。会员等级越高,所需交易额必须越高。

func (*TaobaoCrmGradeSetAPIRequest) SetCount added in v1.2.0

func (r *TaobaoCrmGradeSetAPIRequest) SetCount(_count []int64) error

SetCount is Count Setter 只对设置的层级等级有效,必须要在amount和count参数中选择一个<br><br/>count参数的填写规范:<br/>升级到下一个级别的需要的交易量,必须全部填写. 以逗号分隔,例如100,200,300,其中100表示非会员升级到普通会员交易量。层级等级中最高等级的下一个等级的交易量默认为0。会员等级越高,交易量必须越高。

func (*TaobaoCrmGradeSetAPIRequest) SetDiscount added in v1.2.0

func (r *TaobaoCrmGradeSetAPIRequest) SetDiscount(_discount []int64) error

SetDiscount is Discount Setter 会员级别折扣率。会员等级越高,折扣必须越低。<br/>950即9.5折,888折即8.88折。出于安全原因,折扣现最低只能设置到700即7折。

func (*TaobaoCrmGradeSetAPIRequest) SetGrade added in v1.2.0

func (r *TaobaoCrmGradeSetAPIRequest) SetGrade(_grade []int64) error

SetGrade is Grade Setter 会员等级,用逗号分隔。买家会员级别0:店铺客户 1:普通会员 2 :高级会员 3:VIP会员 4:至尊VIP

func (*TaobaoCrmGradeSetAPIRequest) SetHierarchy added in v1.2.0

func (r *TaobaoCrmGradeSetAPIRequest) SetHierarchy(_hierarchy []bool) error

SetHierarchy is Hierarchy Setter 是否设置达到某一会员等级的交易量和交易额,必填。4个级别都需要设置,如入参为true,true,true,false时,表示设置达到高级会员、VIP会员的交易量或者交易额,不设置达到至尊会员的交易量和交易额

type TaobaoCrmGradeSetAPIResponse

type TaobaoCrmGradeSetAPIResponse struct {
	model.CommonResponse
	TaobaoCrmGradeSetAPIResponseModel
}

TaobaoCrmGradeSetAPIResponse 卖家设置等级规则 API返回值 taobao.crm.grade.set

设置等级信息,可以设置层级等级,也可以单独设置一个等级。出于安全原因,折扣现最低只能设置到700即7折。

type TaobaoCrmGradeSetAPIResponseModel added in v1.2.0

type TaobaoCrmGradeSetAPIResponseModel struct {
	XMLName xml.Name `xml:"crm_grade_set_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// true:成功 false:失败
	IsSuccess bool `json:"is_success,omitempty" xml:"is_success,omitempty"`
}

TaobaoCrmGradeSetAPIResponseModel is 卖家设置等级规则 成功返回结果

type TaobaoCrmGrademktMemberAddAPIRequest added in v1.2.0

type TaobaoCrmGrademktMemberAddAPIRequest struct {
	model.Params
	// contains filtered or unexported fields
}

TaobaoCrmGrademktMemberAddAPIRequest 会员等级营销-会员吸纳 API请求 taobao.crm.grademkt.member.add

商家通过该接口吸纳线上店铺会员。

func NewTaobaoCrmGrademktMemberAddRequest

func NewTaobaoCrmGrademktMemberAddRequest() *TaobaoCrmGrademktMemberAddAPIRequest

NewTaobaoCrmGrademktMemberAddRequest 初始化TaobaoCrmGrademktMemberAddAPIRequest对象

func (TaobaoCrmGrademktMemberAddAPIRequest) GetApiMethodName added in v1.2.0

func (r TaobaoCrmGrademktMemberAddAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoCrmGrademktMemberAddAPIRequest) GetApiParams added in v1.2.0

func (r TaobaoCrmGrademktMemberAddAPIRequest) GetApiParams(params url.Values)

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoCrmGrademktMemberAddAPIRequest) GetBuyerNick added in v1.2.0

GetBuyerNick BuyerNick Getter

func (TaobaoCrmGrademktMemberAddAPIRequest) GetFeather added in v1.2.0

GetFeather Feather Getter

func (TaobaoCrmGrademktMemberAddAPIRequest) GetParameter added in v1.2.0

GetParameter Parameter Getter

func (TaobaoCrmGrademktMemberAddAPIRequest) GetRawParams added in v1.2.8

GetRawParams IRequest interface 方法, 获取API原始参数

func (*TaobaoCrmGrademktMemberAddAPIRequest) SetBuyerNick added in v1.2.0

func (r *TaobaoCrmGrademktMemberAddAPIRequest) SetBuyerNick(_buyerNick string) error

SetBuyerNick is BuyerNick Setter 会员nick

func (*TaobaoCrmGrademktMemberAddAPIRequest) SetFeather added in v1.2.0

func (r *TaobaoCrmGrademktMemberAddAPIRequest) SetFeather(_feather string) error

SetFeather is Feather Setter 系统属性,json格式

func (*TaobaoCrmGrademktMemberAddAPIRequest) SetParameter added in v1.2.0

func (r *TaobaoCrmGrademktMemberAddAPIRequest) SetParameter(_parameter string) error

SetParameter is Parameter Setter 会员属性-json format生成方法见http://open.taobao.com/doc/detail.htm?id=101281

type TaobaoCrmGrademktMemberAddAPIResponse

type TaobaoCrmGrademktMemberAddAPIResponse struct {
	model.CommonResponse
	TaobaoCrmGrademktMemberAddAPIResponseModel
}

TaobaoCrmGrademktMemberAddAPIResponse 会员等级营销-会员吸纳 API返回值 taobao.crm.grademkt.member.add

商家通过该接口吸纳线上店铺会员。

type TaobaoCrmGrademktMemberAddAPIResponseModel added in v1.2.0

type TaobaoCrmGrademktMemberAddAPIResponseModel struct {
	XMLName xml.Name `xml:"crm_grademkt_member_add_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 返回操作是否成功
	Model bool `json:"model,omitempty" xml:"model,omitempty"`
}

TaobaoCrmGrademktMemberAddAPIResponseModel is 会员等级营销-会员吸纳 成功返回结果

type TaobaoCrmGrademktMemberDetailCreateAPIRequest added in v1.2.0

type TaobaoCrmGrademktMemberDetailCreateAPIRequest struct {
	model.Params
	// contains filtered or unexported fields
}

TaobaoCrmGrademktMemberDetailCreateAPIRequest 会员等级营销-创建商品等级营销明细 API请求 taobao.crm.grademkt.member.detail.create

创建商品等级营销明细

func NewTaobaoCrmGrademktMemberDetailCreateRequest

func NewTaobaoCrmGrademktMemberDetailCreateRequest() *TaobaoCrmGrademktMemberDetailCreateAPIRequest

NewTaobaoCrmGrademktMemberDetailCreateRequest 初始化TaobaoCrmGrademktMemberDetailCreateAPIRequest对象

func (TaobaoCrmGrademktMemberDetailCreateAPIRequest) GetApiMethodName added in v1.2.0

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoCrmGrademktMemberDetailCreateAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoCrmGrademktMemberDetailCreateAPIRequest) GetFeather added in v1.2.0

GetFeather Feather Getter

func (TaobaoCrmGrademktMemberDetailCreateAPIRequest) GetParameter added in v1.2.0

GetParameter Parameter Getter

func (TaobaoCrmGrademktMemberDetailCreateAPIRequest) GetRawParams added in v1.2.8

GetRawParams IRequest interface 方法, 获取API原始参数

func (*TaobaoCrmGrademktMemberDetailCreateAPIRequest) SetFeather added in v1.2.0

SetFeather is Feather Setter 扩展字段

func (*TaobaoCrmGrademktMemberDetailCreateAPIRequest) SetParameter added in v1.2.0

func (r *TaobaoCrmGrademktMemberDetailCreateAPIRequest) SetParameter(_parameter string) error

SetParameter is Parameter Setter 创建营销详情,生成方法见http://open.taobao.com/doc/detail.htm?id=101281

type TaobaoCrmGrademktMemberDetailCreateAPIResponse

type TaobaoCrmGrademktMemberDetailCreateAPIResponse struct {
	model.CommonResponse
	TaobaoCrmGrademktMemberDetailCreateAPIResponseModel
}

TaobaoCrmGrademktMemberDetailCreateAPIResponse 会员等级营销-创建商品等级营销明细 API返回值 taobao.crm.grademkt.member.detail.create

创建商品等级营销明细

type TaobaoCrmGrademktMemberDetailCreateAPIResponseModel added in v1.2.0

type TaobaoCrmGrademktMemberDetailCreateAPIResponseModel struct {
	XMLName xml.Name `xml:"crm_grademkt_member_detail_create_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// json格式
	Module bool `json:"module,omitempty" xml:"module,omitempty"`
}

TaobaoCrmGrademktMemberDetailCreateAPIResponseModel is 会员等级营销-创建商品等级营销明细 成功返回结果

type TaobaoCrmGrademktMemberDetailDeleteAPIRequest added in v1.2.0

type TaobaoCrmGrademktMemberDetailDeleteAPIRequest struct {
	model.Params
	// contains filtered or unexported fields
}

TaobaoCrmGrademktMemberDetailDeleteAPIRequest 会员等级营销-删除商品等级营销明细 API请求 taobao.crm.grademkt.member.detail.delete

删除商品等级营销明细

func NewTaobaoCrmGrademktMemberDetailDeleteRequest

func NewTaobaoCrmGrademktMemberDetailDeleteRequest() *TaobaoCrmGrademktMemberDetailDeleteAPIRequest

NewTaobaoCrmGrademktMemberDetailDeleteRequest 初始化TaobaoCrmGrademktMemberDetailDeleteAPIRequest对象

func (TaobaoCrmGrademktMemberDetailDeleteAPIRequest) GetApiMethodName added in v1.2.0

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoCrmGrademktMemberDetailDeleteAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoCrmGrademktMemberDetailDeleteAPIRequest) GetFeather added in v1.2.0

GetFeather Feather Getter

func (TaobaoCrmGrademktMemberDetailDeleteAPIRequest) GetParameter added in v1.2.0

GetParameter Parameter Getter

func (TaobaoCrmGrademktMemberDetailDeleteAPIRequest) GetRawParams added in v1.2.8

GetRawParams IRequest interface 方法, 获取API原始参数

func (*TaobaoCrmGrademktMemberDetailDeleteAPIRequest) SetFeather added in v1.2.0

SetFeather is Feather Setter 扩展字段

func (*TaobaoCrmGrademktMemberDetailDeleteAPIRequest) SetParameter added in v1.2.0

func (r *TaobaoCrmGrademktMemberDetailDeleteAPIRequest) SetParameter(_parameter string) error

SetParameter is Parameter Setter 创建营销详情,生成方法见http://open.taobao.com/doc/detail.htm?id=101281

type TaobaoCrmGrademktMemberDetailDeleteAPIResponse

type TaobaoCrmGrademktMemberDetailDeleteAPIResponse struct {
	model.CommonResponse
	TaobaoCrmGrademktMemberDetailDeleteAPIResponseModel
}

TaobaoCrmGrademktMemberDetailDeleteAPIResponse 会员等级营销-删除商品等级营销明细 API返回值 taobao.crm.grademkt.member.detail.delete

删除商品等级营销明细

type TaobaoCrmGrademktMemberDetailDeleteAPIResponseModel added in v1.2.0

type TaobaoCrmGrademktMemberDetailDeleteAPIResponseModel struct {
	XMLName xml.Name `xml:"crm_grademkt_member_detail_delete_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 操作是否成功
	Module bool `json:"module,omitempty" xml:"module,omitempty"`
}

TaobaoCrmGrademktMemberDetailDeleteAPIResponseModel is 会员等级营销-删除商品等级营销明细 成功返回结果

type TaobaoCrmGrademktMemberDetailQueryAPIRequest added in v1.2.0

type TaobaoCrmGrademktMemberDetailQueryAPIRequest struct {
	model.Params
	// contains filtered or unexported fields
}

TaobaoCrmGrademktMemberDetailQueryAPIRequest 会员等级营销-等级营销活动查询 API请求 taobao.crm.grademkt.member.detail.query

商家通过该接口查询等级营销活动

func NewTaobaoCrmGrademktMemberDetailQueryRequest

func NewTaobaoCrmGrademktMemberDetailQueryRequest() *TaobaoCrmGrademktMemberDetailQueryAPIRequest

NewTaobaoCrmGrademktMemberDetailQueryRequest 初始化TaobaoCrmGrademktMemberDetailQueryAPIRequest对象

func (TaobaoCrmGrademktMemberDetailQueryAPIRequest) GetApiMethodName added in v1.2.0

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoCrmGrademktMemberDetailQueryAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoCrmGrademktMemberDetailQueryAPIRequest) GetFeather added in v1.2.0

GetFeather Feather Getter

func (TaobaoCrmGrademktMemberDetailQueryAPIRequest) GetParameter added in v1.2.0

GetParameter Parameter Getter

func (TaobaoCrmGrademktMemberDetailQueryAPIRequest) GetRawParams added in v1.2.8

GetRawParams IRequest interface 方法, 获取API原始参数

func (*TaobaoCrmGrademktMemberDetailQueryAPIRequest) SetFeather added in v1.2.0

SetFeather is Feather Setter 扩展字段

func (*TaobaoCrmGrademktMemberDetailQueryAPIRequest) SetParameter added in v1.2.0

func (r *TaobaoCrmGrademktMemberDetailQueryAPIRequest) SetParameter(_parameter string) error

SetParameter is Parameter Setter 创建营销详情,生成方法见http://open.taobao.com/doc/detail.htm?id=101281

type TaobaoCrmGrademktMemberDetailQueryAPIResponse

type TaobaoCrmGrademktMemberDetailQueryAPIResponse struct {
	model.CommonResponse
	TaobaoCrmGrademktMemberDetailQueryAPIResponseModel
}

TaobaoCrmGrademktMemberDetailQueryAPIResponse 会员等级营销-等级营销活动查询 API返回值 taobao.crm.grademkt.member.detail.query

商家通过该接口查询等级营销活动

type TaobaoCrmGrademktMemberDetailQueryAPIResponseModel added in v1.2.0

type TaobaoCrmGrademktMemberDetailQueryAPIResponseModel struct {
	XMLName xml.Name `xml:"crm_grademkt_member_detail_query_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// totalCount为记录总数
	Model string `json:"model,omitempty" xml:"model,omitempty"`
}

TaobaoCrmGrademktMemberDetailQueryAPIResponseModel is 会员等级营销-等级营销活动查询 成功返回结果

type TaobaoCrmGrademktMemberQueryAPIRequest added in v1.2.0

type TaobaoCrmGrademktMemberQueryAPIRequest struct {
	model.Params
	// contains filtered or unexported fields
}

TaobaoCrmGrademktMemberQueryAPIRequest 会员等级营销-会员关系查询 API请求 taobao.crm.grademkt.member.query

商家通过该接口查询线上店铺会员。

func NewTaobaoCrmGrademktMemberQueryRequest

func NewTaobaoCrmGrademktMemberQueryRequest() *TaobaoCrmGrademktMemberQueryAPIRequest

NewTaobaoCrmGrademktMemberQueryRequest 初始化TaobaoCrmGrademktMemberQueryAPIRequest对象

func (TaobaoCrmGrademktMemberQueryAPIRequest) GetApiMethodName added in v1.2.0

func (r TaobaoCrmGrademktMemberQueryAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoCrmGrademktMemberQueryAPIRequest) GetApiParams added in v1.2.0

func (r TaobaoCrmGrademktMemberQueryAPIRequest) GetApiParams(params url.Values)

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoCrmGrademktMemberQueryAPIRequest) GetBuyerNick added in v1.2.0

GetBuyerNick BuyerNick Getter

func (TaobaoCrmGrademktMemberQueryAPIRequest) GetFeather added in v1.2.0

GetFeather Feather Getter

func (TaobaoCrmGrademktMemberQueryAPIRequest) GetParameter added in v1.2.0

GetParameter Parameter Getter

func (TaobaoCrmGrademktMemberQueryAPIRequest) GetRawParams added in v1.2.8

GetRawParams IRequest interface 方法, 获取API原始参数

func (*TaobaoCrmGrademktMemberQueryAPIRequest) SetBuyerNick added in v1.2.0

func (r *TaobaoCrmGrademktMemberQueryAPIRequest) SetBuyerNick(_buyerNick string) error

SetBuyerNick is BuyerNick Setter 会员nick

func (*TaobaoCrmGrademktMemberQueryAPIRequest) SetFeather added in v1.2.0

func (r *TaobaoCrmGrademktMemberQueryAPIRequest) SetFeather(_feather string) error

SetFeather is Feather Setter 系统属性,json格式

func (*TaobaoCrmGrademktMemberQueryAPIRequest) SetParameter added in v1.2.0

func (r *TaobaoCrmGrademktMemberQueryAPIRequest) SetParameter(_parameter string) error

SetParameter is Parameter Setter 会员属性-json format生成方法见http://open.taobao.com/doc/detail.htm?id=101281

type TaobaoCrmGrademktMemberQueryAPIResponse

type TaobaoCrmGrademktMemberQueryAPIResponse struct {
	model.CommonResponse
	TaobaoCrmGrademktMemberQueryAPIResponseModel
}

TaobaoCrmGrademktMemberQueryAPIResponse 会员等级营销-会员关系查询 API返回值 taobao.crm.grademkt.member.query

商家通过该接口查询线上店铺会员。

type TaobaoCrmGrademktMemberQueryAPIResponseModel added in v1.2.0

type TaobaoCrmGrademktMemberQueryAPIResponseModel struct {
	XMLName xml.Name `xml:"crm_grademkt_member_query_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// json格式
	Module string `json:"module,omitempty" xml:"module,omitempty"`
}

TaobaoCrmGrademktMemberQueryAPIResponseModel is 会员等级营销-会员关系查询 成功返回结果

type TaobaoCrmGroupAddAPIRequest added in v1.2.0

type TaobaoCrmGroupAddAPIRequest struct {
	model.Params
	// contains filtered or unexported fields
}

TaobaoCrmGroupAddAPIRequest 卖家创建一个分组 API请求 taobao.crm.group.add

卖家创建一个新的分组,接口返回一个创建成功的分组的id

func NewTaobaoCrmGroupAddRequest

func NewTaobaoCrmGroupAddRequest() *TaobaoCrmGroupAddAPIRequest

NewTaobaoCrmGroupAddRequest 初始化TaobaoCrmGroupAddAPIRequest对象

func (TaobaoCrmGroupAddAPIRequest) GetApiMethodName added in v1.2.0

func (r TaobaoCrmGroupAddAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoCrmGroupAddAPIRequest) GetApiParams added in v1.2.0

func (r TaobaoCrmGroupAddAPIRequest) GetApiParams(params url.Values)

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoCrmGroupAddAPIRequest) GetGroupName added in v1.2.0

func (r TaobaoCrmGroupAddAPIRequest) GetGroupName() string

GetGroupName GroupName Getter

func (TaobaoCrmGroupAddAPIRequest) GetRawParams added in v1.2.8

func (r TaobaoCrmGroupAddAPIRequest) GetRawParams() model.Params

GetRawParams IRequest interface 方法, 获取API原始参数

func (*TaobaoCrmGroupAddAPIRequest) SetGroupName added in v1.2.0

func (r *TaobaoCrmGroupAddAPIRequest) SetGroupName(_groupName string) error

SetGroupName is GroupName Setter 分组名称,每个卖家最多可以拥有100个分组

type TaobaoCrmGroupAddAPIResponse

type TaobaoCrmGroupAddAPIResponse struct {
	model.CommonResponse
	TaobaoCrmGroupAddAPIResponseModel
}

TaobaoCrmGroupAddAPIResponse 卖家创建一个分组 API返回值 taobao.crm.group.add

卖家创建一个新的分组,接口返回一个创建成功的分组的id

type TaobaoCrmGroupAddAPIResponseModel added in v1.2.0

type TaobaoCrmGroupAddAPIResponseModel struct {
	XMLName xml.Name `xml:"crm_group_add_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 新增分组的id
	GroupId int64 `json:"group_id,omitempty" xml:"group_id,omitempty"`
	// 添加分组是否成功
	IsSuccess bool `json:"is_success,omitempty" xml:"is_success,omitempty"`
}

TaobaoCrmGroupAddAPIResponseModel is 卖家创建一个分组 成功返回结果

type TaobaoCrmGroupAppendAPIRequest added in v1.2.0

type TaobaoCrmGroupAppendAPIRequest struct {
	model.Params
	// contains filtered or unexported fields
}

TaobaoCrmGroupAppendAPIRequest 将一个分组添加到另外一个分组 API请求 taobao.crm.group.append

将某分组下的所有会员添加到另一个分组,注:1.该操作为异步任务,建议先调用taobao.crm.grouptask.check 确保涉及分组上没有任务;2.若分组下某会员分组数超最大限额,则该会员不会被添加到新分组,同时不影响其余会员添加分组,接口调用依然返回成功。

func NewTaobaoCrmGroupAppendRequest

func NewTaobaoCrmGroupAppendRequest() *TaobaoCrmGroupAppendAPIRequest

NewTaobaoCrmGroupAppendRequest 初始化TaobaoCrmGroupAppendAPIRequest对象

func (TaobaoCrmGroupAppendAPIRequest) GetApiMethodName added in v1.2.0

func (r TaobaoCrmGroupAppendAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoCrmGroupAppendAPIRequest) GetApiParams added in v1.2.0

func (r TaobaoCrmGroupAppendAPIRequest) GetApiParams(params url.Values)

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoCrmGroupAppendAPIRequest) GetFromGroupId added in v1.2.0

func (r TaobaoCrmGroupAppendAPIRequest) GetFromGroupId() int64

GetFromGroupId FromGroupId Getter

func (TaobaoCrmGroupAppendAPIRequest) GetRawParams added in v1.2.8

func (r TaobaoCrmGroupAppendAPIRequest) GetRawParams() model.Params

GetRawParams IRequest interface 方法, 获取API原始参数

func (TaobaoCrmGroupAppendAPIRequest) GetToGroupId added in v1.2.0

func (r TaobaoCrmGroupAppendAPIRequest) GetToGroupId() int64

GetToGroupId ToGroupId Getter

func (*TaobaoCrmGroupAppendAPIRequest) SetFromGroupId added in v1.2.0

func (r *TaobaoCrmGroupAppendAPIRequest) SetFromGroupId(_fromGroupId int64) error

SetFromGroupId is FromGroupId Setter 添加的来源分组

func (*TaobaoCrmGroupAppendAPIRequest) SetToGroupId added in v1.2.0

func (r *TaobaoCrmGroupAppendAPIRequest) SetToGroupId(_toGroupId int64) error

SetToGroupId is ToGroupId Setter 添加的目标分组

type TaobaoCrmGroupAppendAPIResponse

type TaobaoCrmGroupAppendAPIResponse struct {
	model.CommonResponse
	TaobaoCrmGroupAppendAPIResponseModel
}

TaobaoCrmGroupAppendAPIResponse 将一个分组添加到另外一个分组 API返回值 taobao.crm.group.append

将某分组下的所有会员添加到另一个分组,注:1.该操作为异步任务,建议先调用taobao.crm.grouptask.check 确保涉及分组上没有任务;2.若分组下某会员分组数超最大限额,则该会员不会被添加到新分组,同时不影响其余会员添加分组,接口调用依然返回成功。

type TaobaoCrmGroupAppendAPIResponseModel added in v1.2.0

type TaobaoCrmGroupAppendAPIResponseModel struct {
	XMLName xml.Name `xml:"crm_group_append_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 异步任务请求成功,添加任务是否完成通过taobao.crm.grouptask.check检测
	IsSuccess bool `json:"is_success,omitempty" xml:"is_success,omitempty"`
}

TaobaoCrmGroupAppendAPIResponseModel is 将一个分组添加到另外一个分组 成功返回结果

type TaobaoCrmGroupDeleteAPIRequest added in v1.2.0

type TaobaoCrmGroupDeleteAPIRequest struct {
	model.Params
	// contains filtered or unexported fields
}

TaobaoCrmGroupDeleteAPIRequest 删除分组 API请求 taobao.crm.group.delete

将该分组下的所有会员移除出该组,同时删除该分组。注:删除分组为异步任务,必须先调用taobao.crm.grouptask.check 确保涉及属性上没有任务。

func NewTaobaoCrmGroupDeleteRequest

func NewTaobaoCrmGroupDeleteRequest() *TaobaoCrmGroupDeleteAPIRequest

NewTaobaoCrmGroupDeleteRequest 初始化TaobaoCrmGroupDeleteAPIRequest对象

func (TaobaoCrmGroupDeleteAPIRequest) GetApiMethodName added in v1.2.0

func (r TaobaoCrmGroupDeleteAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoCrmGroupDeleteAPIRequest) GetApiParams added in v1.2.0

func (r TaobaoCrmGroupDeleteAPIRequest) GetApiParams(params url.Values)

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoCrmGroupDeleteAPIRequest) GetGroupId added in v1.2.0

func (r TaobaoCrmGroupDeleteAPIRequest) GetGroupId() int64

GetGroupId GroupId Getter

func (TaobaoCrmGroupDeleteAPIRequest) GetRawParams added in v1.2.8

func (r TaobaoCrmGroupDeleteAPIRequest) GetRawParams() model.Params

GetRawParams IRequest interface 方法, 获取API原始参数

func (*TaobaoCrmGroupDeleteAPIRequest) SetGroupId added in v1.2.0

func (r *TaobaoCrmGroupDeleteAPIRequest) SetGroupId(_groupId int64) error

SetGroupId is GroupId Setter 要删除的分组id

type TaobaoCrmGroupDeleteAPIResponse

type TaobaoCrmGroupDeleteAPIResponse struct {
	model.CommonResponse
	TaobaoCrmGroupDeleteAPIResponseModel
}

TaobaoCrmGroupDeleteAPIResponse 删除分组 API返回值 taobao.crm.group.delete

将该分组下的所有会员移除出该组,同时删除该分组。注:删除分组为异步任务,必须先调用taobao.crm.grouptask.check 确保涉及属性上没有任务。

type TaobaoCrmGroupDeleteAPIResponseModel added in v1.2.0

type TaobaoCrmGroupDeleteAPIResponseModel struct {
	XMLName xml.Name `xml:"crm_group_delete_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 异步任务请求成功,是否执行完毕需要通过taobao.crm.grouptask.check检测
	IsSuccess bool `json:"is_success,omitempty" xml:"is_success,omitempty"`
}

TaobaoCrmGroupDeleteAPIResponseModel is 删除分组 成功返回结果

type TaobaoCrmGroupMoveAPIRequest added in v1.2.0

type TaobaoCrmGroupMoveAPIRequest struct {
	model.Params
	// contains filtered or unexported fields
}

TaobaoCrmGroupMoveAPIRequest 分组移动 API请求 taobao.crm.group.move

将一个分组下的所有会员移动到另一个分组,会员从原分组中删除<br/>注:移动属性为异步任务建议先调用taobao.crm.grouptask.check 确保涉及属性上没有任务。

func NewTaobaoCrmGroupMoveRequest

func NewTaobaoCrmGroupMoveRequest() *TaobaoCrmGroupMoveAPIRequest

NewTaobaoCrmGroupMoveRequest 初始化TaobaoCrmGroupMoveAPIRequest对象

func (TaobaoCrmGroupMoveAPIRequest) GetApiMethodName added in v1.2.0

func (r TaobaoCrmGroupMoveAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoCrmGroupMoveAPIRequest) GetApiParams added in v1.2.0

func (r TaobaoCrmGroupMoveAPIRequest) GetApiParams(params url.Values)

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoCrmGroupMoveAPIRequest) GetFromGroupId added in v1.2.0

func (r TaobaoCrmGroupMoveAPIRequest) GetFromGroupId() int64

GetFromGroupId FromGroupId Getter

func (TaobaoCrmGroupMoveAPIRequest) GetRawParams added in v1.2.8

func (r TaobaoCrmGroupMoveAPIRequest) GetRawParams() model.Params

GetRawParams IRequest interface 方法, 获取API原始参数

func (TaobaoCrmGroupMoveAPIRequest) GetToGroupId added in v1.2.0

func (r TaobaoCrmGroupMoveAPIRequest) GetToGroupId() int64

GetToGroupId ToGroupId Getter

func (*TaobaoCrmGroupMoveAPIRequest) SetFromGroupId added in v1.2.0

func (r *TaobaoCrmGroupMoveAPIRequest) SetFromGroupId(_fromGroupId int64) error

SetFromGroupId is FromGroupId Setter 需要移动的分组

func (*TaobaoCrmGroupMoveAPIRequest) SetToGroupId added in v1.2.0

func (r *TaobaoCrmGroupMoveAPIRequest) SetToGroupId(_toGroupId int64) error

SetToGroupId is ToGroupId Setter 目的分组

type TaobaoCrmGroupMoveAPIResponse

type TaobaoCrmGroupMoveAPIResponse struct {
	model.CommonResponse
	TaobaoCrmGroupMoveAPIResponseModel
}

TaobaoCrmGroupMoveAPIResponse 分组移动 API返回值 taobao.crm.group.move

将一个分组下的所有会员移动到另一个分组,会员从原分组中删除<br/>注:移动属性为异步任务建议先调用taobao.crm.grouptask.check 确保涉及属性上没有任务。

type TaobaoCrmGroupMoveAPIResponseModel added in v1.2.0

type TaobaoCrmGroupMoveAPIResponseModel struct {
	XMLName xml.Name `xml:"crm_group_move_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 异步任务请求成功,是否执行完毕需要通过taobao.crm.grouptask.check检测
	IsSuccess bool `json:"is_success,omitempty" xml:"is_success,omitempty"`
}

TaobaoCrmGroupMoveAPIResponseModel is 分组移动 成功返回结果

type TaobaoCrmGroupUpdateAPIRequest added in v1.2.0

type TaobaoCrmGroupUpdateAPIRequest struct {
	model.Params
	// contains filtered or unexported fields
}

TaobaoCrmGroupUpdateAPIRequest 修改一个已经存在的分组 API请求 taobao.crm.group.update

修改一个已经存在的分组,接口返回分组的修改是否成功

func NewTaobaoCrmGroupUpdateRequest

func NewTaobaoCrmGroupUpdateRequest() *TaobaoCrmGroupUpdateAPIRequest

NewTaobaoCrmGroupUpdateRequest 初始化TaobaoCrmGroupUpdateAPIRequest对象

func (TaobaoCrmGroupUpdateAPIRequest) GetApiMethodName added in v1.2.0

func (r TaobaoCrmGroupUpdateAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoCrmGroupUpdateAPIRequest) GetApiParams added in v1.2.0

func (r TaobaoCrmGroupUpdateAPIRequest) GetApiParams(params url.Values)

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoCrmGroupUpdateAPIRequest) GetGroupId added in v1.2.0

func (r TaobaoCrmGroupUpdateAPIRequest) GetGroupId() int64

GetGroupId GroupId Getter

func (TaobaoCrmGroupUpdateAPIRequest) GetNewGroupName added in v1.2.0

func (r TaobaoCrmGroupUpdateAPIRequest) GetNewGroupName() string

GetNewGroupName NewGroupName Getter

func (TaobaoCrmGroupUpdateAPIRequest) GetRawParams added in v1.2.8

func (r TaobaoCrmGroupUpdateAPIRequest) GetRawParams() model.Params

GetRawParams IRequest interface 方法, 获取API原始参数

func (*TaobaoCrmGroupUpdateAPIRequest) SetGroupId added in v1.2.0

func (r *TaobaoCrmGroupUpdateAPIRequest) SetGroupId(_groupId int64) error

SetGroupId is GroupId Setter 分组的id

func (*TaobaoCrmGroupUpdateAPIRequest) SetNewGroupName added in v1.2.0

func (r *TaobaoCrmGroupUpdateAPIRequest) SetNewGroupName(_newGroupName string) error

SetNewGroupName is NewGroupName Setter 新的分组名,分组名称不能包含|或者:

type TaobaoCrmGroupUpdateAPIResponse

type TaobaoCrmGroupUpdateAPIResponse struct {
	model.CommonResponse
	TaobaoCrmGroupUpdateAPIResponseModel
}

TaobaoCrmGroupUpdateAPIResponse 修改一个已经存在的分组 API返回值 taobao.crm.group.update

修改一个已经存在的分组,接口返回分组的修改是否成功

type TaobaoCrmGroupUpdateAPIResponseModel added in v1.2.0

type TaobaoCrmGroupUpdateAPIResponseModel struct {
	XMLName xml.Name `xml:"crm_group_update_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 分组修改是否成功
	IsSuccess bool `json:"is_success,omitempty" xml:"is_success,omitempty"`
}

TaobaoCrmGroupUpdateAPIResponseModel is 修改一个已经存在的分组 成功返回结果

type TaobaoCrmGroupsGetAPIRequest added in v1.2.0

type TaobaoCrmGroupsGetAPIRequest struct {
	model.Params
	// contains filtered or unexported fields
}

TaobaoCrmGroupsGetAPIRequest 查询卖家的分组 API请求 taobao.crm.groups.get

查询卖家的分组,返回查询到的分组列表,分页返回分组

func NewTaobaoCrmGroupsGetRequest

func NewTaobaoCrmGroupsGetRequest() *TaobaoCrmGroupsGetAPIRequest

NewTaobaoCrmGroupsGetRequest 初始化TaobaoCrmGroupsGetAPIRequest对象

func (TaobaoCrmGroupsGetAPIRequest) GetApiMethodName added in v1.2.0

func (r TaobaoCrmGroupsGetAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoCrmGroupsGetAPIRequest) GetApiParams added in v1.2.0

func (r TaobaoCrmGroupsGetAPIRequest) GetApiParams(params url.Values)

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoCrmGroupsGetAPIRequest) GetCurrentPage added in v1.2.0

func (r TaobaoCrmGroupsGetAPIRequest) GetCurrentPage() int64

GetCurrentPage CurrentPage Getter

func (TaobaoCrmGroupsGetAPIRequest) GetPageSize added in v1.2.0

func (r TaobaoCrmGroupsGetAPIRequest) GetPageSize() int64

GetPageSize PageSize Getter

func (TaobaoCrmGroupsGetAPIRequest) GetRawParams added in v1.2.8

func (r TaobaoCrmGroupsGetAPIRequest) GetRawParams() model.Params

GetRawParams IRequest interface 方法, 获取API原始参数

func (*TaobaoCrmGroupsGetAPIRequest) SetCurrentPage added in v1.2.0

func (r *TaobaoCrmGroupsGetAPIRequest) SetCurrentPage(_currentPage int64) error

SetCurrentPage is CurrentPage Setter 显示第几页的分组,如果输入的页码大于总共的页码数,例如总共10页,但是current_page的值为11,则返回空白页,最小页码为1

func (*TaobaoCrmGroupsGetAPIRequest) SetPageSize added in v1.2.0

func (r *TaobaoCrmGroupsGetAPIRequest) SetPageSize(_pageSize int64) error

SetPageSize is PageSize Setter 每页显示的记录数,其最大值不能超过100条,最小值为1,默认20条

type TaobaoCrmGroupsGetAPIResponse

type TaobaoCrmGroupsGetAPIResponse struct {
	model.CommonResponse
	TaobaoCrmGroupsGetAPIResponseModel
}

TaobaoCrmGroupsGetAPIResponse 查询卖家的分组 API返回值 taobao.crm.groups.get

查询卖家的分组,返回查询到的分组列表,分页返回分组

type TaobaoCrmGroupsGetAPIResponseModel added in v1.2.0

type TaobaoCrmGroupsGetAPIResponseModel struct {
	XMLName xml.Name `xml:"crm_groups_get_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 查询到的当前卖家的当前页的会员
	Groups []Group `json:"groups,omitempty" xml:"groups>group,omitempty"`
	// 记录总数
	TotalResult int64 `json:"total_result,omitempty" xml:"total_result,omitempty"`
}

TaobaoCrmGroupsGetAPIResponseModel is 查询卖家的分组 成功返回结果

type TaobaoCrmGrouptaskCheckAPIRequest added in v1.2.0

type TaobaoCrmGrouptaskCheckAPIRequest struct {
	model.Params
	// contains filtered or unexported fields
}

TaobaoCrmGrouptaskCheckAPIRequest 查询分组任务是否完成 API请求 taobao.crm.grouptask.check

检查一个分组上是否有异步任务,异步任务包括1.将一个分组下的所有用户添加到另外一个分组2.将一个分组下的所有用户移动到另外一个分组3.删除某个分组<br/>若分组上有任务则该属性不能被操作。

func NewTaobaoCrmGrouptaskCheckRequest

func NewTaobaoCrmGrouptaskCheckRequest() *TaobaoCrmGrouptaskCheckAPIRequest

NewTaobaoCrmGrouptaskCheckRequest 初始化TaobaoCrmGrouptaskCheckAPIRequest对象

func (TaobaoCrmGrouptaskCheckAPIRequest) GetApiMethodName added in v1.2.0

func (r TaobaoCrmGrouptaskCheckAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoCrmGrouptaskCheckAPIRequest) GetApiParams added in v1.2.0

func (r TaobaoCrmGrouptaskCheckAPIRequest) GetApiParams(params url.Values)

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoCrmGrouptaskCheckAPIRequest) GetGroupId added in v1.2.0

GetGroupId GroupId Getter

func (TaobaoCrmGrouptaskCheckAPIRequest) GetRawParams added in v1.2.8

GetRawParams IRequest interface 方法, 获取API原始参数

func (*TaobaoCrmGrouptaskCheckAPIRequest) SetGroupId added in v1.2.0

func (r *TaobaoCrmGrouptaskCheckAPIRequest) SetGroupId(_groupId int64) error

SetGroupId is GroupId Setter 分组id

type TaobaoCrmGrouptaskCheckAPIResponse

type TaobaoCrmGrouptaskCheckAPIResponse struct {
	model.CommonResponse
	TaobaoCrmGrouptaskCheckAPIResponseModel
}

TaobaoCrmGrouptaskCheckAPIResponse 查询分组任务是否完成 API返回值 taobao.crm.grouptask.check

检查一个分组上是否有异步任务,异步任务包括1.将一个分组下的所有用户添加到另外一个分组2.将一个分组下的所有用户移动到另外一个分组3.删除某个分组<br/>若分组上有任务则该属性不能被操作。

type TaobaoCrmGrouptaskCheckAPIResponseModel added in v1.2.0

type TaobaoCrmGrouptaskCheckAPIResponseModel struct {
	XMLName xml.Name `xml:"crm_grouptask_check_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 异步任务是否完成,true表示完成
	IsFinished bool `json:"is_finished,omitempty" xml:"is_finished,omitempty"`
}

TaobaoCrmGrouptaskCheckAPIResponseModel is 查询分组任务是否完成 成功返回结果

type TaobaoCrmMemberGroupGetAPIRequest added in v1.2.0

type TaobaoCrmMemberGroupGetAPIRequest struct {
	model.Params
	// contains filtered or unexported fields
}

TaobaoCrmMemberGroupGetAPIRequest 获取买家身上的标签 API请求 taobao.crm.member.group.get

获取买家身上的标签,不返回标签的总人数

func NewTaobaoCrmMemberGroupGetRequest

func NewTaobaoCrmMemberGroupGetRequest() *TaobaoCrmMemberGroupGetAPIRequest

NewTaobaoCrmMemberGroupGetRequest 初始化TaobaoCrmMemberGroupGetAPIRequest对象

func (TaobaoCrmMemberGroupGetAPIRequest) GetApiMethodName added in v1.2.0

func (r TaobaoCrmMemberGroupGetAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoCrmMemberGroupGetAPIRequest) GetApiParams added in v1.2.0

func (r TaobaoCrmMemberGroupGetAPIRequest) GetApiParams(params url.Values)

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoCrmMemberGroupGetAPIRequest) GetBuyerNick added in v1.2.0

func (r TaobaoCrmMemberGroupGetAPIRequest) GetBuyerNick() string

GetBuyerNick BuyerNick Getter

func (TaobaoCrmMemberGroupGetAPIRequest) GetRawParams added in v1.2.8

GetRawParams IRequest interface 方法, 获取API原始参数

func (*TaobaoCrmMemberGroupGetAPIRequest) SetBuyerNick added in v1.2.0

func (r *TaobaoCrmMemberGroupGetAPIRequest) SetBuyerNick(_buyerNick string) error

SetBuyerNick is BuyerNick Setter 会员Nick

type TaobaoCrmMemberGroupGetAPIResponse

type TaobaoCrmMemberGroupGetAPIResponse struct {
	model.CommonResponse
	TaobaoCrmMemberGroupGetAPIResponseModel
}

TaobaoCrmMemberGroupGetAPIResponse 获取买家身上的标签 API返回值 taobao.crm.member.group.get

获取买家身上的标签,不返回标签的总人数

type TaobaoCrmMemberGroupGetAPIResponseModel added in v1.2.0

type TaobaoCrmMemberGroupGetAPIResponseModel struct {
	XMLName xml.Name `xml:"crm_member_group_get_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 查询到的当前卖家的当前页的会员
	Groups []Group `json:"groups,omitempty" xml:"groups>group,omitempty"`
}

TaobaoCrmMemberGroupGetAPIResponseModel is 获取买家身上的标签 成功返回结果

type TaobaoCrmMemberGroupGetPrivyAPIRequest added in v1.2.5

type TaobaoCrmMemberGroupGetPrivyAPIRequest struct {
	model.Params
	// contains filtered or unexported fields
}

TaobaoCrmMemberGroupGetPrivyAPIRequest 获取买家身上的标签(隐私号版) API请求 taobao.crm.member.group.get.privy

获取买家身上的标签,不返回标签的总人数

func NewTaobaoCrmMemberGroupGetPrivyRequest added in v1.2.5

func NewTaobaoCrmMemberGroupGetPrivyRequest() *TaobaoCrmMemberGroupGetPrivyAPIRequest

NewTaobaoCrmMemberGroupGetPrivyRequest 初始化TaobaoCrmMemberGroupGetPrivyAPIRequest对象

func (TaobaoCrmMemberGroupGetPrivyAPIRequest) GetApiMethodName added in v1.2.5

func (r TaobaoCrmMemberGroupGetPrivyAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoCrmMemberGroupGetPrivyAPIRequest) GetApiParams added in v1.2.5

func (r TaobaoCrmMemberGroupGetPrivyAPIRequest) GetApiParams(params url.Values)

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoCrmMemberGroupGetPrivyAPIRequest) GetOuid added in v1.2.5

GetOuid Ouid Getter

func (TaobaoCrmMemberGroupGetPrivyAPIRequest) GetRawParams added in v1.2.8

GetRawParams IRequest interface 方法, 获取API原始参数

func (*TaobaoCrmMemberGroupGetPrivyAPIRequest) SetOuid added in v1.2.5

SetOuid is Ouid Setter ouid

type TaobaoCrmMemberGroupGetPrivyAPIResponse added in v1.2.5

type TaobaoCrmMemberGroupGetPrivyAPIResponse struct {
	model.CommonResponse
	TaobaoCrmMemberGroupGetPrivyAPIResponseModel
}

TaobaoCrmMemberGroupGetPrivyAPIResponse 获取买家身上的标签(隐私号版) API返回值 taobao.crm.member.group.get.privy

获取买家身上的标签,不返回标签的总人数

type TaobaoCrmMemberGroupGetPrivyAPIResponseModel added in v1.2.5

type TaobaoCrmMemberGroupGetPrivyAPIResponseModel struct {
	XMLName xml.Name `xml:"crm_member_group_get_privy_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 查询到的当前卖家的当前页的会员
	Groups []Group `json:"groups,omitempty" xml:"groups>group,omitempty"`
}

TaobaoCrmMemberGroupGetPrivyAPIResponseModel is 获取买家身上的标签(隐私号版) 成功返回结果

type TaobaoCrmMemberinfoUpdateAPIRequest added in v1.2.0

type TaobaoCrmMemberinfoUpdateAPIRequest struct {
	model.Params
}

TaobaoCrmMemberinfoUpdateAPIRequest 编辑会员资料 API请求 taobao.crm.memberinfo.update

编辑会员的基本资料,接口返回会员信息修改是否成功

func NewTaobaoCrmMemberinfoUpdateRequest

func NewTaobaoCrmMemberinfoUpdateRequest() *TaobaoCrmMemberinfoUpdateAPIRequest

NewTaobaoCrmMemberinfoUpdateRequest 初始化TaobaoCrmMemberinfoUpdateAPIRequest对象

func (TaobaoCrmMemberinfoUpdateAPIRequest) GetApiMethodName added in v1.2.0

func (r TaobaoCrmMemberinfoUpdateAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoCrmMemberinfoUpdateAPIRequest) GetApiParams added in v1.2.0

func (r TaobaoCrmMemberinfoUpdateAPIRequest) GetApiParams(params url.Values)

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoCrmMemberinfoUpdateAPIRequest) GetRawParams added in v1.2.8

GetRawParams IRequest interface 方法, 获取API原始参数

type TaobaoCrmMemberinfoUpdateAPIResponse

type TaobaoCrmMemberinfoUpdateAPIResponse struct {
	model.CommonResponse
	TaobaoCrmMemberinfoUpdateAPIResponseModel
}

TaobaoCrmMemberinfoUpdateAPIResponse 编辑会员资料 API返回值 taobao.crm.memberinfo.update

编辑会员的基本资料,接口返回会员信息修改是否成功

type TaobaoCrmMemberinfoUpdateAPIResponseModel added in v1.2.0

type TaobaoCrmMemberinfoUpdateAPIResponseModel struct {
	XMLName xml.Name `xml:"crm_memberinfo_update_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 会员信息修改是否成功
	IsSuccess bool `json:"is_success,omitempty" xml:"is_success,omitempty"`
}

TaobaoCrmMemberinfoUpdateAPIResponseModel is 编辑会员资料 成功返回结果

type TaobaoCrmMemberinfoUpdatePrivyAPIRequest added in v1.2.5

type TaobaoCrmMemberinfoUpdatePrivyAPIRequest struct {
	model.Params
	// contains filtered or unexported fields
}

TaobaoCrmMemberinfoUpdatePrivyAPIRequest 编辑会员资料 API请求 taobao.crm.memberinfo.update.privy

编辑会员的基本资料,接口返回会员信息修改是否成功

func NewTaobaoCrmMemberinfoUpdatePrivyRequest added in v1.2.5

func NewTaobaoCrmMemberinfoUpdatePrivyRequest() *TaobaoCrmMemberinfoUpdatePrivyAPIRequest

NewTaobaoCrmMemberinfoUpdatePrivyRequest 初始化TaobaoCrmMemberinfoUpdatePrivyAPIRequest对象

func (TaobaoCrmMemberinfoUpdatePrivyAPIRequest) GetApiMethodName added in v1.2.5

func (r TaobaoCrmMemberinfoUpdatePrivyAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoCrmMemberinfoUpdatePrivyAPIRequest) GetApiParams added in v1.2.5

func (r TaobaoCrmMemberinfoUpdatePrivyAPIRequest) GetApiParams(params url.Values)

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoCrmMemberinfoUpdatePrivyAPIRequest) GetCity added in v1.2.5

GetCity City Getter

func (TaobaoCrmMemberinfoUpdatePrivyAPIRequest) GetCloseTradeAmount added in v1.2.5

func (r TaobaoCrmMemberinfoUpdatePrivyAPIRequest) GetCloseTradeAmount() int64

GetCloseTradeAmount CloseTradeAmount Getter

func (TaobaoCrmMemberinfoUpdatePrivyAPIRequest) GetCloseTradeCount added in v1.2.5

func (r TaobaoCrmMemberinfoUpdatePrivyAPIRequest) GetCloseTradeCount() int64

GetCloseTradeCount CloseTradeCount Getter

func (TaobaoCrmMemberinfoUpdatePrivyAPIRequest) GetGrade added in v1.2.5

GetGrade Grade Getter

func (TaobaoCrmMemberinfoUpdatePrivyAPIRequest) GetGroupIds added in v1.2.5

GetGroupIds GroupIds Getter

func (TaobaoCrmMemberinfoUpdatePrivyAPIRequest) GetItemNum added in v1.2.5

GetItemNum ItemNum Getter

func (TaobaoCrmMemberinfoUpdatePrivyAPIRequest) GetOuid added in v1.2.5

GetOuid Ouid Getter

func (TaobaoCrmMemberinfoUpdatePrivyAPIRequest) GetProvince added in v1.2.5

GetProvince Province Getter

func (TaobaoCrmMemberinfoUpdatePrivyAPIRequest) GetRawParams added in v1.2.8

GetRawParams IRequest interface 方法, 获取API原始参数

func (TaobaoCrmMemberinfoUpdatePrivyAPIRequest) GetStatus added in v1.2.5

GetStatus Status Getter

func (TaobaoCrmMemberinfoUpdatePrivyAPIRequest) GetTradeAmount added in v1.2.5

GetTradeAmount TradeAmount Getter

func (TaobaoCrmMemberinfoUpdatePrivyAPIRequest) GetTradeCount added in v1.2.5

GetTradeCount TradeCount Getter

func (*TaobaoCrmMemberinfoUpdatePrivyAPIRequest) SetCity added in v1.2.5

SetCity is City Setter 城市.请注意:从2014.4.15之后,省市将采用地区标准码,请通过物流API taobao.areas.get接口获取,参考:http://api.taobao.com/apidoc/api.htm?spm=0.0.0.0.nOOF9g&path=cid:7-apiId:59.API对于老的省市代码兼容会逐步下线

func (*TaobaoCrmMemberinfoUpdatePrivyAPIRequest) SetCloseTradeAmount added in v1.2.5

func (r *TaobaoCrmMemberinfoUpdatePrivyAPIRequest) SetCloseTradeAmount(_closeTradeAmount int64) error

SetCloseTradeAmount is CloseTradeAmount Setter 交易关闭金额,单位:分

func (*TaobaoCrmMemberinfoUpdatePrivyAPIRequest) SetCloseTradeCount added in v1.2.5

func (r *TaobaoCrmMemberinfoUpdatePrivyAPIRequest) SetCloseTradeCount(_closeTradeCount int64) error

SetCloseTradeCount is CloseTradeCount Setter 交易关闭次数

func (*TaobaoCrmMemberinfoUpdatePrivyAPIRequest) SetGrade added in v1.2.5

SetGrade is Grade Setter 会员等级,1:普通客户,2:高级会员,3:高级会员 ,4:至尊vip只有正常会员才给予升级,对于status blacklist的会员升级无效

func (*TaobaoCrmMemberinfoUpdatePrivyAPIRequest) SetGroupIds added in v1.2.5

func (r *TaobaoCrmMemberinfoUpdatePrivyAPIRequest) SetGroupIds(_groupIds string) error

SetGroupIds is GroupIds Setter 分组的id集合字符串

func (*TaobaoCrmMemberinfoUpdatePrivyAPIRequest) SetItemNum added in v1.2.5

func (r *TaobaoCrmMemberinfoUpdatePrivyAPIRequest) SetItemNum(_itemNum int64) error

SetItemNum is ItemNum Setter 宝贝件数

func (*TaobaoCrmMemberinfoUpdatePrivyAPIRequest) SetOuid added in v1.2.5

SetOuid is Ouid Setter ouid

func (*TaobaoCrmMemberinfoUpdatePrivyAPIRequest) SetProvince added in v1.2.5

func (r *TaobaoCrmMemberinfoUpdatePrivyAPIRequest) SetProvince(_province string) error

SetProvince is Province Setter 北京=1,天津=2,河北省=3,山西省=4,内蒙古自治区=5,辽宁省=6,吉林省=7,黑龙江省=8,上海=9,江苏省=10,浙江省=11,安徽省=12,福建省=13,江西省=14,山东省=15,河南省=16,湖北省=17,湖南省=18, 广东省=19,广西壮族自治区=20,海南省=21,重庆=22,四川省=23,贵州省=24,云南省=25,西藏自治区=26,陕西省=27,甘肃省=28,青海省=29,宁夏回族自治区=30,新疆维吾尔自治区=31,台湾省=32,香港特别行政区=33,澳门特别行政区=34,海外=35,约定36为清除Province设置.请注意:从2014.4.15之后,省市将采用地区标准码,请通过物流API taobao.areas.get接口获取,参考:http://api.taobao.com/apidoc/api.htm?spm=0.0.0.0.nOOF9g&path=cid:7-apiId:59.API对于老的省市代码兼容会逐步下线.

func (*TaobaoCrmMemberinfoUpdatePrivyAPIRequest) SetStatus added in v1.2.5

SetStatus is Status Setter 用于描述会员的状态,normal表示正常,blacklist表示黑名单(不享受会员折扣).

func (*TaobaoCrmMemberinfoUpdatePrivyAPIRequest) SetTradeAmount added in v1.2.5

func (r *TaobaoCrmMemberinfoUpdatePrivyAPIRequest) SetTradeAmount(_tradeAmount int64) error

SetTradeAmount is TradeAmount Setter 交易金额,单位:分

func (*TaobaoCrmMemberinfoUpdatePrivyAPIRequest) SetTradeCount added in v1.2.5

func (r *TaobaoCrmMemberinfoUpdatePrivyAPIRequest) SetTradeCount(_tradeCount int64) error

SetTradeCount is TradeCount Setter 交易笔数

type TaobaoCrmMemberinfoUpdatePrivyAPIResponse added in v1.2.5

type TaobaoCrmMemberinfoUpdatePrivyAPIResponse struct {
	model.CommonResponse
	TaobaoCrmMemberinfoUpdatePrivyAPIResponseModel
}

TaobaoCrmMemberinfoUpdatePrivyAPIResponse 编辑会员资料 API返回值 taobao.crm.memberinfo.update.privy

编辑会员的基本资料,接口返回会员信息修改是否成功

type TaobaoCrmMemberinfoUpdatePrivyAPIResponseModel added in v1.2.5

type TaobaoCrmMemberinfoUpdatePrivyAPIResponseModel struct {
	XMLName xml.Name `xml:"crm_memberinfo_update_privy_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 会员信息修改是否成功
	IsSuccess bool `json:"is_success,omitempty" xml:"is_success,omitempty"`
}

TaobaoCrmMemberinfoUpdatePrivyAPIResponseModel is 编辑会员资料 成功返回结果

type TaobaoCrmMembersGetAPIRequest added in v1.2.0

type TaobaoCrmMembersGetAPIRequest struct {
	model.Params
	// contains filtered or unexported fields
}

TaobaoCrmMembersGetAPIRequest 获取卖家的会员(基本查询) API请求 taobao.crm.members.get

查询卖家的会员,进行基本的查询,返回符合条件的会员列表

func NewTaobaoCrmMembersGetRequest

func NewTaobaoCrmMembersGetRequest() *TaobaoCrmMembersGetAPIRequest

NewTaobaoCrmMembersGetRequest 初始化TaobaoCrmMembersGetAPIRequest对象

func (TaobaoCrmMembersGetAPIRequest) GetApiMethodName added in v1.2.0

func (r TaobaoCrmMembersGetAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoCrmMembersGetAPIRequest) GetApiParams added in v1.2.0

func (r TaobaoCrmMembersGetAPIRequest) GetApiParams(params url.Values)

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoCrmMembersGetAPIRequest) GetBuyerNick added in v1.2.0

func (r TaobaoCrmMembersGetAPIRequest) GetBuyerNick() string

GetBuyerNick BuyerNick Getter

func (TaobaoCrmMembersGetAPIRequest) GetCurrentPage added in v1.2.0

func (r TaobaoCrmMembersGetAPIRequest) GetCurrentPage() int64

GetCurrentPage CurrentPage Getter

func (TaobaoCrmMembersGetAPIRequest) GetGrade added in v1.2.0

func (r TaobaoCrmMembersGetAPIRequest) GetGrade() int64

GetGrade Grade Getter

func (TaobaoCrmMembersGetAPIRequest) GetMaxLastTradeTime added in v1.2.0

func (r TaobaoCrmMembersGetAPIRequest) GetMaxLastTradeTime() string

GetMaxLastTradeTime MaxLastTradeTime Getter

func (TaobaoCrmMembersGetAPIRequest) GetMaxTradeAmount added in v1.2.0

func (r TaobaoCrmMembersGetAPIRequest) GetMaxTradeAmount() float64

GetMaxTradeAmount MaxTradeAmount Getter

func (TaobaoCrmMembersGetAPIRequest) GetMaxTradeCount added in v1.2.0

func (r TaobaoCrmMembersGetAPIRequest) GetMaxTradeCount() int64

GetMaxTradeCount MaxTradeCount Getter

func (TaobaoCrmMembersGetAPIRequest) GetMinLastTradeTime added in v1.2.0

func (r TaobaoCrmMembersGetAPIRequest) GetMinLastTradeTime() string

GetMinLastTradeTime MinLastTradeTime Getter

func (TaobaoCrmMembersGetAPIRequest) GetMinTradeAmount added in v1.2.0

func (r TaobaoCrmMembersGetAPIRequest) GetMinTradeAmount() float64

GetMinTradeAmount MinTradeAmount Getter

func (TaobaoCrmMembersGetAPIRequest) GetMinTradeCount added in v1.2.0

func (r TaobaoCrmMembersGetAPIRequest) GetMinTradeCount() int64

GetMinTradeCount MinTradeCount Getter

func (TaobaoCrmMembersGetAPIRequest) GetOpenUid added in v1.2.5

func (r TaobaoCrmMembersGetAPIRequest) GetOpenUid() string

GetOpenUid OpenUid Getter

func (TaobaoCrmMembersGetAPIRequest) GetPageSize added in v1.2.0

func (r TaobaoCrmMembersGetAPIRequest) GetPageSize() int64

GetPageSize PageSize Getter

func (TaobaoCrmMembersGetAPIRequest) GetRawParams added in v1.2.8

func (r TaobaoCrmMembersGetAPIRequest) GetRawParams() model.Params

GetRawParams IRequest interface 方法, 获取API原始参数

func (*TaobaoCrmMembersGetAPIRequest) SetBuyerNick added in v1.2.0

func (r *TaobaoCrmMembersGetAPIRequest) SetBuyerNick(_buyerNick string) error

SetBuyerNick is BuyerNick Setter 买家的昵称

func (*TaobaoCrmMembersGetAPIRequest) SetCurrentPage added in v1.2.0

func (r *TaobaoCrmMembersGetAPIRequest) SetCurrentPage(_currentPage int64) error

SetCurrentPage is CurrentPage Setter 显示第几页的会员,如果输入的页码大于总共的页码数,例如总共10页,但是current_page的值为11,则返回空白页,最小页数为1,最大页数为1000

func (*TaobaoCrmMembersGetAPIRequest) SetGrade added in v1.2.0

func (r *TaobaoCrmMembersGetAPIRequest) SetGrade(_grade int64) error

SetGrade is Grade Setter 会员等级,如果不传入值则默认为全部等级。

func (*TaobaoCrmMembersGetAPIRequest) SetMaxLastTradeTime added in v1.2.0

func (r *TaobaoCrmMembersGetAPIRequest) SetMaxLastTradeTime(_maxLastTradeTime string) error

SetMaxLastTradeTime is MaxLastTradeTime Setter 最迟上次交易时间

func (*TaobaoCrmMembersGetAPIRequest) SetMaxTradeAmount added in v1.2.0

func (r *TaobaoCrmMembersGetAPIRequest) SetMaxTradeAmount(_maxTradeAmount float64) error

SetMaxTradeAmount is MaxTradeAmount Setter 最大交易额,单位为元

func (*TaobaoCrmMembersGetAPIRequest) SetMaxTradeCount added in v1.2.0

func (r *TaobaoCrmMembersGetAPIRequest) SetMaxTradeCount(_maxTradeCount int64) error

SetMaxTradeCount is MaxTradeCount Setter 最大交易量

func (*TaobaoCrmMembersGetAPIRequest) SetMinLastTradeTime added in v1.2.0

func (r *TaobaoCrmMembersGetAPIRequest) SetMinLastTradeTime(_minLastTradeTime string) error

SetMinLastTradeTime is MinLastTradeTime Setter 最早上次交易时间

func (*TaobaoCrmMembersGetAPIRequest) SetMinTradeAmount added in v1.2.0

func (r *TaobaoCrmMembersGetAPIRequest) SetMinTradeAmount(_minTradeAmount float64) error

SetMinTradeAmount is MinTradeAmount Setter 最小交易额,单位为元

func (*TaobaoCrmMembersGetAPIRequest) SetMinTradeCount added in v1.2.0

func (r *TaobaoCrmMembersGetAPIRequest) SetMinTradeCount(_minTradeCount int64) error

SetMinTradeCount is MinTradeCount Setter 最小交易量

func (*TaobaoCrmMembersGetAPIRequest) SetOpenUid added in v1.2.5

func (r *TaobaoCrmMembersGetAPIRequest) SetOpenUid(_openUid string) error

SetOpenUid is OpenUid Setter 用户的ouid

func (*TaobaoCrmMembersGetAPIRequest) SetPageSize added in v1.2.0

func (r *TaobaoCrmMembersGetAPIRequest) SetPageSize(_pageSize int64) error

SetPageSize is PageSize Setter 表示每页显示的会员数量,page_size的最大值不能超过100条,最小值不能低于1,

type TaobaoCrmMembersGetAPIResponse

type TaobaoCrmMembersGetAPIResponse struct {
	model.CommonResponse
	TaobaoCrmMembersGetAPIResponseModel
}

TaobaoCrmMembersGetAPIResponse 获取卖家的会员(基本查询) API返回值 taobao.crm.members.get

查询卖家的会员,进行基本的查询,返回符合条件的会员列表

type TaobaoCrmMembersGetAPIResponseModel added in v1.2.0

type TaobaoCrmMembersGetAPIResponseModel struct {
	XMLName xml.Name `xml:"crm_members_get_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 根据一定条件查询到卖家的会员
	Members []BasicMember `json:"members,omitempty" xml:"members>basic_member,omitempty"`
	// 记录总数
	TotalResult int64 `json:"total_result,omitempty" xml:"total_result,omitempty"`
}

TaobaoCrmMembersGetAPIResponseModel is 获取卖家的会员(基本查询) 成功返回结果

type TaobaoCrmMembersGetPrivyAPIRequest added in v1.2.5

type TaobaoCrmMembersGetPrivyAPIRequest struct {
	model.Params
	// contains filtered or unexported fields
}

TaobaoCrmMembersGetPrivyAPIRequest 获取卖家会员(基本查询) API请求 taobao.crm.members.get.privy

查询卖家的会员,进行基本的查询,返回符合条件的会员列表

func NewTaobaoCrmMembersGetPrivyRequest added in v1.2.5

func NewTaobaoCrmMembersGetPrivyRequest() *TaobaoCrmMembersGetPrivyAPIRequest

NewTaobaoCrmMembersGetPrivyRequest 初始化TaobaoCrmMembersGetPrivyAPIRequest对象

func (TaobaoCrmMembersGetPrivyAPIRequest) GetApiMethodName added in v1.2.5

func (r TaobaoCrmMembersGetPrivyAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoCrmMembersGetPrivyAPIRequest) GetApiParams added in v1.2.5

func (r TaobaoCrmMembersGetPrivyAPIRequest) GetApiParams(params url.Values)

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoCrmMembersGetPrivyAPIRequest) GetCurrentPage added in v1.2.5

func (r TaobaoCrmMembersGetPrivyAPIRequest) GetCurrentPage() int64

GetCurrentPage CurrentPage Getter

func (TaobaoCrmMembersGetPrivyAPIRequest) GetGrade added in v1.2.5

GetGrade Grade Getter

func (TaobaoCrmMembersGetPrivyAPIRequest) GetMaxLastTradeTime added in v1.2.5

func (r TaobaoCrmMembersGetPrivyAPIRequest) GetMaxLastTradeTime() string

GetMaxLastTradeTime MaxLastTradeTime Getter

func (TaobaoCrmMembersGetPrivyAPIRequest) GetMaxTradeAmount added in v1.2.5

func (r TaobaoCrmMembersGetPrivyAPIRequest) GetMaxTradeAmount() float64

GetMaxTradeAmount MaxTradeAmount Getter

func (TaobaoCrmMembersGetPrivyAPIRequest) GetMaxTradeCount added in v1.2.5

func (r TaobaoCrmMembersGetPrivyAPIRequest) GetMaxTradeCount() int64

GetMaxTradeCount MaxTradeCount Getter

func (TaobaoCrmMembersGetPrivyAPIRequest) GetMinLastTradeTime added in v1.2.5

func (r TaobaoCrmMembersGetPrivyAPIRequest) GetMinLastTradeTime() string

GetMinLastTradeTime MinLastTradeTime Getter

func (TaobaoCrmMembersGetPrivyAPIRequest) GetMinTradeAmount added in v1.2.5

func (r TaobaoCrmMembersGetPrivyAPIRequest) GetMinTradeAmount() float64

GetMinTradeAmount MinTradeAmount Getter

func (TaobaoCrmMembersGetPrivyAPIRequest) GetMinTradeCount added in v1.2.5

func (r TaobaoCrmMembersGetPrivyAPIRequest) GetMinTradeCount() int64

GetMinTradeCount MinTradeCount Getter

func (TaobaoCrmMembersGetPrivyAPIRequest) GetOuid added in v1.2.5

GetOuid Ouid Getter

func (TaobaoCrmMembersGetPrivyAPIRequest) GetPageSize added in v1.2.5

func (r TaobaoCrmMembersGetPrivyAPIRequest) GetPageSize() int64

GetPageSize PageSize Getter

func (TaobaoCrmMembersGetPrivyAPIRequest) GetRawParams added in v1.2.8

GetRawParams IRequest interface 方法, 获取API原始参数

func (*TaobaoCrmMembersGetPrivyAPIRequest) SetCurrentPage added in v1.2.5

func (r *TaobaoCrmMembersGetPrivyAPIRequest) SetCurrentPage(_currentPage int64) error

SetCurrentPage is CurrentPage Setter 显示第几页的会员,如果输入的页码大于总共的页码数,例如总共10页,但是current_page的值为11,则返回空白页,最小页数为1,最大页数为80

func (*TaobaoCrmMembersGetPrivyAPIRequest) SetGrade added in v1.2.5

func (r *TaobaoCrmMembersGetPrivyAPIRequest) SetGrade(_grade int64) error

SetGrade is Grade Setter 会员等级,如果不传入值则默认为全部等级。

func (*TaobaoCrmMembersGetPrivyAPIRequest) SetMaxLastTradeTime added in v1.2.5

func (r *TaobaoCrmMembersGetPrivyAPIRequest) SetMaxLastTradeTime(_maxLastTradeTime string) error

SetMaxLastTradeTime is MaxLastTradeTime Setter 最迟上次交易时间

func (*TaobaoCrmMembersGetPrivyAPIRequest) SetMaxTradeAmount added in v1.2.5

func (r *TaobaoCrmMembersGetPrivyAPIRequest) SetMaxTradeAmount(_maxTradeAmount float64) error

SetMaxTradeAmount is MaxTradeAmount Setter 最大交易额,单位为元

func (*TaobaoCrmMembersGetPrivyAPIRequest) SetMaxTradeCount added in v1.2.5

func (r *TaobaoCrmMembersGetPrivyAPIRequest) SetMaxTradeCount(_maxTradeCount int64) error

SetMaxTradeCount is MaxTradeCount Setter 最大交易量

func (*TaobaoCrmMembersGetPrivyAPIRequest) SetMinLastTradeTime added in v1.2.5

func (r *TaobaoCrmMembersGetPrivyAPIRequest) SetMinLastTradeTime(_minLastTradeTime string) error

SetMinLastTradeTime is MinLastTradeTime Setter 最早上次交易时间

func (*TaobaoCrmMembersGetPrivyAPIRequest) SetMinTradeAmount added in v1.2.5

func (r *TaobaoCrmMembersGetPrivyAPIRequest) SetMinTradeAmount(_minTradeAmount float64) error

SetMinTradeAmount is MinTradeAmount Setter 最小交易额,单位为元

func (*TaobaoCrmMembersGetPrivyAPIRequest) SetMinTradeCount added in v1.2.5

func (r *TaobaoCrmMembersGetPrivyAPIRequest) SetMinTradeCount(_minTradeCount int64) error

SetMinTradeCount is MinTradeCount Setter 最小交易量

func (*TaobaoCrmMembersGetPrivyAPIRequest) SetOuid added in v1.2.5

SetOuid is Ouid Setter ouid

func (*TaobaoCrmMembersGetPrivyAPIRequest) SetPageSize added in v1.2.5

func (r *TaobaoCrmMembersGetPrivyAPIRequest) SetPageSize(_pageSize int64) error

SetPageSize is PageSize Setter 表示每页显示的会员数量,page_size的最大值不能超过100条,最小值不能低于1,

type TaobaoCrmMembersGetPrivyAPIResponse added in v1.2.5

type TaobaoCrmMembersGetPrivyAPIResponse struct {
	model.CommonResponse
	TaobaoCrmMembersGetPrivyAPIResponseModel
}

TaobaoCrmMembersGetPrivyAPIResponse 获取卖家会员(基本查询) API返回值 taobao.crm.members.get.privy

查询卖家的会员,进行基本的查询,返回符合条件的会员列表

type TaobaoCrmMembersGetPrivyAPIResponseModel added in v1.2.5

type TaobaoCrmMembersGetPrivyAPIResponseModel struct {
	XMLName xml.Name `xml:"crm_members_get_privy_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 根据一定条件查询到卖家的会员
	Members []BasicMember `json:"members,omitempty" xml:"members>basic_member,omitempty"`
	// 记录总数
	TotalResult int64 `json:"total_result,omitempty" xml:"total_result,omitempty"`
}

TaobaoCrmMembersGetPrivyAPIResponseModel is 获取卖家会员(基本查询) 成功返回结果

type TaobaoCrmMembersGroupBatchaddAPIRequest added in v1.2.0

type TaobaoCrmMembersGroupBatchaddAPIRequest struct {
	model.Params
	// contains filtered or unexported fields
}

TaobaoCrmMembersGroupBatchaddAPIRequest 给一批会员添加一个分组 API请求 taobao.crm.members.group.batchadd

为一批会员添加分组,接口返回添加是否成功,如至少有一个会员的分组添加成功,接口就返回成功,否则返回失败,如果当前会员已经拥有当前分组,则直接跳过

func NewTaobaoCrmMembersGroupBatchaddRequest

func NewTaobaoCrmMembersGroupBatchaddRequest() *TaobaoCrmMembersGroupBatchaddAPIRequest

NewTaobaoCrmMembersGroupBatchaddRequest 初始化TaobaoCrmMembersGroupBatchaddAPIRequest对象

func (TaobaoCrmMembersGroupBatchaddAPIRequest) GetApiMethodName added in v1.2.0

func (r TaobaoCrmMembersGroupBatchaddAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoCrmMembersGroupBatchaddAPIRequest) GetApiParams added in v1.2.0

func (r TaobaoCrmMembersGroupBatchaddAPIRequest) GetApiParams(params url.Values)

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoCrmMembersGroupBatchaddAPIRequest) GetBuyerNicks added in v1.2.0

func (r TaobaoCrmMembersGroupBatchaddAPIRequest) GetBuyerNicks() []string

GetBuyerNicks BuyerNicks Getter

func (TaobaoCrmMembersGroupBatchaddAPIRequest) GetGroupIds added in v1.2.0

GetGroupIds GroupIds Getter

func (TaobaoCrmMembersGroupBatchaddAPIRequest) GetRawParams added in v1.2.8

GetRawParams IRequest interface 方法, 获取API原始参数

func (*TaobaoCrmMembersGroupBatchaddAPIRequest) SetBuyerNicks added in v1.2.0

func (r *TaobaoCrmMembersGroupBatchaddAPIRequest) SetBuyerNicks(_buyerNicks []string) error

SetBuyerNicks is BuyerNicks Setter 买家昵称列表

func (*TaobaoCrmMembersGroupBatchaddAPIRequest) SetGroupIds added in v1.2.0

func (r *TaobaoCrmMembersGroupBatchaddAPIRequest) SetGroupIds(_groupIds []int64) error

SetGroupIds is GroupIds Setter 分组id

type TaobaoCrmMembersGroupBatchaddAPIResponse

type TaobaoCrmMembersGroupBatchaddAPIResponse struct {
	model.CommonResponse
	TaobaoCrmMembersGroupBatchaddAPIResponseModel
}

TaobaoCrmMembersGroupBatchaddAPIResponse 给一批会员添加一个分组 API返回值 taobao.crm.members.group.batchadd

为一批会员添加分组,接口返回添加是否成功,如至少有一个会员的分组添加成功,接口就返回成功,否则返回失败,如果当前会员已经拥有当前分组,则直接跳过

type TaobaoCrmMembersGroupBatchaddAPIResponseModel added in v1.2.0

type TaobaoCrmMembersGroupBatchaddAPIResponseModel struct {
	XMLName xml.Name `xml:"crm_members_group_batchadd_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 添加操作是否成功
	IsSuccess bool `json:"is_success,omitempty" xml:"is_success,omitempty"`
}

TaobaoCrmMembersGroupBatchaddAPIResponseModel is 给一批会员添加一个分组 成功返回结果

type TaobaoCrmMembersGroupBatchaddPrivyAPIRequest added in v1.2.5

type TaobaoCrmMembersGroupBatchaddPrivyAPIRequest struct {
	model.Params
	// contains filtered or unexported fields
}

TaobaoCrmMembersGroupBatchaddPrivyAPIRequest 一批会员添加分组(隐私号版) API请求 taobao.crm.members.group.batchadd.privy

为一批会员添加分组,接口返回添加是否成功,如至少有一个会员的分组添加成功,接口就返回成功,否则返回失败,如果当前会员已经拥有当前分组,则直接跳过

func NewTaobaoCrmMembersGroupBatchaddPrivyRequest added in v1.2.5

func NewTaobaoCrmMembersGroupBatchaddPrivyRequest() *TaobaoCrmMembersGroupBatchaddPrivyAPIRequest

NewTaobaoCrmMembersGroupBatchaddPrivyRequest 初始化TaobaoCrmMembersGroupBatchaddPrivyAPIRequest对象

func (TaobaoCrmMembersGroupBatchaddPrivyAPIRequest) GetApiMethodName added in v1.2.5

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoCrmMembersGroupBatchaddPrivyAPIRequest) GetApiParams added in v1.2.5

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoCrmMembersGroupBatchaddPrivyAPIRequest) GetGroupIds added in v1.2.5

GetGroupIds GroupIds Getter

func (TaobaoCrmMembersGroupBatchaddPrivyAPIRequest) GetOuids added in v1.2.5

GetOuids Ouids Getter

func (TaobaoCrmMembersGroupBatchaddPrivyAPIRequest) GetRawParams added in v1.2.8

GetRawParams IRequest interface 方法, 获取API原始参数

func (*TaobaoCrmMembersGroupBatchaddPrivyAPIRequest) SetGroupIds added in v1.2.5

func (r *TaobaoCrmMembersGroupBatchaddPrivyAPIRequest) SetGroupIds(_groupIds []int64) error

SetGroupIds is GroupIds Setter 分组id

func (*TaobaoCrmMembersGroupBatchaddPrivyAPIRequest) SetOuids added in v1.2.5

SetOuids is Ouids Setter ouid列表

type TaobaoCrmMembersGroupBatchaddPrivyAPIResponse added in v1.2.5

type TaobaoCrmMembersGroupBatchaddPrivyAPIResponse struct {
	model.CommonResponse
	TaobaoCrmMembersGroupBatchaddPrivyAPIResponseModel
}

TaobaoCrmMembersGroupBatchaddPrivyAPIResponse 一批会员添加分组(隐私号版) API返回值 taobao.crm.members.group.batchadd.privy

为一批会员添加分组,接口返回添加是否成功,如至少有一个会员的分组添加成功,接口就返回成功,否则返回失败,如果当前会员已经拥有当前分组,则直接跳过

type TaobaoCrmMembersGroupBatchaddPrivyAPIResponseModel added in v1.2.5

type TaobaoCrmMembersGroupBatchaddPrivyAPIResponseModel struct {
	XMLName xml.Name `xml:"crm_members_group_batchadd_privy_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 添加操作是否成功
	IsSuccess bool `json:"is_success,omitempty" xml:"is_success,omitempty"`
}

TaobaoCrmMembersGroupBatchaddPrivyAPIResponseModel is 一批会员添加分组(隐私号版) 成功返回结果

type TaobaoCrmMembersGroupsBatchdeleteAPIRequest added in v1.2.0

type TaobaoCrmMembersGroupsBatchdeleteAPIRequest struct {
	model.Params
	// contains filtered or unexported fields
}

TaobaoCrmMembersGroupsBatchdeleteAPIRequest 批量删除分组 API请求 taobao.crm.members.groups.batchdelete

批量删除多个会员的公共分组,接口返回删除是否成功,该接口只删除多个会员的公共分组,不是公共分组的,不进行删除。如果入参只输入一个会员,则表示删除该会员的某些分组。

func NewTaobaoCrmMembersGroupsBatchdeleteRequest

func NewTaobaoCrmMembersGroupsBatchdeleteRequest() *TaobaoCrmMembersGroupsBatchdeleteAPIRequest

NewTaobaoCrmMembersGroupsBatchdeleteRequest 初始化TaobaoCrmMembersGroupsBatchdeleteAPIRequest对象

func (TaobaoCrmMembersGroupsBatchdeleteAPIRequest) GetApiMethodName added in v1.2.0

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoCrmMembersGroupsBatchdeleteAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoCrmMembersGroupsBatchdeleteAPIRequest) GetBuyerNicks added in v1.2.0

GetBuyerNicks BuyerNicks Getter

func (TaobaoCrmMembersGroupsBatchdeleteAPIRequest) GetGroupIds added in v1.2.0

GetGroupIds GroupIds Getter

func (TaobaoCrmMembersGroupsBatchdeleteAPIRequest) GetRawParams added in v1.2.8

GetRawParams IRequest interface 方法, 获取API原始参数

func (*TaobaoCrmMembersGroupsBatchdeleteAPIRequest) SetBuyerNicks added in v1.2.0

func (r *TaobaoCrmMembersGroupsBatchdeleteAPIRequest) SetBuyerNicks(_buyerNicks []string) error

SetBuyerNicks is BuyerNicks Setter 买家昵称列表

func (*TaobaoCrmMembersGroupsBatchdeleteAPIRequest) SetGroupIds added in v1.2.0

func (r *TaobaoCrmMembersGroupsBatchdeleteAPIRequest) SetGroupIds(_groupIds []int64) error

SetGroupIds is GroupIds Setter 会员需要删除的分组

type TaobaoCrmMembersGroupsBatchdeleteAPIResponse

type TaobaoCrmMembersGroupsBatchdeleteAPIResponse struct {
	model.CommonResponse
	TaobaoCrmMembersGroupsBatchdeleteAPIResponseModel
}

TaobaoCrmMembersGroupsBatchdeleteAPIResponse 批量删除分组 API返回值 taobao.crm.members.groups.batchdelete

批量删除多个会员的公共分组,接口返回删除是否成功,该接口只删除多个会员的公共分组,不是公共分组的,不进行删除。如果入参只输入一个会员,则表示删除该会员的某些分组。

type TaobaoCrmMembersGroupsBatchdeleteAPIResponseModel added in v1.2.0

type TaobaoCrmMembersGroupsBatchdeleteAPIResponseModel struct {
	XMLName xml.Name `xml:"crm_members_groups_batchdelete_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 删除是否成功
	IsSuccess bool `json:"is_success,omitempty" xml:"is_success,omitempty"`
}

TaobaoCrmMembersGroupsBatchdeleteAPIResponseModel is 批量删除分组 成功返回结果

type TaobaoCrmMembersGroupsBatchdeletePrivyAPIRequest added in v1.2.5

type TaobaoCrmMembersGroupsBatchdeletePrivyAPIRequest struct {
	model.Params
	// contains filtered or unexported fields
}

TaobaoCrmMembersGroupsBatchdeletePrivyAPIRequest 批量删除分组(隐私号版) API请求 taobao.crm.members.groups.batchdelete.privy

批量删除多个会员的公共分组,接口返回删除是否成功,该接口只删除多个会员的公共分组,不是公共分组的,不进行删除。如果入参只输入一个会员,则表示删除该会员的某些分组。

func NewTaobaoCrmMembersGroupsBatchdeletePrivyRequest added in v1.2.5

func NewTaobaoCrmMembersGroupsBatchdeletePrivyRequest() *TaobaoCrmMembersGroupsBatchdeletePrivyAPIRequest

NewTaobaoCrmMembersGroupsBatchdeletePrivyRequest 初始化TaobaoCrmMembersGroupsBatchdeletePrivyAPIRequest对象

func (TaobaoCrmMembersGroupsBatchdeletePrivyAPIRequest) GetApiMethodName added in v1.2.5

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoCrmMembersGroupsBatchdeletePrivyAPIRequest) GetApiParams added in v1.2.5

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoCrmMembersGroupsBatchdeletePrivyAPIRequest) GetGroupIds added in v1.2.5

GetGroupIds GroupIds Getter

func (TaobaoCrmMembersGroupsBatchdeletePrivyAPIRequest) GetOuids added in v1.2.5

GetOuids Ouids Getter

func (TaobaoCrmMembersGroupsBatchdeletePrivyAPIRequest) GetRawParams added in v1.2.8

GetRawParams IRequest interface 方法, 获取API原始参数

func (*TaobaoCrmMembersGroupsBatchdeletePrivyAPIRequest) SetGroupIds added in v1.2.5

func (r *TaobaoCrmMembersGroupsBatchdeletePrivyAPIRequest) SetGroupIds(_groupIds []int64) error

SetGroupIds is GroupIds Setter 会员需要删除的分组

func (*TaobaoCrmMembersGroupsBatchdeletePrivyAPIRequest) SetOuids added in v1.2.5

SetOuids is Ouids Setter ouid列表

type TaobaoCrmMembersGroupsBatchdeletePrivyAPIResponse added in v1.2.5

type TaobaoCrmMembersGroupsBatchdeletePrivyAPIResponse struct {
	model.CommonResponse
	TaobaoCrmMembersGroupsBatchdeletePrivyAPIResponseModel
}

TaobaoCrmMembersGroupsBatchdeletePrivyAPIResponse 批量删除分组(隐私号版) API返回值 taobao.crm.members.groups.batchdelete.privy

批量删除多个会员的公共分组,接口返回删除是否成功,该接口只删除多个会员的公共分组,不是公共分组的,不进行删除。如果入参只输入一个会员,则表示删除该会员的某些分组。

type TaobaoCrmMembersGroupsBatchdeletePrivyAPIResponseModel added in v1.2.5

type TaobaoCrmMembersGroupsBatchdeletePrivyAPIResponseModel struct {
	XMLName xml.Name `xml:"crm_members_groups_batchdelete_privy_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 删除是否成功
	IsSuccess bool `json:"is_success,omitempty" xml:"is_success,omitempty"`
}

TaobaoCrmMembersGroupsBatchdeletePrivyAPIResponseModel is 批量删除分组(隐私号版) 成功返回结果

type TaobaoCrmMembersIncrementGetAPIRequest added in v1.2.0

type TaobaoCrmMembersIncrementGetAPIRequest struct {
	model.Params
	// contains filtered or unexported fields
}

TaobaoCrmMembersIncrementGetAPIRequest 增量获取卖家会员 API请求 taobao.crm.members.increment.get

增量获取会员列表,接口返回符合查询条件的所有会员。任何状态更改都会返回,最大允许100

func NewTaobaoCrmMembersIncrementGetRequest

func NewTaobaoCrmMembersIncrementGetRequest() *TaobaoCrmMembersIncrementGetAPIRequest

NewTaobaoCrmMembersIncrementGetRequest 初始化TaobaoCrmMembersIncrementGetAPIRequest对象

func (TaobaoCrmMembersIncrementGetAPIRequest) GetApiMethodName added in v1.2.0

func (r TaobaoCrmMembersIncrementGetAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoCrmMembersIncrementGetAPIRequest) GetApiParams added in v1.2.0

func (r TaobaoCrmMembersIncrementGetAPIRequest) GetApiParams(params url.Values)

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoCrmMembersIncrementGetAPIRequest) GetCurrentPage added in v1.2.0

func (r TaobaoCrmMembersIncrementGetAPIRequest) GetCurrentPage() int64

GetCurrentPage CurrentPage Getter

func (TaobaoCrmMembersIncrementGetAPIRequest) GetEndModify added in v1.2.0

GetEndModify EndModify Getter

func (TaobaoCrmMembersIncrementGetAPIRequest) GetGrade added in v1.2.0

GetGrade Grade Getter

func (TaobaoCrmMembersIncrementGetAPIRequest) GetPageSize added in v1.2.0

GetPageSize PageSize Getter

func (TaobaoCrmMembersIncrementGetAPIRequest) GetRawParams added in v1.2.8

GetRawParams IRequest interface 方法, 获取API原始参数

func (TaobaoCrmMembersIncrementGetAPIRequest) GetStartModify added in v1.2.0

GetStartModify StartModify Getter

func (*TaobaoCrmMembersIncrementGetAPIRequest) SetCurrentPage added in v1.2.0

func (r *TaobaoCrmMembersIncrementGetAPIRequest) SetCurrentPage(_currentPage int64) error

SetCurrentPage is CurrentPage Setter 显示第几页的会员,如果输入的页码大于总共的页码数,例如总共10页,但是current_page的值为11,则返回空白页,最小页数为1

func (*TaobaoCrmMembersIncrementGetAPIRequest) SetEndModify added in v1.2.0

func (r *TaobaoCrmMembersIncrementGetAPIRequest) SetEndModify(_endModify string) error

SetEndModify is EndModify Setter 卖家修改会员信息的时间终点.如果不填写此字段,默认为当前时间.

func (*TaobaoCrmMembersIncrementGetAPIRequest) SetGrade added in v1.2.0

SetGrade is Grade Setter 会员等级

func (*TaobaoCrmMembersIncrementGetAPIRequest) SetPageSize added in v1.2.0

func (r *TaobaoCrmMembersIncrementGetAPIRequest) SetPageSize(_pageSize int64) error

SetPageSize is PageSize Setter 每页显示的会员数,page_size的值不能超过100,最小值要大于1

func (*TaobaoCrmMembersIncrementGetAPIRequest) SetStartModify added in v1.2.0

func (r *TaobaoCrmMembersIncrementGetAPIRequest) SetStartModify(_startModify string) error

SetStartModify is StartModify Setter 卖家修改会员信息的时间起点.

type TaobaoCrmMembersIncrementGetAPIResponse

type TaobaoCrmMembersIncrementGetAPIResponse struct {
	model.CommonResponse
	TaobaoCrmMembersIncrementGetAPIResponseModel
}

TaobaoCrmMembersIncrementGetAPIResponse 增量获取卖家会员 API返回值 taobao.crm.members.increment.get

增量获取会员列表,接口返回符合查询条件的所有会员。任何状态更改都会返回,最大允许100

type TaobaoCrmMembersIncrementGetAPIResponseModel added in v1.2.0

type TaobaoCrmMembersIncrementGetAPIResponseModel struct {
	XMLName xml.Name `xml:"crm_members_increment_get_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 返回当前页的会员列表
	Members []BasicMember `json:"members,omitempty" xml:"members>basic_member,omitempty"`
	// 记录的总条数
	TotalResult int64 `json:"total_result,omitempty" xml:"total_result,omitempty"`
}

TaobaoCrmMembersIncrementGetAPIResponseModel is 增量获取卖家会员 成功返回结果

type TaobaoCrmMembersIncrementGetPrivyAPIRequest added in v1.2.5

type TaobaoCrmMembersIncrementGetPrivyAPIRequest struct {
	model.Params
	// contains filtered or unexported fields
}

TaobaoCrmMembersIncrementGetPrivyAPIRequest 增量获取卖家会员 API请求 taobao.crm.members.increment.get.privy

增量获取会员列表,接口返回符合查询条件的所有会员。任何状态更改都会返回,最大允许100

func NewTaobaoCrmMembersIncrementGetPrivyRequest added in v1.2.5

func NewTaobaoCrmMembersIncrementGetPrivyRequest() *TaobaoCrmMembersIncrementGetPrivyAPIRequest

NewTaobaoCrmMembersIncrementGetPrivyRequest 初始化TaobaoCrmMembersIncrementGetPrivyAPIRequest对象

func (TaobaoCrmMembersIncrementGetPrivyAPIRequest) GetApiMethodName added in v1.2.5

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoCrmMembersIncrementGetPrivyAPIRequest) GetApiParams added in v1.2.5

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoCrmMembersIncrementGetPrivyAPIRequest) GetCurrentPage added in v1.2.5

GetCurrentPage CurrentPage Getter

func (TaobaoCrmMembersIncrementGetPrivyAPIRequest) GetEndModify added in v1.2.5

GetEndModify EndModify Getter

func (TaobaoCrmMembersIncrementGetPrivyAPIRequest) GetGrade added in v1.2.5

GetGrade Grade Getter

func (TaobaoCrmMembersIncrementGetPrivyAPIRequest) GetPageSize added in v1.2.5

GetPageSize PageSize Getter

func (TaobaoCrmMembersIncrementGetPrivyAPIRequest) GetRawParams added in v1.2.8

GetRawParams IRequest interface 方法, 获取API原始参数

func (TaobaoCrmMembersIncrementGetPrivyAPIRequest) GetStartModify added in v1.2.5

GetStartModify StartModify Getter

func (*TaobaoCrmMembersIncrementGetPrivyAPIRequest) SetCurrentPage added in v1.2.5

func (r *TaobaoCrmMembersIncrementGetPrivyAPIRequest) SetCurrentPage(_currentPage int64) error

SetCurrentPage is CurrentPage Setter 显示第几页的会员,如果输入的页码大于总共的页码数,例如总共10页,但是current_page的值为11,则返回空白页,最小页数为1

func (*TaobaoCrmMembersIncrementGetPrivyAPIRequest) SetEndModify added in v1.2.5

func (r *TaobaoCrmMembersIncrementGetPrivyAPIRequest) SetEndModify(_endModify string) error

SetEndModify is EndModify Setter 卖家修改会员信息的时间终点.如果不填写此字段,默认为当前时间.

func (*TaobaoCrmMembersIncrementGetPrivyAPIRequest) SetGrade added in v1.2.5

SetGrade is Grade Setter 会员等级

func (*TaobaoCrmMembersIncrementGetPrivyAPIRequest) SetPageSize added in v1.2.5

func (r *TaobaoCrmMembersIncrementGetPrivyAPIRequest) SetPageSize(_pageSize int64) error

SetPageSize is PageSize Setter 每页显示的会员数,page_size的值不能超过100,最小值要大于1

func (*TaobaoCrmMembersIncrementGetPrivyAPIRequest) SetStartModify added in v1.2.5

func (r *TaobaoCrmMembersIncrementGetPrivyAPIRequest) SetStartModify(_startModify string) error

SetStartModify is StartModify Setter 卖家修改会员信息的时间起点.

type TaobaoCrmMembersIncrementGetPrivyAPIResponse added in v1.2.5

type TaobaoCrmMembersIncrementGetPrivyAPIResponse struct {
	model.CommonResponse
	TaobaoCrmMembersIncrementGetPrivyAPIResponseModel
}

TaobaoCrmMembersIncrementGetPrivyAPIResponse 增量获取卖家会员 API返回值 taobao.crm.members.increment.get.privy

增量获取会员列表,接口返回符合查询条件的所有会员。任何状态更改都会返回,最大允许100

type TaobaoCrmMembersIncrementGetPrivyAPIResponseModel added in v1.2.5

type TaobaoCrmMembersIncrementGetPrivyAPIResponseModel struct {
	XMLName xml.Name `xml:"crm_members_increment_get_privy_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 返回当前页的会员列表
	Members []BasicMember `json:"members,omitempty" xml:"members>basic_member,omitempty"`
	// 记录的总条数
	TotalResult int64 `json:"total_result,omitempty" xml:"total_result,omitempty"`
}

TaobaoCrmMembersIncrementGetPrivyAPIResponseModel is 增量获取卖家会员 成功返回结果

type TaobaoCrmMembersSearchAPIRequest added in v1.2.0

type TaobaoCrmMembersSearchAPIRequest struct {
	model.Params
	// contains filtered or unexported fields
}

TaobaoCrmMembersSearchAPIRequest 获取卖家会员(高级查询) API请求 taobao.crm.members.search

会员列表的高级查询,接口返回符合条件的会员列表.<br><br/>注:建议获取09年以后的数据,09年之前的数据不是很完整

func NewTaobaoCrmMembersSearchRequest

func NewTaobaoCrmMembersSearchRequest() *TaobaoCrmMembersSearchAPIRequest

NewTaobaoCrmMembersSearchRequest 初始化TaobaoCrmMembersSearchAPIRequest对象

func (TaobaoCrmMembersSearchAPIRequest) GetApiMethodName added in v1.2.0

func (r TaobaoCrmMembersSearchAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoCrmMembersSearchAPIRequest) GetApiParams added in v1.2.0

func (r TaobaoCrmMembersSearchAPIRequest) GetApiParams(params url.Values)

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoCrmMembersSearchAPIRequest) GetBuyerNick added in v1.2.0

func (r TaobaoCrmMembersSearchAPIRequest) GetBuyerNick() string

GetBuyerNick BuyerNick Getter

func (TaobaoCrmMembersSearchAPIRequest) GetCurrentPage added in v1.2.0

func (r TaobaoCrmMembersSearchAPIRequest) GetCurrentPage() int64

GetCurrentPage CurrentPage Getter

func (TaobaoCrmMembersSearchAPIRequest) GetGrade added in v1.2.0

GetGrade Grade Getter

func (TaobaoCrmMembersSearchAPIRequest) GetGroupId added in v1.2.0

func (r TaobaoCrmMembersSearchAPIRequest) GetGroupId() int64

GetGroupId GroupId Getter

func (TaobaoCrmMembersSearchAPIRequest) GetMaxLastTradeTime added in v1.2.0

func (r TaobaoCrmMembersSearchAPIRequest) GetMaxLastTradeTime() string

GetMaxLastTradeTime MaxLastTradeTime Getter

func (TaobaoCrmMembersSearchAPIRequest) GetMaxTradeAmount added in v1.2.0

func (r TaobaoCrmMembersSearchAPIRequest) GetMaxTradeAmount() float64

GetMaxTradeAmount MaxTradeAmount Getter

func (TaobaoCrmMembersSearchAPIRequest) GetMaxTradeCount added in v1.2.0

func (r TaobaoCrmMembersSearchAPIRequest) GetMaxTradeCount() int64

GetMaxTradeCount MaxTradeCount Getter

func (TaobaoCrmMembersSearchAPIRequest) GetMinLastTradeTime added in v1.2.0

func (r TaobaoCrmMembersSearchAPIRequest) GetMinLastTradeTime() string

GetMinLastTradeTime MinLastTradeTime Getter

func (TaobaoCrmMembersSearchAPIRequest) GetMinTradeAmount added in v1.2.0

func (r TaobaoCrmMembersSearchAPIRequest) GetMinTradeAmount() float64

GetMinTradeAmount MinTradeAmount Getter

func (TaobaoCrmMembersSearchAPIRequest) GetMinTradeCount added in v1.2.0

func (r TaobaoCrmMembersSearchAPIRequest) GetMinTradeCount() int64

GetMinTradeCount MinTradeCount Getter

func (TaobaoCrmMembersSearchAPIRequest) GetOpenUid added in v1.2.5

GetOpenUid OpenUid Getter

func (TaobaoCrmMembersSearchAPIRequest) GetPageSize added in v1.2.0

func (r TaobaoCrmMembersSearchAPIRequest) GetPageSize() int64

GetPageSize PageSize Getter

func (TaobaoCrmMembersSearchAPIRequest) GetRawParams added in v1.2.8

GetRawParams IRequest interface 方法, 获取API原始参数

func (TaobaoCrmMembersSearchAPIRequest) GetRelationSource added in v1.2.0

func (r TaobaoCrmMembersSearchAPIRequest) GetRelationSource() int64

GetRelationSource RelationSource Getter

func (*TaobaoCrmMembersSearchAPIRequest) SetBuyerNick added in v1.2.0

func (r *TaobaoCrmMembersSearchAPIRequest) SetBuyerNick(_buyerNick string) error

SetBuyerNick is BuyerNick Setter 买家昵称

func (*TaobaoCrmMembersSearchAPIRequest) SetCurrentPage added in v1.2.0

func (r *TaobaoCrmMembersSearchAPIRequest) SetCurrentPage(_currentPage int64) error

SetCurrentPage is CurrentPage Setter 显示第几页的会员,如果输入的页码大于总共的页码数,例如总共10页,但是current_page的值为11,则返回空白页,最小页数为1.最大1000页

func (*TaobaoCrmMembersSearchAPIRequest) SetGrade added in v1.2.0

func (r *TaobaoCrmMembersSearchAPIRequest) SetGrade(_grade int64) error

SetGrade is Grade Setter 会员等级

func (*TaobaoCrmMembersSearchAPIRequest) SetGroupId added in v1.2.0

func (r *TaobaoCrmMembersSearchAPIRequest) SetGroupId(_groupId int64) error

SetGroupId is GroupId Setter 分组id

func (*TaobaoCrmMembersSearchAPIRequest) SetMaxLastTradeTime added in v1.2.0

func (r *TaobaoCrmMembersSearchAPIRequest) SetMaxLastTradeTime(_maxLastTradeTime string) error

SetMaxLastTradeTime is MaxLastTradeTime Setter 最迟上次交易时间

func (*TaobaoCrmMembersSearchAPIRequest) SetMaxTradeAmount added in v1.2.0

func (r *TaobaoCrmMembersSearchAPIRequest) SetMaxTradeAmount(_maxTradeAmount float64) error

SetMaxTradeAmount is MaxTradeAmount Setter 最大交易额,单位为元

func (*TaobaoCrmMembersSearchAPIRequest) SetMaxTradeCount added in v1.2.0

func (r *TaobaoCrmMembersSearchAPIRequest) SetMaxTradeCount(_maxTradeCount int64) error

SetMaxTradeCount is MaxTradeCount Setter 最大交易量

func (*TaobaoCrmMembersSearchAPIRequest) SetMinLastTradeTime added in v1.2.0

func (r *TaobaoCrmMembersSearchAPIRequest) SetMinLastTradeTime(_minLastTradeTime string) error

SetMinLastTradeTime is MinLastTradeTime Setter 最早上次交易时间(订单创建时间)

func (*TaobaoCrmMembersSearchAPIRequest) SetMinTradeAmount added in v1.2.0

func (r *TaobaoCrmMembersSearchAPIRequest) SetMinTradeAmount(_minTradeAmount float64) error

SetMinTradeAmount is MinTradeAmount Setter 最小交易额,单位为元

func (*TaobaoCrmMembersSearchAPIRequest) SetMinTradeCount added in v1.2.0

func (r *TaobaoCrmMembersSearchAPIRequest) SetMinTradeCount(_minTradeCount int64) error

SetMinTradeCount is MinTradeCount Setter 最小交易量

func (*TaobaoCrmMembersSearchAPIRequest) SetOpenUid added in v1.2.5

func (r *TaobaoCrmMembersSearchAPIRequest) SetOpenUid(_openUid string) error

SetOpenUid is OpenUid Setter 用户的open_uid

func (*TaobaoCrmMembersSearchAPIRequest) SetPageSize added in v1.2.0

func (r *TaobaoCrmMembersSearchAPIRequest) SetPageSize(_pageSize int64) error

SetPageSize is PageSize Setter 每页显示的会员数量,page_size的最大值不能超过100,最小值不能小于1

func (*TaobaoCrmMembersSearchAPIRequest) SetRelationSource added in v1.2.0

func (r *TaobaoCrmMembersSearchAPIRequest) SetRelationSource(_relationSource int64) error

SetRelationSource is RelationSource Setter 关系来源,1交易成功,2未成交,3卖家手动吸纳

type TaobaoCrmMembersSearchAPIResponse

type TaobaoCrmMembersSearchAPIResponse struct {
	model.CommonResponse
	TaobaoCrmMembersSearchAPIResponseModel
}

TaobaoCrmMembersSearchAPIResponse 获取卖家会员(高级查询) API返回值 taobao.crm.members.search

会员列表的高级查询,接口返回符合条件的会员列表.<br><br/>注:建议获取09年以后的数据,09年之前的数据不是很完整

type TaobaoCrmMembersSearchAPIResponseModel added in v1.2.0

type TaobaoCrmMembersSearchAPIResponseModel struct {
	XMLName xml.Name `xml:"crm_members_search_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 根据一定条件查询的卖家会员
	Members []CrmMember `json:"members,omitempty" xml:"members>crm_member,omitempty"`
	// 记录的总条数
	TotalResult int64 `json:"total_result,omitempty" xml:"total_result,omitempty"`
}

TaobaoCrmMembersSearchAPIResponseModel is 获取卖家会员(高级查询) 成功返回结果

type TaobaoCrmMembersSearchPrivyAPIRequest added in v1.2.5

type TaobaoCrmMembersSearchPrivyAPIRequest struct {
	model.Params
	// contains filtered or unexported fields
}

TaobaoCrmMembersSearchPrivyAPIRequest 获取卖家会员(高级查询) API请求 taobao.crm.members.search.privy

会员列表的高级查询,接口返回符合条件的会员列表.<br><br/>注:建议获取09年以后的数据,09年之前的数据不是很完整

func NewTaobaoCrmMembersSearchPrivyRequest added in v1.2.5

func NewTaobaoCrmMembersSearchPrivyRequest() *TaobaoCrmMembersSearchPrivyAPIRequest

NewTaobaoCrmMembersSearchPrivyRequest 初始化TaobaoCrmMembersSearchPrivyAPIRequest对象

func (TaobaoCrmMembersSearchPrivyAPIRequest) GetApiMethodName added in v1.2.5

func (r TaobaoCrmMembersSearchPrivyAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoCrmMembersSearchPrivyAPIRequest) GetApiParams added in v1.2.5

func (r TaobaoCrmMembersSearchPrivyAPIRequest) GetApiParams(params url.Values)

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoCrmMembersSearchPrivyAPIRequest) GetCurrentPage added in v1.2.5

func (r TaobaoCrmMembersSearchPrivyAPIRequest) GetCurrentPage() int64

GetCurrentPage CurrentPage Getter

func (TaobaoCrmMembersSearchPrivyAPIRequest) GetGrade added in v1.2.5

GetGrade Grade Getter

func (TaobaoCrmMembersSearchPrivyAPIRequest) GetGroupId added in v1.2.5

GetGroupId GroupId Getter

func (TaobaoCrmMembersSearchPrivyAPIRequest) GetMaxLastTradeTime added in v1.2.5

func (r TaobaoCrmMembersSearchPrivyAPIRequest) GetMaxLastTradeTime() string

GetMaxLastTradeTime MaxLastTradeTime Getter

func (TaobaoCrmMembersSearchPrivyAPIRequest) GetMaxTradeAmount added in v1.2.5

func (r TaobaoCrmMembersSearchPrivyAPIRequest) GetMaxTradeAmount() float64

GetMaxTradeAmount MaxTradeAmount Getter

func (TaobaoCrmMembersSearchPrivyAPIRequest) GetMaxTradeCount added in v1.2.5

func (r TaobaoCrmMembersSearchPrivyAPIRequest) GetMaxTradeCount() int64

GetMaxTradeCount MaxTradeCount Getter

func (TaobaoCrmMembersSearchPrivyAPIRequest) GetMinLastTradeTime added in v1.2.5

func (r TaobaoCrmMembersSearchPrivyAPIRequest) GetMinLastTradeTime() string

GetMinLastTradeTime MinLastTradeTime Getter

func (TaobaoCrmMembersSearchPrivyAPIRequest) GetMinTradeAmount added in v1.2.5

func (r TaobaoCrmMembersSearchPrivyAPIRequest) GetMinTradeAmount() float64

GetMinTradeAmount MinTradeAmount Getter

func (TaobaoCrmMembersSearchPrivyAPIRequest) GetMinTradeCount added in v1.2.5

func (r TaobaoCrmMembersSearchPrivyAPIRequest) GetMinTradeCount() int64

GetMinTradeCount MinTradeCount Getter

func (TaobaoCrmMembersSearchPrivyAPIRequest) GetOuid added in v1.2.5

GetOuid Ouid Getter

func (TaobaoCrmMembersSearchPrivyAPIRequest) GetPageSize added in v1.2.5

GetPageSize PageSize Getter

func (TaobaoCrmMembersSearchPrivyAPIRequest) GetRawParams added in v1.2.8

GetRawParams IRequest interface 方法, 获取API原始参数

func (TaobaoCrmMembersSearchPrivyAPIRequest) GetRelationSource added in v1.2.5

func (r TaobaoCrmMembersSearchPrivyAPIRequest) GetRelationSource() int64

GetRelationSource RelationSource Getter

func (*TaobaoCrmMembersSearchPrivyAPIRequest) SetCurrentPage added in v1.2.5

func (r *TaobaoCrmMembersSearchPrivyAPIRequest) SetCurrentPage(_currentPage int64) error

SetCurrentPage is CurrentPage Setter 显示第几页的会员,如果输入的页码大于总共的页码数,例如总共10页,但是current_page的值为11,则返回空白页,最小页数为1.最大1000页

func (*TaobaoCrmMembersSearchPrivyAPIRequest) SetGrade added in v1.2.5

SetGrade is Grade Setter 会员等级

func (*TaobaoCrmMembersSearchPrivyAPIRequest) SetGroupId added in v1.2.5

func (r *TaobaoCrmMembersSearchPrivyAPIRequest) SetGroupId(_groupId int64) error

SetGroupId is GroupId Setter 分组id

func (*TaobaoCrmMembersSearchPrivyAPIRequest) SetMaxLastTradeTime added in v1.2.5

func (r *TaobaoCrmMembersSearchPrivyAPIRequest) SetMaxLastTradeTime(_maxLastTradeTime string) error

SetMaxLastTradeTime is MaxLastTradeTime Setter 最迟上次交易时间

func (*TaobaoCrmMembersSearchPrivyAPIRequest) SetMaxTradeAmount added in v1.2.5

func (r *TaobaoCrmMembersSearchPrivyAPIRequest) SetMaxTradeAmount(_maxTradeAmount float64) error

SetMaxTradeAmount is MaxTradeAmount Setter 最大交易额,单位为元

func (*TaobaoCrmMembersSearchPrivyAPIRequest) SetMaxTradeCount added in v1.2.5

func (r *TaobaoCrmMembersSearchPrivyAPIRequest) SetMaxTradeCount(_maxTradeCount int64) error

SetMaxTradeCount is MaxTradeCount Setter 最大交易量

func (*TaobaoCrmMembersSearchPrivyAPIRequest) SetMinLastTradeTime added in v1.2.5

func (r *TaobaoCrmMembersSearchPrivyAPIRequest) SetMinLastTradeTime(_minLastTradeTime string) error

SetMinLastTradeTime is MinLastTradeTime Setter 最早上次交易时间(订单创建时间)

func (*TaobaoCrmMembersSearchPrivyAPIRequest) SetMinTradeAmount added in v1.2.5

func (r *TaobaoCrmMembersSearchPrivyAPIRequest) SetMinTradeAmount(_minTradeAmount float64) error

SetMinTradeAmount is MinTradeAmount Setter 最小交易额,单位为元

func (*TaobaoCrmMembersSearchPrivyAPIRequest) SetMinTradeCount added in v1.2.5

func (r *TaobaoCrmMembersSearchPrivyAPIRequest) SetMinTradeCount(_minTradeCount int64) error

SetMinTradeCount is MinTradeCount Setter 最小交易量

func (*TaobaoCrmMembersSearchPrivyAPIRequest) SetOuid added in v1.2.5

SetOuid is Ouid Setter ouid

func (*TaobaoCrmMembersSearchPrivyAPIRequest) SetPageSize added in v1.2.5

func (r *TaobaoCrmMembersSearchPrivyAPIRequest) SetPageSize(_pageSize int64) error

SetPageSize is PageSize Setter 每页显示的会员数量,page_size的最大值不能超过100,最小值不能小于1

func (*TaobaoCrmMembersSearchPrivyAPIRequest) SetRelationSource added in v1.2.5

func (r *TaobaoCrmMembersSearchPrivyAPIRequest) SetRelationSource(_relationSource int64) error

SetRelationSource is RelationSource Setter 关系来源,1交易成功,2未成交,3卖家手动吸纳

type TaobaoCrmMembersSearchPrivyAPIResponse added in v1.2.5

type TaobaoCrmMembersSearchPrivyAPIResponse struct {
	model.CommonResponse
	TaobaoCrmMembersSearchPrivyAPIResponseModel
}

TaobaoCrmMembersSearchPrivyAPIResponse 获取卖家会员(高级查询) API返回值 taobao.crm.members.search.privy

会员列表的高级查询,接口返回符合条件的会员列表.<br><br/>注:建议获取09年以后的数据,09年之前的数据不是很完整

type TaobaoCrmMembersSearchPrivyAPIResponseModel added in v1.2.5

type TaobaoCrmMembersSearchPrivyAPIResponseModel struct {
	XMLName xml.Name `xml:"crm_members_search_privy_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 根据一定条件查询的卖家会员
	Members []CrmMember `json:"members,omitempty" xml:"members>crm_member,omitempty"`
	// 记录的总条数
	TotalResult int64 `json:"total_result,omitempty" xml:"total_result,omitempty"`
}

TaobaoCrmMembersSearchPrivyAPIResponseModel is 获取卖家会员(高级查询) 成功返回结果

type TaobaoCrmServiceChannelShortlinkCreateAPIRequest added in v1.2.0

type TaobaoCrmServiceChannelShortlinkCreateAPIRequest struct {
	model.Params
	// contains filtered or unexported fields
}

TaobaoCrmServiceChannelShortlinkCreateAPIRequest ECRM创建淘短链服务 API请求 taobao.crm.service.channel.shortlink.create

可生成店铺宝贝、店铺首页、活动链接、订单链接等4种可呼起手机淘宝APP至对应页面的淘短链。

func NewTaobaoCrmServiceChannelShortlinkCreateRequest

func NewTaobaoCrmServiceChannelShortlinkCreateRequest() *TaobaoCrmServiceChannelShortlinkCreateAPIRequest

NewTaobaoCrmServiceChannelShortlinkCreateRequest 初始化TaobaoCrmServiceChannelShortlinkCreateAPIRequest对象

func (TaobaoCrmServiceChannelShortlinkCreateAPIRequest) GetApiMethodName added in v1.2.0

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoCrmServiceChannelShortlinkCreateAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoCrmServiceChannelShortlinkCreateAPIRequest) GetLinkType added in v1.2.0

GetLinkType LinkType Getter

func (TaobaoCrmServiceChannelShortlinkCreateAPIRequest) GetRawParams added in v1.2.8

GetRawParams IRequest interface 方法, 获取API原始参数

func (TaobaoCrmServiceChannelShortlinkCreateAPIRequest) GetShortLinkData added in v1.2.0

GetShortLinkData ShortLinkData Getter

func (TaobaoCrmServiceChannelShortlinkCreateAPIRequest) GetShortLinkName added in v1.2.0

GetShortLinkName ShortLinkName Getter

func (*TaobaoCrmServiceChannelShortlinkCreateAPIRequest) SetLinkType added in v1.2.0

SetLinkType is LinkType Setter 淘短链类型:LT_ITEM(商品淘短链),LT_SHOP(店铺首页淘短链),LT_ACTIVITY(活动页淘短链),LT_TRADE(订单详情页淘短链)。

func (*TaobaoCrmServiceChannelShortlinkCreateAPIRequest) SetShortLinkData added in v1.2.0

func (r *TaobaoCrmServiceChannelShortlinkCreateAPIRequest) SetShortLinkData(_shortLinkData string) error

SetShortLinkData is ShortLinkData Setter 类型为LT_ITEM时必须传入商品ID,类型为LT_SHOP时必须传入空值,类型为LT_ACTIVITY时传入活动页URL(URL必须是taobao.com,tmall.com,jaeapp.com这三个域名下的URL),类型为LT_TRADE时传入订单ID。

func (*TaobaoCrmServiceChannelShortlinkCreateAPIRequest) SetShortLinkName added in v1.2.0

func (r *TaobaoCrmServiceChannelShortlinkCreateAPIRequest) SetShortLinkName(_shortLinkName string) error

SetShortLinkName is ShortLinkName Setter 淘短链名称(最多只能16个中文字符,类型为订单链接时传入订单ID)。

type TaobaoCrmServiceChannelShortlinkCreateAPIResponse

type TaobaoCrmServiceChannelShortlinkCreateAPIResponse struct {
	model.CommonResponse
	TaobaoCrmServiceChannelShortlinkCreateAPIResponseModel
}

TaobaoCrmServiceChannelShortlinkCreateAPIResponse ECRM创建淘短链服务 API返回值 taobao.crm.service.channel.shortlink.create

可生成店铺宝贝、店铺首页、活动链接、订单链接等4种可呼起手机淘宝APP至对应页面的淘短链。

type TaobaoCrmServiceChannelShortlinkCreateAPIResponseModel added in v1.2.0

type TaobaoCrmServiceChannelShortlinkCreateAPIResponseModel struct {
	XMLName xml.Name `xml:"crm_service_channel_shortlink_create_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 返回的淘短链。
	ShortLink string `json:"short_link,omitempty" xml:"short_link,omitempty"`
}

TaobaoCrmServiceChannelShortlinkCreateAPIResponseModel is ECRM创建淘短链服务 成功返回结果

type TaobaoCrmShopvipCancelAPIRequest added in v1.2.0

type TaobaoCrmShopvipCancelAPIRequest struct {
	model.Params
}

TaobaoCrmShopvipCancelAPIRequest 卖家取消店铺vip的优惠 API请求 taobao.crm.shopvip.cancel

此接口用于取消VIP优惠

func NewTaobaoCrmShopvipCancelRequest

func NewTaobaoCrmShopvipCancelRequest() *TaobaoCrmShopvipCancelAPIRequest

NewTaobaoCrmShopvipCancelRequest 初始化TaobaoCrmShopvipCancelAPIRequest对象

func (TaobaoCrmShopvipCancelAPIRequest) GetApiMethodName added in v1.2.0

func (r TaobaoCrmShopvipCancelAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoCrmShopvipCancelAPIRequest) GetApiParams added in v1.2.0

func (r TaobaoCrmShopvipCancelAPIRequest) GetApiParams(params url.Values)

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoCrmShopvipCancelAPIRequest) GetRawParams added in v1.2.8

GetRawParams IRequest interface 方法, 获取API原始参数

type TaobaoCrmShopvipCancelAPIResponse

type TaobaoCrmShopvipCancelAPIResponse struct {
	model.CommonResponse
	TaobaoCrmShopvipCancelAPIResponseModel
}

TaobaoCrmShopvipCancelAPIResponse 卖家取消店铺vip的优惠 API返回值 taobao.crm.shopvip.cancel

此接口用于取消VIP优惠

type TaobaoCrmShopvipCancelAPIResponseModel added in v1.2.0

type TaobaoCrmShopvipCancelAPIResponseModel struct {
	XMLName xml.Name `xml:"crm_shopvip_cancel_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 返回操作是否成功
	IsSuccess bool `json:"is_success,omitempty" xml:"is_success,omitempty"`
}

TaobaoCrmShopvipCancelAPIResponseModel is 卖家取消店铺vip的优惠 成功返回结果

type TaobaoMemberHismemberdataGetPrivyAPIRequest added in v1.2.5

type TaobaoMemberHismemberdataGetPrivyAPIRequest struct {
	model.Params
	// contains filtered or unexported fields
}

TaobaoMemberHismemberdataGetPrivyAPIRequest 会员历史备份数据查询 API请求 taobao.member.hismemberdata.get.privy

会员历史备份数据分页查询,查询内容为等级,会员备份版本,会员nick等信息.

func NewTaobaoMemberHismemberdataGetPrivyRequest added in v1.2.5

func NewTaobaoMemberHismemberdataGetPrivyRequest() *TaobaoMemberHismemberdataGetPrivyAPIRequest

NewTaobaoMemberHismemberdataGetPrivyRequest 初始化TaobaoMemberHismemberdataGetPrivyAPIRequest对象

func (TaobaoMemberHismemberdataGetPrivyAPIRequest) GetApiMethodName added in v1.2.5

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoMemberHismemberdataGetPrivyAPIRequest) GetApiParams added in v1.2.5

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoMemberHismemberdataGetPrivyAPIRequest) GetBackupDs added in v1.2.5

GetBackupDs BackupDs Getter

func (TaobaoMemberHismemberdataGetPrivyAPIRequest) GetCurrentPage added in v1.2.5

GetCurrentPage CurrentPage Getter

func (TaobaoMemberHismemberdataGetPrivyAPIRequest) GetPageSize added in v1.2.5

GetPageSize PageSize Getter

func (TaobaoMemberHismemberdataGetPrivyAPIRequest) GetRawParams added in v1.2.8

GetRawParams IRequest interface 方法, 获取API原始参数

func (*TaobaoMemberHismemberdataGetPrivyAPIRequest) SetBackupDs added in v1.2.5

func (r *TaobaoMemberHismemberdataGetPrivyAPIRequest) SetBackupDs(_backupDs string) error

SetBackupDs is BackupDs Setter 备份快照版本号(日期格式yyyyMMdd),可选参数,默认不填,则查找最近备份版本数据

func (*TaobaoMemberHismemberdataGetPrivyAPIRequest) SetCurrentPage added in v1.2.5

func (r *TaobaoMemberHismemberdataGetPrivyAPIRequest) SetCurrentPage(_currentPage int64) error

SetCurrentPage is CurrentPage Setter 页码,必填,从1开始

func (*TaobaoMemberHismemberdataGetPrivyAPIRequest) SetPageSize added in v1.2.5

func (r *TaobaoMemberHismemberdataGetPrivyAPIRequest) SetPageSize(_pageSize int64) error

SetPageSize is PageSize Setter 页面大小,必填,第几页

type TaobaoMemberHismemberdataGetPrivyAPIResponse added in v1.2.5

type TaobaoMemberHismemberdataGetPrivyAPIResponse struct {
	model.CommonResponse
	TaobaoMemberHismemberdataGetPrivyAPIResponseModel
}

TaobaoMemberHismemberdataGetPrivyAPIResponse 会员历史备份数据查询 API返回值 taobao.member.hismemberdata.get.privy

会员历史备份数据分页查询,查询内容为等级,会员备份版本,会员nick等信息.

type TaobaoMemberHismemberdataGetPrivyAPIResponseModel added in v1.2.5

type TaobaoMemberHismemberdataGetPrivyAPIResponseModel struct {
	XMLName xml.Name `xml:"member_hismemberdata_get_privy_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 返回结果对象
	ResultDto *TaobaoMemberHismemberdataGetPrivyResultDto `json:"result_dto,omitempty" xml:"result_dto,omitempty"`
}

TaobaoMemberHismemberdataGetPrivyAPIResponseModel is 会员历史备份数据查询 成功返回结果

type TaobaoMemberHismemberdataGetPrivyResultDto added in v1.2.5

type TaobaoMemberHismemberdataGetPrivyResultDto struct {
	// 备份会员信息列表
	HsmemberinfoList []HsMemberInfoDto `json:"hsmemberinfo_list,omitempty" xml:"hsmemberinfo_list>hs_member_info_dto,omitempty"`
	// 总记录数,分页用
	Total string `json:"total,omitempty" xml:"total,omitempty"`
	// 返回信息,成功时可为空
	Msg string `json:"msg,omitempty" xml:"msg,omitempty"`
	// 返回码,0:表示查询成功,其他:表示失败
	Code string `json:"code,omitempty" xml:"code,omitempty"`
}

TaobaoMemberHismemberdataGetPrivyResultDto 结构体

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL