Documentation ¶
Index ¶
- type FavoritesDetail
- type FavoritesInfo
- type FoodMapData
- type LocalizationMapData
- type NTbkItem
- type NTbkShop
- type OrderData
- type PageResult
- type PromotionExtend
- type PromotionList
- type RecommendItemList
- type RegisterInfoDto
- type RightsInstanceCreateResult
- type TaobaoTbkActivityInfoGetAPIResponse
- type TaobaoTbkActivityInfoGetData
- type TaobaoTbkActivityInfoGetRequest
- func (r TaobaoTbkActivityInfoGetRequest) GetActivityMaterialId() string
- func (r TaobaoTbkActivityInfoGetRequest) GetAdzoneId() int64
- func (r TaobaoTbkActivityInfoGetRequest) GetApiMethodName() string
- func (r TaobaoTbkActivityInfoGetRequest) GetApiParams() url.Values
- func (r TaobaoTbkActivityInfoGetRequest) GetRelationId() int64
- func (r TaobaoTbkActivityInfoGetRequest) GetSubPid() string
- func (r TaobaoTbkActivityInfoGetRequest) GetUnionId() string
- func (r *TaobaoTbkActivityInfoGetRequest) SetActivityMaterialId(activityMaterialId string) error
- func (r *TaobaoTbkActivityInfoGetRequest) SetAdzoneId(adzoneId int64) error
- func (r *TaobaoTbkActivityInfoGetRequest) SetRelationId(relationId int64) error
- func (r *TaobaoTbkActivityInfoGetRequest) SetSubPid(subPid string) error
- func (r *TaobaoTbkActivityInfoGetRequest) SetUnionId(unionId string) error
- type TaobaoTbkActivityInfoGetResponse
- type TaobaoTbkCartCouponExpireUserQueryAPIResponse
- type TaobaoTbkCartCouponExpireUserQueryMapData
- type TaobaoTbkCartCouponExpireUserQueryRequest
- func (r TaobaoTbkCartCouponExpireUserQueryRequest) GetApiMethodName() string
- func (r TaobaoTbkCartCouponExpireUserQueryRequest) GetApiParams() url.Values
- func (r TaobaoTbkCartCouponExpireUserQueryRequest) GetPageNum() int64
- func (r TaobaoTbkCartCouponExpireUserQueryRequest) GetPageSize() int64
- func (r TaobaoTbkCartCouponExpireUserQueryRequest) GetRuleId() string
- func (r *TaobaoTbkCartCouponExpireUserQueryRequest) SetPageNum(pageNum int64) error
- func (r *TaobaoTbkCartCouponExpireUserQueryRequest) SetPageSize(pageSize int64) error
- func (r *TaobaoTbkCartCouponExpireUserQueryRequest) SetRuleId(ruleId string) error
- type TaobaoTbkCartCouponExpireUserQueryResponse
- type TaobaoTbkCouponGetAPIResponse
- type TaobaoTbkCouponGetMapData
- type TaobaoTbkCouponGetRequest
- func (r TaobaoTbkCouponGetRequest) GetActivityId() string
- func (r TaobaoTbkCouponGetRequest) GetApiMethodName() string
- func (r TaobaoTbkCouponGetRequest) GetApiParams() url.Values
- func (r TaobaoTbkCouponGetRequest) GetItemId() int64
- func (r TaobaoTbkCouponGetRequest) GetMe() string
- func (r *TaobaoTbkCouponGetRequest) SetActivityId(activityId string) error
- func (r *TaobaoTbkCouponGetRequest) SetItemId(itemId int64) error
- func (r *TaobaoTbkCouponGetRequest) SetMe(me string) error
- type TaobaoTbkCouponGetResponse
- type TaobaoTbkDgMaterialOptionalAPIResponse
- type TaobaoTbkDgMaterialOptionalMapData
- type TaobaoTbkDgMaterialOptionalRequest
- func (r TaobaoTbkDgMaterialOptionalRequest) GetAdzoneId() int64
- func (r TaobaoTbkDgMaterialOptionalRequest) GetApiMethodName() string
- func (r TaobaoTbkDgMaterialOptionalRequest) GetApiParams() url.Values
- func (r TaobaoTbkDgMaterialOptionalRequest) GetCat() string
- func (r TaobaoTbkDgMaterialOptionalRequest) GetCityCode() string
- func (r TaobaoTbkDgMaterialOptionalRequest) GetDeviceEncrypt() string
- func (r TaobaoTbkDgMaterialOptionalRequest) GetDeviceType() string
- func (r TaobaoTbkDgMaterialOptionalRequest) GetDeviceValue() string
- func (r TaobaoTbkDgMaterialOptionalRequest) GetEndKaTkRate() int64
- func (r TaobaoTbkDgMaterialOptionalRequest) GetEndPrice() int64
- func (r TaobaoTbkDgMaterialOptionalRequest) GetEndTkRate() int64
- func (r TaobaoTbkDgMaterialOptionalRequest) GetGetTopnRate() int64
- func (r TaobaoTbkDgMaterialOptionalRequest) GetHasCoupon() bool
- func (r TaobaoTbkDgMaterialOptionalRequest) GetIncludeGoodRate() bool
- func (r TaobaoTbkDgMaterialOptionalRequest) GetIncludePayRate30() bool
- func (r TaobaoTbkDgMaterialOptionalRequest) GetIncludeRfdRate() bool
- func (r TaobaoTbkDgMaterialOptionalRequest) GetIp() string
- func (r TaobaoTbkDgMaterialOptionalRequest) GetIsOverseas() bool
- func (r TaobaoTbkDgMaterialOptionalRequest) GetIsTmall() bool
- func (r TaobaoTbkDgMaterialOptionalRequest) GetItemloc() string
- func (r TaobaoTbkDgMaterialOptionalRequest) GetLatitude() string
- func (r TaobaoTbkDgMaterialOptionalRequest) GetLockRateEndTime() int64
- func (r TaobaoTbkDgMaterialOptionalRequest) GetLockRateStartTime() int64
- func (r TaobaoTbkDgMaterialOptionalRequest) GetLongitude() string
- func (r TaobaoTbkDgMaterialOptionalRequest) GetMaterialId() int64
- func (r TaobaoTbkDgMaterialOptionalRequest) GetNeedFreeShipment() bool
- func (r TaobaoTbkDgMaterialOptionalRequest) GetNeedPrepay() bool
- func (r TaobaoTbkDgMaterialOptionalRequest) GetNpxLevel() int64
- func (r TaobaoTbkDgMaterialOptionalRequest) GetPageNo() int64
- func (r TaobaoTbkDgMaterialOptionalRequest) GetPageResultKey() string
- func (r TaobaoTbkDgMaterialOptionalRequest) GetPageSize() int64
- func (r TaobaoTbkDgMaterialOptionalRequest) GetPlatform() int64
- func (r TaobaoTbkDgMaterialOptionalRequest) GetQ() string
- func (r TaobaoTbkDgMaterialOptionalRequest) GetRelationId() string
- func (r TaobaoTbkDgMaterialOptionalRequest) GetSellerIds() string
- func (r TaobaoTbkDgMaterialOptionalRequest) GetSort() string
- func (r TaobaoTbkDgMaterialOptionalRequest) GetSpecialId() string
- func (r TaobaoTbkDgMaterialOptionalRequest) GetStartDsr() int64
- func (r TaobaoTbkDgMaterialOptionalRequest) GetStartKaTkRate() int64
- func (r TaobaoTbkDgMaterialOptionalRequest) GetStartPrice() int64
- func (r TaobaoTbkDgMaterialOptionalRequest) GetStartTkRate() int64
- func (r TaobaoTbkDgMaterialOptionalRequest) GetUcrowdId() int64
- func (r TaobaoTbkDgMaterialOptionalRequest) GetUcrowdRankItems() []Ucrowdrankitems
- func (r *TaobaoTbkDgMaterialOptionalRequest) SetAdzoneId(adzoneId int64) error
- func (r *TaobaoTbkDgMaterialOptionalRequest) SetCat(cat string) error
- func (r *TaobaoTbkDgMaterialOptionalRequest) SetCityCode(cityCode string) error
- func (r *TaobaoTbkDgMaterialOptionalRequest) SetDeviceEncrypt(deviceEncrypt string) error
- func (r *TaobaoTbkDgMaterialOptionalRequest) SetDeviceType(deviceType string) error
- func (r *TaobaoTbkDgMaterialOptionalRequest) SetDeviceValue(deviceValue string) error
- func (r *TaobaoTbkDgMaterialOptionalRequest) SetEndKaTkRate(endKaTkRate int64) error
- func (r *TaobaoTbkDgMaterialOptionalRequest) SetEndPrice(endPrice int64) error
- func (r *TaobaoTbkDgMaterialOptionalRequest) SetEndTkRate(endTkRate int64) error
- func (r *TaobaoTbkDgMaterialOptionalRequest) SetGetTopnRate(getTopnRate int64) error
- func (r *TaobaoTbkDgMaterialOptionalRequest) SetHasCoupon(hasCoupon bool) error
- func (r *TaobaoTbkDgMaterialOptionalRequest) SetIncludeGoodRate(includeGoodRate bool) error
- func (r *TaobaoTbkDgMaterialOptionalRequest) SetIncludePayRate30(includePayRate30 bool) error
- func (r *TaobaoTbkDgMaterialOptionalRequest) SetIncludeRfdRate(includeRfdRate bool) error
- func (r *TaobaoTbkDgMaterialOptionalRequest) SetIp(ip string) error
- func (r *TaobaoTbkDgMaterialOptionalRequest) SetIsOverseas(isOverseas bool) error
- func (r *TaobaoTbkDgMaterialOptionalRequest) SetIsTmall(isTmall bool) error
- func (r *TaobaoTbkDgMaterialOptionalRequest) SetItemloc(itemloc string) error
- func (r *TaobaoTbkDgMaterialOptionalRequest) SetLatitude(latitude string) error
- func (r *TaobaoTbkDgMaterialOptionalRequest) SetLockRateEndTime(lockRateEndTime int64) error
- func (r *TaobaoTbkDgMaterialOptionalRequest) SetLockRateStartTime(lockRateStartTime int64) error
- func (r *TaobaoTbkDgMaterialOptionalRequest) SetLongitude(longitude string) error
- func (r *TaobaoTbkDgMaterialOptionalRequest) SetMaterialId(materialId int64) error
- func (r *TaobaoTbkDgMaterialOptionalRequest) SetNeedFreeShipment(needFreeShipment bool) error
- func (r *TaobaoTbkDgMaterialOptionalRequest) SetNeedPrepay(needPrepay bool) error
- func (r *TaobaoTbkDgMaterialOptionalRequest) SetNpxLevel(npxLevel int64) error
- func (r *TaobaoTbkDgMaterialOptionalRequest) SetPageNo(pageNo int64) error
- func (r *TaobaoTbkDgMaterialOptionalRequest) SetPageResultKey(pageResultKey string) error
- func (r *TaobaoTbkDgMaterialOptionalRequest) SetPageSize(pageSize int64) error
- func (r *TaobaoTbkDgMaterialOptionalRequest) SetPlatform(platform int64) error
- func (r *TaobaoTbkDgMaterialOptionalRequest) SetQ(q string) error
- func (r *TaobaoTbkDgMaterialOptionalRequest) SetRelationId(relationId string) error
- func (r *TaobaoTbkDgMaterialOptionalRequest) SetSellerIds(sellerIds string) error
- func (r *TaobaoTbkDgMaterialOptionalRequest) SetSort(sort string) error
- func (r *TaobaoTbkDgMaterialOptionalRequest) SetSpecialId(specialId string) error
- func (r *TaobaoTbkDgMaterialOptionalRequest) SetStartDsr(startDsr int64) error
- func (r *TaobaoTbkDgMaterialOptionalRequest) SetStartKaTkRate(startKaTkRate int64) error
- func (r *TaobaoTbkDgMaterialOptionalRequest) SetStartPrice(startPrice int64) error
- func (r *TaobaoTbkDgMaterialOptionalRequest) SetStartTkRate(startTkRate int64) error
- func (r *TaobaoTbkDgMaterialOptionalRequest) SetUcrowdId(ucrowdId int64) error
- func (r *TaobaoTbkDgMaterialOptionalRequest) SetUcrowdRankItems(ucrowdRankItems []Ucrowdrankitems) error
- type TaobaoTbkDgMaterialOptionalResponse
- type TaobaoTbkDgNewuserOrderGetAPIResponse
- type TaobaoTbkDgNewuserOrderGetData
- type TaobaoTbkDgNewuserOrderGetMapData
- type TaobaoTbkDgNewuserOrderGetRequest
- func (r TaobaoTbkDgNewuserOrderGetRequest) GetActivityId() string
- func (r TaobaoTbkDgNewuserOrderGetRequest) GetAdzoneId() int64
- func (r TaobaoTbkDgNewuserOrderGetRequest) GetApiMethodName() string
- func (r TaobaoTbkDgNewuserOrderGetRequest) GetApiParams() url.Values
- func (r TaobaoTbkDgNewuserOrderGetRequest) GetEndTime() string
- func (r TaobaoTbkDgNewuserOrderGetRequest) GetPageNo() int64
- func (r TaobaoTbkDgNewuserOrderGetRequest) GetPageSize() int64
- func (r TaobaoTbkDgNewuserOrderGetRequest) GetStartTime() string
- func (r *TaobaoTbkDgNewuserOrderGetRequest) SetActivityId(activityId string) error
- func (r *TaobaoTbkDgNewuserOrderGetRequest) SetAdzoneId(adzoneId int64) error
- func (r *TaobaoTbkDgNewuserOrderGetRequest) SetEndTime(endTime string) error
- func (r *TaobaoTbkDgNewuserOrderGetRequest) SetPageNo(pageNo int64) error
- func (r *TaobaoTbkDgNewuserOrderGetRequest) SetPageSize(pageSize int64) error
- func (r *TaobaoTbkDgNewuserOrderGetRequest) SetStartTime(startTime string) error
- type TaobaoTbkDgNewuserOrderGetResponse
- type TaobaoTbkDgNewuserOrderGetResults
- type TaobaoTbkDgNewuserOrderSumAPIResponse
- type TaobaoTbkDgNewuserOrderSumData
- type TaobaoTbkDgNewuserOrderSumRequest
- func (r TaobaoTbkDgNewuserOrderSumRequest) GetActivityId() string
- func (r TaobaoTbkDgNewuserOrderSumRequest) GetAdzoneId() int64
- func (r TaobaoTbkDgNewuserOrderSumRequest) GetApiMethodName() string
- func (r TaobaoTbkDgNewuserOrderSumRequest) GetApiParams() url.Values
- func (r TaobaoTbkDgNewuserOrderSumRequest) GetPageNo() int64
- func (r TaobaoTbkDgNewuserOrderSumRequest) GetPageSize() int64
- func (r TaobaoTbkDgNewuserOrderSumRequest) GetSettleMonth() string
- func (r TaobaoTbkDgNewuserOrderSumRequest) GetSiteId() int64
- func (r *TaobaoTbkDgNewuserOrderSumRequest) SetActivityId(activityId string) error
- func (r *TaobaoTbkDgNewuserOrderSumRequest) SetAdzoneId(adzoneId int64) error
- func (r *TaobaoTbkDgNewuserOrderSumRequest) SetPageNo(pageNo int64) error
- func (r *TaobaoTbkDgNewuserOrderSumRequest) SetPageSize(pageSize int64) error
- func (r *TaobaoTbkDgNewuserOrderSumRequest) SetSettleMonth(settleMonth string) error
- func (r *TaobaoTbkDgNewuserOrderSumRequest) SetSiteId(siteId int64) error
- type TaobaoTbkDgNewuserOrderSumResponse
- type TaobaoTbkDgOptimusMaterialAPIResponse
- type TaobaoTbkDgOptimusMaterialMapData
- type TaobaoTbkDgOptimusMaterialRequest
- func (r TaobaoTbkDgOptimusMaterialRequest) GetAdzoneId() int64
- func (r TaobaoTbkDgOptimusMaterialRequest) GetApiMethodName() string
- func (r TaobaoTbkDgOptimusMaterialRequest) GetApiParams() url.Values
- func (r TaobaoTbkDgOptimusMaterialRequest) GetContentId() int64
- func (r TaobaoTbkDgOptimusMaterialRequest) GetContentSource() string
- func (r TaobaoTbkDgOptimusMaterialRequest) GetDeviceEncrypt() string
- func (r TaobaoTbkDgOptimusMaterialRequest) GetDeviceType() string
- func (r TaobaoTbkDgOptimusMaterialRequest) GetDeviceValue() string
- func (r TaobaoTbkDgOptimusMaterialRequest) GetFavoritesId() string
- func (r TaobaoTbkDgOptimusMaterialRequest) GetItemId() int64
- func (r TaobaoTbkDgOptimusMaterialRequest) GetMaterialId() int64
- func (r TaobaoTbkDgOptimusMaterialRequest) GetPageNo() int64
- func (r TaobaoTbkDgOptimusMaterialRequest) GetPageSize() int64
- func (r *TaobaoTbkDgOptimusMaterialRequest) SetAdzoneId(adzoneId int64) error
- func (r *TaobaoTbkDgOptimusMaterialRequest) SetContentId(contentId int64) error
- func (r *TaobaoTbkDgOptimusMaterialRequest) SetContentSource(contentSource string) error
- func (r *TaobaoTbkDgOptimusMaterialRequest) SetDeviceEncrypt(deviceEncrypt string) error
- func (r *TaobaoTbkDgOptimusMaterialRequest) SetDeviceType(deviceType string) error
- func (r *TaobaoTbkDgOptimusMaterialRequest) SetDeviceValue(deviceValue string) error
- func (r *TaobaoTbkDgOptimusMaterialRequest) SetFavoritesId(favoritesId string) error
- func (r *TaobaoTbkDgOptimusMaterialRequest) SetItemId(itemId int64) error
- func (r *TaobaoTbkDgOptimusMaterialRequest) SetMaterialId(materialId int64) error
- func (r *TaobaoTbkDgOptimusMaterialRequest) SetPageNo(pageNo int64) error
- func (r *TaobaoTbkDgOptimusMaterialRequest) SetPageSize(pageSize int64) error
- type TaobaoTbkDgOptimusMaterialResponse
- type TaobaoTbkDgOptimusPromotionAPIResponse
- type TaobaoTbkDgOptimusPromotionMapData
- type TaobaoTbkDgOptimusPromotionRequest
- func (r TaobaoTbkDgOptimusPromotionRequest) GetAdzoneId() int64
- func (r TaobaoTbkDgOptimusPromotionRequest) GetApiMethodName() string
- func (r TaobaoTbkDgOptimusPromotionRequest) GetApiParams() url.Values
- func (r TaobaoTbkDgOptimusPromotionRequest) GetPageNum() int64
- func (r TaobaoTbkDgOptimusPromotionRequest) GetPageSize() int64
- func (r TaobaoTbkDgOptimusPromotionRequest) GetPromotionId() int64
- func (r *TaobaoTbkDgOptimusPromotionRequest) SetAdzoneId(adzoneId int64) error
- func (r *TaobaoTbkDgOptimusPromotionRequest) SetPageNum(pageNum int64) error
- func (r *TaobaoTbkDgOptimusPromotionRequest) SetPageSize(pageSize int64) error
- func (r *TaobaoTbkDgOptimusPromotionRequest) SetPromotionId(promotionId int64) error
- type TaobaoTbkDgOptimusPromotionResponse
- type TaobaoTbkDgPunishOrderGetAPIResponse
- type TaobaoTbkDgPunishOrderGetRequest
- func (r TaobaoTbkDgPunishOrderGetRequest) GetAfOrderOption() *TopApiAfOrderOption
- func (r TaobaoTbkDgPunishOrderGetRequest) GetApiMethodName() string
- func (r TaobaoTbkDgPunishOrderGetRequest) GetApiParams() url.Values
- func (r *TaobaoTbkDgPunishOrderGetRequest) SetAfOrderOption(afOrderOption *TopApiAfOrderOption) error
- type TaobaoTbkDgPunishOrderGetResponse
- type TaobaoTbkDgPunishOrderGetResult
- type TaobaoTbkDgPunishOrderGetRpcResult
- type TaobaoTbkDgVegasSendStatusAPIResponse
- type TaobaoTbkDgVegasSendStatusData
- type TaobaoTbkDgVegasSendStatusMapData
- type TaobaoTbkDgVegasSendStatusRequest
- func (r TaobaoTbkDgVegasSendStatusRequest) GetApiMethodName() string
- func (r TaobaoTbkDgVegasSendStatusRequest) GetApiParams() url.Values
- func (r TaobaoTbkDgVegasSendStatusRequest) GetDeviceType() string
- func (r TaobaoTbkDgVegasSendStatusRequest) GetDeviceValue() string
- func (r TaobaoTbkDgVegasSendStatusRequest) GetPid() string
- func (r TaobaoTbkDgVegasSendStatusRequest) GetRelationId() string
- func (r TaobaoTbkDgVegasSendStatusRequest) GetSpecialId() string
- func (r TaobaoTbkDgVegasSendStatusRequest) GetThorBizCode() string
- func (r *TaobaoTbkDgVegasSendStatusRequest) SetDeviceType(deviceType string) error
- func (r *TaobaoTbkDgVegasSendStatusRequest) SetDeviceValue(deviceValue string) error
- func (r *TaobaoTbkDgVegasSendStatusRequest) SetPid(pid string) error
- func (r *TaobaoTbkDgVegasSendStatusRequest) SetRelationId(relationId string) error
- func (r *TaobaoTbkDgVegasSendStatusRequest) SetSpecialId(specialId string) error
- func (r *TaobaoTbkDgVegasSendStatusRequest) SetThorBizCode(thorBizCode string) error
- type TaobaoTbkDgVegasSendStatusResponse
- type TaobaoTbkDgVegasTljCreateAPIResponse
- type TaobaoTbkDgVegasTljCreateRequest
- func (r TaobaoTbkDgVegasTljCreateRequest) GetAdzoneId() int64
- func (r TaobaoTbkDgVegasTljCreateRequest) GetApiMethodName() string
- func (r TaobaoTbkDgVegasTljCreateRequest) GetApiParams() url.Values
- func (r TaobaoTbkDgVegasTljCreateRequest) GetCampaignType() string
- func (r TaobaoTbkDgVegasTljCreateRequest) GetItemId() int64
- func (r TaobaoTbkDgVegasTljCreateRequest) GetName() string
- func (r TaobaoTbkDgVegasTljCreateRequest) GetPerFace() string
- func (r TaobaoTbkDgVegasTljCreateRequest) GetSecurityLevel() int64
- func (r TaobaoTbkDgVegasTljCreateRequest) GetSecuritySwitch() bool
- func (r TaobaoTbkDgVegasTljCreateRequest) GetSendEndTime() string
- func (r TaobaoTbkDgVegasTljCreateRequest) GetSendStartTime() string
- func (r TaobaoTbkDgVegasTljCreateRequest) GetTotalNum() int64
- func (r TaobaoTbkDgVegasTljCreateRequest) GetUseEndTime() string
- func (r TaobaoTbkDgVegasTljCreateRequest) GetUseEndTimeMode() int64
- func (r TaobaoTbkDgVegasTljCreateRequest) GetUseStartTime() string
- func (r TaobaoTbkDgVegasTljCreateRequest) GetUserTotalWinNumLimit() int64
- func (r *TaobaoTbkDgVegasTljCreateRequest) SetAdzoneId(adzoneId int64) error
- func (r *TaobaoTbkDgVegasTljCreateRequest) SetCampaignType(campaignType string) error
- func (r *TaobaoTbkDgVegasTljCreateRequest) SetItemId(itemId int64) error
- func (r *TaobaoTbkDgVegasTljCreateRequest) SetName(name string) error
- func (r *TaobaoTbkDgVegasTljCreateRequest) SetPerFace(perFace string) error
- func (r *TaobaoTbkDgVegasTljCreateRequest) SetSecurityLevel(securityLevel int64) error
- func (r *TaobaoTbkDgVegasTljCreateRequest) SetSecuritySwitch(securitySwitch bool) error
- func (r *TaobaoTbkDgVegasTljCreateRequest) SetSendEndTime(sendEndTime string) error
- func (r *TaobaoTbkDgVegasTljCreateRequest) SetSendStartTime(sendStartTime string) error
- func (r *TaobaoTbkDgVegasTljCreateRequest) SetTotalNum(totalNum int64) error
- func (r *TaobaoTbkDgVegasTljCreateRequest) SetUseEndTime(useEndTime string) error
- func (r *TaobaoTbkDgVegasTljCreateRequest) SetUseEndTimeMode(useEndTimeMode int64) error
- func (r *TaobaoTbkDgVegasTljCreateRequest) SetUseStartTime(useStartTime string) error
- func (r *TaobaoTbkDgVegasTljCreateRequest) SetUserTotalWinNumLimit(userTotalWinNumLimit int64) error
- type TaobaoTbkDgVegasTljCreateResponse
- type TaobaoTbkDgVegasTljCreateResult
- type TaobaoTbkDgVegasTljInstanceReportAPIResponse
- type TaobaoTbkDgVegasTljInstanceReportRequest
- func (r TaobaoTbkDgVegasTljInstanceReportRequest) GetApiMethodName() string
- func (r TaobaoTbkDgVegasTljInstanceReportRequest) GetApiParams() url.Values
- func (r TaobaoTbkDgVegasTljInstanceReportRequest) GetRightsId() string
- func (r *TaobaoTbkDgVegasTljInstanceReportRequest) SetRightsId(rightsId string) error
- type TaobaoTbkDgVegasTljInstanceReportResponse
- type TaobaoTbkDgVegasTljInstanceReportResult
- type TaobaoTbkItemInfoGetAPIResponse
- type TaobaoTbkItemInfoGetRequest
- func (r TaobaoTbkItemInfoGetRequest) GetApiMethodName() string
- func (r TaobaoTbkItemInfoGetRequest) GetApiParams() url.Values
- func (r TaobaoTbkItemInfoGetRequest) GetIp() string
- func (r TaobaoTbkItemInfoGetRequest) GetNumIids() string
- func (r TaobaoTbkItemInfoGetRequest) GetPlatform() int64
- func (r *TaobaoTbkItemInfoGetRequest) SetIp(ip string) error
- func (r *TaobaoTbkItemInfoGetRequest) SetNumIids(numIids string) error
- func (r *TaobaoTbkItemInfoGetRequest) SetPlatform(platform int64) error
- type TaobaoTbkItemInfoGetResponse
- type TaobaoTbkScInvitecodeGetAPIResponse
- type TaobaoTbkScInvitecodeGetData
- type TaobaoTbkScInvitecodeGetRequest
- func (r TaobaoTbkScInvitecodeGetRequest) GetApiMethodName() string
- func (r TaobaoTbkScInvitecodeGetRequest) GetApiParams() url.Values
- func (r TaobaoTbkScInvitecodeGetRequest) GetCodeType() int64
- func (r TaobaoTbkScInvitecodeGetRequest) GetRelationApp() string
- func (r TaobaoTbkScInvitecodeGetRequest) GetRelationId() int64
- func (r *TaobaoTbkScInvitecodeGetRequest) SetCodeType(codeType int64) error
- func (r *TaobaoTbkScInvitecodeGetRequest) SetRelationApp(relationApp string) error
- func (r *TaobaoTbkScInvitecodeGetRequest) SetRelationId(relationId int64) error
- type TaobaoTbkScInvitecodeGetResponse
- type TaobaoTbkScPublisherInfoGetAPIResponse
- type TaobaoTbkScPublisherInfoGetData
- type TaobaoTbkScPublisherInfoGetMapData
- type TaobaoTbkScPublisherInfoGetRequest
- func (r TaobaoTbkScPublisherInfoGetRequest) GetApiMethodName() string
- func (r TaobaoTbkScPublisherInfoGetRequest) GetApiParams() url.Values
- func (r TaobaoTbkScPublisherInfoGetRequest) GetExternalId() string
- func (r TaobaoTbkScPublisherInfoGetRequest) GetExternalType() int64
- func (r TaobaoTbkScPublisherInfoGetRequest) GetInfoType() int64
- func (r TaobaoTbkScPublisherInfoGetRequest) GetPageNo() int64
- func (r TaobaoTbkScPublisherInfoGetRequest) GetPageSize() int64
- func (r TaobaoTbkScPublisherInfoGetRequest) GetRelationApp() string
- func (r TaobaoTbkScPublisherInfoGetRequest) GetRelationId() int64
- func (r TaobaoTbkScPublisherInfoGetRequest) GetSpecialId() string
- func (r *TaobaoTbkScPublisherInfoGetRequest) SetExternalId(externalId string) error
- func (r *TaobaoTbkScPublisherInfoGetRequest) SetExternalType(externalType int64) error
- func (r *TaobaoTbkScPublisherInfoGetRequest) SetInfoType(infoType int64) error
- func (r *TaobaoTbkScPublisherInfoGetRequest) SetPageNo(pageNo int64) error
- func (r *TaobaoTbkScPublisherInfoGetRequest) SetPageSize(pageSize int64) error
- func (r *TaobaoTbkScPublisherInfoGetRequest) SetRelationApp(relationApp string) error
- func (r *TaobaoTbkScPublisherInfoGetRequest) SetRelationId(relationId int64) error
- func (r *TaobaoTbkScPublisherInfoGetRequest) SetSpecialId(specialId string) error
- type TaobaoTbkScPublisherInfoGetResponse
- type TaobaoTbkScPublisherInfoSaveAPIResponse
- type TaobaoTbkScPublisherInfoSaveData
- type TaobaoTbkScPublisherInfoSaveRequest
- func (r TaobaoTbkScPublisherInfoSaveRequest) GetApiMethodName() string
- func (r TaobaoTbkScPublisherInfoSaveRequest) GetApiParams() url.Values
- func (r TaobaoTbkScPublisherInfoSaveRequest) GetInfoType() int64
- func (r TaobaoTbkScPublisherInfoSaveRequest) GetInviterCode() string
- func (r TaobaoTbkScPublisherInfoSaveRequest) GetNote() string
- func (r TaobaoTbkScPublisherInfoSaveRequest) GetOfflineScene() string
- func (r TaobaoTbkScPublisherInfoSaveRequest) GetOnlineScene() string
- func (r TaobaoTbkScPublisherInfoSaveRequest) GetRegisterInfo() string
- func (r TaobaoTbkScPublisherInfoSaveRequest) GetRelationFrom() string
- func (r *TaobaoTbkScPublisherInfoSaveRequest) SetInfoType(infoType int64) error
- func (r *TaobaoTbkScPublisherInfoSaveRequest) SetInviterCode(inviterCode string) error
- func (r *TaobaoTbkScPublisherInfoSaveRequest) SetNote(note string) error
- func (r *TaobaoTbkScPublisherInfoSaveRequest) SetOfflineScene(offlineScene string) error
- func (r *TaobaoTbkScPublisherInfoSaveRequest) SetOnlineScene(onlineScene string) error
- func (r *TaobaoTbkScPublisherInfoSaveRequest) SetRegisterInfo(registerInfo string) error
- func (r *TaobaoTbkScPublisherInfoSaveRequest) SetRelationFrom(relationFrom string) error
- type TaobaoTbkScPublisherInfoSaveResponse
- type TaobaoTbkShopGetAPIResponse
- type TaobaoTbkShopGetRequest
- func (r TaobaoTbkShopGetRequest) GetApiMethodName() string
- func (r TaobaoTbkShopGetRequest) GetApiParams() url.Values
- func (r TaobaoTbkShopGetRequest) GetEndAuctionCount() int64
- func (r TaobaoTbkShopGetRequest) GetEndCommissionRate() int64
- func (r TaobaoTbkShopGetRequest) GetEndCredit() int64
- func (r TaobaoTbkShopGetRequest) GetEndTotalAction() int64
- func (r TaobaoTbkShopGetRequest) GetFields() string
- func (r TaobaoTbkShopGetRequest) GetIsTmall() bool
- func (r TaobaoTbkShopGetRequest) GetPageNo() int64
- func (r TaobaoTbkShopGetRequest) GetPageSize() int64
- func (r TaobaoTbkShopGetRequest) GetPlatform() int64
- func (r TaobaoTbkShopGetRequest) GetQ() string
- func (r TaobaoTbkShopGetRequest) GetSort() string
- func (r TaobaoTbkShopGetRequest) GetStartAuctionCount() int64
- func (r TaobaoTbkShopGetRequest) GetStartCommissionRate() int64
- func (r TaobaoTbkShopGetRequest) GetStartCredit() int64
- func (r TaobaoTbkShopGetRequest) GetStartTotalAction() int64
- func (r *TaobaoTbkShopGetRequest) SetEndAuctionCount(endAuctionCount int64) error
- func (r *TaobaoTbkShopGetRequest) SetEndCommissionRate(endCommissionRate int64) error
- func (r *TaobaoTbkShopGetRequest) SetEndCredit(endCredit int64) error
- func (r *TaobaoTbkShopGetRequest) SetEndTotalAction(endTotalAction int64) error
- func (r *TaobaoTbkShopGetRequest) SetFields(fields string) error
- func (r *TaobaoTbkShopGetRequest) SetIsTmall(isTmall bool) error
- func (r *TaobaoTbkShopGetRequest) SetPageNo(pageNo int64) error
- func (r *TaobaoTbkShopGetRequest) SetPageSize(pageSize int64) error
- func (r *TaobaoTbkShopGetRequest) SetPlatform(platform int64) error
- func (r *TaobaoTbkShopGetRequest) SetQ(q string) error
- func (r *TaobaoTbkShopGetRequest) SetSort(sort string) error
- func (r *TaobaoTbkShopGetRequest) SetStartAuctionCount(startAuctionCount int64) error
- func (r *TaobaoTbkShopGetRequest) SetStartCommissionRate(startCommissionRate int64) error
- func (r *TaobaoTbkShopGetRequest) SetStartCredit(startCredit int64) error
- func (r *TaobaoTbkShopGetRequest) SetStartTotalAction(startTotalAction int64) error
- type TaobaoTbkShopGetResponse
- type TaobaoTbkShopRecommendGetAPIResponse
- type TaobaoTbkShopRecommendGetRequest
- func (r TaobaoTbkShopRecommendGetRequest) GetApiMethodName() string
- func (r TaobaoTbkShopRecommendGetRequest) GetApiParams() url.Values
- func (r TaobaoTbkShopRecommendGetRequest) GetCount() int64
- func (r TaobaoTbkShopRecommendGetRequest) GetFields() string
- func (r TaobaoTbkShopRecommendGetRequest) GetPlatform() int64
- func (r TaobaoTbkShopRecommendGetRequest) GetUserId() int64
- func (r *TaobaoTbkShopRecommendGetRequest) SetCount(count int64) error
- func (r *TaobaoTbkShopRecommendGetRequest) SetFields(fields string) error
- func (r *TaobaoTbkShopRecommendGetRequest) SetPlatform(platform int64) error
- func (r *TaobaoTbkShopRecommendGetRequest) SetUserId(userId int64) error
- type TaobaoTbkShopRecommendGetResponse
- type TaobaoTbkSkuBestCouponAPIResponse
- type TaobaoTbkSkuBestCouponMapData
- type TaobaoTbkSkuBestCouponRequest
- func (r TaobaoTbkSkuBestCouponRequest) GetApiMethodName() string
- func (r TaobaoTbkSkuBestCouponRequest) GetApiParams() url.Values
- func (r TaobaoTbkSkuBestCouponRequest) GetItemId() int64
- func (r TaobaoTbkSkuBestCouponRequest) GetSkuId() int64
- func (r *TaobaoTbkSkuBestCouponRequest) SetItemId(itemId int64) error
- func (r *TaobaoTbkSkuBestCouponRequest) SetSkuId(skuId int64) error
- type TaobaoTbkSkuBestCouponResponse
- type TaobaoTbkSpreadGetAPIResponse
- type TaobaoTbkSpreadGetRequest
- type TaobaoTbkSpreadGetResponse
- type TaobaoTbkTpwdCreateAPIResponse
- type TaobaoTbkTpwdCreateMapData
- type TaobaoTbkTpwdCreateRequest
- func (r TaobaoTbkTpwdCreateRequest) GetApiMethodName() string
- func (r TaobaoTbkTpwdCreateRequest) GetApiParams() url.Values
- func (r TaobaoTbkTpwdCreateRequest) GetExt() string
- func (r TaobaoTbkTpwdCreateRequest) GetLogo() string
- func (r TaobaoTbkTpwdCreateRequest) GetText() string
- func (r TaobaoTbkTpwdCreateRequest) GetUrl() string
- func (r TaobaoTbkTpwdCreateRequest) GetUserId() string
- func (r *TaobaoTbkTpwdCreateRequest) SetExt(ext string) error
- func (r *TaobaoTbkTpwdCreateRequest) SetLogo(logo string) error
- func (r *TaobaoTbkTpwdCreateRequest) SetText(text string) error
- func (r *TaobaoTbkTpwdCreateRequest) SetUrl(url string) error
- func (r *TaobaoTbkTpwdCreateRequest) SetUserId(userId string) error
- type TaobaoTbkTpwdCreateResponse
- type TbkSpread
- type TbkSpreadRequest
- type TljInstanceReportDto
- type TopApiAfOrderOption
- type TopNInfoDTO
- type Ucrowdrankitems
- type UserRuleInfo
- type WordMapData
- type Youjiacouponinfo
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FavoritesDetail ¶
type FavoritesDetail struct { // 选品库id FavoritesId int64 `json:"favorites_id,omitempty" xml:"favorites_id,omitempty"` // 选品库标题 FavoritesTitle string `json:"favorites_title,omitempty" xml:"favorites_title,omitempty"` }
FavoritesDetail
type FavoritesInfo ¶
type FavoritesInfo struct { // 选品库总数量 TotalCount int64 `json:"total_count,omitempty" xml:"total_count,omitempty"` // 选品库详细信息 FavoritesList []FavoritesDetail `json:"favorites_list,omitempty" xml:"favorites_list>favorites_detail,omitempty"` }
FavoritesInfo
type FoodMapData ¶
type FoodMapData struct { // 本地化-商品图片 FoodPic string `json:"food_pic,omitempty" xml:"food_pic,omitempty"` // 本地化-商品标题 FoodTitle string `json:"food_title,omitempty" xml:"food_title,omitempty"` // 本地化-商品促销价 FoodPromotionPrice string `json:"food_promotion_price,omitempty" xml:"food_promotion_price,omitempty"` // 本地化-商品原价 FoodReservePrice string `json:"food_reserve_price,omitempty" xml:"food_reserve_price,omitempty"` }
FoodMapData
type LocalizationMapData ¶
type LocalizationMapData struct { // 本地化-配送时间 OrderLeadTime string `json:"order_lead_time,omitempty" xml:"order_lead_time,omitempty"` // 本地化-用户评分 UserRating string `json:"user_rating,omitempty" xml:"user_rating,omitempty"` // 本地化-起送价 DeliveryMinPrice string `json:"delivery_min_price,omitempty" xml:"delivery_min_price,omitempty"` // 本地化-配送费 DeliveryFee string `json:"delivery_fee,omitempty" xml:"delivery_fee,omitempty"` // 本地化-配送费原价 OriginalDeliveryFee string `json:"original_delivery_fee,omitempty" xml:"original_delivery_fee,omitempty"` // 本地化-配送类型;0:蜂鸟专送 1:蜂鸟快送 2:商家自配 3: 全城送 DeliveryType string `json:"delivery_type,omitempty" xml:"delivery_type,omitempty"` // 本地化-推荐理由 RecommendReasons []string `json:"recommend_reasons,omitempty" xml:"recommend_reasons>string,omitempty"` // 本地化-营销标签 SaleTags []string `json:"sale_tags,omitempty" xml:"sale_tags>string,omitempty"` // 本地化-单店商品列表 FoodItemList []FoodMapData `json:"food_item_list,omitempty" xml:"food_item_list>food_map_data,omitempty"` }
LocalizationMapData
type NTbkItem ¶
type NTbkItem struct { // 一级类目名称 CatName string `json:"cat_name,omitempty" xml:"cat_name,omitempty"` // 商品ID NumIid int64 `json:"num_iid,omitempty" xml:"num_iid,omitempty"` // 商品标题 Title string `json:"title,omitempty" xml:"title,omitempty"` // 商品主图 PictUrl string `json:"pict_url,omitempty" xml:"pict_url,omitempty"` // 商品小图列表 SmallImages []string `json:"small_images,omitempty" xml:"small_images>string,omitempty"` // 商品一口价格 ReservePrice string `json:"reserve_price,omitempty" xml:"reserve_price,omitempty"` // 折扣价(元) 若属于预售商品,付定金时间内,折扣价=预售价 ZkFinalPrice string `json:"zk_final_price,omitempty" xml:"zk_final_price,omitempty"` // 卖家类型,0表示集市,1表示商城,3表示特价版 UserType int64 `json:"user_type,omitempty" xml:"user_type,omitempty"` // 商品所在地 Provcity string `json:"provcity,omitempty" xml:"provcity,omitempty"` // 商品链接 ItemUrl string `json:"item_url,omitempty" xml:"item_url,omitempty"` // 卖家id SellerId int64 `json:"seller_id,omitempty" xml:"seller_id,omitempty"` // 30天销量 Volume int64 `json:"volume,omitempty" xml:"volume,omitempty"` // 店铺名称 Nick string `json:"nick,omitempty" xml:"nick,omitempty"` // 叶子类目名称 CatLeafName string `json:"cat_leaf_name,omitempty" xml:"cat_leaf_name,omitempty"` // 是否加入消费者保障 IsPrepay bool `json:"is_prepay,omitempty" xml:"is_prepay,omitempty"` // 店铺dsr 评分 ShopDsr int64 `json:"shop_dsr,omitempty" xml:"shop_dsr,omitempty"` // 卖家等级 Ratesum int64 `json:"ratesum,omitempty" xml:"ratesum,omitempty"` // 退款率是否低于行业均值 IRfdRate bool `json:"i_rfd_rate,omitempty" xml:"i_rfd_rate,omitempty"` // 好评率是否高于行业均值 HGoodRate bool `json:"h_good_rate,omitempty" xml:"h_good_rate,omitempty"` // 成交转化是否高于行业均值 HPayRate30 bool `json:"h_pay_rate30,omitempty" xml:"h_pay_rate30,omitempty"` // 是否包邮 FreeShipment bool `json:"free_shipment,omitempty" xml:"free_shipment,omitempty"` // 商品库类型,支持多库类型输出,以英文逗号分隔“,”分隔,1:营销商品主推库,如果值为空则不属于1这种商品类型 MaterialLibType string `json:"material_lib_type,omitempty" xml:"material_lib_type,omitempty"` // 预售商品-商品优惠信息 PresaleDiscountFeeText string `json:"presale_discount_fee_text,omitempty" xml:"presale_discount_fee_text,omitempty"` // 预售商品-付定金结束时间(毫秒) PresaleTailEndTime int64 `json:"presale_tail_end_time,omitempty" xml:"presale_tail_end_time,omitempty"` // 预售商品-付尾款开始时间(毫秒) PresaleTailStartTime int64 `json:"presale_tail_start_time,omitempty" xml:"presale_tail_start_time,omitempty"` // 预售商品-付定金结束时间(毫秒) PresaleEndTime int64 `json:"presale_end_time,omitempty" xml:"presale_end_time,omitempty"` // 预售商品-付定金开始时间(毫秒) PresaleStartTime int64 `json:"presale_start_time,omitempty" xml:"presale_start_time,omitempty"` // 预售商品-定金(元) PresaleDeposit string `json:"presale_deposit,omitempty" xml:"presale_deposit,omitempty"` // 聚划算满减 -结束时间(毫秒) JuPlayEndTime int64 `json:"ju_play_end_time,omitempty" xml:"ju_play_end_time,omitempty"` // 聚划算满减 -开始时间(毫秒) JuPlayStartTime int64 `json:"ju_play_start_time,omitempty" xml:"ju_play_start_time,omitempty"` // 1聚划算满减:满N件减X元,满N件X折,满N件X元) 2天猫限时抢:前N分钟每件X元,前N分钟满N件每件X元,前N件每件X元) PlayInfo string `json:"play_info,omitempty" xml:"play_info,omitempty"` // 天猫限时抢可售 -结束时间(毫秒) TmallPlayActivityEndTime int64 `json:"tmall_play_activity_end_time,omitempty" xml:"tmall_play_activity_end_time,omitempty"` // 天猫限时抢可售 -开始时间(毫秒) TmallPlayActivityStartTime int64 `json:"tmall_play_activity_start_time,omitempty" xml:"tmall_play_activity_start_time,omitempty"` // 聚划算信息-聚淘开始时间(毫秒) JuOnlineStartTime string `json:"ju_online_start_time,omitempty" xml:"ju_online_start_time,omitempty"` // 聚划算信息-聚淘结束时间(毫秒) JuOnlineEndTime string `json:"ju_online_end_time,omitempty" xml:"ju_online_end_time,omitempty"` // 聚划算信息-商品预热开始时间(毫秒) JuPreShowStartTime string `json:"ju_pre_show_start_time,omitempty" xml:"ju_pre_show_start_time,omitempty"` // 聚划算信息-商品预热结束时间(毫秒) JuPreShowEndTime string `json:"ju_pre_show_end_time,omitempty" xml:"ju_pre_show_end_time,omitempty"` // 活动价 SalePrice string `json:"sale_price,omitempty" xml:"sale_price,omitempty"` // 跨店满减信息 KuadianPromotionInfo string `json:"kuadian_promotion_info,omitempty" xml:"kuadian_promotion_info,omitempty"` // 是否品牌精选,0不是,1是 SuperiorBrand string `json:"superior_brand,omitempty" xml:"superior_brand,omitempty"` // 是否是热门商品,0不是,1是 HotFlag string `json:"hot_flag,omitempty" xml:"hot_flag,omitempty"` }
NTbkItem
type NTbkShop ¶
type NTbkShop struct { // 卖家ID UserId int64 `json:"user_id,omitempty" xml:"user_id,omitempty"` // 店铺名称 ShopTitle string `json:"shop_title,omitempty" xml:"shop_title,omitempty"` // 店铺类型,B:天猫,C:淘宝 ShopType string `json:"shop_type,omitempty" xml:"shop_type,omitempty"` // 卖家昵称 SellerNick string `json:"seller_nick,omitempty" xml:"seller_nick,omitempty"` // 店标图片 PictUrl string `json:"pict_url,omitempty" xml:"pict_url,omitempty"` // 店铺地址 ShopUrl string `json:"shop_url,omitempty" xml:"shop_url,omitempty"` }
NTbkShop
type OrderData ¶
type OrderData struct { // 预估佣金 Commission string `json:"commission,omitempty" xml:"commission,omitempty"` // 收货时间 ConfirmReceiveTime string `json:"confirm_receive_time,omitempty" xml:"confirm_receive_time,omitempty"` // 支付时间 PayTime string `json:"pay_time,omitempty" xml:"pay_time,omitempty"` // 订单号 OrderNo string `json:"order_no,omitempty" xml:"order_no,omitempty"` }
OrderData
type PageResult ¶
type PageResult struct { // 翻页的pageno PageNo int64 `json:"page_no,omitempty" xml:"page_no,omitempty"` // 翻页的pagesie PageSize int64 `json:"page_size,omitempty" xml:"page_size,omitempty"` // 一共能查询出来的结果总数 TotalCount int64 `json:"total_count,omitempty" xml:"total_count,omitempty"` // 处罚订单列表 Results []TaobaoTbkDgPunishOrderGetResult `json:"results,omitempty" xml:"results>taobao_tbk_dg_punish_order_get_result,omitempty"` }
PageResult
type PromotionExtend ¶
type PromotionExtend struct { // 权益推荐商品 RecommendItemList []RecommendItemList `json:"recommend_item_list,omitempty" xml:"recommend_item_list>recommend_item_list,omitempty"` // 有价券信息 YoujiaCouponInfo *Youjiacouponinfo `json:"youjia_coupon_info,omitempty" xml:"youjia_coupon_info,omitempty"` // 权益链接 PromotionUrl string `json:"promotion_url,omitempty" xml:"promotion_url,omitempty"` }
PromotionExtend
type PromotionList ¶
type PromotionList struct { // 权益开始时间,精确到毫秒时间戳 EntryUsedStartTime string `json:"entry_used_start_time,omitempty" xml:"entry_used_start_time,omitempty"` // 权益结束时间,精确到毫秒时间戳 EntryUsedEndTime string `json:"entry_used_end_time,omitempty" xml:"entry_used_end_time,omitempty"` // 权益起用门槛,满X元可用,券场景为满元,精确到分,如满100元可用 EntryCondition string `json:"entry_condition,omitempty" xml:"entry_condition,omitempty"` // 权益面额,券场景为减钱,精确到分 EntryDiscount string `json:"entry_discount,omitempty" xml:"entry_discount,omitempty"` }
PromotionList
type RecommendItemList ¶
type RecommendItemList struct { // 权益推荐商品id ItemId int64 `json:"item_id,omitempty" xml:"item_id,omitempty"` // 商品链接 Url string `json:"url,omitempty" xml:"url,omitempty"` }
RecommendItemList
type RegisterInfoDto ¶
type RegisterInfoDto struct { // 渠道独有 -店铺名称 ShopName string `json:"shop_name,omitempty" xml:"shop_name,omitempty"` // 渠道独有 -店铺类型 ShopType string `json:"shop_type,omitempty" xml:"shop_type,omitempty"` // 渠道独有 -手机号码 PhoneNumber string `json:"phone_number,omitempty" xml:"phone_number,omitempty"` // 渠道独有 -详细地址 DetailAddress string `json:"detail_address,omitempty" xml:"detail_address,omitempty"` // 渠道独有 -地区 Location string `json:"location,omitempty" xml:"location,omitempty"` // 渠道独有 -证件类型 ShopCertifyType string `json:"shop_certify_type,omitempty" xml:"shop_certify_type,omitempty"` // 渠道独有 -对应的证件证件类型编号 CertifyNumber string `json:"certify_number,omitempty" xml:"certify_number,omitempty"` // 渠道独有 -经营类型 Career string `json:"career,omitempty" xml:"career,omitempty"` }
RegisterInfoDto
type RightsInstanceCreateResult ¶
type RightsInstanceCreateResult struct { // 淘礼金Id RightsId string `json:"rights_id,omitempty" xml:"rights_id,omitempty"` // 淘礼金领取Url SendUrl string `json:"send_url,omitempty" xml:"send_url,omitempty"` // 投放code【百川商品详情页业务专用】 VegasCode string `json:"vegas_code,omitempty" xml:"vegas_code,omitempty"` // 创建完成后资金账户可用资金,单位元,保留2位小数 AvailableFee string `json:"available_fee,omitempty" xml:"available_fee,omitempty"` }
RightsInstanceCreateResult
type TaobaoTbkActivityInfoGetAPIResponse ¶
type TaobaoTbkActivityInfoGetAPIResponse struct { model.CommonResponse TaobaoTbkActivityInfoGetResponse }
淘宝客-推广者-官方活动转链 API返回值 taobao.tbk.activity.info.get
支持入参推广位和官方活动会场ID,获取活动信息和推广链接,包含推广长链接、短链接、淘口令、微信推广二维码地址等。改该API支持二方、三方类型的转链。官方活动会场ID,从淘宝客后台“我要推广-活动推广”中获取。
type TaobaoTbkActivityInfoGetData ¶
type TaobaoTbkActivityInfoGetData struct { // 【本地化】微信推广二维码地址 WxQrcodeUrl string `json:"wx_qrcode_url,omitempty" xml:"wx_qrcode_url,omitempty"` // 淘客推广长链 ClickUrl string `json:"click_url,omitempty" xml:"click_url,omitempty"` // 淘客推广短链 ShortClickUrl string `json:"short_click_url,omitempty" xml:"short_click_url,omitempty"` // 投放平台, 1-PC 2-无线 TerminalType string `json:"terminal_type,omitempty" xml:"terminal_type,omitempty"` // 物料素材下载地址 MaterialOssUrl string `json:"material_oss_url,omitempty" xml:"material_oss_url,omitempty"` // 会场名称 PageName string `json:"page_name,omitempty" xml:"page_name,omitempty"` // 活动开始时间 PageStartTime string `json:"page_start_time,omitempty" xml:"page_start_time,omitempty"` // 活动结束时间 PageEndTime string `json:"page_end_time,omitempty" xml:"page_end_time,omitempty"` // 【本地化】微信小程序路径 WxMiniprogramPath string `json:"wx_miniprogram_path,omitempty" xml:"wx_miniprogram_path,omitempty"` }
TaobaoTbkActivityInfoGetData
type TaobaoTbkActivityInfoGetRequest ¶
type TaobaoTbkActivityInfoGetRequest struct { model.Params // contains filtered or unexported fields }
淘宝客-推广者-官方活动转链 API请求 taobao.tbk.activity.info.get
支持入参推广位和官方活动会场ID,获取活动信息和推广链接,包含推广长链接、短链接、淘口令、微信推广二维码地址等。改该API支持二方、三方类型的转链。官方活动会场ID,从淘宝客后台“我要推广-活动推广”中获取。
func NewTaobaoTbkActivityInfoGetRequest ¶
func NewTaobaoTbkActivityInfoGetRequest() *TaobaoTbkActivityInfoGetRequest
初始化TaobaoTbkActivityInfoGetRequest对象
func (TaobaoTbkActivityInfoGetRequest) GetActivityMaterialId ¶
func (r TaobaoTbkActivityInfoGetRequest) GetActivityMaterialId() string
ActivityMaterialId Getter
func (TaobaoTbkActivityInfoGetRequest) GetAdzoneId ¶
func (r TaobaoTbkActivityInfoGetRequest) GetAdzoneId() int64
AdzoneId Getter
func (TaobaoTbkActivityInfoGetRequest) GetApiMethodName ¶
func (r TaobaoTbkActivityInfoGetRequest) GetApiMethodName() string
IRequest interface 方法, 获取Api method
func (TaobaoTbkActivityInfoGetRequest) GetApiParams ¶
func (r TaobaoTbkActivityInfoGetRequest) GetApiParams() url.Values
IRequest interface 方法, 获取API参数
func (TaobaoTbkActivityInfoGetRequest) GetRelationId ¶
func (r TaobaoTbkActivityInfoGetRequest) GetRelationId() int64
RelationId Getter
func (TaobaoTbkActivityInfoGetRequest) GetSubPid ¶
func (r TaobaoTbkActivityInfoGetRequest) GetSubPid() string
SubPid Getter
func (TaobaoTbkActivityInfoGetRequest) GetUnionId ¶
func (r TaobaoTbkActivityInfoGetRequest) GetUnionId() string
UnionId Getter
func (*TaobaoTbkActivityInfoGetRequest) SetActivityMaterialId ¶
func (r *TaobaoTbkActivityInfoGetRequest) SetActivityMaterialId(activityMaterialId string) error
ActivityMaterialId Setter 官方活动会场ID,从淘宝客后台“我要推广-活动推广”中获取
func (*TaobaoTbkActivityInfoGetRequest) SetAdzoneId ¶
func (r *TaobaoTbkActivityInfoGetRequest) SetAdzoneId(adzoneId int64) error
AdzoneId Setter mm_xxx_xxx_xxx的第三位
func (*TaobaoTbkActivityInfoGetRequest) SetRelationId ¶
func (r *TaobaoTbkActivityInfoGetRequest) SetRelationId(relationId int64) error
RelationId Setter 渠道关系id
func (*TaobaoTbkActivityInfoGetRequest) SetSubPid ¶
func (r *TaobaoTbkActivityInfoGetRequest) SetSubPid(subPid string) error
SubPid Setter mm_xxx_xxx_xxx 仅三方分成场景使用
func (*TaobaoTbkActivityInfoGetRequest) SetUnionId ¶
func (r *TaobaoTbkActivityInfoGetRequest) SetUnionId(unionId string) error
UnionId Setter 自定义输入串,英文和数字组成,长度不能大于12个字符,区分不同的推广渠道
type TaobaoTbkActivityInfoGetResponse ¶
type TaobaoTbkActivityInfoGetResponse struct { XMLName xml.Name `xml:"tbk_activity_info_get_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 返回结果对象 Data *TaobaoTbkActivityInfoGetData `json:"data,omitempty" xml:"data,omitempty"` }
淘宝客-推广者-官方活动转链 成功返回结果
type TaobaoTbkCartCouponExpireUserQueryAPIResponse ¶
type TaobaoTbkCartCouponExpireUserQueryAPIResponse struct { model.CommonResponse TaobaoTbkCartCouponExpireUserQueryResponse }
购物车催付优惠券到期查询用户信息 API返回值 taobao.tbk.cart.coupon.expire.user.query
购物车催付根据对应规则查询用户信息。
type TaobaoTbkCartCouponExpireUserQueryMapData ¶
type TaobaoTbkCartCouponExpireUserQueryMapData struct { // 商品ID对应的sku集合 SkuIdList []int64 `json:"sku_id_list,omitempty" xml:"sku_id_list>int64,omitempty"` // 商品ID ItemId int64 `json:"item_id,omitempty" xml:"item_id,omitempty"` }
TaobaoTbkCartCouponExpireUserQueryMapData
type TaobaoTbkCartCouponExpireUserQueryRequest ¶
type TaobaoTbkCartCouponExpireUserQueryRequest struct { model.Params // contains filtered or unexported fields }
购物车催付优惠券到期查询用户信息 API请求 taobao.tbk.cart.coupon.expire.user.query
购物车催付根据对应规则查询用户信息。
func NewTaobaoTbkCartCouponExpireUserQueryRequest ¶
func NewTaobaoTbkCartCouponExpireUserQueryRequest() *TaobaoTbkCartCouponExpireUserQueryRequest
初始化TaobaoTbkCartCouponExpireUserQueryRequest对象
func (TaobaoTbkCartCouponExpireUserQueryRequest) GetApiMethodName ¶
func (r TaobaoTbkCartCouponExpireUserQueryRequest) GetApiMethodName() string
IRequest interface 方法, 获取Api method
func (TaobaoTbkCartCouponExpireUserQueryRequest) GetApiParams ¶
func (r TaobaoTbkCartCouponExpireUserQueryRequest) GetApiParams() url.Values
IRequest interface 方法, 获取API参数
func (TaobaoTbkCartCouponExpireUserQueryRequest) GetPageNum ¶
func (r TaobaoTbkCartCouponExpireUserQueryRequest) GetPageNum() int64
PageNum Getter
func (TaobaoTbkCartCouponExpireUserQueryRequest) GetPageSize ¶
func (r TaobaoTbkCartCouponExpireUserQueryRequest) GetPageSize() int64
PageSize Getter
func (TaobaoTbkCartCouponExpireUserQueryRequest) GetRuleId ¶
func (r TaobaoTbkCartCouponExpireUserQueryRequest) GetRuleId() string
RuleId Getter
func (*TaobaoTbkCartCouponExpireUserQueryRequest) SetPageNum ¶
func (r *TaobaoTbkCartCouponExpireUserQueryRequest) SetPageNum(pageNum int64) error
PageNum Setter 页码,从0开始
func (*TaobaoTbkCartCouponExpireUserQueryRequest) SetPageSize ¶
func (r *TaobaoTbkCartCouponExpireUserQueryRequest) SetPageSize(pageSize int64) error
PageSize Setter 每页大小
func (*TaobaoTbkCartCouponExpireUserQueryRequest) SetRuleId ¶
func (r *TaobaoTbkCartCouponExpireUserQueryRequest) SetRuleId(ruleId string) error
RuleId Setter 规则ID,由接口提供方分配
type TaobaoTbkCartCouponExpireUserQueryResponse ¶
type TaobaoTbkCartCouponExpireUserQueryResponse struct { XMLName xml.Name `xml:"tbk_cart_coupon_expire_user_query_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 用户规则信息集合 UserRuleInfoList []UserRuleInfo `json:"user_rule_info_list,omitempty" xml:"user_rule_info_list>user_rule_info,omitempty"` }
购物车催付优惠券到期查询用户信息 成功返回结果
type TaobaoTbkCouponGetAPIResponse ¶
type TaobaoTbkCouponGetAPIResponse struct { model.CommonResponse TaobaoTbkCouponGetResponse }
淘宝客-公用-阿里妈妈推广券详情查询 API返回值 taobao.tbk.coupon.get
传入商品ID+券ID(券ID已知情况下),或者传入me参数,均可查询阿里妈妈推广券详细信息。
type TaobaoTbkCouponGetMapData ¶
type TaobaoTbkCouponGetMapData struct { // 优惠券门槛金额 CouponStartFee string `json:"coupon_start_fee,omitempty" xml:"coupon_start_fee,omitempty"` // 优惠券剩余量 CouponRemainCount int64 `json:"coupon_remain_count,omitempty" xml:"coupon_remain_count,omitempty"` // 优惠券总量 CouponTotalCount int64 `json:"coupon_total_count,omitempty" xml:"coupon_total_count,omitempty"` // 优惠券结束时间 CouponEndTime string `json:"coupon_end_time,omitempty" xml:"coupon_end_time,omitempty"` // 优惠券开始时间 CouponStartTime string `json:"coupon_start_time,omitempty" xml:"coupon_start_time,omitempty"` // 优惠券金额 CouponAmount string `json:"coupon_amount,omitempty" xml:"coupon_amount,omitempty"` // 券类型,1 表示全网公开券,4 表示妈妈渠道券 CouponSrcScene int64 `json:"coupon_src_scene,omitempty" xml:"coupon_src_scene,omitempty"` // 券属性,0表示店铺券,1表示单品券 CouponType int64 `json:"coupon_type,omitempty" xml:"coupon_type,omitempty"` // 券ID CouponActivityId string `json:"coupon_activity_id,omitempty" xml:"coupon_activity_id,omitempty"` }
TaobaoTbkCouponGetMapData
type TaobaoTbkCouponGetRequest ¶
淘宝客-公用-阿里妈妈推广券详情查询 API请求 taobao.tbk.coupon.get
传入商品ID+券ID(券ID已知情况下),或者传入me参数,均可查询阿里妈妈推广券详细信息。
func NewTaobaoTbkCouponGetRequest ¶
func NewTaobaoTbkCouponGetRequest() *TaobaoTbkCouponGetRequest
初始化TaobaoTbkCouponGetRequest对象
func (TaobaoTbkCouponGetRequest) GetActivityId ¶
func (r TaobaoTbkCouponGetRequest) GetActivityId() string
ActivityId Getter
func (TaobaoTbkCouponGetRequest) GetApiMethodName ¶
func (r TaobaoTbkCouponGetRequest) GetApiMethodName() string
IRequest interface 方法, 获取Api method
func (TaobaoTbkCouponGetRequest) GetApiParams ¶
func (r TaobaoTbkCouponGetRequest) GetApiParams() url.Values
IRequest interface 方法, 获取API参数
func (TaobaoTbkCouponGetRequest) GetItemId ¶
func (r TaobaoTbkCouponGetRequest) GetItemId() int64
ItemId Getter
func (TaobaoTbkCouponGetRequest) GetMe ¶
func (r TaobaoTbkCouponGetRequest) GetMe() string
Me Getter
func (*TaobaoTbkCouponGetRequest) SetActivityId ¶
func (r *TaobaoTbkCouponGetRequest) SetActivityId(activityId string) error
ActivityId Setter 券ID
func (*TaobaoTbkCouponGetRequest) SetItemId ¶
func (r *TaobaoTbkCouponGetRequest) SetItemId(itemId int64) error
ItemId Setter 商品ID
func (*TaobaoTbkCouponGetRequest) SetMe ¶
func (r *TaobaoTbkCouponGetRequest) SetMe(me string) error
Me Setter 带券ID与商品ID的加密串
type TaobaoTbkCouponGetResponse ¶
type TaobaoTbkCouponGetResponse struct { XMLName xml.Name `xml:"tbk_coupon_get_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // data Data *TaobaoTbkCouponGetMapData `json:"data,omitempty" xml:"data,omitempty"` }
淘宝客-公用-阿里妈妈推广券详情查询 成功返回结果
type TaobaoTbkDgMaterialOptionalAPIResponse ¶
type TaobaoTbkDgMaterialOptionalAPIResponse struct { model.CommonResponse TaobaoTbkDgMaterialOptionalResponse }
淘宝客-推广者-物料搜索 API返回值 taobao.tbk.dg.material.optional
通用物料搜索API(导购)
type TaobaoTbkDgMaterialOptionalMapData ¶
type TaobaoTbkDgMaterialOptionalMapData struct { // 优惠券信息-优惠券开始时间 CouponStartTime string `json:"coupon_start_time,omitempty" xml:"coupon_start_time,omitempty"` // 优惠券信息-优惠券结束时间 CouponEndTime string `json:"coupon_end_time,omitempty" xml:"coupon_end_time,omitempty"` // 商品信息-定向计划信息 InfoDxjh string `json:"info_dxjh,omitempty" xml:"info_dxjh,omitempty"` // 商品信息-淘客30天推广量 TkTotalSales string `json:"tk_total_sales,omitempty" xml:"tk_total_sales,omitempty"` // 商品信息-月支出佣金(该字段废弃,请勿再用) TkTotalCommi string `json:"tk_total_commi,omitempty" xml:"tk_total_commi,omitempty"` // 优惠券信息-优惠券id CouponId string `json:"coupon_id,omitempty" xml:"coupon_id,omitempty"` // 商品信息-宝贝id(该字段废弃,请勿再用) NumIid int64 `json:"num_iid,omitempty" xml:"num_iid,omitempty"` // 商品信息-商品标题 Title string `json:"title,omitempty" xml:"title,omitempty"` // 商品信息-商品主图 PictUrl string `json:"pict_url,omitempty" xml:"pict_url,omitempty"` // 商品信息-商品小图列表 SmallImages []string `json:"small_images,omitempty" xml:"small_images>string,omitempty"` // 商品信息-商品一口价格 ReservePrice string `json:"reserve_price,omitempty" xml:"reserve_price,omitempty"` // 折扣价(元) 若属于预售商品,付定金时间内,折扣价=预售价 ZkFinalPrice string `json:"zk_final_price,omitempty" xml:"zk_final_price,omitempty"` // 店铺信息-卖家类型。0表示集市,1表示天猫 UserType int64 `json:"user_type,omitempty" xml:"user_type,omitempty"` // 商品信息-宝贝所在地 Provcity string `json:"provcity,omitempty" xml:"provcity,omitempty"` // 链接-宝贝地址 ItemUrl string `json:"item_url,omitempty" xml:"item_url,omitempty"` // 商品信息-是否包含营销计划 IncludeMkt string `json:"include_mkt,omitempty" xml:"include_mkt,omitempty"` // 商品信息-是否包含定向计划 IncludeDxjh string `json:"include_dxjh,omitempty" xml:"include_dxjh,omitempty"` // 商品信息-佣金比率。1550表示15.5% CommissionRate string `json:"commission_rate,omitempty" xml:"commission_rate,omitempty"` // 商品信息-30天销量(饿了么卡券信息-总销量) Volume int64 `json:"volume,omitempty" xml:"volume,omitempty"` // 店铺信息-卖家id SellerId int64 `json:"seller_id,omitempty" xml:"seller_id,omitempty"` // 优惠券信息-优惠券总量 CouponTotalCount int64 `json:"coupon_total_count,omitempty" xml:"coupon_total_count,omitempty"` // 优惠券信息-优惠券剩余量 CouponRemainCount int64 `json:"coupon_remain_count,omitempty" xml:"coupon_remain_count,omitempty"` // 优惠券信息-优惠券满减信息 CouponInfo string `json:"coupon_info,omitempty" xml:"coupon_info,omitempty"` // 商品信息-佣金类型。MKT表示营销计划,SP表示定向计划,COMMON表示通用计划 CommissionType string `json:"commission_type,omitempty" xml:"commission_type,omitempty"` // 店铺信息-店铺名称 ShopTitle string `json:"shop_title,omitempty" xml:"shop_title,omitempty"` // 店铺信息-店铺dsr评分 ShopDsr int64 `json:"shop_dsr,omitempty" xml:"shop_dsr,omitempty"` CouponShareUrl string `json:"coupon_share_url,omitempty" xml:"coupon_share_url,omitempty"` // 链接-宝贝推广链接 Url string `json:"url,omitempty" xml:"url,omitempty"` // 商品信息-一级类目名称 LevelOneCategoryName string `json:"level_one_category_name,omitempty" xml:"level_one_category_name,omitempty"` // 商品信息-一级类目ID LevelOneCategoryId int64 `json:"level_one_category_id,omitempty" xml:"level_one_category_id,omitempty"` // 商品信息-叶子类目名称 CategoryName string `json:"category_name,omitempty" xml:"category_name,omitempty"` // 商品信息-叶子类目id CategoryId int64 `json:"category_id,omitempty" xml:"category_id,omitempty"` // 商品信息-商品短标题 ShortTitle string `json:"short_title,omitempty" xml:"short_title,omitempty"` // 商品信息-商品白底图 WhiteImage string `json:"white_image,omitempty" xml:"white_image,omitempty"` // 拼团专用-拼团结束时间 Oetime string `json:"oetime,omitempty" xml:"oetime,omitempty"` // 拼团专用-拼团开始时间 Ostime string `json:"ostime,omitempty" xml:"ostime,omitempty"` // 拼团专用-拼团几人团 JddNum int64 `json:"jdd_num,omitempty" xml:"jdd_num,omitempty"` // 拼团专用-拼团拼成价,单位元 JddPrice string `json:"jdd_price,omitempty" xml:"jdd_price,omitempty"` // 预售专用-预售数量 UvSumPreSale int64 `json:"uv_sum_pre_sale,omitempty" xml:"uv_sum_pre_sale,omitempty"` // 链接-物料块id(测试中请勿使用) XId string `json:"x_id,omitempty" xml:"x_id,omitempty"` // 优惠券信息-优惠券起用门槛,满X元可用。如:满299元减20元 CouponStartFee string `json:"coupon_start_fee,omitempty" xml:"coupon_start_fee,omitempty"` // 优惠券(元) 若属于预售商品,该优惠券付尾款可用,付定金不可用 CouponAmount string `json:"coupon_amount,omitempty" xml:"coupon_amount,omitempty"` // 商品信息-宝贝描述(推荐理由) ItemDescription string `json:"item_description,omitempty" xml:"item_description,omitempty"` // 店铺信息-卖家昵称 Nick string `json:"nick,omitempty" xml:"nick,omitempty"` // 拼团专用-拼团一人价(原价),单位元 OrigPrice string `json:"orig_price,omitempty" xml:"orig_price,omitempty"` // 拼团专用-拼团库存数量 TotalStock int64 `json:"total_stock,omitempty" xml:"total_stock,omitempty"` // 拼团专用-拼团已售数量 SellNum int64 `json:"sell_num,omitempty" xml:"sell_num,omitempty"` // 拼团专用-拼团剩余库存 Stock int64 `json:"stock,omitempty" xml:"stock,omitempty"` // 营销-天猫营销玩法 TmallPlayActivityInfo string `json:"tmall_play_activity_info,omitempty" xml:"tmall_play_activity_info,omitempty"` // 商品信息-宝贝id ItemId int64 `json:"item_id,omitempty" xml:"item_id,omitempty"` // 商品邮费 RealPostFee string `json:"real_post_fee,omitempty" xml:"real_post_fee,omitempty"` // 锁住的佣金率 LockRate string `json:"lock_rate,omitempty" xml:"lock_rate,omitempty"` // 锁佣结束时间 LockRateEndTime int64 `json:"lock_rate_end_time,omitempty" xml:"lock_rate_end_time,omitempty"` // 锁佣开始时间 LockRateStartTime int64 `json:"lock_rate_start_time,omitempty" xml:"lock_rate_start_time,omitempty"` // 预售商品-优惠 PresaleDiscountFeeText string `json:"presale_discount_fee_text,omitempty" xml:"presale_discount_fee_text,omitempty"` // 预售商品-付尾款结束时间(毫秒) PresaleTailEndTime int64 `json:"presale_tail_end_time,omitempty" xml:"presale_tail_end_time,omitempty"` // 预售商品-付尾款开始时间(毫秒) PresaleTailStartTime int64 `json:"presale_tail_start_time,omitempty" xml:"presale_tail_start_time,omitempty"` // 预售商品-付定金结束时间(毫秒) PresaleEndTime int64 `json:"presale_end_time,omitempty" xml:"presale_end_time,omitempty"` // 预售商品-付定金开始时间(毫秒) PresaleStartTime int64 `json:"presale_start_time,omitempty" xml:"presale_start_time,omitempty"` // 预售商品-定金(元) PresaleDeposit string `json:"presale_deposit,omitempty" xml:"presale_deposit,omitempty"` // 预售有礼-淘礼金发放时间 YsylTljSendTime string `json:"ysyl_tlj_send_time,omitempty" xml:"ysyl_tlj_send_time,omitempty"` // 预售有礼-佣金比例( 预售有礼活动享受的推广佣金比例,注:推广该活动有特殊分成规则,请详见:https://tbk.bbs.taobao.com/detail.html?appId=45301&postId=9334376 ) YsylCommissionRate string `json:"ysyl_commission_rate,omitempty" xml:"ysyl_commission_rate,omitempty"` // 预售有礼-预估淘礼金(元) YsylTljFace string `json:"ysyl_tlj_face,omitempty" xml:"ysyl_tlj_face,omitempty"` // 预售有礼-推广链接 YsylClickUrl string `json:"ysyl_click_url,omitempty" xml:"ysyl_click_url,omitempty"` // 预售有礼-淘礼金使用结束时间 YsylTljUseEndTime string `json:"ysyl_tlj_use_end_time,omitempty" xml:"ysyl_tlj_use_end_time,omitempty"` // 预售有礼-淘礼金使用开始时间 YsylTljUseStartTime string `json:"ysyl_tlj_use_start_time,omitempty" xml:"ysyl_tlj_use_start_time,omitempty"` // 本地化-销售开始时间 SaleBeginTime string `json:"sale_begin_time,omitempty" xml:"sale_begin_time,omitempty"` // 本地化-销售结束时间 SaleEndTime string `json:"sale_end_time,omitempty" xml:"sale_end_time,omitempty"` // 本地化-到门店距离(米) Distance string `json:"distance,omitempty" xml:"distance,omitempty"` // 本地化-可用店铺id UsableShopId string `json:"usable_shop_id,omitempty" xml:"usable_shop_id,omitempty"` // 本地化-可用店铺名称 UsableShopName string `json:"usable_shop_name,omitempty" xml:"usable_shop_name,omitempty"` // 活动价 SalePrice string `json:"sale_price,omitempty" xml:"sale_price,omitempty"` // 跨店满减信息 KuadianPromotionInfo string `json:"kuadian_promotion_info,omitempty" xml:"kuadian_promotion_info,omitempty"` // 是否品牌精选,0不是,1是 SuperiorBrand string `json:"superior_brand,omitempty" xml:"superior_brand,omitempty"` // 比价场景专用,当系统检测到入参消费者ID购买当前商品会获得《天天开彩蛋》玩法的彩蛋时,该字段显示1,否则为0 RewardInfo int64 `json:"reward_info,omitempty" xml:"reward_info,omitempty"` // 是否品牌快抢,0不是,1是 IsBrandFlashSale string `json:"is_brand_flash_sale,omitempty" xml:"is_brand_flash_sale,omitempty"` // 本地化-扩展信息 LocalizationExtend *LocalizationMapData `json:"localization_extend,omitempty" xml:"localization_extend,omitempty"` // 物料评估-匹配分 MatchScore string `json:"match_score,omitempty" xml:"match_score,omitempty"` // 物料评估-收益分 CommiScore string `json:"commi_score,omitempty" xml:"commi_score,omitempty"` // 是否是热门商品,0不是,1是 HotFlag string `json:"hot_flag,omitempty" xml:"hot_flag,omitempty"` // 前N件佣金信息-前N件佣金生效或预热时透出以下字段 TopnInfo *TopNInfoDTO `json:"topn_info,omitempty" xml:"topn_info,omitempty"` }
TaobaoTbkDgMaterialOptionalMapData
type TaobaoTbkDgMaterialOptionalRequest ¶
type TaobaoTbkDgMaterialOptionalRequest struct { model.Params // contains filtered or unexported fields }
淘宝客-推广者-物料搜索 API请求 taobao.tbk.dg.material.optional
通用物料搜索API(导购)
func NewTaobaoTbkDgMaterialOptionalRequest ¶
func NewTaobaoTbkDgMaterialOptionalRequest() *TaobaoTbkDgMaterialOptionalRequest
初始化TaobaoTbkDgMaterialOptionalRequest对象
func (TaobaoTbkDgMaterialOptionalRequest) GetAdzoneId ¶
func (r TaobaoTbkDgMaterialOptionalRequest) GetAdzoneId() int64
AdzoneId Getter
func (TaobaoTbkDgMaterialOptionalRequest) GetApiMethodName ¶
func (r TaobaoTbkDgMaterialOptionalRequest) GetApiMethodName() string
IRequest interface 方法, 获取Api method
func (TaobaoTbkDgMaterialOptionalRequest) GetApiParams ¶
func (r TaobaoTbkDgMaterialOptionalRequest) GetApiParams() url.Values
IRequest interface 方法, 获取API参数
func (TaobaoTbkDgMaterialOptionalRequest) GetCat ¶
func (r TaobaoTbkDgMaterialOptionalRequest) GetCat() string
Cat Getter
func (TaobaoTbkDgMaterialOptionalRequest) GetCityCode ¶
func (r TaobaoTbkDgMaterialOptionalRequest) GetCityCode() string
CityCode Getter
func (TaobaoTbkDgMaterialOptionalRequest) GetDeviceEncrypt ¶
func (r TaobaoTbkDgMaterialOptionalRequest) GetDeviceEncrypt() string
DeviceEncrypt Getter
func (TaobaoTbkDgMaterialOptionalRequest) GetDeviceType ¶
func (r TaobaoTbkDgMaterialOptionalRequest) GetDeviceType() string
DeviceType Getter
func (TaobaoTbkDgMaterialOptionalRequest) GetDeviceValue ¶
func (r TaobaoTbkDgMaterialOptionalRequest) GetDeviceValue() string
DeviceValue Getter
func (TaobaoTbkDgMaterialOptionalRequest) GetEndKaTkRate ¶
func (r TaobaoTbkDgMaterialOptionalRequest) GetEndKaTkRate() int64
EndKaTkRate Getter
func (TaobaoTbkDgMaterialOptionalRequest) GetEndPrice ¶
func (r TaobaoTbkDgMaterialOptionalRequest) GetEndPrice() int64
EndPrice Getter
func (TaobaoTbkDgMaterialOptionalRequest) GetEndTkRate ¶
func (r TaobaoTbkDgMaterialOptionalRequest) GetEndTkRate() int64
EndTkRate Getter
func (TaobaoTbkDgMaterialOptionalRequest) GetGetTopnRate ¶
func (r TaobaoTbkDgMaterialOptionalRequest) GetGetTopnRate() int64
GetTopnRate Getter
func (TaobaoTbkDgMaterialOptionalRequest) GetHasCoupon ¶
func (r TaobaoTbkDgMaterialOptionalRequest) GetHasCoupon() bool
HasCoupon Getter
func (TaobaoTbkDgMaterialOptionalRequest) GetIncludeGoodRate ¶
func (r TaobaoTbkDgMaterialOptionalRequest) GetIncludeGoodRate() bool
IncludeGoodRate Getter
func (TaobaoTbkDgMaterialOptionalRequest) GetIncludePayRate30 ¶
func (r TaobaoTbkDgMaterialOptionalRequest) GetIncludePayRate30() bool
IncludePayRate30 Getter
func (TaobaoTbkDgMaterialOptionalRequest) GetIncludeRfdRate ¶
func (r TaobaoTbkDgMaterialOptionalRequest) GetIncludeRfdRate() bool
IncludeRfdRate Getter
func (TaobaoTbkDgMaterialOptionalRequest) GetIp ¶
func (r TaobaoTbkDgMaterialOptionalRequest) GetIp() string
Ip Getter
func (TaobaoTbkDgMaterialOptionalRequest) GetIsOverseas ¶
func (r TaobaoTbkDgMaterialOptionalRequest) GetIsOverseas() bool
IsOverseas Getter
func (TaobaoTbkDgMaterialOptionalRequest) GetIsTmall ¶
func (r TaobaoTbkDgMaterialOptionalRequest) GetIsTmall() bool
IsTmall Getter
func (TaobaoTbkDgMaterialOptionalRequest) GetItemloc ¶
func (r TaobaoTbkDgMaterialOptionalRequest) GetItemloc() string
Itemloc Getter
func (TaobaoTbkDgMaterialOptionalRequest) GetLatitude ¶
func (r TaobaoTbkDgMaterialOptionalRequest) GetLatitude() string
Latitude Getter
func (TaobaoTbkDgMaterialOptionalRequest) GetLockRateEndTime ¶
func (r TaobaoTbkDgMaterialOptionalRequest) GetLockRateEndTime() int64
LockRateEndTime Getter
func (TaobaoTbkDgMaterialOptionalRequest) GetLockRateStartTime ¶
func (r TaobaoTbkDgMaterialOptionalRequest) GetLockRateStartTime() int64
LockRateStartTime Getter
func (TaobaoTbkDgMaterialOptionalRequest) GetLongitude ¶
func (r TaobaoTbkDgMaterialOptionalRequest) GetLongitude() string
Longitude Getter
func (TaobaoTbkDgMaterialOptionalRequest) GetMaterialId ¶
func (r TaobaoTbkDgMaterialOptionalRequest) GetMaterialId() int64
MaterialId Getter
func (TaobaoTbkDgMaterialOptionalRequest) GetNeedFreeShipment ¶
func (r TaobaoTbkDgMaterialOptionalRequest) GetNeedFreeShipment() bool
NeedFreeShipment Getter
func (TaobaoTbkDgMaterialOptionalRequest) GetNeedPrepay ¶
func (r TaobaoTbkDgMaterialOptionalRequest) GetNeedPrepay() bool
NeedPrepay Getter
func (TaobaoTbkDgMaterialOptionalRequest) GetNpxLevel ¶
func (r TaobaoTbkDgMaterialOptionalRequest) GetNpxLevel() int64
NpxLevel Getter
func (TaobaoTbkDgMaterialOptionalRequest) GetPageNo ¶
func (r TaobaoTbkDgMaterialOptionalRequest) GetPageNo() int64
PageNo Getter
func (TaobaoTbkDgMaterialOptionalRequest) GetPageResultKey ¶
func (r TaobaoTbkDgMaterialOptionalRequest) GetPageResultKey() string
PageResultKey Getter
func (TaobaoTbkDgMaterialOptionalRequest) GetPageSize ¶
func (r TaobaoTbkDgMaterialOptionalRequest) GetPageSize() int64
PageSize Getter
func (TaobaoTbkDgMaterialOptionalRequest) GetPlatform ¶
func (r TaobaoTbkDgMaterialOptionalRequest) GetPlatform() int64
Platform Getter
func (TaobaoTbkDgMaterialOptionalRequest) GetQ ¶
func (r TaobaoTbkDgMaterialOptionalRequest) GetQ() string
Q Getter
func (TaobaoTbkDgMaterialOptionalRequest) GetRelationId ¶
func (r TaobaoTbkDgMaterialOptionalRequest) GetRelationId() string
RelationId Getter
func (TaobaoTbkDgMaterialOptionalRequest) GetSellerIds ¶
func (r TaobaoTbkDgMaterialOptionalRequest) GetSellerIds() string
SellerIds Getter
func (TaobaoTbkDgMaterialOptionalRequest) GetSort ¶
func (r TaobaoTbkDgMaterialOptionalRequest) GetSort() string
Sort Getter
func (TaobaoTbkDgMaterialOptionalRequest) GetSpecialId ¶
func (r TaobaoTbkDgMaterialOptionalRequest) GetSpecialId() string
SpecialId Getter
func (TaobaoTbkDgMaterialOptionalRequest) GetStartDsr ¶
func (r TaobaoTbkDgMaterialOptionalRequest) GetStartDsr() int64
StartDsr Getter
func (TaobaoTbkDgMaterialOptionalRequest) GetStartKaTkRate ¶
func (r TaobaoTbkDgMaterialOptionalRequest) GetStartKaTkRate() int64
StartKaTkRate Getter
func (TaobaoTbkDgMaterialOptionalRequest) GetStartPrice ¶
func (r TaobaoTbkDgMaterialOptionalRequest) GetStartPrice() int64
StartPrice Getter
func (TaobaoTbkDgMaterialOptionalRequest) GetStartTkRate ¶
func (r TaobaoTbkDgMaterialOptionalRequest) GetStartTkRate() int64
StartTkRate Getter
func (TaobaoTbkDgMaterialOptionalRequest) GetUcrowdId ¶
func (r TaobaoTbkDgMaterialOptionalRequest) GetUcrowdId() int64
UcrowdId Getter
func (TaobaoTbkDgMaterialOptionalRequest) GetUcrowdRankItems ¶
func (r TaobaoTbkDgMaterialOptionalRequest) GetUcrowdRankItems() []Ucrowdrankitems
UcrowdRankItems Getter
func (*TaobaoTbkDgMaterialOptionalRequest) SetAdzoneId ¶
func (r *TaobaoTbkDgMaterialOptionalRequest) SetAdzoneId(adzoneId int64) error
AdzoneId Setter mm_xxx_xxx_12345678三段式的最后一段数字
func (*TaobaoTbkDgMaterialOptionalRequest) SetCat ¶
func (r *TaobaoTbkDgMaterialOptionalRequest) SetCat(cat string) error
Cat Setter 商品筛选-后台类目ID。用,分割,最大10个,该ID可以通过taobao.itemcats.get接口获取到
func (*TaobaoTbkDgMaterialOptionalRequest) SetCityCode ¶
func (r *TaobaoTbkDgMaterialOptionalRequest) SetCityCode(cityCode string) error
CityCode Setter 本地化业务入参-LBS信息-国标城市码,仅支持单个请求,请求饿了么卡券物料时,该字段必填。 (详细城市ID见:https://mo.m.taobao.com/page_2020010315120200508)
func (*TaobaoTbkDgMaterialOptionalRequest) SetDeviceEncrypt ¶
func (r *TaobaoTbkDgMaterialOptionalRequest) SetDeviceEncrypt(deviceEncrypt string) error
DeviceEncrypt Setter 智能匹配-设备号加密类型:MD5
func (*TaobaoTbkDgMaterialOptionalRequest) SetDeviceType ¶
func (r *TaobaoTbkDgMaterialOptionalRequest) SetDeviceType(deviceType string) error
DeviceType Setter 智能匹配-设备号类型:IMEI,或者IDFA,或者UTDID(UTDID不支持MD5加密),或者OAID
func (*TaobaoTbkDgMaterialOptionalRequest) SetDeviceValue ¶
func (r *TaobaoTbkDgMaterialOptionalRequest) SetDeviceValue(deviceValue string) error
DeviceValue Setter 智能匹配-设备号加密后的值(MD5加密需32位小写)
func (*TaobaoTbkDgMaterialOptionalRequest) SetEndKaTkRate ¶
func (r *TaobaoTbkDgMaterialOptionalRequest) SetEndKaTkRate(endKaTkRate int64) error
EndKaTkRate Setter 商品筛选-KA媒体淘客佣金比率上限。如:1234表示12.34%
func (*TaobaoTbkDgMaterialOptionalRequest) SetEndPrice ¶
func (r *TaobaoTbkDgMaterialOptionalRequest) SetEndPrice(endPrice int64) error
EndPrice Setter 商品筛选-折扣价范围上限。单位:元
func (*TaobaoTbkDgMaterialOptionalRequest) SetEndTkRate ¶
func (r *TaobaoTbkDgMaterialOptionalRequest) SetEndTkRate(endTkRate int64) error
EndTkRate Setter 商品筛选-淘客佣金比率上限。如:1234表示12.34%
func (*TaobaoTbkDgMaterialOptionalRequest) SetGetTopnRate ¶
func (r *TaobaoTbkDgMaterialOptionalRequest) SetGetTopnRate(getTopnRate int64) error
GetTopnRate Setter 是否获取前N件佣金信息 0否,1是,其他值否
func (*TaobaoTbkDgMaterialOptionalRequest) SetHasCoupon ¶
func (r *TaobaoTbkDgMaterialOptionalRequest) SetHasCoupon(hasCoupon bool) error
HasCoupon Setter 优惠券筛选-是否有优惠券。true表示该商品有优惠券,false或不设置表示不限
func (*TaobaoTbkDgMaterialOptionalRequest) SetIncludeGoodRate ¶
func (r *TaobaoTbkDgMaterialOptionalRequest) SetIncludeGoodRate(includeGoodRate bool) error
IncludeGoodRate Setter 商品筛选-好评率是否高于行业均值。True表示大于等于,false或不设置表示不限
func (*TaobaoTbkDgMaterialOptionalRequest) SetIncludePayRate30 ¶
func (r *TaobaoTbkDgMaterialOptionalRequest) SetIncludePayRate30(includePayRate30 bool) error
IncludePayRate30 Setter 商品筛选(特定媒体支持)-成交转化是否高于行业均值。True表示大于等于,false或不设置表示不限
func (*TaobaoTbkDgMaterialOptionalRequest) SetIncludeRfdRate ¶
func (r *TaobaoTbkDgMaterialOptionalRequest) SetIncludeRfdRate(includeRfdRate bool) error
IncludeRfdRate Setter 商品筛选(特定媒体支持)-退款率是否低于行业均值。True表示大于等于,false或不设置表示不限
func (*TaobaoTbkDgMaterialOptionalRequest) SetIp ¶
func (r *TaobaoTbkDgMaterialOptionalRequest) SetIp(ip string) error
Ip Setter ip参数影响邮费获取,如果不传或者传入不准确,邮费无法精准提供
func (*TaobaoTbkDgMaterialOptionalRequest) SetIsOverseas ¶
func (r *TaobaoTbkDgMaterialOptionalRequest) SetIsOverseas(isOverseas bool) error
IsOverseas Setter 商品筛选-是否海外商品。true表示属于海外商品,false或不设置表示不限
func (*TaobaoTbkDgMaterialOptionalRequest) SetIsTmall ¶
func (r *TaobaoTbkDgMaterialOptionalRequest) SetIsTmall(isTmall bool) error
IsTmall Setter 商品筛选-是否天猫商品。true表示属于天猫商品,false或不设置表示不限
func (*TaobaoTbkDgMaterialOptionalRequest) SetItemloc ¶
func (r *TaobaoTbkDgMaterialOptionalRequest) SetItemloc(itemloc string) error
Itemloc Setter 商品筛选-所在地
func (*TaobaoTbkDgMaterialOptionalRequest) SetLatitude ¶
func (r *TaobaoTbkDgMaterialOptionalRequest) SetLatitude(latitude string) error
Latitude Setter 本地化业务入参-LBS信息-纬度
func (*TaobaoTbkDgMaterialOptionalRequest) SetLockRateEndTime ¶
func (r *TaobaoTbkDgMaterialOptionalRequest) SetLockRateEndTime(lockRateEndTime int64) error
LockRateEndTime Setter 锁佣结束时间
func (*TaobaoTbkDgMaterialOptionalRequest) SetLockRateStartTime ¶
func (r *TaobaoTbkDgMaterialOptionalRequest) SetLockRateStartTime(lockRateStartTime int64) error
LockRateStartTime Setter 锁佣开始时间
func (*TaobaoTbkDgMaterialOptionalRequest) SetLongitude ¶
func (r *TaobaoTbkDgMaterialOptionalRequest) SetLongitude(longitude string) error
Longitude Setter 本地化业务入参-LBS信息-经度
func (*TaobaoTbkDgMaterialOptionalRequest) SetMaterialId ¶
func (r *TaobaoTbkDgMaterialOptionalRequest) SetMaterialId(materialId int64) error
MaterialId Setter 不传时默认物料id=2836;如果直接对消费者投放,可使用官方个性化算法优化的搜索物料id=17004
func (*TaobaoTbkDgMaterialOptionalRequest) SetNeedFreeShipment ¶
func (r *TaobaoTbkDgMaterialOptionalRequest) SetNeedFreeShipment(needFreeShipment bool) error
NeedFreeShipment Setter 商品筛选-是否包邮。true表示包邮,false或不设置表示不限
func (*TaobaoTbkDgMaterialOptionalRequest) SetNeedPrepay ¶
func (r *TaobaoTbkDgMaterialOptionalRequest) SetNeedPrepay(needPrepay bool) error
NeedPrepay Setter 商品筛选-是否加入消费者保障。true表示加入,false或不设置表示不限
func (*TaobaoTbkDgMaterialOptionalRequest) SetNpxLevel ¶
func (r *TaobaoTbkDgMaterialOptionalRequest) SetNpxLevel(npxLevel int64) error
NpxLevel Setter 商品筛选-牛皮癣程度。取值:1不限,2无,3轻微
func (*TaobaoTbkDgMaterialOptionalRequest) SetPageNo ¶
func (r *TaobaoTbkDgMaterialOptionalRequest) SetPageNo(pageNo int64) error
PageNo Setter 第几页,默认:1
func (*TaobaoTbkDgMaterialOptionalRequest) SetPageResultKey ¶
func (r *TaobaoTbkDgMaterialOptionalRequest) SetPageResultKey(pageResultKey string) error
PageResultKey Setter 本地化业务入参-分页唯一标识,非首页的请求必传,值为上一页返回结果中的page_result_key字段值
func (*TaobaoTbkDgMaterialOptionalRequest) SetPageSize ¶
func (r *TaobaoTbkDgMaterialOptionalRequest) SetPageSize(pageSize int64) error
PageSize Setter 页大小,默认20,1~100
func (*TaobaoTbkDgMaterialOptionalRequest) SetPlatform ¶
func (r *TaobaoTbkDgMaterialOptionalRequest) SetPlatform(platform int64) error
Platform Setter 链接形式:1:PC,2:无线,默认:1
func (*TaobaoTbkDgMaterialOptionalRequest) SetQ ¶
func (r *TaobaoTbkDgMaterialOptionalRequest) SetQ(q string) error
Q Setter 商品筛选-查询词
func (*TaobaoTbkDgMaterialOptionalRequest) SetRelationId ¶
func (r *TaobaoTbkDgMaterialOptionalRequest) SetRelationId(relationId string) error
RelationId Setter 渠道关系ID,仅适用于渠道推广场景
func (*TaobaoTbkDgMaterialOptionalRequest) SetSellerIds ¶
func (r *TaobaoTbkDgMaterialOptionalRequest) SetSellerIds(sellerIds string) error
SellerIds Setter 商家id,仅支持饿了么卡券商家ID,支持批量请求1-100以内,多个商家ID使用英文逗号分隔
func (*TaobaoTbkDgMaterialOptionalRequest) SetSort ¶
func (r *TaobaoTbkDgMaterialOptionalRequest) SetSort(sort string) error
Sort Setter 排序_des(降序),排序_asc(升序),销量(total_sales),淘客佣金比率(tk_rate), 累计推广量(tk_total_sales),总支出佣金(tk_total_commi),价格(price),匹配分(match)
func (*TaobaoTbkDgMaterialOptionalRequest) SetSpecialId ¶
func (r *TaobaoTbkDgMaterialOptionalRequest) SetSpecialId(specialId string) error
SpecialId Setter 会员运营ID
func (*TaobaoTbkDgMaterialOptionalRequest) SetStartDsr ¶
func (r *TaobaoTbkDgMaterialOptionalRequest) SetStartDsr(startDsr int64) error
StartDsr Setter 商品筛选(特定媒体支持)-店铺dsr评分。筛选大于等于当前设置的店铺dsr评分的商品0-50000之间
func (*TaobaoTbkDgMaterialOptionalRequest) SetStartKaTkRate ¶
func (r *TaobaoTbkDgMaterialOptionalRequest) SetStartKaTkRate(startKaTkRate int64) error
StartKaTkRate Setter 商品筛选-KA媒体淘客佣金比率下限。如:1234表示12.34%
func (*TaobaoTbkDgMaterialOptionalRequest) SetStartPrice ¶
func (r *TaobaoTbkDgMaterialOptionalRequest) SetStartPrice(startPrice int64) error
StartPrice Setter 商品筛选-折扣价范围下限。单位:元
func (*TaobaoTbkDgMaterialOptionalRequest) SetStartTkRate ¶
func (r *TaobaoTbkDgMaterialOptionalRequest) SetStartTkRate(startTkRate int64) error
StartTkRate Setter 商品筛选-淘客佣金比率下限。如:1234表示12.34%
func (*TaobaoTbkDgMaterialOptionalRequest) SetUcrowdId ¶
func (r *TaobaoTbkDgMaterialOptionalRequest) SetUcrowdId(ucrowdId int64) error
UcrowdId Setter 人群ID,仅适用于物料评估场景material_id=41377
func (*TaobaoTbkDgMaterialOptionalRequest) SetUcrowdRankItems ¶
func (r *TaobaoTbkDgMaterialOptionalRequest) SetUcrowdRankItems(ucrowdRankItems []Ucrowdrankitems) error
UcrowdRankItems Setter 物料评估-商品列表
type TaobaoTbkDgMaterialOptionalResponse ¶
type TaobaoTbkDgMaterialOptionalResponse struct { XMLName xml.Name `xml:"tbk_dg_material_optional_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 搜索到符合条件的结果总数 TotalResults int64 `json:"total_results,omitempty" xml:"total_results,omitempty"` // resultList ResultList []TaobaoTbkDgMaterialOptionalMapData `json:"result_list,omitempty" xml:"result_list>taobao_tbk_dg_material_optional_map_data,omitempty"` // 本地化-lbs分页标识,请在下一次翻页时作为入参传入 PageResultKey string `json:"page_result_key,omitempty" xml:"page_result_key,omitempty"` }
淘宝客-推广者-物料搜索 成功返回结果
type TaobaoTbkDgNewuserOrderGetAPIResponse ¶
type TaobaoTbkDgNewuserOrderGetAPIResponse struct { model.CommonResponse TaobaoTbkDgNewuserOrderGetResponse }
淘宝客-推广者-新用户订单明细查询 API返回值 taobao.tbk.dg.newuser.order.get
拉新API
type TaobaoTbkDgNewuserOrderGetData ¶
type TaobaoTbkDgNewuserOrderGetData struct { // resultList Results []TaobaoTbkDgNewuserOrderGetMapData `json:"results,omitempty" xml:"results>taobao_tbk_dg_newuser_order_get_map_data,omitempty"` // 页码 PageNo int64 `json:"page_no,omitempty" xml:"page_no,omitempty"` // 每页大小 PageSize int64 `json:"page_size,omitempty" xml:"page_size,omitempty"` // 是否有下一页 HasNext bool `json:"has_next,omitempty" xml:"has_next,omitempty"` }
TaobaoTbkDgNewuserOrderGetData
type TaobaoTbkDgNewuserOrderGetMapData ¶
type TaobaoTbkDgNewuserOrderGetMapData struct { // 新注册时间,仅淘宝拉新适用 RegisterTime string `json:"register_time,omitempty" xml:"register_time,omitempty"` // 当前活动为淘宝拉新活动时,bind_time为新激活时间; 当前活动为支付宝拉新活动时,bind_time为绑定时间。 BindTime string `json:"bind_time,omitempty" xml:"bind_time,omitempty"` // 首购时间,仅淘宝,天猫拉新适用 BuyTime string `json:"buy_time,omitempty" xml:"buy_time,omitempty"` // 新人状态, 当前活动为淘宝拉新活动时,1: 新注册,2:激活,3:首购,4:确认收货; 当前活动为支付宝实名活动时,1:已绑定,2:拉新成功,3:无效用户;当前活动为支付宝新登活动时,3:手淘首购,4:手淘确认收货;当前活动为天猫拉新活动时,2:已领取,3:已首购,4:已收货 Status int64 `json:"status,omitempty" xml:"status,omitempty"` // 新人手机号 Mobile string `json:"mobile,omitempty" xml:"mobile,omitempty"` // 订单淘客类型:1.淘客订单;2.非淘客订单,仅淘宝,天猫拉新适用 OrderTkType int64 `json:"order_tk_type,omitempty" xml:"order_tk_type,omitempty"` // 分享用户(unionid),仅淘宝,天猫拉新适用 UnionId string `json:"union_id,omitempty" xml:"union_id,omitempty"` // 来源媒体ID(pid中mm_1_2_3)中第1位 MemberId int64 `json:"member_id,omitempty" xml:"member_id,omitempty"` // 来源媒体名称 MemberNick string `json:"member_nick,omitempty" xml:"member_nick,omitempty"` // 来源站点ID(pid中mm_1_2_3)中第2位 SiteId int64 `json:"site_id,omitempty" xml:"site_id,omitempty"` // 来源站点名称 SiteName string `json:"site_name,omitempty" xml:"site_name,omitempty"` // 来源广告位ID(pid中mm_1_2_3)中第3位 AdzoneId int64 `json:"adzone_id,omitempty" xml:"adzone_id,omitempty"` // 来源广告位名称 AdzoneName string `json:"adzone_name,omitempty" xml:"adzone_name,omitempty"` // 淘宝订单id,仅淘宝,天猫拉新适用 TbTradeParentId int64 `json:"tb_trade_parent_id,omitempty" xml:"tb_trade_parent_id,omitempty"` // 确认收货时间,仅天猫拉新适用 AcceptTime string `json:"accept_time,omitempty" xml:"accept_time,omitempty"` // 领取红包时间,仅天猫拉新适用 ReceiveTime string `json:"receive_time,omitempty" xml:"receive_time,omitempty"` // 拉新成功时间,仅支付宝拉新适用 SuccessTime string `json:"success_time,omitempty" xml:"success_time,omitempty"` // 活动类型,taobao-淘宝 alipay-支付宝 tmall-天猫 ActivityType string `json:"activity_type,omitempty" xml:"activity_type,omitempty"` // 活动id ActivityId string `json:"activity_id,omitempty" xml:"activity_id,omitempty"` // 日期,格式为"20180202" BizDate string `json:"biz_date,omitempty" xml:"biz_date,omitempty"` // 复购订单,仅适用于手淘拉新 Orders []OrderData `json:"orders,omitempty" xml:"orders>order_data,omitempty"` // 绑卡日期,仅适用于手淘拉新 BindCardTime string `json:"bind_card_time,omitempty" xml:"bind_card_time,omitempty"` // loginTime LoginTime string `json:"login_time,omitempty" xml:"login_time,omitempty"` // 银行卡是否是绑定状态:1-绑定,0-未绑定 IsCardSave int64 `json:"is_card_save,omitempty" xml:"is_card_save,omitempty"` // 使用权益时间 UseRightsTime string `json:"use_rights_time,omitempty" xml:"use_rights_time,omitempty"` // 领取权益时间 GetRightsTime string `json:"get_rights_time,omitempty" xml:"get_rights_time,omitempty"` // 渠道关系id RelationId string `json:"relation_id,omitempty" xml:"relation_id,omitempty"` }
TaobaoTbkDgNewuserOrderGetMapData
type TaobaoTbkDgNewuserOrderGetRequest ¶
type TaobaoTbkDgNewuserOrderGetRequest struct { model.Params // contains filtered or unexported fields }
淘宝客-推广者-新用户订单明细查询 API请求 taobao.tbk.dg.newuser.order.get
拉新API
func NewTaobaoTbkDgNewuserOrderGetRequest ¶
func NewTaobaoTbkDgNewuserOrderGetRequest() *TaobaoTbkDgNewuserOrderGetRequest
初始化TaobaoTbkDgNewuserOrderGetRequest对象
func (TaobaoTbkDgNewuserOrderGetRequest) GetActivityId ¶
func (r TaobaoTbkDgNewuserOrderGetRequest) GetActivityId() string
ActivityId Getter
func (TaobaoTbkDgNewuserOrderGetRequest) GetAdzoneId ¶
func (r TaobaoTbkDgNewuserOrderGetRequest) GetAdzoneId() int64
AdzoneId Getter
func (TaobaoTbkDgNewuserOrderGetRequest) GetApiMethodName ¶
func (r TaobaoTbkDgNewuserOrderGetRequest) GetApiMethodName() string
IRequest interface 方法, 获取Api method
func (TaobaoTbkDgNewuserOrderGetRequest) GetApiParams ¶
func (r TaobaoTbkDgNewuserOrderGetRequest) GetApiParams() url.Values
IRequest interface 方法, 获取API参数
func (TaobaoTbkDgNewuserOrderGetRequest) GetEndTime ¶
func (r TaobaoTbkDgNewuserOrderGetRequest) GetEndTime() string
EndTime Getter
func (TaobaoTbkDgNewuserOrderGetRequest) GetPageNo ¶
func (r TaobaoTbkDgNewuserOrderGetRequest) GetPageNo() int64
PageNo Getter
func (TaobaoTbkDgNewuserOrderGetRequest) GetPageSize ¶
func (r TaobaoTbkDgNewuserOrderGetRequest) GetPageSize() int64
PageSize Getter
func (TaobaoTbkDgNewuserOrderGetRequest) GetStartTime ¶
func (r TaobaoTbkDgNewuserOrderGetRequest) GetStartTime() string
StartTime Getter
func (*TaobaoTbkDgNewuserOrderGetRequest) SetActivityId ¶
func (r *TaobaoTbkDgNewuserOrderGetRequest) SetActivityId(activityId string) error
ActivityId Setter 活动id, 活动名称与活动ID列表,请参见https://tbk.bbs.taobao.com/detail.html?appId=45301&postId=8599277
func (*TaobaoTbkDgNewuserOrderGetRequest) SetAdzoneId ¶
func (r *TaobaoTbkDgNewuserOrderGetRequest) SetAdzoneId(adzoneId int64) error
AdzoneId Setter mm_xxx_xxx_xxx的第三位
func (*TaobaoTbkDgNewuserOrderGetRequest) SetEndTime ¶
func (r *TaobaoTbkDgNewuserOrderGetRequest) SetEndTime(endTime string) error
EndTime Setter 结束时间,当活动为淘宝活动,表示最晚结束时间;当活动为支付宝活动,表示最晚绑定时间;当活动为天猫活动,表示最晚领取红包的时间
func (*TaobaoTbkDgNewuserOrderGetRequest) SetPageNo ¶
func (r *TaobaoTbkDgNewuserOrderGetRequest) SetPageNo(pageNo int64) error
PageNo Setter 页码,默认1
func (*TaobaoTbkDgNewuserOrderGetRequest) SetPageSize ¶
func (r *TaobaoTbkDgNewuserOrderGetRequest) SetPageSize(pageSize int64) error
PageSize Setter 页大小,默认20,1~100
func (*TaobaoTbkDgNewuserOrderGetRequest) SetStartTime ¶
func (r *TaobaoTbkDgNewuserOrderGetRequest) SetStartTime(startTime string) error
StartTime Setter 开始时间,当活动为淘宝活动,表示最早注册时间;当活动为支付宝活动,表示最早绑定时间;当活动为天猫活动,表示最早领取红包时间
type TaobaoTbkDgNewuserOrderGetResponse ¶
type TaobaoTbkDgNewuserOrderGetResponse struct { XMLName xml.Name `xml:"tbk_dg_newuser_order_get_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // data Results *TaobaoTbkDgNewuserOrderGetResults `json:"results,omitempty" xml:"results,omitempty"` }
淘宝客-推广者-新用户订单明细查询 成功返回结果
type TaobaoTbkDgNewuserOrderGetResults ¶
type TaobaoTbkDgNewuserOrderGetResults struct { // data Data *TaobaoTbkDgNewuserOrderGetData `json:"data,omitempty" xml:"data,omitempty"` }
TaobaoTbkDgNewuserOrderGetResults
type TaobaoTbkDgNewuserOrderSumAPIResponse ¶
type TaobaoTbkDgNewuserOrderSumAPIResponse struct { model.CommonResponse TaobaoTbkDgNewuserOrderSumResponse }
淘宝客-推广者-拉新活动对应数据查询 API返回值 taobao.tbk.dg.newuser.order.sum
拉新活动汇总API
type TaobaoTbkDgNewuserOrderSumData ¶
type TaobaoTbkDgNewuserOrderSumData struct { // data Data *TaobaoTbkDgNewuserOrderSumData `json:"data,omitempty" xml:"data,omitempty"` // 页码 PageNo int64 `json:"page_no,omitempty" xml:"page_no,omitempty"` // 每页大小 PageSize int64 `json:"page_size,omitempty" xml:"page_size,omitempty"` // 是否有下一页 HasNext bool `json:"has_next,omitempty" xml:"has_next,omitempty"` // resultList Results []TaobaoTbkDgNewuserOrderSumData `json:"results,omitempty" xml:"results>taobao_tbk_dg_newuser_order_sum_data,omitempty"` // 活动ID ActivityId string `json:"activity_id,omitempty" xml:"activity_id,omitempty"` // 日期 BizDate string `json:"biz_date,omitempty" xml:"biz_date,omitempty"` // 新注册用户数 RegUserCnt int64 `json:"reg_user_cnt,omitempty" xml:"reg_user_cnt,omitempty"` // 新激活用户数 LoginUserCnt int64 `json:"login_user_cnt,omitempty" xml:"login_user_cnt,omitempty"` // 首购用户数 AlipayUserCnt int64 `json:"alipay_user_cnt,omitempty" xml:"alipay_user_cnt,omitempty"` // 结算有效用户数 RcvValidUserCnt int64 `json:"rcv_valid_user_cnt,omitempty" xml:"rcv_valid_user_cnt,omitempty"` // 确认收货用户数 RcvUserCnt int64 `json:"rcv_user_cnt,omitempty" xml:"rcv_user_cnt,omitempty"` // 结算CPA 奖励金额:仅支持member 维度的统计 AlipayUserCpaPreAmt string `json:"alipay_user_cpa_pre_amt,omitempty" xml:"alipay_user_cpa_pre_amt,omitempty"` // 当日激活且首购结算的CPA 金额:仅适用于八天乐,仅支持member维度的统计 BindBuyUserCpaPreAmt string `json:"bind_buy_user_cpa_pre_amt,omitempty" xml:"bind_buy_user_cpa_pre_amt,omitempty"` // 当日激活且首购的有效用户数:仅适用于八天乐,支持member,adzone维度的统计 BindBuyValidUserCnt int64 `json:"bind_buy_valid_user_cnt,omitempty" xml:"bind_buy_valid_user_cnt,omitempty"` // bindCardValidUserCnt BindCardValidUserCnt int64 `json:"bind_card_valid_user_cnt,omitempty" xml:"bind_card_valid_user_cnt,omitempty"` // reBuyValidUserCnt ReBuyValidUserCnt int64 `json:"re_buy_valid_user_cnt,omitempty" xml:"re_buy_valid_user_cnt,omitempty"` // validNum ValidNum int64 `json:"valid_num,omitempty" xml:"valid_num,omitempty"` // 渠道关系id RelationId string `json:"relation_id,omitempty" xml:"relation_id,omitempty"` }
TaobaoTbkDgNewuserOrderSumData
type TaobaoTbkDgNewuserOrderSumRequest ¶
type TaobaoTbkDgNewuserOrderSumRequest struct { model.Params // contains filtered or unexported fields }
淘宝客-推广者-拉新活动对应数据查询 API请求 taobao.tbk.dg.newuser.order.sum
拉新活动汇总API
func NewTaobaoTbkDgNewuserOrderSumRequest ¶
func NewTaobaoTbkDgNewuserOrderSumRequest() *TaobaoTbkDgNewuserOrderSumRequest
初始化TaobaoTbkDgNewuserOrderSumRequest对象
func (TaobaoTbkDgNewuserOrderSumRequest) GetActivityId ¶
func (r TaobaoTbkDgNewuserOrderSumRequest) GetActivityId() string
ActivityId Getter
func (TaobaoTbkDgNewuserOrderSumRequest) GetAdzoneId ¶
func (r TaobaoTbkDgNewuserOrderSumRequest) GetAdzoneId() int64
AdzoneId Getter
func (TaobaoTbkDgNewuserOrderSumRequest) GetApiMethodName ¶
func (r TaobaoTbkDgNewuserOrderSumRequest) GetApiMethodName() string
IRequest interface 方法, 获取Api method
func (TaobaoTbkDgNewuserOrderSumRequest) GetApiParams ¶
func (r TaobaoTbkDgNewuserOrderSumRequest) GetApiParams() url.Values
IRequest interface 方法, 获取API参数
func (TaobaoTbkDgNewuserOrderSumRequest) GetPageNo ¶
func (r TaobaoTbkDgNewuserOrderSumRequest) GetPageNo() int64
PageNo Getter
func (TaobaoTbkDgNewuserOrderSumRequest) GetPageSize ¶
func (r TaobaoTbkDgNewuserOrderSumRequest) GetPageSize() int64
PageSize Getter
func (TaobaoTbkDgNewuserOrderSumRequest) GetSettleMonth ¶
func (r TaobaoTbkDgNewuserOrderSumRequest) GetSettleMonth() string
SettleMonth Getter
func (TaobaoTbkDgNewuserOrderSumRequest) GetSiteId ¶
func (r TaobaoTbkDgNewuserOrderSumRequest) GetSiteId() int64
SiteId Getter
func (*TaobaoTbkDgNewuserOrderSumRequest) SetActivityId ¶
func (r *TaobaoTbkDgNewuserOrderSumRequest) SetActivityId(activityId string) error
ActivityId Setter 活动id, 活动名称与活动ID列表,请参见https://tbk.bbs.taobao.com/detail.html?appId=45301&postId=8599277
func (*TaobaoTbkDgNewuserOrderSumRequest) SetAdzoneId ¶
func (r *TaobaoTbkDgNewuserOrderSumRequest) SetAdzoneId(adzoneId int64) error
AdzoneId Setter mm_xxx_xxx_xxx的第三位
func (*TaobaoTbkDgNewuserOrderSumRequest) SetPageNo ¶
func (r *TaobaoTbkDgNewuserOrderSumRequest) SetPageNo(pageNo int64) error
PageNo Setter 页码,默认1
func (*TaobaoTbkDgNewuserOrderSumRequest) SetPageSize ¶
func (r *TaobaoTbkDgNewuserOrderSumRequest) SetPageSize(pageSize int64) error
PageSize Setter 页大小,默认20,1~100
func (*TaobaoTbkDgNewuserOrderSumRequest) SetSettleMonth ¶
func (r *TaobaoTbkDgNewuserOrderSumRequest) SetSettleMonth(settleMonth string) error
SettleMonth Setter 结算月份
func (*TaobaoTbkDgNewuserOrderSumRequest) SetSiteId ¶
func (r *TaobaoTbkDgNewuserOrderSumRequest) SetSiteId(siteId int64) error
SiteId Setter mm_xxx_xxx_xxx的第二位
type TaobaoTbkDgNewuserOrderSumResponse ¶
type TaobaoTbkDgNewuserOrderSumResponse struct { XMLName xml.Name `xml:"tbk_dg_newuser_order_sum_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // data Results *TaobaoTbkDgNewuserOrderSumData `json:"results,omitempty" xml:"results,omitempty"` }
淘宝客-推广者-拉新活动对应数据查询 成功返回结果
type TaobaoTbkDgOptimusMaterialAPIResponse ¶
type TaobaoTbkDgOptimusMaterialAPIResponse struct { model.CommonResponse TaobaoTbkDgOptimusMaterialResponse }
淘宝客-推广者-物料精选 API返回值 taobao.tbk.dg.optimus.material
支持入参对应的“推广位”和官方提供的“物料id”,获取指定物料信息和推广链接,还可入参用户信息提供智能推荐(需智能推荐请先前协议https://pub.alimama.com/fourth/protocol/common.htm?key=hangye_laxin)
type TaobaoTbkDgOptimusMaterialMapData ¶
type TaobaoTbkDgOptimusMaterialMapData struct { // 优惠券(元) 若属于预售商品,该优惠券付尾款可用,付定金不可用 CouponAmount int64 `json:"coupon_amount,omitempty" xml:"coupon_amount,omitempty"` // 商品信息-商品小图列表 SmallImages []string `json:"small_images,omitempty" xml:"small_images>string,omitempty"` // 店铺信息-店铺名称 ShopTitle string `json:"shop_title,omitempty" xml:"shop_title,omitempty"` // 商品信息-叶子类目id CategoryId int64 `json:"category_id,omitempty" xml:"category_id,omitempty"` // 优惠券信息-优惠券起用门槛,满X元可用。如:满299元减20元 CouponStartFee string `json:"coupon_start_fee,omitempty" xml:"coupon_start_fee,omitempty"` // 商品信息-宝贝id ItemId int64 `json:"item_id,omitempty" xml:"item_id,omitempty"` // 优惠券信息-优惠券总量 CouponTotalCount int64 `json:"coupon_total_count,omitempty" xml:"coupon_total_count,omitempty"` // 店铺信息-卖家类型,0表示淘宝,1表示天猫,3表示特价版 UserType int64 `json:"user_type,omitempty" xml:"user_type,omitempty"` // 折扣价(元) 若属于预售商品,付定金时间内,折扣价=预售价 ZkFinalPrice string `json:"zk_final_price,omitempty" xml:"zk_final_price,omitempty"` // 优惠券信息-优惠券剩余量 CouponRemainCount int64 `json:"coupon_remain_count,omitempty" xml:"coupon_remain_count,omitempty"` // 商品信息-佣金比率(%) CommissionRate string `json:"commission_rate,omitempty" xml:"commission_rate,omitempty"` // 优惠券信息-优惠券开始时间 CouponStartTime string `json:"coupon_start_time,omitempty" xml:"coupon_start_time,omitempty"` // 商品信息-商品标题 Title string `json:"title,omitempty" xml:"title,omitempty"` // 商品信息-宝贝描述(推荐理由,不一定有) ItemDescription string `json:"item_description,omitempty" xml:"item_description,omitempty"` // 店铺信息-卖家id SellerId int64 `json:"seller_id,omitempty" xml:"seller_id,omitempty"` // 商品信息-30天销量 Volume int64 `json:"volume,omitempty" xml:"volume,omitempty"` // 优惠券信息-优惠券结束时间 CouponEndTime string `json:"coupon_end_time,omitempty" xml:"coupon_end_time,omitempty"` // 链接-宝贝+券二合一页面链接(该字段废弃,请勿再用) CouponClickUrl string `json:"coupon_click_url,omitempty" xml:"coupon_click_url,omitempty"` // 商品信息-商品主图 PictUrl string `json:"pict_url,omitempty" xml:"pict_url,omitempty"` // 链接-宝贝推广链接 ClickUrl string `json:"click_url,omitempty" xml:"click_url,omitempty"` // 拼团专用-拼团剩余库存 Stock int64 `json:"stock,omitempty" xml:"stock,omitempty"` // 拼团专用-拼团已售数量 SellNum int64 `json:"sell_num,omitempty" xml:"sell_num,omitempty"` // 拼团专用-拼团库存数量 TotalStock int64 `json:"total_stock,omitempty" xml:"total_stock,omitempty"` // 拼团专用-拼团结束时间 Oetime string `json:"oetime,omitempty" xml:"oetime,omitempty"` // 拼团专用-拼团开始时间 Ostime string `json:"ostime,omitempty" xml:"ostime,omitempty"` // 拼团专用-拼团几人团 JddNum int64 `json:"jdd_num,omitempty" xml:"jdd_num,omitempty"` // 拼团专用-拼团拼成价,单位元 JddPrice string `json:"jdd_price,omitempty" xml:"jdd_price,omitempty"` // 拼团专用-拼团一人价(原价),单位元 OrigPrice string `json:"orig_price,omitempty" xml:"orig_price,omitempty"` // 商品信息-一级类目名称 LevelOneCategoryName string `json:"level_one_category_name,omitempty" xml:"level_one_category_name,omitempty"` // 商品信息-一级类目ID LevelOneCategoryId int64 `json:"level_one_category_id,omitempty" xml:"level_one_category_id,omitempty"` // 商品信息-叶子类目名称 CategoryName string `json:"category_name,omitempty" xml:"category_name,omitempty"` // 商品信息-商品白底图 WhiteImage string `json:"white_image,omitempty" xml:"white_image,omitempty"` // 商品信息-商品短标题 ShortTitle string `json:"short_title,omitempty" xml:"short_title,omitempty"` // 商品信息-商品关联词 WordList []WordMapData `json:"word_list,omitempty" xml:"word_list>word_map_data,omitempty"` // 营销-天猫营销玩法 TmallPlayActivityInfo string `json:"tmall_play_activity_info,omitempty" xml:"tmall_play_activity_info,omitempty"` // 商品信息-预售数量 UvSumPreSale int64 `json:"uv_sum_pre_sale,omitempty" xml:"uv_sum_pre_sale,omitempty"` // 物料块id(测试中请勿使用) XId string `json:"x_id,omitempty" xml:"x_id,omitempty"` // 商品信息-新人价 NewUserPrice string `json:"new_user_price,omitempty" xml:"new_user_price,omitempty"` // 优惠券信息-优惠券满减信息 CouponInfo string `json:"coupon_info,omitempty" xml:"coupon_info,omitempty"` CouponShareUrl string `json:"coupon_share_url,omitempty" xml:"coupon_share_url,omitempty"` // 店铺信息-卖家昵称 Nick string `json:"nick,omitempty" xml:"nick,omitempty"` // 商品信息-一口价 ReservePrice string `json:"reserve_price,omitempty" xml:"reserve_price,omitempty"` // 聚划算信息-聚淘结束时间 JuOnlineEndTime string `json:"ju_online_end_time,omitempty" xml:"ju_online_end_time,omitempty"` // 聚划算信息-聚淘开始时间 JuOnlineStartTime string `json:"ju_online_start_time,omitempty" xml:"ju_online_start_time,omitempty"` // 猫超玩法信息-活动结束时间,精确到毫秒 MaochaoPlayEndTime string `json:"maochao_play_end_time,omitempty" xml:"maochao_play_end_time,omitempty"` // 猫超玩法信息-活动开始时间,精确到毫秒 MaochaoPlayStartTime string `json:"maochao_play_start_time,omitempty" xml:"maochao_play_start_time,omitempty"` // 猫超玩法信息-折扣条件,价格百分数存储,件数按数量存储。可以有多个折扣条件,与折扣字段对应,','分割 MaochaoPlayConditions string `json:"maochao_play_conditions,omitempty" xml:"maochao_play_conditions,omitempty"` // 猫超玩法信息-折扣,折扣按照百分数存储,其余按照单位分存储。可以有多个折扣,','分割 MaochaoPlayDiscounts string `json:"maochao_play_discounts,omitempty" xml:"maochao_play_discounts,omitempty"` // 猫超玩法信息-玩法类型,2:折扣(满n件折扣),5:减钱(满n元减m元) MaochaoPlayDiscountType string `json:"maochao_play_discount_type,omitempty" xml:"maochao_play_discount_type,omitempty"` // 猫超玩法信息-当前是否包邮,1:是,0:否 MaochaoPlayFreePostFee string `json:"maochao_play_free_post_fee,omitempty" xml:"maochao_play_free_post_fee,omitempty"` // 多件券优惠比例 MultiCouponZkRate string `json:"multi_coupon_zk_rate,omitempty" xml:"multi_coupon_zk_rate,omitempty"` // 多件券件单价 PriceAfterMultiCoupon string `json:"price_after_multi_coupon,omitempty" xml:"price_after_multi_coupon,omitempty"` // 多件券单品件数 MultiCouponItemCount string `json:"multi_coupon_item_count,omitempty" xml:"multi_coupon_item_count,omitempty"` // 锁住的佣金率 LockRate string `json:"lock_rate,omitempty" xml:"lock_rate,omitempty"` // 锁佣结束时间 LockRateEndTime int64 `json:"lock_rate_end_time,omitempty" xml:"lock_rate_end_time,omitempty"` // 锁佣开始时间 LockRateStartTime int64 `json:"lock_rate_start_time,omitempty" xml:"lock_rate_start_time,omitempty"` // 满减满折的类型(1. 满减 2. 满折) PromotionType string `json:"promotion_type,omitempty" xml:"promotion_type,omitempty"` // 满减满折信息 PromotionInfo string `json:"promotion_info,omitempty" xml:"promotion_info,omitempty"` // 满减满折门槛(满2件打5折中值为2;满300减20中值为300) PromotionDiscount string `json:"promotion_discount,omitempty" xml:"promotion_discount,omitempty"` // 满减满折优惠(满2件打5折中值为5;满300减20中值为20) PromotionCondition string `json:"promotion_condition,omitempty" xml:"promotion_condition,omitempty"` // 预售商品-优惠信息 PresaleDiscountFeeText string `json:"presale_discount_fee_text,omitempty" xml:"presale_discount_fee_text,omitempty"` // 预售商品-付尾款结束时间(毫秒) PresaleTailEndTime int64 `json:"presale_tail_end_time,omitempty" xml:"presale_tail_end_time,omitempty"` // 预售商品-付尾款开始时间(毫秒) PresaleTailStartTime int64 `json:"presale_tail_start_time,omitempty" xml:"presale_tail_start_time,omitempty"` // 预售商品-付定金结束时间(毫秒) PresaleEndTime int64 `json:"presale_end_time,omitempty" xml:"presale_end_time,omitempty"` // 预售商品-付定金开始时间(毫秒) PresaleStartTime int64 `json:"presale_start_time,omitempty" xml:"presale_start_time,omitempty"` // 预售商品-定金(元) PresaleDeposit string `json:"presale_deposit,omitempty" xml:"presale_deposit,omitempty"` // 预售有礼-淘礼金使用开始时间 YsylTljUseStartTime string `json:"ysyl_tlj_use_start_time,omitempty" xml:"ysyl_tlj_use_start_time,omitempty"` // 预售有礼-佣金比例( 预售有礼活动享受的推广佣金比例,注:推广该活动有特殊分成规则,请详见:https://tbk.bbs.taobao.com/detail.html?appId=45301&postId=9334376 ) YsylCommissionRate string `json:"ysyl_commission_rate,omitempty" xml:"ysyl_commission_rate,omitempty"` // 预售有礼-淘礼金发放时间 YsylTljSendTime string `json:"ysyl_tlj_send_time,omitempty" xml:"ysyl_tlj_send_time,omitempty"` // 预售有礼-预估淘礼金(元) YsylTljFace string `json:"ysyl_tlj_face,omitempty" xml:"ysyl_tlj_face,omitempty"` // 预售有礼-推广链接 YsylClickUrl string `json:"ysyl_click_url,omitempty" xml:"ysyl_click_url,omitempty"` // 预售有礼-淘礼金使用结束时间 YsylTljUseEndTime string `json:"ysyl_tlj_use_end_time,omitempty" xml:"ysyl_tlj_use_end_time,omitempty"` // 聚划算满减 -结束时间(毫秒) JuPlayEndTime int64 `json:"ju_play_end_time,omitempty" xml:"ju_play_end_time,omitempty"` // 聚划算满减 -开始时间(毫秒) JuPlayStartTime int64 `json:"ju_play_start_time,omitempty" xml:"ju_play_start_time,omitempty"` // 1聚划算满减:满N件减X元,满N件X折,满N件X元) 2天猫限时抢:前N分钟每件X元,前N分钟满N件每件X元,前N件每件X元) PlayInfo string `json:"play_info,omitempty" xml:"play_info,omitempty"` // 天猫限时抢可售 -结束时间(毫秒) TmallPlayActivityEndTime int64 `json:"tmall_play_activity_end_time,omitempty" xml:"tmall_play_activity_end_time,omitempty"` // 天猫限时抢可售 -开始时间(毫秒) TmallPlayActivityStartTime int64 `json:"tmall_play_activity_start_time,omitempty" xml:"tmall_play_activity_start_time,omitempty"` // 聚划算信息-商品预热开始时间(毫秒) JuPreShowEndTime string `json:"ju_pre_show_end_time,omitempty" xml:"ju_pre_show_end_time,omitempty"` // 聚划算信息-商品预热结束时间(毫秒) JuPreShowStartTime string `json:"ju_pre_show_start_time,omitempty" xml:"ju_pre_show_start_time,omitempty"` // 选品库信息 FavoritesInfo *FavoritesInfo `json:"favorites_info,omitempty" xml:"favorites_info,omitempty"` // 活动价 SalePrice string `json:"sale_price,omitempty" xml:"sale_price,omitempty"` // 跨店满减信息 KuadianPromotionInfo string `json:"kuadian_promotion_info,omitempty" xml:"kuadian_promotion_info,omitempty"` // 商品子标题 SubTitle string `json:"sub_title,omitempty" xml:"sub_title,omitempty"` // 聚划算商品价格卖点描述 JhsPriceUspList string `json:"jhs_price_usp_list,omitempty" xml:"jhs_price_usp_list,omitempty"` // 淘抢购商品专用-结束时间 TqgOnlineEndTime string `json:"tqg_online_end_time,omitempty" xml:"tqg_online_end_time,omitempty"` // 淘抢购商品专用-开团时间 TqgOnlineStartTime string `json:"tqg_online_start_time,omitempty" xml:"tqg_online_start_time,omitempty"` // 淘抢购商品专用-已抢购数量 TqgSoldCount int64 `json:"tqg_sold_count,omitempty" xml:"tqg_sold_count,omitempty"` // 淘抢购商品专用-总库存 TqgTotalCount int64 `json:"tqg_total_count,omitempty" xml:"tqg_total_count,omitempty"` // 是否品牌精选,0不是,1是 SuperiorBrand string `json:"superior_brand,omitempty" xml:"superior_brand,omitempty"` // 是否品牌快抢,0不是,1是 IsBrandFlashSale string `json:"is_brand_flash_sale,omitempty" xml:"is_brand_flash_sale,omitempty"` // 是否是热门商品,0不是,1是 HotFlag string `json:"hot_flag,omitempty" xml:"hot_flag,omitempty"` // 前N件佣金信息-前N件佣金生效或预热时透出以下字段 TopnInfo *TopNInfoDTO `json:"topn_info,omitempty" xml:"topn_info,omitempty"` }
TaobaoTbkDgOptimusMaterialMapData
type TaobaoTbkDgOptimusMaterialRequest ¶
type TaobaoTbkDgOptimusMaterialRequest struct { model.Params // contains filtered or unexported fields }
淘宝客-推广者-物料精选 API请求 taobao.tbk.dg.optimus.material
支持入参对应的“推广位”和官方提供的“物料id”,获取指定物料信息和推广链接,还可入参用户信息提供智能推荐(需智能推荐请先前协议https://pub.alimama.com/fourth/protocol/common.htm?key=hangye_laxin)
func NewTaobaoTbkDgOptimusMaterialRequest ¶
func NewTaobaoTbkDgOptimusMaterialRequest() *TaobaoTbkDgOptimusMaterialRequest
初始化TaobaoTbkDgOptimusMaterialRequest对象
func (TaobaoTbkDgOptimusMaterialRequest) GetAdzoneId ¶
func (r TaobaoTbkDgOptimusMaterialRequest) GetAdzoneId() int64
AdzoneId Getter
func (TaobaoTbkDgOptimusMaterialRequest) GetApiMethodName ¶
func (r TaobaoTbkDgOptimusMaterialRequest) GetApiMethodName() string
IRequest interface 方法, 获取Api method
func (TaobaoTbkDgOptimusMaterialRequest) GetApiParams ¶
func (r TaobaoTbkDgOptimusMaterialRequest) GetApiParams() url.Values
IRequest interface 方法, 获取API参数
func (TaobaoTbkDgOptimusMaterialRequest) GetContentId ¶
func (r TaobaoTbkDgOptimusMaterialRequest) GetContentId() int64
ContentId Getter
func (TaobaoTbkDgOptimusMaterialRequest) GetContentSource ¶
func (r TaobaoTbkDgOptimusMaterialRequest) GetContentSource() string
ContentSource Getter
func (TaobaoTbkDgOptimusMaterialRequest) GetDeviceEncrypt ¶
func (r TaobaoTbkDgOptimusMaterialRequest) GetDeviceEncrypt() string
DeviceEncrypt Getter
func (TaobaoTbkDgOptimusMaterialRequest) GetDeviceType ¶
func (r TaobaoTbkDgOptimusMaterialRequest) GetDeviceType() string
DeviceType Getter
func (TaobaoTbkDgOptimusMaterialRequest) GetDeviceValue ¶
func (r TaobaoTbkDgOptimusMaterialRequest) GetDeviceValue() string
DeviceValue Getter
func (TaobaoTbkDgOptimusMaterialRequest) GetFavoritesId ¶
func (r TaobaoTbkDgOptimusMaterialRequest) GetFavoritesId() string
FavoritesId Getter
func (TaobaoTbkDgOptimusMaterialRequest) GetItemId ¶
func (r TaobaoTbkDgOptimusMaterialRequest) GetItemId() int64
ItemId Getter
func (TaobaoTbkDgOptimusMaterialRequest) GetMaterialId ¶
func (r TaobaoTbkDgOptimusMaterialRequest) GetMaterialId() int64
MaterialId Getter
func (TaobaoTbkDgOptimusMaterialRequest) GetPageNo ¶
func (r TaobaoTbkDgOptimusMaterialRequest) GetPageNo() int64
PageNo Getter
func (TaobaoTbkDgOptimusMaterialRequest) GetPageSize ¶
func (r TaobaoTbkDgOptimusMaterialRequest) GetPageSize() int64
PageSize Getter
func (*TaobaoTbkDgOptimusMaterialRequest) SetAdzoneId ¶
func (r *TaobaoTbkDgOptimusMaterialRequest) SetAdzoneId(adzoneId int64) error
AdzoneId Setter mm_xxx_xxx_xxx的第三位
func (*TaobaoTbkDgOptimusMaterialRequest) SetContentId ¶
func (r *TaobaoTbkDgOptimusMaterialRequest) SetContentId(contentId int64) error
ContentId Setter 内容专用-内容详情ID
func (*TaobaoTbkDgOptimusMaterialRequest) SetContentSource ¶
func (r *TaobaoTbkDgOptimusMaterialRequest) SetContentSource(contentSource string) error
ContentSource Setter 内容专用-内容渠道信息
func (*TaobaoTbkDgOptimusMaterialRequest) SetDeviceEncrypt ¶
func (r *TaobaoTbkDgOptimusMaterialRequest) SetDeviceEncrypt(deviceEncrypt string) error
DeviceEncrypt Setter 智能匹配-设备号加密类型:MD5,类型为OAID时不传
func (*TaobaoTbkDgOptimusMaterialRequest) SetDeviceType ¶
func (r *TaobaoTbkDgOptimusMaterialRequest) SetDeviceType(deviceType string) error
DeviceType Setter 智能匹配-设备号类型:IMEI,或者IDFA,或者UTDID(UTDID不支持MD5加密),或者OAID
func (*TaobaoTbkDgOptimusMaterialRequest) SetDeviceValue ¶
func (r *TaobaoTbkDgOptimusMaterialRequest) SetDeviceValue(deviceValue string) error
DeviceValue Setter 智能匹配-设备号加密后的值(MD5加密需32位小写),类型为OAID时传原始OAID值
func (*TaobaoTbkDgOptimusMaterialRequest) SetFavoritesId ¶
func (r *TaobaoTbkDgOptimusMaterialRequest) SetFavoritesId(favoritesId string) error
FavoritesId Setter 选品库投放id
func (*TaobaoTbkDgOptimusMaterialRequest) SetItemId ¶
func (r *TaobaoTbkDgOptimusMaterialRequest) SetItemId(itemId int64) error
ItemId Setter 商品ID,用于相似商品推荐
func (*TaobaoTbkDgOptimusMaterialRequest) SetMaterialId ¶
func (r *TaobaoTbkDgOptimusMaterialRequest) SetMaterialId(materialId int64) error
MaterialId Setter 官方的物料Id(详细物料id见:https://market.m.taobao.com/app/qn/toutiao-new/index-pc.html#/detail/10628875?_k=gpov9a)
func (*TaobaoTbkDgOptimusMaterialRequest) SetPageNo ¶
func (r *TaobaoTbkDgOptimusMaterialRequest) SetPageNo(pageNo int64) error
PageNo Setter 第几页,默认:1
func (*TaobaoTbkDgOptimusMaterialRequest) SetPageSize ¶
func (r *TaobaoTbkDgOptimusMaterialRequest) SetPageSize(pageSize int64) error
PageSize Setter 页大小,默认20,1~100
type TaobaoTbkDgOptimusMaterialResponse ¶
type TaobaoTbkDgOptimusMaterialResponse struct { XMLName xml.Name `xml:"tbk_dg_optimus_material_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // resultList ResultList []TaobaoTbkDgOptimusMaterialMapData `json:"result_list,omitempty" xml:"result_list>taobao_tbk_dg_optimus_material_map_data,omitempty"` // 推荐信息-是否抄底 IsDefault string `json:"is_default,omitempty" xml:"is_default,omitempty"` // 商品总数-目前只有全品库商品查询有该字段 TotalCount int64 `json:"total_count,omitempty" xml:"total_count,omitempty"` }
淘宝客-推广者-物料精选 成功返回结果
type TaobaoTbkDgOptimusPromotionAPIResponse ¶
type TaobaoTbkDgOptimusPromotionAPIResponse struct { model.CommonResponse TaobaoTbkDgOptimusPromotionResponse }
淘宝客-推广者-权益物料精选 API返回值 taobao.tbk.dg.optimus.promotion
推广者使用。支持入参推广者对应的“推广位”和官方提供的“权益物料id”,获取指定权益物料。
type TaobaoTbkDgOptimusPromotionMapData ¶
type TaobaoTbkDgOptimusPromotionMapData struct { // 权益类型。1 有价券(需要购买的店铺券或单品券) 2 公开券(直接领取的店铺券或单品券) 3 妈妈券(妈妈渠道领取的店铺券或单品券) 4.品类券 (跨店可用券,可与1,2,3叠加) PromotionType string `json:"promotion_type,omitempty" xml:"promotion_type,omitempty"` // 优惠门槛类型: 1 满元 2 满件 ConditionType string `json:"condition_type,omitempty" xml:"condition_type,omitempty"` // 优惠类型: 1 减钱 2 打折 DiscountType string `json:"discount_type,omitempty" xml:"discount_type,omitempty"` // 权益信息-总量(权益初始库存量) TotalCount int64 `json:"total_count,omitempty" xml:"total_count,omitempty"` // 权益信息-剩余库存(权益剩余库存量) RemainCount int64 `json:"remain_count,omitempty" xml:"remain_count,omitempty"` // 权益信息展示开始时间,精确到毫秒时间戳 DisplayStartTime string `json:"display_start_time,omitempty" xml:"display_start_time,omitempty"` // 权益信息展示结束时间,精确到毫秒时间戳 DisplayEndTime string `json:"display_end_time,omitempty" xml:"display_end_time,omitempty"` // 权益信息 PromotionList []PromotionList `json:"promotion_list,omitempty" xml:"promotion_list>promotion_list,omitempty"` // 权益扩展信息 PromotionExtend *PromotionExtend `json:"promotion_extend,omitempty" xml:"promotion_extend,omitempty"` // 店铺信息-卖家ID SellerId string `json:"seller_id,omitempty" xml:"seller_id,omitempty"` // 店铺信息-卖家昵称 Nick string `json:"nick,omitempty" xml:"nick,omitempty"` // 店铺信息-店铺名称 ShopTitle string `json:"shop_title,omitempty" xml:"shop_title,omitempty"` // 店铺信息-店铺logo ShopPictureUrl string `json:"shop_picture_url,omitempty" xml:"shop_picture_url,omitempty"` }
TaobaoTbkDgOptimusPromotionMapData
type TaobaoTbkDgOptimusPromotionRequest ¶
type TaobaoTbkDgOptimusPromotionRequest struct { model.Params // contains filtered or unexported fields }
淘宝客-推广者-权益物料精选 API请求 taobao.tbk.dg.optimus.promotion
推广者使用。支持入参推广者对应的“推广位”和官方提供的“权益物料id”,获取指定权益物料。
func NewTaobaoTbkDgOptimusPromotionRequest ¶
func NewTaobaoTbkDgOptimusPromotionRequest() *TaobaoTbkDgOptimusPromotionRequest
初始化TaobaoTbkDgOptimusPromotionRequest对象
func (TaobaoTbkDgOptimusPromotionRequest) GetAdzoneId ¶
func (r TaobaoTbkDgOptimusPromotionRequest) GetAdzoneId() int64
AdzoneId Getter
func (TaobaoTbkDgOptimusPromotionRequest) GetApiMethodName ¶
func (r TaobaoTbkDgOptimusPromotionRequest) GetApiMethodName() string
IRequest interface 方法, 获取Api method
func (TaobaoTbkDgOptimusPromotionRequest) GetApiParams ¶
func (r TaobaoTbkDgOptimusPromotionRequest) GetApiParams() url.Values
IRequest interface 方法, 获取API参数
func (TaobaoTbkDgOptimusPromotionRequest) GetPageNum ¶
func (r TaobaoTbkDgOptimusPromotionRequest) GetPageNum() int64
PageNum Getter
func (TaobaoTbkDgOptimusPromotionRequest) GetPageSize ¶
func (r TaobaoTbkDgOptimusPromotionRequest) GetPageSize() int64
PageSize Getter
func (TaobaoTbkDgOptimusPromotionRequest) GetPromotionId ¶
func (r TaobaoTbkDgOptimusPromotionRequest) GetPromotionId() int64
PromotionId Getter
func (*TaobaoTbkDgOptimusPromotionRequest) SetAdzoneId ¶
func (r *TaobaoTbkDgOptimusPromotionRequest) SetAdzoneId(adzoneId int64) error
AdzoneId Setter mm_xxx_xxx_xxx的第3段数字
func (*TaobaoTbkDgOptimusPromotionRequest) SetPageNum ¶
func (r *TaobaoTbkDgOptimusPromotionRequest) SetPageNum(pageNum int64) error
PageNum Setter 第几页,默认:1
func (*TaobaoTbkDgOptimusPromotionRequest) SetPageSize ¶
func (r *TaobaoTbkDgOptimusPromotionRequest) SetPageSize(pageSize int64) error
PageSize Setter 页大小,一次请求请限制在10以内
func (*TaobaoTbkDgOptimusPromotionRequest) SetPromotionId ¶
func (r *TaobaoTbkDgOptimusPromotionRequest) SetPromotionId(promotionId int64) error
PromotionId Setter 官方提供的权益物料Id。有价券-37104、大额店铺券-37116,更多权益物料id敬请期待!
type TaobaoTbkDgOptimusPromotionResponse ¶
type TaobaoTbkDgOptimusPromotionResponse struct { XMLName xml.Name `xml:"tbk_dg_optimus_promotion_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // resultList ResultList []TaobaoTbkDgOptimusPromotionMapData `json:"result_list,omitempty" xml:"result_list>taobao_tbk_dg_optimus_promotion_map_data,omitempty"` }
淘宝客-推广者-权益物料精选 成功返回结果
type TaobaoTbkDgPunishOrderGetAPIResponse ¶
type TaobaoTbkDgPunishOrderGetAPIResponse struct { model.CommonResponse TaobaoTbkDgPunishOrderGetResponse }
淘宝客-推广者-处罚订单查询 API返回值 taobao.tbk.dg.punish.order.get
新增处罚订单查询API,提供媒体调用查询能力。这个是给媒体自己用的
type TaobaoTbkDgPunishOrderGetRequest ¶
type TaobaoTbkDgPunishOrderGetRequest struct { model.Params // contains filtered or unexported fields }
淘宝客-推广者-处罚订单查询 API请求 taobao.tbk.dg.punish.order.get
新增处罚订单查询API,提供媒体调用查询能力。这个是给媒体自己用的
func NewTaobaoTbkDgPunishOrderGetRequest ¶
func NewTaobaoTbkDgPunishOrderGetRequest() *TaobaoTbkDgPunishOrderGetRequest
初始化TaobaoTbkDgPunishOrderGetRequest对象
func (TaobaoTbkDgPunishOrderGetRequest) GetAfOrderOption ¶
func (r TaobaoTbkDgPunishOrderGetRequest) GetAfOrderOption() *TopApiAfOrderOption
AfOrderOption Getter
func (TaobaoTbkDgPunishOrderGetRequest) GetApiMethodName ¶
func (r TaobaoTbkDgPunishOrderGetRequest) GetApiMethodName() string
IRequest interface 方法, 获取Api method
func (TaobaoTbkDgPunishOrderGetRequest) GetApiParams ¶
func (r TaobaoTbkDgPunishOrderGetRequest) GetApiParams() url.Values
IRequest interface 方法, 获取API参数
func (*TaobaoTbkDgPunishOrderGetRequest) SetAfOrderOption ¶
func (r *TaobaoTbkDgPunishOrderGetRequest) SetAfOrderOption(afOrderOption *TopApiAfOrderOption) error
AfOrderOption Setter 入参的对象
type TaobaoTbkDgPunishOrderGetResponse ¶
type TaobaoTbkDgPunishOrderGetResponse struct { XMLName xml.Name `xml:"tbk_dg_punish_order_get_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 查询的对象 Result *TaobaoTbkDgPunishOrderGetRpcResult `json:"result,omitempty" xml:"result,omitempty"` }
淘宝客-推广者-处罚订单查询 成功返回结果
type TaobaoTbkDgPunishOrderGetResult ¶
type TaobaoTbkDgPunishOrderGetResult struct { // 渠道关系id RelationId int64 `json:"relation_id,omitempty" xml:"relation_id,omitempty"` // 结算月份 SettleMonth int64 `json:"settle_month,omitempty" xml:"settle_month,omitempty"` // 淘客订单创建时间 TkTradeCreateTime string `json:"tk_trade_create_time,omitempty" xml:"tk_trade_create_time,omitempty"` // 父订单号(该字段不再支持) TbTradeParentId int64 `json:"tb_trade_parent_id,omitempty" xml:"tb_trade_parent_id,omitempty"` // 会员运营id(该字段不再支持) SpecialId int64 `json:"special_id,omitempty" xml:"special_id,omitempty"` // 淘宝联盟unionid(该字段不再支持) UnionId string `json:"union_id,omitempty" xml:"union_id,omitempty"` // 处罚状态。0 冻结,1 解冻 PunishStatus string `json:"punish_status,omitempty" xml:"punish_status,omitempty"` // 处罚类型,目前包括 1.店铺淘宝客 2.订单虚假交易 ViolationType string `json:"violation_type,omitempty" xml:"violation_type,omitempty"` // 子订单号 TbTradeId int64 `json:"tb_trade_id,omitempty" xml:"tb_trade_id,omitempty"` // pid里的adzoneid TkAdzoneId int64 `json:"tk_adzone_id,omitempty" xml:"tk_adzone_id,omitempty"` // pid里的siteid TkSiteId int64 `json:"tk_site_id,omitempty" xml:"tk_site_id,omitempty"` // pid里的pubid TkPubId string `json:"tk_pub_id,omitempty" xml:"tk_pub_id,omitempty"` }
TaobaoTbkDgPunishOrderGetResult
type TaobaoTbkDgPunishOrderGetRpcResult ¶
type TaobaoTbkDgPunishOrderGetRpcResult struct { // 结果 Data *PageResult `json:"data,omitempty" xml:"data,omitempty"` // 业务出错的描述 BizErrorDesc string `json:"biz_error_desc,omitempty" xml:"biz_error_desc,omitempty"` // 业务出错的状态码 BizErrorCode int64 `json:"biz_error_code,omitempty" xml:"biz_error_code,omitempty"` // 执行结果 ResultMsg string `json:"result_msg,omitempty" xml:"result_msg,omitempty"` // 执行结果状态码 ResultCode int64 `json:"result_code,omitempty" xml:"result_code,omitempty"` }
TaobaoTbkDgPunishOrderGetRpcResult
type TaobaoTbkDgVegasSendStatusAPIResponse ¶
type TaobaoTbkDgVegasSendStatusAPIResponse struct { model.CommonResponse TaobaoTbkDgVegasSendStatusResponse }
淘宝客-推广者-超级红包领取状态查询 API返回值 taobao.tbk.dg.vegas.send.status
淘宝客传入用户标识的信息,查询该用户是否有当前阶段待核销的红包(淘客接入前需签署协议 https://pub.alimama.com/fourth/protocol/common.htm?key=hangye_laxin)
type TaobaoTbkDgVegasSendStatusData ¶
type TaobaoTbkDgVegasSendStatusData struct { // 返回结果封装对象 ResultList []TaobaoTbkDgVegasSendStatusMapData `json:"result_list,omitempty" xml:"result_list>taobao_tbk_dg_vegas_send_status_map_data,omitempty"` }
TaobaoTbkDgVegasSendStatusData
type TaobaoTbkDgVegasSendStatusMapData ¶
type TaobaoTbkDgVegasSendStatusMapData struct { // 若该用户当前无待核销的红包,则返回1,若当前有待核销的红包,则返回0 IsNewUser string `json:"is_new_user,omitempty" xml:"is_new_user,omitempty"` }
TaobaoTbkDgVegasSendStatusMapData
type TaobaoTbkDgVegasSendStatusRequest ¶
type TaobaoTbkDgVegasSendStatusRequest struct { model.Params // contains filtered or unexported fields }
淘宝客-推广者-超级红包领取状态查询 API请求 taobao.tbk.dg.vegas.send.status
淘宝客传入用户标识的信息,查询该用户是否有当前阶段待核销的红包(淘客接入前需签署协议 https://pub.alimama.com/fourth/protocol/common.htm?key=hangye_laxin)
func NewTaobaoTbkDgVegasSendStatusRequest ¶
func NewTaobaoTbkDgVegasSendStatusRequest() *TaobaoTbkDgVegasSendStatusRequest
初始化TaobaoTbkDgVegasSendStatusRequest对象
func (TaobaoTbkDgVegasSendStatusRequest) GetApiMethodName ¶
func (r TaobaoTbkDgVegasSendStatusRequest) GetApiMethodName() string
IRequest interface 方法, 获取Api method
func (TaobaoTbkDgVegasSendStatusRequest) GetApiParams ¶
func (r TaobaoTbkDgVegasSendStatusRequest) GetApiParams() url.Values
IRequest interface 方法, 获取API参数
func (TaobaoTbkDgVegasSendStatusRequest) GetDeviceType ¶
func (r TaobaoTbkDgVegasSendStatusRequest) GetDeviceType() string
DeviceType Getter
func (TaobaoTbkDgVegasSendStatusRequest) GetDeviceValue ¶
func (r TaobaoTbkDgVegasSendStatusRequest) GetDeviceValue() string
DeviceValue Getter
func (TaobaoTbkDgVegasSendStatusRequest) GetPid ¶
func (r TaobaoTbkDgVegasSendStatusRequest) GetPid() string
Pid Getter
func (TaobaoTbkDgVegasSendStatusRequest) GetRelationId ¶
func (r TaobaoTbkDgVegasSendStatusRequest) GetRelationId() string
RelationId Getter
func (TaobaoTbkDgVegasSendStatusRequest) GetSpecialId ¶
func (r TaobaoTbkDgVegasSendStatusRequest) GetSpecialId() string
SpecialId Getter
func (TaobaoTbkDgVegasSendStatusRequest) GetThorBizCode ¶
func (r TaobaoTbkDgVegasSendStatusRequest) GetThorBizCode() string
ThorBizCode Getter
func (*TaobaoTbkDgVegasSendStatusRequest) SetDeviceType ¶
func (r *TaobaoTbkDgVegasSendStatusRequest) SetDeviceType(deviceType string) error
DeviceType Setter 入参类型(该模式下返回的结果为模糊匹配结果,和实际情况可能存在误差): 1. IMEI 2. IDFA 3. OAID 4. MOBILE 5. ALIPAY_ID
func (*TaobaoTbkDgVegasSendStatusRequest) SetDeviceValue ¶
func (r *TaobaoTbkDgVegasSendStatusRequest) SetDeviceValue(deviceValue string) error
DeviceValue Setter 加密后的值(ALIPAY_ID除外),需用MD5加密,32位小写
func (*TaobaoTbkDgVegasSendStatusRequest) SetPid ¶
func (r *TaobaoTbkDgVegasSendStatusRequest) SetPid(pid string) error
Pid Setter 媒体pid
func (*TaobaoTbkDgVegasSendStatusRequest) SetRelationId ¶
func (r *TaobaoTbkDgVegasSendStatusRequest) SetRelationId(relationId string) error
RelationId Setter 渠道管理id
func (*TaobaoTbkDgVegasSendStatusRequest) SetSpecialId ¶
func (r *TaobaoTbkDgVegasSendStatusRequest) SetSpecialId(specialId string) error
SpecialId Setter 会员运营id
func (*TaobaoTbkDgVegasSendStatusRequest) SetThorBizCode ¶
func (r *TaobaoTbkDgVegasSendStatusRequest) SetThorBizCode(thorBizCode string) error
ThorBizCode Setter thor平台业务码, 1:coupon 超红
type TaobaoTbkDgVegasSendStatusResponse ¶
type TaobaoTbkDgVegasSendStatusResponse struct { XMLName xml.Name `xml:"tbk_dg_vegas_send_status_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 返回结果描述信息 ResultMsg string `json:"result_msg,omitempty" xml:"result_msg,omitempty"` // 返回结果封装对象 Data *TaobaoTbkDgVegasSendStatusData `json:"data,omitempty" xml:"data,omitempty"` }
淘宝客-推广者-超级红包领取状态查询 成功返回结果
type TaobaoTbkDgVegasTljCreateAPIResponse ¶
type TaobaoTbkDgVegasTljCreateAPIResponse struct { model.CommonResponse TaobaoTbkDgVegasTljCreateResponse }
淘宝客-推广者-淘礼金创建 API返回值 taobao.tbk.dg.vegas.tlj.create
创建淘礼金
type TaobaoTbkDgVegasTljCreateRequest ¶
type TaobaoTbkDgVegasTljCreateRequest struct { model.Params // contains filtered or unexported fields }
淘宝客-推广者-淘礼金创建 API请求 taobao.tbk.dg.vegas.tlj.create
创建淘礼金
func NewTaobaoTbkDgVegasTljCreateRequest ¶
func NewTaobaoTbkDgVegasTljCreateRequest() *TaobaoTbkDgVegasTljCreateRequest
初始化TaobaoTbkDgVegasTljCreateRequest对象
func (TaobaoTbkDgVegasTljCreateRequest) GetAdzoneId ¶
func (r TaobaoTbkDgVegasTljCreateRequest) GetAdzoneId() int64
AdzoneId Getter
func (TaobaoTbkDgVegasTljCreateRequest) GetApiMethodName ¶
func (r TaobaoTbkDgVegasTljCreateRequest) GetApiMethodName() string
IRequest interface 方法, 获取Api method
func (TaobaoTbkDgVegasTljCreateRequest) GetApiParams ¶
func (r TaobaoTbkDgVegasTljCreateRequest) GetApiParams() url.Values
IRequest interface 方法, 获取API参数
func (TaobaoTbkDgVegasTljCreateRequest) GetCampaignType ¶
func (r TaobaoTbkDgVegasTljCreateRequest) GetCampaignType() string
CampaignType Getter
func (TaobaoTbkDgVegasTljCreateRequest) GetItemId ¶
func (r TaobaoTbkDgVegasTljCreateRequest) GetItemId() int64
ItemId Getter
func (TaobaoTbkDgVegasTljCreateRequest) GetName ¶
func (r TaobaoTbkDgVegasTljCreateRequest) GetName() string
Name Getter
func (TaobaoTbkDgVegasTljCreateRequest) GetPerFace ¶
func (r TaobaoTbkDgVegasTljCreateRequest) GetPerFace() string
PerFace Getter
func (TaobaoTbkDgVegasTljCreateRequest) GetSecurityLevel ¶
func (r TaobaoTbkDgVegasTljCreateRequest) GetSecurityLevel() int64
SecurityLevel Getter
func (TaobaoTbkDgVegasTljCreateRequest) GetSecuritySwitch ¶
func (r TaobaoTbkDgVegasTljCreateRequest) GetSecuritySwitch() bool
SecuritySwitch Getter
func (TaobaoTbkDgVegasTljCreateRequest) GetSendEndTime ¶
func (r TaobaoTbkDgVegasTljCreateRequest) GetSendEndTime() string
SendEndTime Getter
func (TaobaoTbkDgVegasTljCreateRequest) GetSendStartTime ¶
func (r TaobaoTbkDgVegasTljCreateRequest) GetSendStartTime() string
SendStartTime Getter
func (TaobaoTbkDgVegasTljCreateRequest) GetTotalNum ¶
func (r TaobaoTbkDgVegasTljCreateRequest) GetTotalNum() int64
TotalNum Getter
func (TaobaoTbkDgVegasTljCreateRequest) GetUseEndTime ¶
func (r TaobaoTbkDgVegasTljCreateRequest) GetUseEndTime() string
UseEndTime Getter
func (TaobaoTbkDgVegasTljCreateRequest) GetUseEndTimeMode ¶
func (r TaobaoTbkDgVegasTljCreateRequest) GetUseEndTimeMode() int64
UseEndTimeMode Getter
func (TaobaoTbkDgVegasTljCreateRequest) GetUseStartTime ¶
func (r TaobaoTbkDgVegasTljCreateRequest) GetUseStartTime() string
UseStartTime Getter
func (TaobaoTbkDgVegasTljCreateRequest) GetUserTotalWinNumLimit ¶
func (r TaobaoTbkDgVegasTljCreateRequest) GetUserTotalWinNumLimit() int64
UserTotalWinNumLimit Getter
func (*TaobaoTbkDgVegasTljCreateRequest) SetAdzoneId ¶
func (r *TaobaoTbkDgVegasTljCreateRequest) SetAdzoneId(adzoneId int64) error
AdzoneId Setter 妈妈广告位Id
func (*TaobaoTbkDgVegasTljCreateRequest) SetCampaignType ¶
func (r *TaobaoTbkDgVegasTljCreateRequest) SetCampaignType(campaignType string) error
CampaignType Setter CPS佣金计划类型
func (*TaobaoTbkDgVegasTljCreateRequest) SetItemId ¶
func (r *TaobaoTbkDgVegasTljCreateRequest) SetItemId(itemId int64) error
ItemId Setter 宝贝id
func (*TaobaoTbkDgVegasTljCreateRequest) SetName ¶
func (r *TaobaoTbkDgVegasTljCreateRequest) SetName(name string) error
Name Setter 淘礼金名称,最大10个字符
func (*TaobaoTbkDgVegasTljCreateRequest) SetPerFace ¶
func (r *TaobaoTbkDgVegasTljCreateRequest) SetPerFace(perFace string) error
PerFace Setter 单个淘礼金面额,支持两位小数,单位元
func (*TaobaoTbkDgVegasTljCreateRequest) SetSecurityLevel ¶
func (r *TaobaoTbkDgVegasTljCreateRequest) SetSecurityLevel(securityLevel int64) error
SecurityLevel Setter 安全等级,0:适用于常规淘礼金投放场景;1:更高安全级别,适用于淘礼金面额偏大等安全性较高的淘礼金投放场景,可能导致更多用户拦截。security_switch为true,此字段不填写时,使用0作为默认安全级别。如果security_switch为false,不进行安全判断。
func (*TaobaoTbkDgVegasTljCreateRequest) SetSecuritySwitch ¶
func (r *TaobaoTbkDgVegasTljCreateRequest) SetSecuritySwitch(securitySwitch bool) error
SecuritySwitch Setter 安全开关,若不进行安全校验,可能放大您的资损风险,请谨慎选择
func (*TaobaoTbkDgVegasTljCreateRequest) SetSendEndTime ¶
func (r *TaobaoTbkDgVegasTljCreateRequest) SetSendEndTime(sendEndTime string) error
SendEndTime Setter 发放截止时间
func (*TaobaoTbkDgVegasTljCreateRequest) SetSendStartTime ¶
func (r *TaobaoTbkDgVegasTljCreateRequest) SetSendStartTime(sendStartTime string) error
SendStartTime Setter 发放开始时间
func (*TaobaoTbkDgVegasTljCreateRequest) SetTotalNum ¶
func (r *TaobaoTbkDgVegasTljCreateRequest) SetTotalNum(totalNum int64) error
TotalNum Setter 淘礼金总个数
func (*TaobaoTbkDgVegasTljCreateRequest) SetUseEndTime ¶
func (r *TaobaoTbkDgVegasTljCreateRequest) SetUseEndTime(useEndTime string) error
UseEndTime Setter 使用结束日期。如果是结束时间模式为相对时间,时间格式为1-7直接的整数, 例如,1(相对领取时间1天); 如果是绝对时间,格式为yyyy-MM-dd,例如,2019-01-29,表示到2019-01-29 23:59:59结束
func (*TaobaoTbkDgVegasTljCreateRequest) SetUseEndTimeMode ¶
func (r *TaobaoTbkDgVegasTljCreateRequest) SetUseEndTimeMode(useEndTimeMode int64) error
UseEndTimeMode Setter 结束日期的模式,1:相对时间,2:绝对时间
func (*TaobaoTbkDgVegasTljCreateRequest) SetUseStartTime ¶
func (r *TaobaoTbkDgVegasTljCreateRequest) SetUseStartTime(useStartTime string) error
UseStartTime Setter 使用开始日期。相对时间,无需填写,以用户领取时间作为使用开始时间。绝对时间,格式 yyyy-MM-dd,例如,2019-01-29,表示从2019-01-29 00:00:00 开始
func (*TaobaoTbkDgVegasTljCreateRequest) SetUserTotalWinNumLimit ¶
func (r *TaobaoTbkDgVegasTljCreateRequest) SetUserTotalWinNumLimit(userTotalWinNumLimit int64) error
UserTotalWinNumLimit Setter 单用户累计中奖次数上限
type TaobaoTbkDgVegasTljCreateResponse ¶
type TaobaoTbkDgVegasTljCreateResponse struct { XMLName xml.Name `xml:"tbk_dg_vegas_tlj_create_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // result Result *TaobaoTbkDgVegasTljCreateResult `json:"result,omitempty" xml:"result,omitempty"` }
淘宝客-推广者-淘礼金创建 成功返回结果
type TaobaoTbkDgVegasTljCreateResult ¶
type TaobaoTbkDgVegasTljCreateResult struct { // model Model *RightsInstanceCreateResult `json:"model,omitempty" xml:"model,omitempty"` // msgCode MsgCode string `json:"msg_code,omitempty" xml:"msg_code,omitempty"` // msgInfo MsgInfo string `json:"msg_info,omitempty" xml:"msg_info,omitempty"` // success Success bool `json:"success,omitempty" xml:"success,omitempty"` }
TaobaoTbkDgVegasTljCreateResult
type TaobaoTbkDgVegasTljInstanceReportAPIResponse ¶
type TaobaoTbkDgVegasTljInstanceReportAPIResponse struct { model.CommonResponse TaobaoTbkDgVegasTljInstanceReportResponse }
淘宝客-推广者-淘礼金发放及使用报表 API返回值 taobao.tbk.dg.vegas.tlj.instance.report
淘礼金实例维度相关报表数据查询
type TaobaoTbkDgVegasTljInstanceReportRequest ¶
type TaobaoTbkDgVegasTljInstanceReportRequest struct { model.Params // contains filtered or unexported fields }
淘宝客-推广者-淘礼金发放及使用报表 API请求 taobao.tbk.dg.vegas.tlj.instance.report
淘礼金实例维度相关报表数据查询
func NewTaobaoTbkDgVegasTljInstanceReportRequest ¶
func NewTaobaoTbkDgVegasTljInstanceReportRequest() *TaobaoTbkDgVegasTljInstanceReportRequest
初始化TaobaoTbkDgVegasTljInstanceReportRequest对象
func (TaobaoTbkDgVegasTljInstanceReportRequest) GetApiMethodName ¶
func (r TaobaoTbkDgVegasTljInstanceReportRequest) GetApiMethodName() string
IRequest interface 方法, 获取Api method
func (TaobaoTbkDgVegasTljInstanceReportRequest) GetApiParams ¶
func (r TaobaoTbkDgVegasTljInstanceReportRequest) GetApiParams() url.Values
IRequest interface 方法, 获取API参数
func (TaobaoTbkDgVegasTljInstanceReportRequest) GetRightsId ¶
func (r TaobaoTbkDgVegasTljInstanceReportRequest) GetRightsId() string
RightsId Getter
func (*TaobaoTbkDgVegasTljInstanceReportRequest) SetRightsId ¶
func (r *TaobaoTbkDgVegasTljInstanceReportRequest) SetRightsId(rightsId string) error
RightsId Setter 实例ID
type TaobaoTbkDgVegasTljInstanceReportResponse ¶
type TaobaoTbkDgVegasTljInstanceReportResponse struct { XMLName xml.Name `xml:"tbk_dg_vegas_tlj_instance_report_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 接口返回model Result *TaobaoTbkDgVegasTljInstanceReportResult `json:"result,omitempty" xml:"result,omitempty"` }
淘宝客-推广者-淘礼金发放及使用报表 成功返回结果
type TaobaoTbkDgVegasTljInstanceReportResult ¶
type TaobaoTbkDgVegasTljInstanceReportResult struct { // model Model *TljInstanceReportDto `json:"model,omitempty" xml:"model,omitempty"` // msgCode MsgCode string `json:"msg_code,omitempty" xml:"msg_code,omitempty"` // msgInfo MsgInfo string `json:"msg_info,omitempty" xml:"msg_info,omitempty"` // 是否成功 Success bool `json:"success,omitempty" xml:"success,omitempty"` }
TaobaoTbkDgVegasTljInstanceReportResult
type TaobaoTbkItemInfoGetAPIResponse ¶
type TaobaoTbkItemInfoGetAPIResponse struct { model.CommonResponse TaobaoTbkItemInfoGetResponse }
淘宝客-公用-淘宝客商品详情查询(简版) API返回值 taobao.tbk.item.info.get
淘宝客商品详情查询(简版)
type TaobaoTbkItemInfoGetRequest ¶
淘宝客-公用-淘宝客商品详情查询(简版) API请求 taobao.tbk.item.info.get
淘宝客商品详情查询(简版)
func NewTaobaoTbkItemInfoGetRequest ¶
func NewTaobaoTbkItemInfoGetRequest() *TaobaoTbkItemInfoGetRequest
初始化TaobaoTbkItemInfoGetRequest对象
func (TaobaoTbkItemInfoGetRequest) GetApiMethodName ¶
func (r TaobaoTbkItemInfoGetRequest) GetApiMethodName() string
IRequest interface 方法, 获取Api method
func (TaobaoTbkItemInfoGetRequest) GetApiParams ¶
func (r TaobaoTbkItemInfoGetRequest) GetApiParams() url.Values
IRequest interface 方法, 获取API参数
func (TaobaoTbkItemInfoGetRequest) GetIp ¶
func (r TaobaoTbkItemInfoGetRequest) GetIp() string
Ip Getter
func (TaobaoTbkItemInfoGetRequest) GetNumIids ¶
func (r TaobaoTbkItemInfoGetRequest) GetNumIids() string
NumIids Getter
func (TaobaoTbkItemInfoGetRequest) GetPlatform ¶
func (r TaobaoTbkItemInfoGetRequest) GetPlatform() int64
Platform Getter
func (*TaobaoTbkItemInfoGetRequest) SetIp ¶
func (r *TaobaoTbkItemInfoGetRequest) SetIp(ip string) error
Ip Setter ip地址,影响邮费获取,如果不传或者传入不准确,邮费无法精准提供
func (*TaobaoTbkItemInfoGetRequest) SetNumIids ¶
func (r *TaobaoTbkItemInfoGetRequest) SetNumIids(numIids string) error
NumIids Setter 商品ID串,用,分割,最大40个
func (*TaobaoTbkItemInfoGetRequest) SetPlatform ¶
func (r *TaobaoTbkItemInfoGetRequest) SetPlatform(platform int64) error
Platform Setter 链接形式:1:PC,2:无线,默认:1
type TaobaoTbkItemInfoGetResponse ¶
type TaobaoTbkItemInfoGetResponse struct { XMLName xml.Name `xml:"tbk_item_info_get_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 淘宝客商品 Results []NTbkItem `json:"results,omitempty" xml:"results>n_tbk_item,omitempty"` }
淘宝客-公用-淘宝客商品详情查询(简版) 成功返回结果
type TaobaoTbkScInvitecodeGetAPIResponse ¶
type TaobaoTbkScInvitecodeGetAPIResponse struct { model.CommonResponse TaobaoTbkScInvitecodeGetResponse }
淘宝客-公用-私域用户邀请码生成 API返回值 taobao.tbk.sc.invitecode.get
私域用户管理(即渠道管理或会员运营管理)功能中,通过此API可生成淘宝客自身的邀请码。
type TaobaoTbkScInvitecodeGetData ¶
type TaobaoTbkScInvitecodeGetData struct { // 邀请码 InviterCode string `json:"inviter_code,omitempty" xml:"inviter_code,omitempty"` }
TaobaoTbkScInvitecodeGetData
type TaobaoTbkScInvitecodeGetRequest ¶
type TaobaoTbkScInvitecodeGetRequest struct { model.Params // contains filtered or unexported fields }
淘宝客-公用-私域用户邀请码生成 API请求 taobao.tbk.sc.invitecode.get
私域用户管理(即渠道管理或会员运营管理)功能中,通过此API可生成淘宝客自身的邀请码。
func NewTaobaoTbkScInvitecodeGetRequest ¶
func NewTaobaoTbkScInvitecodeGetRequest() *TaobaoTbkScInvitecodeGetRequest
初始化TaobaoTbkScInvitecodeGetRequest对象
func (TaobaoTbkScInvitecodeGetRequest) GetApiMethodName ¶
func (r TaobaoTbkScInvitecodeGetRequest) GetApiMethodName() string
IRequest interface 方法, 获取Api method
func (TaobaoTbkScInvitecodeGetRequest) GetApiParams ¶
func (r TaobaoTbkScInvitecodeGetRequest) GetApiParams() url.Values
IRequest interface 方法, 获取API参数
func (TaobaoTbkScInvitecodeGetRequest) GetCodeType ¶
func (r TaobaoTbkScInvitecodeGetRequest) GetCodeType() int64
CodeType Getter
func (TaobaoTbkScInvitecodeGetRequest) GetRelationApp ¶
func (r TaobaoTbkScInvitecodeGetRequest) GetRelationApp() string
RelationApp Getter
func (TaobaoTbkScInvitecodeGetRequest) GetRelationId ¶
func (r TaobaoTbkScInvitecodeGetRequest) GetRelationId() int64
RelationId Getter
func (*TaobaoTbkScInvitecodeGetRequest) SetCodeType ¶
func (r *TaobaoTbkScInvitecodeGetRequest) SetCodeType(codeType int64) error
CodeType Setter 邀请码类型,1 - 渠道邀请,2 - 渠道裂变,3 -会员邀请
func (*TaobaoTbkScInvitecodeGetRequest) SetRelationApp ¶
func (r *TaobaoTbkScInvitecodeGetRequest) SetRelationApp(relationApp string) error
RelationApp Setter 渠道推广的物料类型
func (*TaobaoTbkScInvitecodeGetRequest) SetRelationId ¶
func (r *TaobaoTbkScInvitecodeGetRequest) SetRelationId(relationId int64) error
RelationId Setter 渠道关系ID
type TaobaoTbkScInvitecodeGetResponse ¶
type TaobaoTbkScInvitecodeGetResponse struct { XMLName xml.Name `xml:"tbk_sc_invitecode_get_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // data Data *TaobaoTbkScInvitecodeGetData `json:"data,omitempty" xml:"data,omitempty"` }
淘宝客-公用-私域用户邀请码生成 成功返回结果
type TaobaoTbkScPublisherInfoGetAPIResponse ¶
type TaobaoTbkScPublisherInfoGetAPIResponse struct { model.CommonResponse TaobaoTbkScPublisherInfoGetResponse }
淘宝客-公用-私域用户备案信息查询 API返回值 taobao.tbk.sc.publisher.info.get
查询已生成的渠道id或会员运营id的相关信息。
type TaobaoTbkScPublisherInfoGetData ¶
type TaobaoTbkScPublisherInfoGetData struct { // 渠道专属pidList RootPidChannelList []string `json:"root_pid_channel_list,omitempty" xml:"root_pid_channel_list>string,omitempty"` // 共享字段 - 总记录数 TotalCount int64 `json:"total_count,omitempty" xml:"total_count,omitempty"` // 共享字段 - 渠道或会员列表 InviterList []TaobaoTbkScPublisherInfoGetMapData `json:"inviter_list,omitempty" xml:"inviter_list>taobao_tbk_sc_publisher_info_get_map_data,omitempty"` }
TaobaoTbkScPublisherInfoGetData
type TaobaoTbkScPublisherInfoGetMapData ¶
type TaobaoTbkScPublisherInfoGetMapData struct { // 共享字段 - 备案场景:common(通用备案),etao(一淘备案),minietao(一淘小程序备案),offlineShop(线下门店备案),offlinePerson(线下个人备案) RelationApp string `json:"relation_app,omitempty" xml:"relation_app,omitempty"` // 共享字段 - 备案日期 CreateDate string `json:"create_date,omitempty" xml:"create_date,omitempty"` // 渠道独有 - 渠道昵称 AccountName string `json:"account_name,omitempty" xml:"account_name,omitempty"` // 渠道独有 - 渠道姓名 RealName string `json:"real_name,omitempty" xml:"real_name,omitempty"` // 渠道独有 - 渠道关系ID RelationId int64 `json:"relation_id,omitempty" xml:"relation_id,omitempty"` // 渠道独有 - 线下场景信息,1 - 门店,2- 学校,3 - 工厂,4 - 其他 OfflineScene string `json:"offline_scene,omitempty" xml:"offline_scene,omitempty"` // 渠道独有 - 线上场景信息,1 - 微信群,2- QQ群,3 - 其他 OnlineScene string `json:"online_scene,omitempty" xml:"online_scene,omitempty"` // 渠道独有 - 媒体侧渠道备注信息 Note string `json:"note,omitempty" xml:"note,omitempty"` // 共享字段 - 渠道/会员专属pid RootPid string `json:"root_pid,omitempty" xml:"root_pid,omitempty"` // 共享字段 - 渠道/会员原始身份信息 Rtag string `json:"rtag,omitempty" xml:"rtag,omitempty"` // 线下备案专属信息 OfflineInfo *RegisterInfoDto `json:"offline_info,omitempty" xml:"offline_info,omitempty"` // 会员独有 - 会员运营ID SpecialId int64 `json:"special_id,omitempty" xml:"special_id,omitempty"` // 渠道独有 - 处罚状态 PunishStatus string `json:"punish_status,omitempty" xml:"punish_status,omitempty"` // 淘宝客外部用户标记,如自身系统账户ID;微信ID等 ExternalId string `json:"external_id,omitempty" xml:"external_id,omitempty"` // 1-微信、2-微博、3-抖音、4-快手、5-QQ,0-其他 ExternalType string `json:"external_type,omitempty" xml:"external_type,omitempty"` }
TaobaoTbkScPublisherInfoGetMapData
type TaobaoTbkScPublisherInfoGetRequest ¶
type TaobaoTbkScPublisherInfoGetRequest struct { model.Params // contains filtered or unexported fields }
淘宝客-公用-私域用户备案信息查询 API请求 taobao.tbk.sc.publisher.info.get
查询已生成的渠道id或会员运营id的相关信息。
func NewTaobaoTbkScPublisherInfoGetRequest ¶
func NewTaobaoTbkScPublisherInfoGetRequest() *TaobaoTbkScPublisherInfoGetRequest
初始化TaobaoTbkScPublisherInfoGetRequest对象
func (TaobaoTbkScPublisherInfoGetRequest) GetApiMethodName ¶
func (r TaobaoTbkScPublisherInfoGetRequest) GetApiMethodName() string
IRequest interface 方法, 获取Api method
func (TaobaoTbkScPublisherInfoGetRequest) GetApiParams ¶
func (r TaobaoTbkScPublisherInfoGetRequest) GetApiParams() url.Values
IRequest interface 方法, 获取API参数
func (TaobaoTbkScPublisherInfoGetRequest) GetExternalId ¶
func (r TaobaoTbkScPublisherInfoGetRequest) GetExternalId() string
ExternalId Getter
func (TaobaoTbkScPublisherInfoGetRequest) GetExternalType ¶
func (r TaobaoTbkScPublisherInfoGetRequest) GetExternalType() int64
ExternalType Getter
func (TaobaoTbkScPublisherInfoGetRequest) GetInfoType ¶
func (r TaobaoTbkScPublisherInfoGetRequest) GetInfoType() int64
InfoType Getter
func (TaobaoTbkScPublisherInfoGetRequest) GetPageNo ¶
func (r TaobaoTbkScPublisherInfoGetRequest) GetPageNo() int64
PageNo Getter
func (TaobaoTbkScPublisherInfoGetRequest) GetPageSize ¶
func (r TaobaoTbkScPublisherInfoGetRequest) GetPageSize() int64
PageSize Getter
func (TaobaoTbkScPublisherInfoGetRequest) GetRelationApp ¶
func (r TaobaoTbkScPublisherInfoGetRequest) GetRelationApp() string
RelationApp Getter
func (TaobaoTbkScPublisherInfoGetRequest) GetRelationId ¶
func (r TaobaoTbkScPublisherInfoGetRequest) GetRelationId() int64
RelationId Getter
func (TaobaoTbkScPublisherInfoGetRequest) GetSpecialId ¶
func (r TaobaoTbkScPublisherInfoGetRequest) GetSpecialId() string
SpecialId Getter
func (*TaobaoTbkScPublisherInfoGetRequest) SetExternalId ¶
func (r *TaobaoTbkScPublisherInfoGetRequest) SetExternalId(externalId string) error
ExternalId Setter 淘宝客外部用户标记,如自身系统账户ID;微信ID等
func (*TaobaoTbkScPublisherInfoGetRequest) SetExternalType ¶
func (r *TaobaoTbkScPublisherInfoGetRequest) SetExternalType(externalType int64) error
ExternalType Setter 1-微信、2-微博、3-抖音、4-快手、5-QQ,0-其他;默认为0
func (*TaobaoTbkScPublisherInfoGetRequest) SetInfoType ¶
func (r *TaobaoTbkScPublisherInfoGetRequest) SetInfoType(infoType int64) error
InfoType Setter 类型,必选 1:渠道信息;2:会员信息
func (*TaobaoTbkScPublisherInfoGetRequest) SetPageNo ¶
func (r *TaobaoTbkScPublisherInfoGetRequest) SetPageNo(pageNo int64) error
PageNo Setter 第几页
func (*TaobaoTbkScPublisherInfoGetRequest) SetPageSize ¶
func (r *TaobaoTbkScPublisherInfoGetRequest) SetPageSize(pageSize int64) error
PageSize Setter 每页大小
func (*TaobaoTbkScPublisherInfoGetRequest) SetRelationApp ¶
func (r *TaobaoTbkScPublisherInfoGetRequest) SetRelationApp(relationApp string) error
RelationApp Setter 备案的场景:common(通用备案),etao(一淘备案),minietao(一淘小程序备案),offlineShop(线下门店备案),offlinePerson(线下个人备案)。如不填默认common。查询会员信息只需填写common即可
func (*TaobaoTbkScPublisherInfoGetRequest) SetRelationId ¶
func (r *TaobaoTbkScPublisherInfoGetRequest) SetRelationId(relationId int64) error
RelationId Setter 渠道独占 - 渠道关系ID
func (*TaobaoTbkScPublisherInfoGetRequest) SetSpecialId ¶
func (r *TaobaoTbkScPublisherInfoGetRequest) SetSpecialId(specialId string) error
SpecialId Setter 会员独占 - 会员运营ID
type TaobaoTbkScPublisherInfoGetResponse ¶
type TaobaoTbkScPublisherInfoGetResponse struct { XMLName xml.Name `xml:"tbk_sc_publisher_info_get_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // data Data *TaobaoTbkScPublisherInfoGetData `json:"data,omitempty" xml:"data,omitempty"` }
淘宝客-公用-私域用户备案信息查询 成功返回结果
type TaobaoTbkScPublisherInfoSaveAPIResponse ¶
type TaobaoTbkScPublisherInfoSaveAPIResponse struct { model.CommonResponse TaobaoTbkScPublisherInfoSaveResponse }
淘宝客-公用-私域用户备案 API返回值 taobao.tbk.sc.publisher.info.save
通过入参渠道管理或会员运营管理的邀请码,生成渠道id或会员运营id,完成渠道或会员的备案。
type TaobaoTbkScPublisherInfoSaveData ¶
type TaobaoTbkScPublisherInfoSaveData struct { // 渠道关系ID RelationId int64 `json:"relation_id,omitempty" xml:"relation_id,omitempty"` // 渠道昵称 AccountName string `json:"account_name,omitempty" xml:"account_name,omitempty"` // 会员运营ID SpecialId int64 `json:"special_id,omitempty" xml:"special_id,omitempty"` // 如果重复绑定会提示:”重复绑定渠道“或”重复绑定粉丝“ Desc string `json:"desc,omitempty" xml:"desc,omitempty"` }
TaobaoTbkScPublisherInfoSaveData
type TaobaoTbkScPublisherInfoSaveRequest ¶
type TaobaoTbkScPublisherInfoSaveRequest struct { model.Params // contains filtered or unexported fields }
淘宝客-公用-私域用户备案 API请求 taobao.tbk.sc.publisher.info.save
通过入参渠道管理或会员运营管理的邀请码,生成渠道id或会员运营id,完成渠道或会员的备案。
func NewTaobaoTbkScPublisherInfoSaveRequest ¶
func NewTaobaoTbkScPublisherInfoSaveRequest() *TaobaoTbkScPublisherInfoSaveRequest
初始化TaobaoTbkScPublisherInfoSaveRequest对象
func (TaobaoTbkScPublisherInfoSaveRequest) GetApiMethodName ¶
func (r TaobaoTbkScPublisherInfoSaveRequest) GetApiMethodName() string
IRequest interface 方法, 获取Api method
func (TaobaoTbkScPublisherInfoSaveRequest) GetApiParams ¶
func (r TaobaoTbkScPublisherInfoSaveRequest) GetApiParams() url.Values
IRequest interface 方法, 获取API参数
func (TaobaoTbkScPublisherInfoSaveRequest) GetInfoType ¶
func (r TaobaoTbkScPublisherInfoSaveRequest) GetInfoType() int64
InfoType Getter
func (TaobaoTbkScPublisherInfoSaveRequest) GetInviterCode ¶
func (r TaobaoTbkScPublisherInfoSaveRequest) GetInviterCode() string
InviterCode Getter
func (TaobaoTbkScPublisherInfoSaveRequest) GetNote ¶
func (r TaobaoTbkScPublisherInfoSaveRequest) GetNote() string
Note Getter
func (TaobaoTbkScPublisherInfoSaveRequest) GetOfflineScene ¶
func (r TaobaoTbkScPublisherInfoSaveRequest) GetOfflineScene() string
OfflineScene Getter
func (TaobaoTbkScPublisherInfoSaveRequest) GetOnlineScene ¶
func (r TaobaoTbkScPublisherInfoSaveRequest) GetOnlineScene() string
OnlineScene Getter
func (TaobaoTbkScPublisherInfoSaveRequest) GetRegisterInfo ¶
func (r TaobaoTbkScPublisherInfoSaveRequest) GetRegisterInfo() string
RegisterInfo Getter
func (TaobaoTbkScPublisherInfoSaveRequest) GetRelationFrom ¶
func (r TaobaoTbkScPublisherInfoSaveRequest) GetRelationFrom() string
RelationFrom Getter
func (*TaobaoTbkScPublisherInfoSaveRequest) SetInfoType ¶
func (r *TaobaoTbkScPublisherInfoSaveRequest) SetInfoType(infoType int64) error
InfoType Setter 类型,必选 默认为1:
func (*TaobaoTbkScPublisherInfoSaveRequest) SetInviterCode ¶
func (r *TaobaoTbkScPublisherInfoSaveRequest) SetInviterCode(inviterCode string) error
InviterCode Setter 淘宝客邀请渠道或会员的邀请码
func (*TaobaoTbkScPublisherInfoSaveRequest) SetNote ¶
func (r *TaobaoTbkScPublisherInfoSaveRequest) SetNote(note string) error
Note Setter 媒体侧渠道备注
func (*TaobaoTbkScPublisherInfoSaveRequest) SetOfflineScene ¶
func (r *TaobaoTbkScPublisherInfoSaveRequest) SetOfflineScene(offlineScene string) error
OfflineScene Setter 渠道备案 - 线下场景信息,1 - 门店,2- 学校,3 - 工厂,4 - 其他
func (*TaobaoTbkScPublisherInfoSaveRequest) SetOnlineScene ¶
func (r *TaobaoTbkScPublisherInfoSaveRequest) SetOnlineScene(onlineScene string) error
OnlineScene Setter 渠道备案 - 线上场景信息,1 - 微信群,2- QQ群,3 - 其他
func (*TaobaoTbkScPublisherInfoSaveRequest) SetRegisterInfo ¶
func (r *TaobaoTbkScPublisherInfoSaveRequest) SetRegisterInfo(registerInfo string) error
RegisterInfo Setter 线下备案注册信息,字段包含: 电话号码(phoneNumber,必填),省(province,必填),市(city,必填),区县街道(location,必填),详细地址(detailAddress,必填),经营类型(career,线下个人必填),店铺类型(shopType,线下店铺必填),店铺名称(shopName,线下店铺必填),店铺证书类型(shopCertifyType,线下店铺选填),店铺证书编号(certifyNumber,线下店铺选填)
func (*TaobaoTbkScPublisherInfoSaveRequest) SetRelationFrom ¶
func (r *TaobaoTbkScPublisherInfoSaveRequest) SetRelationFrom(relationFrom string) error
RelationFrom Setter 渠道备案 - 来源,取链接的来源
type TaobaoTbkScPublisherInfoSaveResponse ¶
type TaobaoTbkScPublisherInfoSaveResponse struct { XMLName xml.Name `xml:"tbk_sc_publisher_info_save_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // data Data *TaobaoTbkScPublisherInfoSaveData `json:"data,omitempty" xml:"data,omitempty"` }
淘宝客-公用-私域用户备案 成功返回结果
type TaobaoTbkShopGetAPIResponse ¶
type TaobaoTbkShopGetAPIResponse struct { model.CommonResponse TaobaoTbkShopGetResponse }
淘宝客-推广者-店铺搜索 API返回值 taobao.tbk.shop.get
淘宝客店铺查询
type TaobaoTbkShopGetRequest ¶
淘宝客-推广者-店铺搜索 API请求 taobao.tbk.shop.get
淘宝客店铺查询
func NewTaobaoTbkShopGetRequest ¶
func NewTaobaoTbkShopGetRequest() *TaobaoTbkShopGetRequest
初始化TaobaoTbkShopGetRequest对象
func (TaobaoTbkShopGetRequest) GetApiMethodName ¶
func (r TaobaoTbkShopGetRequest) GetApiMethodName() string
IRequest interface 方法, 获取Api method
func (TaobaoTbkShopGetRequest) GetApiParams ¶
func (r TaobaoTbkShopGetRequest) GetApiParams() url.Values
IRequest interface 方法, 获取API参数
func (TaobaoTbkShopGetRequest) GetEndAuctionCount ¶
func (r TaobaoTbkShopGetRequest) GetEndAuctionCount() int64
EndAuctionCount Getter
func (TaobaoTbkShopGetRequest) GetEndCommissionRate ¶
func (r TaobaoTbkShopGetRequest) GetEndCommissionRate() int64
EndCommissionRate Getter
func (TaobaoTbkShopGetRequest) GetEndCredit ¶
func (r TaobaoTbkShopGetRequest) GetEndCredit() int64
EndCredit Getter
func (TaobaoTbkShopGetRequest) GetEndTotalAction ¶
func (r TaobaoTbkShopGetRequest) GetEndTotalAction() int64
EndTotalAction Getter
func (TaobaoTbkShopGetRequest) GetFields ¶
func (r TaobaoTbkShopGetRequest) GetFields() string
Fields Getter
func (TaobaoTbkShopGetRequest) GetIsTmall ¶
func (r TaobaoTbkShopGetRequest) GetIsTmall() bool
IsTmall Getter
func (TaobaoTbkShopGetRequest) GetPageNo ¶
func (r TaobaoTbkShopGetRequest) GetPageNo() int64
PageNo Getter
func (TaobaoTbkShopGetRequest) GetPageSize ¶
func (r TaobaoTbkShopGetRequest) GetPageSize() int64
PageSize Getter
func (TaobaoTbkShopGetRequest) GetPlatform ¶
func (r TaobaoTbkShopGetRequest) GetPlatform() int64
Platform Getter
func (TaobaoTbkShopGetRequest) GetSort ¶
func (r TaobaoTbkShopGetRequest) GetSort() string
Sort Getter
func (TaobaoTbkShopGetRequest) GetStartAuctionCount ¶
func (r TaobaoTbkShopGetRequest) GetStartAuctionCount() int64
StartAuctionCount Getter
func (TaobaoTbkShopGetRequest) GetStartCommissionRate ¶
func (r TaobaoTbkShopGetRequest) GetStartCommissionRate() int64
StartCommissionRate Getter
func (TaobaoTbkShopGetRequest) GetStartCredit ¶
func (r TaobaoTbkShopGetRequest) GetStartCredit() int64
StartCredit Getter
func (TaobaoTbkShopGetRequest) GetStartTotalAction ¶
func (r TaobaoTbkShopGetRequest) GetStartTotalAction() int64
StartTotalAction Getter
func (*TaobaoTbkShopGetRequest) SetEndAuctionCount ¶
func (r *TaobaoTbkShopGetRequest) SetEndAuctionCount(endAuctionCount int64) error
EndAuctionCount Setter 累计推广商品上限
func (*TaobaoTbkShopGetRequest) SetEndCommissionRate ¶
func (r *TaobaoTbkShopGetRequest) SetEndCommissionRate(endCommissionRate int64) error
EndCommissionRate Setter 淘客佣金比率上限,1~10000
func (*TaobaoTbkShopGetRequest) SetEndCredit ¶
func (r *TaobaoTbkShopGetRequest) SetEndCredit(endCredit int64) error
EndCredit Setter 信用等级上限,1~20
func (*TaobaoTbkShopGetRequest) SetEndTotalAction ¶
func (r *TaobaoTbkShopGetRequest) SetEndTotalAction(endTotalAction int64) error
EndTotalAction Setter 店铺商品总数上限
func (*TaobaoTbkShopGetRequest) SetFields ¶
func (r *TaobaoTbkShopGetRequest) SetFields(fields string) error
Fields Setter 需返回的字段列表
func (*TaobaoTbkShopGetRequest) SetIsTmall ¶
func (r *TaobaoTbkShopGetRequest) SetIsTmall(isTmall bool) error
IsTmall Setter 是否商城的店铺,设置为true表示该是属于淘宝商城的店铺,设置为false或不设置表示不判断这个属性
func (*TaobaoTbkShopGetRequest) SetPageNo ¶
func (r *TaobaoTbkShopGetRequest) SetPageNo(pageNo int64) error
PageNo Setter 第几页,默认1,1~100
func (*TaobaoTbkShopGetRequest) SetPageSize ¶
func (r *TaobaoTbkShopGetRequest) SetPageSize(pageSize int64) error
PageSize Setter 页大小,默认20,1~100
func (*TaobaoTbkShopGetRequest) SetPlatform ¶
func (r *TaobaoTbkShopGetRequest) SetPlatform(platform int64) error
Platform Setter 链接形式:1:PC,2:无线,默认:1
func (*TaobaoTbkShopGetRequest) SetQ ¶
func (r *TaobaoTbkShopGetRequest) SetQ(q string) error
Q Setter 查询词
func (*TaobaoTbkShopGetRequest) SetSort ¶
func (r *TaobaoTbkShopGetRequest) SetSort(sort string) error
Sort Setter 排序_des(降序),排序_asc(升序),佣金比率(commission_rate), 商品数量(auction_count),销售总数量(total_auction)
func (*TaobaoTbkShopGetRequest) SetStartAuctionCount ¶
func (r *TaobaoTbkShopGetRequest) SetStartAuctionCount(startAuctionCount int64) error
StartAuctionCount Setter 累计推广商品下限
func (*TaobaoTbkShopGetRequest) SetStartCommissionRate ¶
func (r *TaobaoTbkShopGetRequest) SetStartCommissionRate(startCommissionRate int64) error
StartCommissionRate Setter 淘客佣金比率下限,1~10000
func (*TaobaoTbkShopGetRequest) SetStartCredit ¶
func (r *TaobaoTbkShopGetRequest) SetStartCredit(startCredit int64) error
StartCredit Setter 信用等级下限,1~20
func (*TaobaoTbkShopGetRequest) SetStartTotalAction ¶
func (r *TaobaoTbkShopGetRequest) SetStartTotalAction(startTotalAction int64) error
StartTotalAction Setter 店铺商品总数下限
type TaobaoTbkShopGetResponse ¶
type TaobaoTbkShopGetResponse struct { XMLName xml.Name `xml:"tbk_shop_get_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 淘宝客店铺 Results []NTbkShop `json:"results,omitempty" xml:"results>n_tbk_shop,omitempty"` // 搜索到符合条件的结果总数 TotalResults int64 `json:"total_results,omitempty" xml:"total_results,omitempty"` }
淘宝客-推广者-店铺搜索 成功返回结果
type TaobaoTbkShopRecommendGetAPIResponse ¶
type TaobaoTbkShopRecommendGetAPIResponse struct { model.CommonResponse TaobaoTbkShopRecommendGetResponse }
淘宝客-公用-店铺关联推荐 API返回值 taobao.tbk.shop.recommend.get
入参卖家id,可推荐与此店铺相关联的相关店铺。
type TaobaoTbkShopRecommendGetRequest ¶
type TaobaoTbkShopRecommendGetRequest struct { model.Params // contains filtered or unexported fields }
淘宝客-公用-店铺关联推荐 API请求 taobao.tbk.shop.recommend.get
入参卖家id,可推荐与此店铺相关联的相关店铺。
func NewTaobaoTbkShopRecommendGetRequest ¶
func NewTaobaoTbkShopRecommendGetRequest() *TaobaoTbkShopRecommendGetRequest
初始化TaobaoTbkShopRecommendGetRequest对象
func (TaobaoTbkShopRecommendGetRequest) GetApiMethodName ¶
func (r TaobaoTbkShopRecommendGetRequest) GetApiMethodName() string
IRequest interface 方法, 获取Api method
func (TaobaoTbkShopRecommendGetRequest) GetApiParams ¶
func (r TaobaoTbkShopRecommendGetRequest) GetApiParams() url.Values
IRequest interface 方法, 获取API参数
func (TaobaoTbkShopRecommendGetRequest) GetCount ¶
func (r TaobaoTbkShopRecommendGetRequest) GetCount() int64
Count Getter
func (TaobaoTbkShopRecommendGetRequest) GetFields ¶
func (r TaobaoTbkShopRecommendGetRequest) GetFields() string
Fields Getter
func (TaobaoTbkShopRecommendGetRequest) GetPlatform ¶
func (r TaobaoTbkShopRecommendGetRequest) GetPlatform() int64
Platform Getter
func (TaobaoTbkShopRecommendGetRequest) GetUserId ¶
func (r TaobaoTbkShopRecommendGetRequest) GetUserId() int64
UserId Getter
func (*TaobaoTbkShopRecommendGetRequest) SetCount ¶
func (r *TaobaoTbkShopRecommendGetRequest) SetCount(count int64) error
Count Setter 返回数量,默认20,最大值40
func (*TaobaoTbkShopRecommendGetRequest) SetFields ¶
func (r *TaobaoTbkShopRecommendGetRequest) SetFields(fields string) error
Fields Setter 需返回的字段列表
func (*TaobaoTbkShopRecommendGetRequest) SetPlatform ¶
func (r *TaobaoTbkShopRecommendGetRequest) SetPlatform(platform int64) error
Platform Setter 链接形式:1:PC,2:无线,默认:1
func (*TaobaoTbkShopRecommendGetRequest) SetUserId ¶
func (r *TaobaoTbkShopRecommendGetRequest) SetUserId(userId int64) error
UserId Setter 卖家Id
type TaobaoTbkShopRecommendGetResponse ¶
type TaobaoTbkShopRecommendGetResponse struct { XMLName xml.Name `xml:"tbk_shop_recommend_get_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 淘宝客店铺 Results []NTbkShop `json:"results,omitempty" xml:"results>n_tbk_shop,omitempty"` }
淘宝客-公用-店铺关联推荐 成功返回结果
type TaobaoTbkSkuBestCouponAPIResponse ¶
type TaobaoTbkSkuBestCouponAPIResponse struct { model.CommonResponse TaobaoTbkSkuBestCouponResponse }
sku维度最优优惠券信息 API返回值 taobao.tbk.sku.best.coupon
根据itemid和skuid查询最优优惠券信息
type TaobaoTbkSkuBestCouponMapData ¶
type TaobaoTbkSkuBestCouponMapData struct { // 优惠券过期时间13位时间戳 CouponExpireTime int64 `json:"coupon_expire_time,omitempty" xml:"coupon_expire_time,omitempty"` }
TaobaoTbkSkuBestCouponMapData
type TaobaoTbkSkuBestCouponRequest ¶
type TaobaoTbkSkuBestCouponRequest struct { model.Params // contains filtered or unexported fields }
sku维度最优优惠券信息 API请求 taobao.tbk.sku.best.coupon
根据itemid和skuid查询最优优惠券信息
func NewTaobaoTbkSkuBestCouponRequest ¶
func NewTaobaoTbkSkuBestCouponRequest() *TaobaoTbkSkuBestCouponRequest
初始化TaobaoTbkSkuBestCouponRequest对象
func (TaobaoTbkSkuBestCouponRequest) GetApiMethodName ¶
func (r TaobaoTbkSkuBestCouponRequest) GetApiMethodName() string
IRequest interface 方法, 获取Api method
func (TaobaoTbkSkuBestCouponRequest) GetApiParams ¶
func (r TaobaoTbkSkuBestCouponRequest) GetApiParams() url.Values
IRequest interface 方法, 获取API参数
func (TaobaoTbkSkuBestCouponRequest) GetItemId ¶
func (r TaobaoTbkSkuBestCouponRequest) GetItemId() int64
ItemId Getter
func (TaobaoTbkSkuBestCouponRequest) GetSkuId ¶
func (r TaobaoTbkSkuBestCouponRequest) GetSkuId() int64
SkuId Getter
func (*TaobaoTbkSkuBestCouponRequest) SetItemId ¶
func (r *TaobaoTbkSkuBestCouponRequest) SetItemId(itemId int64) error
ItemId Setter 商品ID
func (*TaobaoTbkSkuBestCouponRequest) SetSkuId ¶
func (r *TaobaoTbkSkuBestCouponRequest) SetSkuId(skuId int64) error
SkuId Setter 商品对应的skuId
type TaobaoTbkSkuBestCouponResponse ¶
type TaobaoTbkSkuBestCouponResponse struct { XMLName xml.Name `xml:"tbk_sku_best_coupon_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 优惠券详细信息 CouponInfo *TaobaoTbkSkuBestCouponMapData `json:"coupon_info,omitempty" xml:"coupon_info,omitempty"` }
sku维度最优优惠券信息 成功返回结果
type TaobaoTbkSpreadGetAPIResponse ¶
type TaobaoTbkSpreadGetAPIResponse struct { model.CommonResponse TaobaoTbkSpreadGetResponse }
淘宝客-公用-长链转短链 API返回值 taobao.tbk.spread.get
输入一个原始的链接,转换得到指定的传播方式,如二维码,淘口令,短连接; 现阶段只支持短连接。
type TaobaoTbkSpreadGetRequest ¶
淘宝客-公用-长链转短链 API请求 taobao.tbk.spread.get
输入一个原始的链接,转换得到指定的传播方式,如二维码,淘口令,短连接; 现阶段只支持短连接。
func NewTaobaoTbkSpreadGetRequest ¶
func NewTaobaoTbkSpreadGetRequest() *TaobaoTbkSpreadGetRequest
初始化TaobaoTbkSpreadGetRequest对象
func (TaobaoTbkSpreadGetRequest) GetApiMethodName ¶
func (r TaobaoTbkSpreadGetRequest) GetApiMethodName() string
IRequest interface 方法, 获取Api method
func (TaobaoTbkSpreadGetRequest) GetApiParams ¶
func (r TaobaoTbkSpreadGetRequest) GetApiParams() url.Values
IRequest interface 方法, 获取API参数
func (TaobaoTbkSpreadGetRequest) GetRequests ¶
func (r TaobaoTbkSpreadGetRequest) GetRequests() []TbkSpreadRequest
Requests Getter
func (*TaobaoTbkSpreadGetRequest) SetRequests ¶
func (r *TaobaoTbkSpreadGetRequest) SetRequests(requests []TbkSpreadRequest) error
Requests Setter 请求列表,内部包含多个url
type TaobaoTbkSpreadGetResponse ¶
type TaobaoTbkSpreadGetResponse struct { XMLName xml.Name `xml:"tbk_spread_get_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 传播形式对象列表 Results []TbkSpread `json:"results,omitempty" xml:"results>tbk_spread,omitempty"` // totalResults TotalResults int64 `json:"total_results,omitempty" xml:"total_results,omitempty"` }
淘宝客-公用-长链转短链 成功返回结果
type TaobaoTbkTpwdCreateAPIResponse ¶
type TaobaoTbkTpwdCreateAPIResponse struct { model.CommonResponse TaobaoTbkTpwdCreateResponse }
淘宝客-公用-淘口令生成 API返回值 taobao.tbk.tpwd.create
提供淘口令生成接口。提交需要生成淘口令的内容、logo、url等参数,生成淘口令,其中关键信息为¥SADadW¥,后续可基于淘口令进行文案包装组装用于传播。
type TaobaoTbkTpwdCreateMapData ¶
type TaobaoTbkTpwdCreateMapData struct { // 非苹果ios14以上版本的设备(即其他ios版本、Android系统等),可以用此淘口令正常在复制到手淘打开 PasswordSimple string `json:"password_simple,omitempty" xml:"password_simple,omitempty"` // 针对苹果ios14及以上版本的苹果设备,手淘将按照示例值信息格式读取淘口令(需包含:数字+羊角符+url,识别规则可能根据ios情况变更)。如需更改淘口令内文案、url等内容,请务必先验证更改后的淘口令在手淘可被识别打开! Model string `json:"model,omitempty" xml:"model,omitempty"` }
TaobaoTbkTpwdCreateMapData
type TaobaoTbkTpwdCreateRequest ¶
淘宝客-公用-淘口令生成 API请求 taobao.tbk.tpwd.create
提供淘口令生成接口。提交需要生成淘口令的内容、logo、url等参数,生成淘口令,其中关键信息为¥SADadW¥,后续可基于淘口令进行文案包装组装用于传播。
func NewTaobaoTbkTpwdCreateRequest ¶
func NewTaobaoTbkTpwdCreateRequest() *TaobaoTbkTpwdCreateRequest
初始化TaobaoTbkTpwdCreateRequest对象
func (TaobaoTbkTpwdCreateRequest) GetApiMethodName ¶
func (r TaobaoTbkTpwdCreateRequest) GetApiMethodName() string
IRequest interface 方法, 获取Api method
func (TaobaoTbkTpwdCreateRequest) GetApiParams ¶
func (r TaobaoTbkTpwdCreateRequest) GetApiParams() url.Values
IRequest interface 方法, 获取API参数
func (TaobaoTbkTpwdCreateRequest) GetExt ¶
func (r TaobaoTbkTpwdCreateRequest) GetExt() string
Ext Getter
func (TaobaoTbkTpwdCreateRequest) GetLogo ¶
func (r TaobaoTbkTpwdCreateRequest) GetLogo() string
Logo Getter
func (TaobaoTbkTpwdCreateRequest) GetText ¶
func (r TaobaoTbkTpwdCreateRequest) GetText() string
Text Getter
func (TaobaoTbkTpwdCreateRequest) GetUrl ¶
func (r TaobaoTbkTpwdCreateRequest) GetUrl() string
Url Getter
func (TaobaoTbkTpwdCreateRequest) GetUserId ¶
func (r TaobaoTbkTpwdCreateRequest) GetUserId() string
UserId Getter
func (*TaobaoTbkTpwdCreateRequest) SetExt ¶
func (r *TaobaoTbkTpwdCreateRequest) SetExt(ext string) error
Ext Setter 兼容旧版本api参数,无实际作用
func (*TaobaoTbkTpwdCreateRequest) SetLogo ¶
func (r *TaobaoTbkTpwdCreateRequest) SetLogo(logo string) error
Logo Setter 兼容旧版本api参数,无实际作用
func (*TaobaoTbkTpwdCreateRequest) SetText ¶
func (r *TaobaoTbkTpwdCreateRequest) SetText(text string) error
Text Setter 兼容旧版本api参数,无实际作用
func (*TaobaoTbkTpwdCreateRequest) SetUrl ¶
func (r *TaobaoTbkTpwdCreateRequest) SetUrl(url string) error
Url Setter 联盟官方渠道获取的淘客推广链接,请注意,不要随意篡改官方生成的链接,否则可能无法生成淘口令
func (*TaobaoTbkTpwdCreateRequest) SetUserId ¶
func (r *TaobaoTbkTpwdCreateRequest) SetUserId(userId string) error
UserId Setter 兼容旧版本api参数,无实际作用
type TaobaoTbkTpwdCreateResponse ¶
type TaobaoTbkTpwdCreateResponse struct { XMLName xml.Name `xml:"tbk_tpwd_create_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 返回结果对象 Data *TaobaoTbkTpwdCreateMapData `json:"data,omitempty" xml:"data,omitempty"` }
淘宝客-公用-淘口令生成 成功返回结果
type TbkSpread ¶
type TbkSpread struct { // 传播形式, 目前只支持短链接 Content string `json:"content,omitempty" xml:"content,omitempty"` // 调用错误信息;由于是批量接口,请重点关注每条请求返回的结果,如果非OK,则说明该结果对应的content不正常,请酌情处理; ErrMsg string `json:"err_msg,omitempty" xml:"err_msg,omitempty"` }
TbkSpread
type TbkSpreadRequest ¶
type TbkSpreadRequest struct { // 原始url, 只支持uland.taobao.com,s.click.taobao.com, ai.taobao.com,temai.taobao.com的域名转换,否则判错 Url string `json:"url,omitempty" xml:"url,omitempty"` }
TbkSpreadRequest
type TljInstanceReportDto ¶
type TljInstanceReportDto struct { // 解冻金额 UnfreezeAmount string `json:"unfreeze_amount,omitempty" xml:"unfreeze_amount,omitempty"` // 解冻红包个数 UnfreezeNum int64 `json:"unfreeze_num,omitempty" xml:"unfreeze_num,omitempty"` // 失效回退金额 RefundAmount string `json:"refund_amount,omitempty" xml:"refund_amount,omitempty"` // 失效回退红包个数 RefundNum int64 `json:"refund_num,omitempty" xml:"refund_num,omitempty"` // 引导成交金额 AlipayAmount string `json:"alipay_amount,omitempty" xml:"alipay_amount,omitempty"` // 红包核销金额 UseAmount string `json:"use_amount,omitempty" xml:"use_amount,omitempty"` // 红包核销个数 UseNum int64 `json:"use_num,omitempty" xml:"use_num,omitempty"` // 红包领取金额 WinAmount string `json:"win_amount,omitempty" xml:"win_amount,omitempty"` // 红包领取个数 WinNum int64 `json:"win_num,omitempty" xml:"win_num,omitempty"` // 引导预估佣金金额 PreCommissionAmount string `json:"pre_commission_amount,omitempty" xml:"pre_commission_amount,omitempty"` // 退款红包金额 FpRefundAmount string `json:"fp_refund_amount,omitempty" xml:"fp_refund_amount,omitempty"` // 退款红包个数 FpRefundNum int64 `json:"fp_refund_num,omitempty" xml:"fp_refund_num,omitempty"` }
TljInstanceReportDto
type TopApiAfOrderOption ¶
type TopApiAfOrderOption struct { // pid中的第二段,siteId SiteId int64 `json:"site_id,omitempty" xml:"site_id,omitempty"` // 查询时间跨度,不超过30天,单位是天 Span int64 `json:"span,omitempty" xml:"span,omitempty"` // 渠道关系id RelationId int64 `json:"relation_id,omitempty" xml:"relation_id,omitempty"` // 子订单号 TbTradeId int64 `json:"tb_trade_id,omitempty" xml:"tb_trade_id,omitempty"` // 此参数不再使用,请勿入参 TbTradeParentId int64 `json:"tb_trade_parent_id,omitempty" xml:"tb_trade_parent_id,omitempty"` // pagesize PageSize int64 `json:"page_size,omitempty" xml:"page_size,omitempty"` // pageNo PageNo int64 `json:"page_no,omitempty" xml:"page_no,omitempty"` // 查询开始时间,以taoke订单创建时间开始 StartTime string `json:"start_time,omitempty" xml:"start_time,omitempty"` // 此参数不再使用,请勿入参 SpecialId int64 `json:"special_id,omitempty" xml:"special_id,omitempty"` // 此参数不再使用,请勿入参 ViolationType int64 `json:"violation_type,omitempty" xml:"violation_type,omitempty"` // 此参数不再使用,请勿入参 PunishStatus int64 `json:"punish_status,omitempty" xml:"punish_status,omitempty"` // pid中的第三段,adzoneId AdzoneId int64 `json:"adzone_id,omitempty" xml:"adzone_id,omitempty"` }
TopApiAfOrderOption
type TopNInfoDTO ¶
type TopNInfoDTO struct { // 前N件剩余库存 TopnQuantity int64 `json:"topn_quantity,omitempty" xml:"topn_quantity,omitempty"` // 前N件初始总库存 TopnTotalCount int64 `json:"topn_total_count,omitempty" xml:"topn_total_count,omitempty"` // 前N件佣金结束时间 TopnEndTime string `json:"topn_end_time,omitempty" xml:"topn_end_time,omitempty"` // 前N件佣金开始时间 TopnStartTime string `json:"topn_start_time,omitempty" xml:"topn_start_time,omitempty"` // 前N件佣金率 TopnRate string `json:"topn_rate,omitempty" xml:"topn_rate,omitempty"` }
TopNInfoDTO
type Ucrowdrankitems ¶
type Ucrowdrankitems struct { // 物料评估-商品佣金率,如:1234表示12.34%,material_id=41377时选填 Commirate int64 `json:"commirate,omitempty" xml:"commirate,omitempty"` // 物料评估-商品价格,单位:元,material_id=41377时选填 Price string `json:"price,omitempty" xml:"price,omitempty"` // 物料评估-商品ID,material_id=41377时必填 ItemId string `json:"item_id,omitempty" xml:"item_id,omitempty"` }
Ucrowdrankitems
type UserRuleInfo ¶
type UserRuleInfo struct { // 用户在TOP上的openId OpenId string `json:"open_id,omitempty" xml:"open_id,omitempty"` // 每条记录离线任务生成,代表当时离线任务的时间戳 Version int64 `json:"version,omitempty" xml:"version,omitempty"` // 用户对应的商品详细信息 ItemList []TaobaoTbkCartCouponExpireUserQueryMapData `json:"item_list,omitempty" xml:"item_list>taobao_tbk_cart_coupon_expire_user_query_map_data,omitempty"` }
UserRuleInfo
type WordMapData ¶
type WordMapData struct { // 链接-商品相关关联词落地页地址 Url string `json:"url,omitempty" xml:"url,omitempty"` // 商品相关的关联词 Word string `json:"word,omitempty" xml:"word,omitempty"` }
WordMapData
type Youjiacouponinfo ¶
type Youjiacouponinfo struct { // 有价券商品id ItemId string `json:"item_id,omitempty" xml:"item_id,omitempty"` // 商品链接 Url string `json:"url,omitempty" xml:"url,omitempty"` }
Youjiacouponinfo
Source Files ¶
- FavoritesDetail.go
- FavoritesInfo.go
- FoodMapData.go
- LocalizationMapData.go
- NTbkItem.go
- NTbkShop.go
- OrderData.go
- PageResult.go
- PromotionExtend.go
- PromotionList.go
- RecommendItemList.go
- RegisterInfoDto.go
- RightsInstanceCreateResult.go
- TaobaoTbkActivityInfoGetData.go
- TaobaoTbkActivityInfoGetRequest.go
- TaobaoTbkActivityInfoGetResponse.go
- TaobaoTbkCartCouponExpireUserQueryMapData.go
- TaobaoTbkCartCouponExpireUserQueryRequest.go
- TaobaoTbkCartCouponExpireUserQueryResponse.go
- TaobaoTbkCouponGetMapData.go
- TaobaoTbkCouponGetRequest.go
- TaobaoTbkCouponGetResponse.go
- TaobaoTbkDgMaterialOptionalMapData.go
- TaobaoTbkDgMaterialOptionalRequest.go
- TaobaoTbkDgMaterialOptionalResponse.go
- TaobaoTbkDgNewuserOrderGetData.go
- TaobaoTbkDgNewuserOrderGetMapData.go
- TaobaoTbkDgNewuserOrderGetRequest.go
- TaobaoTbkDgNewuserOrderGetResponse.go
- TaobaoTbkDgNewuserOrderGetResults.go
- TaobaoTbkDgNewuserOrderSumData.go
- TaobaoTbkDgNewuserOrderSumRequest.go
- TaobaoTbkDgNewuserOrderSumResponse.go
- TaobaoTbkDgOptimusMaterialMapData.go
- TaobaoTbkDgOptimusMaterialRequest.go
- TaobaoTbkDgOptimusMaterialResponse.go
- TaobaoTbkDgOptimusPromotionMapData.go
- TaobaoTbkDgOptimusPromotionRequest.go
- TaobaoTbkDgOptimusPromotionResponse.go
- TaobaoTbkDgPunishOrderGetRequest.go
- TaobaoTbkDgPunishOrderGetResponse.go
- TaobaoTbkDgPunishOrderGetResult.go
- TaobaoTbkDgPunishOrderGetRpcResult.go
- TaobaoTbkDgVegasSendStatusData.go
- TaobaoTbkDgVegasSendStatusMapData.go
- TaobaoTbkDgVegasSendStatusRequest.go
- TaobaoTbkDgVegasSendStatusResponse.go
- TaobaoTbkDgVegasTljCreateRequest.go
- TaobaoTbkDgVegasTljCreateResponse.go
- TaobaoTbkDgVegasTljCreateResult.go
- TaobaoTbkDgVegasTljInstanceReportRequest.go
- TaobaoTbkDgVegasTljInstanceReportResponse.go
- TaobaoTbkDgVegasTljInstanceReportResult.go
- TaobaoTbkItemInfoGetRequest.go
- TaobaoTbkItemInfoGetResponse.go
- TaobaoTbkScInvitecodeGetData.go
- TaobaoTbkScInvitecodeGetRequest.go
- TaobaoTbkScInvitecodeGetResponse.go
- TaobaoTbkScPublisherInfoGetData.go
- TaobaoTbkScPublisherInfoGetMapData.go
- TaobaoTbkScPublisherInfoGetRequest.go
- TaobaoTbkScPublisherInfoGetResponse.go
- TaobaoTbkScPublisherInfoSaveData.go
- TaobaoTbkScPublisherInfoSaveRequest.go
- TaobaoTbkScPublisherInfoSaveResponse.go
- TaobaoTbkShopGetRequest.go
- TaobaoTbkShopGetResponse.go
- TaobaoTbkShopRecommendGetRequest.go
- TaobaoTbkShopRecommendGetResponse.go
- TaobaoTbkSkuBestCouponMapData.go
- TaobaoTbkSkuBestCouponRequest.go
- TaobaoTbkSkuBestCouponResponse.go
- TaobaoTbkSpreadGetRequest.go
- TaobaoTbkSpreadGetResponse.go
- TaobaoTbkTpwdCreateMapData.go
- TaobaoTbkTpwdCreateRequest.go
- TaobaoTbkTpwdCreateResponse.go
- TbkSpread.go
- TbkSpreadRequest.go
- TljInstanceReportDto.go
- TopApiAfOrderOption.go
- TopNInfoDTO.go
- Ucrowdrankitems.go
- UserRuleInfo.go
- WordMapData.go
- Youjiacouponinfo.go