Documentation ¶
Overview ¶
淘宝客API model
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 TaobaoTbkActivityInfoGetAPIRequest
- func (r TaobaoTbkActivityInfoGetAPIRequest) GetActivityMaterialId() string
- func (r TaobaoTbkActivityInfoGetAPIRequest) GetAdzoneId() int64
- func (r TaobaoTbkActivityInfoGetAPIRequest) GetApiMethodName() string
- func (r TaobaoTbkActivityInfoGetAPIRequest) GetApiParams() url.Values
- func (r TaobaoTbkActivityInfoGetAPIRequest) GetRelationId() int64
- func (r TaobaoTbkActivityInfoGetAPIRequest) GetSubPid() string
- func (r TaobaoTbkActivityInfoGetAPIRequest) GetUnionId() string
- func (r *TaobaoTbkActivityInfoGetAPIRequest) SetActivityMaterialId(_activityMaterialId string) error
- func (r *TaobaoTbkActivityInfoGetAPIRequest) SetAdzoneId(_adzoneId int64) error
- func (r *TaobaoTbkActivityInfoGetAPIRequest) SetRelationId(_relationId int64) error
- func (r *TaobaoTbkActivityInfoGetAPIRequest) SetSubPid(_subPid string) error
- func (r *TaobaoTbkActivityInfoGetAPIRequest) SetUnionId(_unionId string) error
- type TaobaoTbkActivityInfoGetAPIResponse
- type TaobaoTbkActivityInfoGetAPIResponseModel
- type TaobaoTbkActivityInfoGetData
- type TaobaoTbkCartCouponExpireUserQueryAPIRequest
- func (r TaobaoTbkCartCouponExpireUserQueryAPIRequest) GetApiMethodName() string
- func (r TaobaoTbkCartCouponExpireUserQueryAPIRequest) GetApiParams() url.Values
- func (r TaobaoTbkCartCouponExpireUserQueryAPIRequest) GetPageNum() int64
- func (r TaobaoTbkCartCouponExpireUserQueryAPIRequest) GetPageSize() int64
- func (r TaobaoTbkCartCouponExpireUserQueryAPIRequest) GetRuleId() string
- func (r *TaobaoTbkCartCouponExpireUserQueryAPIRequest) SetPageNum(_pageNum int64) error
- func (r *TaobaoTbkCartCouponExpireUserQueryAPIRequest) SetPageSize(_pageSize int64) error
- func (r *TaobaoTbkCartCouponExpireUserQueryAPIRequest) SetRuleId(_ruleId string) error
- type TaobaoTbkCartCouponExpireUserQueryAPIResponse
- type TaobaoTbkCartCouponExpireUserQueryAPIResponseModel
- type TaobaoTbkCartCouponExpireUserQueryMapData
- type TaobaoTbkCouponGetAPIRequest
- func (r TaobaoTbkCouponGetAPIRequest) GetActivityId() string
- func (r TaobaoTbkCouponGetAPIRequest) GetApiMethodName() string
- func (r TaobaoTbkCouponGetAPIRequest) GetApiParams() url.Values
- func (r TaobaoTbkCouponGetAPIRequest) GetItemId() int64
- func (r TaobaoTbkCouponGetAPIRequest) GetMe() string
- func (r *TaobaoTbkCouponGetAPIRequest) SetActivityId(_activityId string) error
- func (r *TaobaoTbkCouponGetAPIRequest) SetItemId(_itemId int64) error
- func (r *TaobaoTbkCouponGetAPIRequest) SetMe(_me string) error
- type TaobaoTbkCouponGetAPIResponse
- type TaobaoTbkCouponGetAPIResponseModel
- type TaobaoTbkCouponGetMapData
- type TaobaoTbkDgMaterialOptionalAPIRequest
- func (r TaobaoTbkDgMaterialOptionalAPIRequest) GetAdzoneId() int64
- func (r TaobaoTbkDgMaterialOptionalAPIRequest) GetApiMethodName() string
- func (r TaobaoTbkDgMaterialOptionalAPIRequest) GetApiParams() url.Values
- func (r TaobaoTbkDgMaterialOptionalAPIRequest) GetCat() string
- func (r TaobaoTbkDgMaterialOptionalAPIRequest) GetCityCode() string
- func (r TaobaoTbkDgMaterialOptionalAPIRequest) GetDeviceEncrypt() string
- func (r TaobaoTbkDgMaterialOptionalAPIRequest) GetDeviceType() string
- func (r TaobaoTbkDgMaterialOptionalAPIRequest) GetDeviceValue() string
- func (r TaobaoTbkDgMaterialOptionalAPIRequest) GetEndKaTkRate() int64
- func (r TaobaoTbkDgMaterialOptionalAPIRequest) GetEndPrice() int64
- func (r TaobaoTbkDgMaterialOptionalAPIRequest) GetEndTkRate() int64
- func (r TaobaoTbkDgMaterialOptionalAPIRequest) GetGetTopnRate() int64
- func (r TaobaoTbkDgMaterialOptionalAPIRequest) GetHasCoupon() bool
- func (r TaobaoTbkDgMaterialOptionalAPIRequest) GetIncludeGoodRate() bool
- func (r TaobaoTbkDgMaterialOptionalAPIRequest) GetIncludePayRate30() bool
- func (r TaobaoTbkDgMaterialOptionalAPIRequest) GetIncludeRfdRate() bool
- func (r TaobaoTbkDgMaterialOptionalAPIRequest) GetIp() string
- func (r TaobaoTbkDgMaterialOptionalAPIRequest) GetIsOverseas() bool
- func (r TaobaoTbkDgMaterialOptionalAPIRequest) GetIsTmall() bool
- func (r TaobaoTbkDgMaterialOptionalAPIRequest) GetItemloc() string
- func (r TaobaoTbkDgMaterialOptionalAPIRequest) GetLatitude() string
- func (r TaobaoTbkDgMaterialOptionalAPIRequest) GetLockRateEndTime() int64
- func (r TaobaoTbkDgMaterialOptionalAPIRequest) GetLockRateStartTime() int64
- func (r TaobaoTbkDgMaterialOptionalAPIRequest) GetLongitude() string
- func (r TaobaoTbkDgMaterialOptionalAPIRequest) GetMaterialId() int64
- func (r TaobaoTbkDgMaterialOptionalAPIRequest) GetNeedFreeShipment() bool
- func (r TaobaoTbkDgMaterialOptionalAPIRequest) GetNeedPrepay() bool
- func (r TaobaoTbkDgMaterialOptionalAPIRequest) GetNpxLevel() int64
- func (r TaobaoTbkDgMaterialOptionalAPIRequest) GetPageNo() int64
- func (r TaobaoTbkDgMaterialOptionalAPIRequest) GetPageResultKey() string
- func (r TaobaoTbkDgMaterialOptionalAPIRequest) GetPageSize() int64
- func (r TaobaoTbkDgMaterialOptionalAPIRequest) GetPlatform() int64
- func (r TaobaoTbkDgMaterialOptionalAPIRequest) GetQ() string
- func (r TaobaoTbkDgMaterialOptionalAPIRequest) GetRelationId() string
- func (r TaobaoTbkDgMaterialOptionalAPIRequest) GetSellerIds() string
- func (r TaobaoTbkDgMaterialOptionalAPIRequest) GetSort() string
- func (r TaobaoTbkDgMaterialOptionalAPIRequest) GetSpecialId() string
- func (r TaobaoTbkDgMaterialOptionalAPIRequest) GetStartDsr() int64
- func (r TaobaoTbkDgMaterialOptionalAPIRequest) GetStartKaTkRate() int64
- func (r TaobaoTbkDgMaterialOptionalAPIRequest) GetStartPrice() int64
- func (r TaobaoTbkDgMaterialOptionalAPIRequest) GetStartTkRate() int64
- func (r TaobaoTbkDgMaterialOptionalAPIRequest) GetUcrowdId() int64
- func (r TaobaoTbkDgMaterialOptionalAPIRequest) GetUcrowdRankItems() []Ucrowdrankitems
- func (r *TaobaoTbkDgMaterialOptionalAPIRequest) SetAdzoneId(_adzoneId int64) error
- func (r *TaobaoTbkDgMaterialOptionalAPIRequest) SetCat(_cat string) error
- func (r *TaobaoTbkDgMaterialOptionalAPIRequest) SetCityCode(_cityCode string) error
- func (r *TaobaoTbkDgMaterialOptionalAPIRequest) SetDeviceEncrypt(_deviceEncrypt string) error
- func (r *TaobaoTbkDgMaterialOptionalAPIRequest) SetDeviceType(_deviceType string) error
- func (r *TaobaoTbkDgMaterialOptionalAPIRequest) SetDeviceValue(_deviceValue string) error
- func (r *TaobaoTbkDgMaterialOptionalAPIRequest) SetEndKaTkRate(_endKaTkRate int64) error
- func (r *TaobaoTbkDgMaterialOptionalAPIRequest) SetEndPrice(_endPrice int64) error
- func (r *TaobaoTbkDgMaterialOptionalAPIRequest) SetEndTkRate(_endTkRate int64) error
- func (r *TaobaoTbkDgMaterialOptionalAPIRequest) SetGetTopnRate(_getTopnRate int64) error
- func (r *TaobaoTbkDgMaterialOptionalAPIRequest) SetHasCoupon(_hasCoupon bool) error
- func (r *TaobaoTbkDgMaterialOptionalAPIRequest) SetIncludeGoodRate(_includeGoodRate bool) error
- func (r *TaobaoTbkDgMaterialOptionalAPIRequest) SetIncludePayRate30(_includePayRate30 bool) error
- func (r *TaobaoTbkDgMaterialOptionalAPIRequest) SetIncludeRfdRate(_includeRfdRate bool) error
- func (r *TaobaoTbkDgMaterialOptionalAPIRequest) SetIp(_ip string) error
- func (r *TaobaoTbkDgMaterialOptionalAPIRequest) SetIsOverseas(_isOverseas bool) error
- func (r *TaobaoTbkDgMaterialOptionalAPIRequest) SetIsTmall(_isTmall bool) error
- func (r *TaobaoTbkDgMaterialOptionalAPIRequest) SetItemloc(_itemloc string) error
- func (r *TaobaoTbkDgMaterialOptionalAPIRequest) SetLatitude(_latitude string) error
- func (r *TaobaoTbkDgMaterialOptionalAPIRequest) SetLockRateEndTime(_lockRateEndTime int64) error
- func (r *TaobaoTbkDgMaterialOptionalAPIRequest) SetLockRateStartTime(_lockRateStartTime int64) error
- func (r *TaobaoTbkDgMaterialOptionalAPIRequest) SetLongitude(_longitude string) error
- func (r *TaobaoTbkDgMaterialOptionalAPIRequest) SetMaterialId(_materialId int64) error
- func (r *TaobaoTbkDgMaterialOptionalAPIRequest) SetNeedFreeShipment(_needFreeShipment bool) error
- func (r *TaobaoTbkDgMaterialOptionalAPIRequest) SetNeedPrepay(_needPrepay bool) error
- func (r *TaobaoTbkDgMaterialOptionalAPIRequest) SetNpxLevel(_npxLevel int64) error
- func (r *TaobaoTbkDgMaterialOptionalAPIRequest) SetPageNo(_pageNo int64) error
- func (r *TaobaoTbkDgMaterialOptionalAPIRequest) SetPageResultKey(_pageResultKey string) error
- func (r *TaobaoTbkDgMaterialOptionalAPIRequest) SetPageSize(_pageSize int64) error
- func (r *TaobaoTbkDgMaterialOptionalAPIRequest) SetPlatform(_platform int64) error
- func (r *TaobaoTbkDgMaterialOptionalAPIRequest) SetQ(_q string) error
- func (r *TaobaoTbkDgMaterialOptionalAPIRequest) SetRelationId(_relationId string) error
- func (r *TaobaoTbkDgMaterialOptionalAPIRequest) SetSellerIds(_sellerIds string) error
- func (r *TaobaoTbkDgMaterialOptionalAPIRequest) SetSort(_sort string) error
- func (r *TaobaoTbkDgMaterialOptionalAPIRequest) SetSpecialId(_specialId string) error
- func (r *TaobaoTbkDgMaterialOptionalAPIRequest) SetStartDsr(_startDsr int64) error
- func (r *TaobaoTbkDgMaterialOptionalAPIRequest) SetStartKaTkRate(_startKaTkRate int64) error
- func (r *TaobaoTbkDgMaterialOptionalAPIRequest) SetStartPrice(_startPrice int64) error
- func (r *TaobaoTbkDgMaterialOptionalAPIRequest) SetStartTkRate(_startTkRate int64) error
- func (r *TaobaoTbkDgMaterialOptionalAPIRequest) SetUcrowdId(_ucrowdId int64) error
- func (r *TaobaoTbkDgMaterialOptionalAPIRequest) SetUcrowdRankItems(_ucrowdRankItems []Ucrowdrankitems) error
- type TaobaoTbkDgMaterialOptionalAPIResponse
- type TaobaoTbkDgMaterialOptionalAPIResponseModel
- type TaobaoTbkDgMaterialOptionalMapData
- type TaobaoTbkDgNewuserOrderGetAPIRequest
- func (r TaobaoTbkDgNewuserOrderGetAPIRequest) GetActivityId() string
- func (r TaobaoTbkDgNewuserOrderGetAPIRequest) GetAdzoneId() int64
- func (r TaobaoTbkDgNewuserOrderGetAPIRequest) GetApiMethodName() string
- func (r TaobaoTbkDgNewuserOrderGetAPIRequest) GetApiParams() url.Values
- func (r TaobaoTbkDgNewuserOrderGetAPIRequest) GetEndTime() string
- func (r TaobaoTbkDgNewuserOrderGetAPIRequest) GetPageNo() int64
- func (r TaobaoTbkDgNewuserOrderGetAPIRequest) GetPageSize() int64
- func (r TaobaoTbkDgNewuserOrderGetAPIRequest) GetStartTime() string
- func (r *TaobaoTbkDgNewuserOrderGetAPIRequest) SetActivityId(_activityId string) error
- func (r *TaobaoTbkDgNewuserOrderGetAPIRequest) SetAdzoneId(_adzoneId int64) error
- func (r *TaobaoTbkDgNewuserOrderGetAPIRequest) SetEndTime(_endTime string) error
- func (r *TaobaoTbkDgNewuserOrderGetAPIRequest) SetPageNo(_pageNo int64) error
- func (r *TaobaoTbkDgNewuserOrderGetAPIRequest) SetPageSize(_pageSize int64) error
- func (r *TaobaoTbkDgNewuserOrderGetAPIRequest) SetStartTime(_startTime string) error
- type TaobaoTbkDgNewuserOrderGetAPIResponse
- type TaobaoTbkDgNewuserOrderGetAPIResponseModel
- type TaobaoTbkDgNewuserOrderGetData
- type TaobaoTbkDgNewuserOrderGetMapData
- type TaobaoTbkDgNewuserOrderGetResults
- type TaobaoTbkDgNewuserOrderSumAPIRequest
- func (r TaobaoTbkDgNewuserOrderSumAPIRequest) GetActivityId() string
- func (r TaobaoTbkDgNewuserOrderSumAPIRequest) GetAdzoneId() int64
- func (r TaobaoTbkDgNewuserOrderSumAPIRequest) GetApiMethodName() string
- func (r TaobaoTbkDgNewuserOrderSumAPIRequest) GetApiParams() url.Values
- func (r TaobaoTbkDgNewuserOrderSumAPIRequest) GetPageNo() int64
- func (r TaobaoTbkDgNewuserOrderSumAPIRequest) GetPageSize() int64
- func (r TaobaoTbkDgNewuserOrderSumAPIRequest) GetSettleMonth() string
- func (r TaobaoTbkDgNewuserOrderSumAPIRequest) GetSiteId() int64
- func (r *TaobaoTbkDgNewuserOrderSumAPIRequest) SetActivityId(_activityId string) error
- func (r *TaobaoTbkDgNewuserOrderSumAPIRequest) SetAdzoneId(_adzoneId int64) error
- func (r *TaobaoTbkDgNewuserOrderSumAPIRequest) SetPageNo(_pageNo int64) error
- func (r *TaobaoTbkDgNewuserOrderSumAPIRequest) SetPageSize(_pageSize int64) error
- func (r *TaobaoTbkDgNewuserOrderSumAPIRequest) SetSettleMonth(_settleMonth string) error
- func (r *TaobaoTbkDgNewuserOrderSumAPIRequest) SetSiteId(_siteId int64) error
- type TaobaoTbkDgNewuserOrderSumAPIResponse
- type TaobaoTbkDgNewuserOrderSumAPIResponseModel
- type TaobaoTbkDgNewuserOrderSumData
- type TaobaoTbkDgOptimusMaterialAPIRequest
- func (r TaobaoTbkDgOptimusMaterialAPIRequest) GetAdzoneId() int64
- func (r TaobaoTbkDgOptimusMaterialAPIRequest) GetApiMethodName() string
- func (r TaobaoTbkDgOptimusMaterialAPIRequest) GetApiParams() url.Values
- func (r TaobaoTbkDgOptimusMaterialAPIRequest) GetContentId() int64
- func (r TaobaoTbkDgOptimusMaterialAPIRequest) GetContentSource() string
- func (r TaobaoTbkDgOptimusMaterialAPIRequest) GetDeviceEncrypt() string
- func (r TaobaoTbkDgOptimusMaterialAPIRequest) GetDeviceType() string
- func (r TaobaoTbkDgOptimusMaterialAPIRequest) GetDeviceValue() string
- func (r TaobaoTbkDgOptimusMaterialAPIRequest) GetFavoritesId() string
- func (r TaobaoTbkDgOptimusMaterialAPIRequest) GetItemId() int64
- func (r TaobaoTbkDgOptimusMaterialAPIRequest) GetMaterialId() int64
- func (r TaobaoTbkDgOptimusMaterialAPIRequest) GetPageNo() int64
- func (r TaobaoTbkDgOptimusMaterialAPIRequest) GetPageSize() int64
- func (r *TaobaoTbkDgOptimusMaterialAPIRequest) SetAdzoneId(_adzoneId int64) error
- func (r *TaobaoTbkDgOptimusMaterialAPIRequest) SetContentId(_contentId int64) error
- func (r *TaobaoTbkDgOptimusMaterialAPIRequest) SetContentSource(_contentSource string) error
- func (r *TaobaoTbkDgOptimusMaterialAPIRequest) SetDeviceEncrypt(_deviceEncrypt string) error
- func (r *TaobaoTbkDgOptimusMaterialAPIRequest) SetDeviceType(_deviceType string) error
- func (r *TaobaoTbkDgOptimusMaterialAPIRequest) SetDeviceValue(_deviceValue string) error
- func (r *TaobaoTbkDgOptimusMaterialAPIRequest) SetFavoritesId(_favoritesId string) error
- func (r *TaobaoTbkDgOptimusMaterialAPIRequest) SetItemId(_itemId int64) error
- func (r *TaobaoTbkDgOptimusMaterialAPIRequest) SetMaterialId(_materialId int64) error
- func (r *TaobaoTbkDgOptimusMaterialAPIRequest) SetPageNo(_pageNo int64) error
- func (r *TaobaoTbkDgOptimusMaterialAPIRequest) SetPageSize(_pageSize int64) error
- type TaobaoTbkDgOptimusMaterialAPIResponse
- type TaobaoTbkDgOptimusMaterialAPIResponseModel
- type TaobaoTbkDgOptimusMaterialMapData
- type TaobaoTbkDgOptimusPromotionAPIRequest
- func (r TaobaoTbkDgOptimusPromotionAPIRequest) GetAdzoneId() int64
- func (r TaobaoTbkDgOptimusPromotionAPIRequest) GetApiMethodName() string
- func (r TaobaoTbkDgOptimusPromotionAPIRequest) GetApiParams() url.Values
- func (r TaobaoTbkDgOptimusPromotionAPIRequest) GetPageNum() int64
- func (r TaobaoTbkDgOptimusPromotionAPIRequest) GetPageSize() int64
- func (r TaobaoTbkDgOptimusPromotionAPIRequest) GetPromotionId() int64
- func (r *TaobaoTbkDgOptimusPromotionAPIRequest) SetAdzoneId(_adzoneId int64) error
- func (r *TaobaoTbkDgOptimusPromotionAPIRequest) SetPageNum(_pageNum int64) error
- func (r *TaobaoTbkDgOptimusPromotionAPIRequest) SetPageSize(_pageSize int64) error
- func (r *TaobaoTbkDgOptimusPromotionAPIRequest) SetPromotionId(_promotionId int64) error
- type TaobaoTbkDgOptimusPromotionAPIResponse
- type TaobaoTbkDgOptimusPromotionAPIResponseModel
- type TaobaoTbkDgOptimusPromotionMapData
- type TaobaoTbkDgPunishOrderGetAPIRequest
- func (r TaobaoTbkDgPunishOrderGetAPIRequest) GetAfOrderOption() *TopApiAfOrderOption
- func (r TaobaoTbkDgPunishOrderGetAPIRequest) GetApiMethodName() string
- func (r TaobaoTbkDgPunishOrderGetAPIRequest) GetApiParams() url.Values
- func (r *TaobaoTbkDgPunishOrderGetAPIRequest) SetAfOrderOption(_afOrderOption *TopApiAfOrderOption) error
- type TaobaoTbkDgPunishOrderGetAPIResponse
- type TaobaoTbkDgPunishOrderGetAPIResponseModel
- type TaobaoTbkDgPunishOrderGetResult
- type TaobaoTbkDgPunishOrderGetRpcResult
- type TaobaoTbkDgVegasSendStatusAPIRequest
- func (r TaobaoTbkDgVegasSendStatusAPIRequest) GetApiMethodName() string
- func (r TaobaoTbkDgVegasSendStatusAPIRequest) GetApiParams() url.Values
- func (r TaobaoTbkDgVegasSendStatusAPIRequest) GetDeviceType() string
- func (r TaobaoTbkDgVegasSendStatusAPIRequest) GetDeviceValue() string
- func (r TaobaoTbkDgVegasSendStatusAPIRequest) GetPid() string
- func (r TaobaoTbkDgVegasSendStatusAPIRequest) GetRelationId() string
- func (r TaobaoTbkDgVegasSendStatusAPIRequest) GetSpecialId() string
- func (r TaobaoTbkDgVegasSendStatusAPIRequest) GetThorBizCode() string
- func (r *TaobaoTbkDgVegasSendStatusAPIRequest) SetDeviceType(_deviceType string) error
- func (r *TaobaoTbkDgVegasSendStatusAPIRequest) SetDeviceValue(_deviceValue string) error
- func (r *TaobaoTbkDgVegasSendStatusAPIRequest) SetPid(_pid string) error
- func (r *TaobaoTbkDgVegasSendStatusAPIRequest) SetRelationId(_relationId string) error
- func (r *TaobaoTbkDgVegasSendStatusAPIRequest) SetSpecialId(_specialId string) error
- func (r *TaobaoTbkDgVegasSendStatusAPIRequest) SetThorBizCode(_thorBizCode string) error
- type TaobaoTbkDgVegasSendStatusAPIResponse
- type TaobaoTbkDgVegasSendStatusAPIResponseModel
- type TaobaoTbkDgVegasSendStatusData
- type TaobaoTbkDgVegasSendStatusMapData
- type TaobaoTbkDgVegasTljCreateAPIRequest
- func (r TaobaoTbkDgVegasTljCreateAPIRequest) GetAdzoneId() int64
- func (r TaobaoTbkDgVegasTljCreateAPIRequest) GetApiMethodName() string
- func (r TaobaoTbkDgVegasTljCreateAPIRequest) GetApiParams() url.Values
- func (r TaobaoTbkDgVegasTljCreateAPIRequest) GetCampaignType() string
- func (r TaobaoTbkDgVegasTljCreateAPIRequest) GetItemId() int64
- func (r TaobaoTbkDgVegasTljCreateAPIRequest) GetName() string
- func (r TaobaoTbkDgVegasTljCreateAPIRequest) GetPerFace() string
- func (r TaobaoTbkDgVegasTljCreateAPIRequest) GetSecurityLevel() int64
- func (r TaobaoTbkDgVegasTljCreateAPIRequest) GetSecuritySwitch() bool
- func (r TaobaoTbkDgVegasTljCreateAPIRequest) GetSendEndTime() string
- func (r TaobaoTbkDgVegasTljCreateAPIRequest) GetSendStartTime() string
- func (r TaobaoTbkDgVegasTljCreateAPIRequest) GetTotalNum() int64
- func (r TaobaoTbkDgVegasTljCreateAPIRequest) GetUseEndTime() string
- func (r TaobaoTbkDgVegasTljCreateAPIRequest) GetUseEndTimeMode() int64
- func (r TaobaoTbkDgVegasTljCreateAPIRequest) GetUseStartTime() string
- func (r TaobaoTbkDgVegasTljCreateAPIRequest) GetUserTotalWinNumLimit() int64
- func (r *TaobaoTbkDgVegasTljCreateAPIRequest) SetAdzoneId(_adzoneId int64) error
- func (r *TaobaoTbkDgVegasTljCreateAPIRequest) SetCampaignType(_campaignType string) error
- func (r *TaobaoTbkDgVegasTljCreateAPIRequest) SetItemId(_itemId int64) error
- func (r *TaobaoTbkDgVegasTljCreateAPIRequest) SetName(_name string) error
- func (r *TaobaoTbkDgVegasTljCreateAPIRequest) SetPerFace(_perFace string) error
- func (r *TaobaoTbkDgVegasTljCreateAPIRequest) SetSecurityLevel(_securityLevel int64) error
- func (r *TaobaoTbkDgVegasTljCreateAPIRequest) SetSecuritySwitch(_securitySwitch bool) error
- func (r *TaobaoTbkDgVegasTljCreateAPIRequest) SetSendEndTime(_sendEndTime string) error
- func (r *TaobaoTbkDgVegasTljCreateAPIRequest) SetSendStartTime(_sendStartTime string) error
- func (r *TaobaoTbkDgVegasTljCreateAPIRequest) SetTotalNum(_totalNum int64) error
- func (r *TaobaoTbkDgVegasTljCreateAPIRequest) SetUseEndTime(_useEndTime string) error
- func (r *TaobaoTbkDgVegasTljCreateAPIRequest) SetUseEndTimeMode(_useEndTimeMode int64) error
- func (r *TaobaoTbkDgVegasTljCreateAPIRequest) SetUseStartTime(_useStartTime string) error
- func (r *TaobaoTbkDgVegasTljCreateAPIRequest) SetUserTotalWinNumLimit(_userTotalWinNumLimit int64) error
- type TaobaoTbkDgVegasTljCreateAPIResponse
- type TaobaoTbkDgVegasTljCreateAPIResponseModel
- type TaobaoTbkDgVegasTljCreateResult
- type TaobaoTbkDgVegasTljInstanceReportAPIRequest
- func (r TaobaoTbkDgVegasTljInstanceReportAPIRequest) GetApiMethodName() string
- func (r TaobaoTbkDgVegasTljInstanceReportAPIRequest) GetApiParams() url.Values
- func (r TaobaoTbkDgVegasTljInstanceReportAPIRequest) GetRightsId() string
- func (r *TaobaoTbkDgVegasTljInstanceReportAPIRequest) SetRightsId(_rightsId string) error
- type TaobaoTbkDgVegasTljInstanceReportAPIResponse
- type TaobaoTbkDgVegasTljInstanceReportAPIResponseModel
- type TaobaoTbkDgVegasTljInstanceReportResult
- type TaobaoTbkItemInfoGetAPIRequest
- func (r TaobaoTbkItemInfoGetAPIRequest) GetApiMethodName() string
- func (r TaobaoTbkItemInfoGetAPIRequest) GetApiParams() url.Values
- func (r TaobaoTbkItemInfoGetAPIRequest) GetIp() string
- func (r TaobaoTbkItemInfoGetAPIRequest) GetNumIids() string
- func (r TaobaoTbkItemInfoGetAPIRequest) GetPlatform() int64
- func (r *TaobaoTbkItemInfoGetAPIRequest) SetIp(_ip string) error
- func (r *TaobaoTbkItemInfoGetAPIRequest) SetNumIids(_numIids string) error
- func (r *TaobaoTbkItemInfoGetAPIRequest) SetPlatform(_platform int64) error
- type TaobaoTbkItemInfoGetAPIResponse
- type TaobaoTbkItemInfoGetAPIResponseModel
- type TaobaoTbkScInvitecodeGetAPIRequest
- func (r TaobaoTbkScInvitecodeGetAPIRequest) GetApiMethodName() string
- func (r TaobaoTbkScInvitecodeGetAPIRequest) GetApiParams() url.Values
- func (r TaobaoTbkScInvitecodeGetAPIRequest) GetCodeType() int64
- func (r TaobaoTbkScInvitecodeGetAPIRequest) GetRelationApp() string
- func (r TaobaoTbkScInvitecodeGetAPIRequest) GetRelationId() int64
- func (r *TaobaoTbkScInvitecodeGetAPIRequest) SetCodeType(_codeType int64) error
- func (r *TaobaoTbkScInvitecodeGetAPIRequest) SetRelationApp(_relationApp string) error
- func (r *TaobaoTbkScInvitecodeGetAPIRequest) SetRelationId(_relationId int64) error
- type TaobaoTbkScInvitecodeGetAPIResponse
- type TaobaoTbkScInvitecodeGetAPIResponseModel
- type TaobaoTbkScInvitecodeGetData
- type TaobaoTbkScPublisherInfoGetAPIRequest
- func (r TaobaoTbkScPublisherInfoGetAPIRequest) GetApiMethodName() string
- func (r TaobaoTbkScPublisherInfoGetAPIRequest) GetApiParams() url.Values
- func (r TaobaoTbkScPublisherInfoGetAPIRequest) GetExternalId() string
- func (r TaobaoTbkScPublisherInfoGetAPIRequest) GetExternalType() int64
- func (r TaobaoTbkScPublisherInfoGetAPIRequest) GetInfoType() int64
- func (r TaobaoTbkScPublisherInfoGetAPIRequest) GetPageNo() int64
- func (r TaobaoTbkScPublisherInfoGetAPIRequest) GetPageSize() int64
- func (r TaobaoTbkScPublisherInfoGetAPIRequest) GetRelationApp() string
- func (r TaobaoTbkScPublisherInfoGetAPIRequest) GetRelationId() int64
- func (r TaobaoTbkScPublisherInfoGetAPIRequest) GetSpecialId() string
- func (r *TaobaoTbkScPublisherInfoGetAPIRequest) SetExternalId(_externalId string) error
- func (r *TaobaoTbkScPublisherInfoGetAPIRequest) SetExternalType(_externalType int64) error
- func (r *TaobaoTbkScPublisherInfoGetAPIRequest) SetInfoType(_infoType int64) error
- func (r *TaobaoTbkScPublisherInfoGetAPIRequest) SetPageNo(_pageNo int64) error
- func (r *TaobaoTbkScPublisherInfoGetAPIRequest) SetPageSize(_pageSize int64) error
- func (r *TaobaoTbkScPublisherInfoGetAPIRequest) SetRelationApp(_relationApp string) error
- func (r *TaobaoTbkScPublisherInfoGetAPIRequest) SetRelationId(_relationId int64) error
- func (r *TaobaoTbkScPublisherInfoGetAPIRequest) SetSpecialId(_specialId string) error
- type TaobaoTbkScPublisherInfoGetAPIResponse
- type TaobaoTbkScPublisherInfoGetAPIResponseModel
- type TaobaoTbkScPublisherInfoGetData
- type TaobaoTbkScPublisherInfoGetMapData
- type TaobaoTbkScPublisherInfoSaveAPIRequest
- func (r TaobaoTbkScPublisherInfoSaveAPIRequest) GetApiMethodName() string
- func (r TaobaoTbkScPublisherInfoSaveAPIRequest) GetApiParams() url.Values
- func (r TaobaoTbkScPublisherInfoSaveAPIRequest) GetInfoType() int64
- func (r TaobaoTbkScPublisherInfoSaveAPIRequest) GetInviterCode() string
- func (r TaobaoTbkScPublisherInfoSaveAPIRequest) GetNote() string
- func (r TaobaoTbkScPublisherInfoSaveAPIRequest) GetOfflineScene() string
- func (r TaobaoTbkScPublisherInfoSaveAPIRequest) GetOnlineScene() string
- func (r TaobaoTbkScPublisherInfoSaveAPIRequest) GetRegisterInfo() string
- func (r TaobaoTbkScPublisherInfoSaveAPIRequest) GetRelationFrom() string
- func (r *TaobaoTbkScPublisherInfoSaveAPIRequest) SetInfoType(_infoType int64) error
- func (r *TaobaoTbkScPublisherInfoSaveAPIRequest) SetInviterCode(_inviterCode string) error
- func (r *TaobaoTbkScPublisherInfoSaveAPIRequest) SetNote(_note string) error
- func (r *TaobaoTbkScPublisherInfoSaveAPIRequest) SetOfflineScene(_offlineScene string) error
- func (r *TaobaoTbkScPublisherInfoSaveAPIRequest) SetOnlineScene(_onlineScene string) error
- func (r *TaobaoTbkScPublisherInfoSaveAPIRequest) SetRegisterInfo(_registerInfo string) error
- func (r *TaobaoTbkScPublisherInfoSaveAPIRequest) SetRelationFrom(_relationFrom string) error
- type TaobaoTbkScPublisherInfoSaveAPIResponse
- type TaobaoTbkScPublisherInfoSaveAPIResponseModel
- type TaobaoTbkScPublisherInfoSaveData
- type TaobaoTbkShopGetAPIRequest
- func (r TaobaoTbkShopGetAPIRequest) GetApiMethodName() string
- func (r TaobaoTbkShopGetAPIRequest) GetApiParams() url.Values
- func (r TaobaoTbkShopGetAPIRequest) GetEndAuctionCount() int64
- func (r TaobaoTbkShopGetAPIRequest) GetEndCommissionRate() int64
- func (r TaobaoTbkShopGetAPIRequest) GetEndCredit() int64
- func (r TaobaoTbkShopGetAPIRequest) GetEndTotalAction() int64
- func (r TaobaoTbkShopGetAPIRequest) GetFields() string
- func (r TaobaoTbkShopGetAPIRequest) GetIsTmall() bool
- func (r TaobaoTbkShopGetAPIRequest) GetPageNo() int64
- func (r TaobaoTbkShopGetAPIRequest) GetPageSize() int64
- func (r TaobaoTbkShopGetAPIRequest) GetPlatform() int64
- func (r TaobaoTbkShopGetAPIRequest) GetQ() string
- func (r TaobaoTbkShopGetAPIRequest) GetSort() string
- func (r TaobaoTbkShopGetAPIRequest) GetStartAuctionCount() int64
- func (r TaobaoTbkShopGetAPIRequest) GetStartCommissionRate() int64
- func (r TaobaoTbkShopGetAPIRequest) GetStartCredit() int64
- func (r TaobaoTbkShopGetAPIRequest) GetStartTotalAction() int64
- func (r *TaobaoTbkShopGetAPIRequest) SetEndAuctionCount(_endAuctionCount int64) error
- func (r *TaobaoTbkShopGetAPIRequest) SetEndCommissionRate(_endCommissionRate int64) error
- func (r *TaobaoTbkShopGetAPIRequest) SetEndCredit(_endCredit int64) error
- func (r *TaobaoTbkShopGetAPIRequest) SetEndTotalAction(_endTotalAction int64) error
- func (r *TaobaoTbkShopGetAPIRequest) SetFields(_fields string) error
- func (r *TaobaoTbkShopGetAPIRequest) SetIsTmall(_isTmall bool) error
- func (r *TaobaoTbkShopGetAPIRequest) SetPageNo(_pageNo int64) error
- func (r *TaobaoTbkShopGetAPIRequest) SetPageSize(_pageSize int64) error
- func (r *TaobaoTbkShopGetAPIRequest) SetPlatform(_platform int64) error
- func (r *TaobaoTbkShopGetAPIRequest) SetQ(_q string) error
- func (r *TaobaoTbkShopGetAPIRequest) SetSort(_sort string) error
- func (r *TaobaoTbkShopGetAPIRequest) SetStartAuctionCount(_startAuctionCount int64) error
- func (r *TaobaoTbkShopGetAPIRequest) SetStartCommissionRate(_startCommissionRate int64) error
- func (r *TaobaoTbkShopGetAPIRequest) SetStartCredit(_startCredit int64) error
- func (r *TaobaoTbkShopGetAPIRequest) SetStartTotalAction(_startTotalAction int64) error
- type TaobaoTbkShopGetAPIResponse
- type TaobaoTbkShopGetAPIResponseModel
- type TaobaoTbkShopRecommendGetAPIRequest
- func (r TaobaoTbkShopRecommendGetAPIRequest) GetApiMethodName() string
- func (r TaobaoTbkShopRecommendGetAPIRequest) GetApiParams() url.Values
- func (r TaobaoTbkShopRecommendGetAPIRequest) GetCount() int64
- func (r TaobaoTbkShopRecommendGetAPIRequest) GetFields() string
- func (r TaobaoTbkShopRecommendGetAPIRequest) GetPlatform() int64
- func (r TaobaoTbkShopRecommendGetAPIRequest) GetUserId() int64
- func (r *TaobaoTbkShopRecommendGetAPIRequest) SetCount(_count int64) error
- func (r *TaobaoTbkShopRecommendGetAPIRequest) SetFields(_fields string) error
- func (r *TaobaoTbkShopRecommendGetAPIRequest) SetPlatform(_platform int64) error
- func (r *TaobaoTbkShopRecommendGetAPIRequest) SetUserId(_userId int64) error
- type TaobaoTbkShopRecommendGetAPIResponse
- type TaobaoTbkShopRecommendGetAPIResponseModel
- type TaobaoTbkSkuBestCouponAPIRequest
- func (r TaobaoTbkSkuBestCouponAPIRequest) GetApiMethodName() string
- func (r TaobaoTbkSkuBestCouponAPIRequest) GetApiParams() url.Values
- func (r TaobaoTbkSkuBestCouponAPIRequest) GetItemId() int64
- func (r TaobaoTbkSkuBestCouponAPIRequest) GetSkuId() int64
- func (r *TaobaoTbkSkuBestCouponAPIRequest) SetItemId(_itemId int64) error
- func (r *TaobaoTbkSkuBestCouponAPIRequest) SetSkuId(_skuId int64) error
- type TaobaoTbkSkuBestCouponAPIResponse
- type TaobaoTbkSkuBestCouponAPIResponseModel
- type TaobaoTbkSkuBestCouponMapData
- type TaobaoTbkSpreadGetAPIRequest
- type TaobaoTbkSpreadGetAPIResponse
- type TaobaoTbkSpreadGetAPIResponseModel
- type TaobaoTbkTpwdCreateAPIRequest
- func (r TaobaoTbkTpwdCreateAPIRequest) GetApiMethodName() string
- func (r TaobaoTbkTpwdCreateAPIRequest) GetApiParams() url.Values
- func (r TaobaoTbkTpwdCreateAPIRequest) GetExt() string
- func (r TaobaoTbkTpwdCreateAPIRequest) GetLogo() string
- func (r TaobaoTbkTpwdCreateAPIRequest) GetText() string
- func (r TaobaoTbkTpwdCreateAPIRequest) GetUrl() string
- func (r TaobaoTbkTpwdCreateAPIRequest) GetUserId() string
- func (r *TaobaoTbkTpwdCreateAPIRequest) SetExt(_ext string) error
- func (r *TaobaoTbkTpwdCreateAPIRequest) SetLogo(_logo string) error
- func (r *TaobaoTbkTpwdCreateAPIRequest) SetText(_text string) error
- func (r *TaobaoTbkTpwdCreateAPIRequest) SetUrl(_url string) error
- func (r *TaobaoTbkTpwdCreateAPIRequest) SetUserId(_userId string) error
- type TaobaoTbkTpwdCreateAPIResponse
- type TaobaoTbkTpwdCreateAPIResponseModel
- type TaobaoTbkTpwdCreateMapData
- 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 TaobaoTbkActivityInfoGetAPIRequest ¶ added in v1.2.0
type TaobaoTbkActivityInfoGetAPIRequest struct { model.Params // contains filtered or unexported fields }
淘宝客-推广者-官方活动转链 API请求 taobao.tbk.activity.info.get
支持入参推广位和官方活动会场ID,获取活动信息和推广链接,包含推广长链接、短链接、淘口令、微信推广二维码地址等。改该API支持二方、三方类型的转链。官方活动会场ID,从淘宝客后台“我要推广-活动推广”中获取。
func NewTaobaoTbkActivityInfoGetRequest ¶
func NewTaobaoTbkActivityInfoGetRequest() *TaobaoTbkActivityInfoGetAPIRequest
初始化TaobaoTbkActivityInfoGetAPIRequest对象
func (TaobaoTbkActivityInfoGetAPIRequest) GetActivityMaterialId ¶ added in v1.2.0
func (r TaobaoTbkActivityInfoGetAPIRequest) GetActivityMaterialId() string
ActivityMaterialId Getter
func (TaobaoTbkActivityInfoGetAPIRequest) GetAdzoneId ¶ added in v1.2.0
func (r TaobaoTbkActivityInfoGetAPIRequest) GetAdzoneId() int64
AdzoneId Getter
func (TaobaoTbkActivityInfoGetAPIRequest) GetApiMethodName ¶ added in v1.2.0
func (r TaobaoTbkActivityInfoGetAPIRequest) GetApiMethodName() string
IRequest interface 方法, 获取Api method
func (TaobaoTbkActivityInfoGetAPIRequest) GetApiParams ¶ added in v1.2.0
func (r TaobaoTbkActivityInfoGetAPIRequest) GetApiParams() url.Values
IRequest interface 方法, 获取API参数
func (TaobaoTbkActivityInfoGetAPIRequest) GetRelationId ¶ added in v1.2.0
func (r TaobaoTbkActivityInfoGetAPIRequest) GetRelationId() int64
RelationId Getter
func (TaobaoTbkActivityInfoGetAPIRequest) GetSubPid ¶ added in v1.2.0
func (r TaobaoTbkActivityInfoGetAPIRequest) GetSubPid() string
SubPid Getter
func (TaobaoTbkActivityInfoGetAPIRequest) GetUnionId ¶ added in v1.2.0
func (r TaobaoTbkActivityInfoGetAPIRequest) GetUnionId() string
UnionId Getter
func (*TaobaoTbkActivityInfoGetAPIRequest) SetActivityMaterialId ¶ added in v1.2.0
func (r *TaobaoTbkActivityInfoGetAPIRequest) SetActivityMaterialId(_activityMaterialId string) error
ActivityMaterialId Setter 官方活动会场ID,从淘宝客后台“我要推广-活动推广”中获取
func (*TaobaoTbkActivityInfoGetAPIRequest) SetAdzoneId ¶ added in v1.2.0
func (r *TaobaoTbkActivityInfoGetAPIRequest) SetAdzoneId(_adzoneId int64) error
AdzoneId Setter mm_xxx_xxx_xxx的第三位
func (*TaobaoTbkActivityInfoGetAPIRequest) SetRelationId ¶ added in v1.2.0
func (r *TaobaoTbkActivityInfoGetAPIRequest) SetRelationId(_relationId int64) error
RelationId Setter 渠道关系id
func (*TaobaoTbkActivityInfoGetAPIRequest) SetSubPid ¶ added in v1.2.0
func (r *TaobaoTbkActivityInfoGetAPIRequest) SetSubPid(_subPid string) error
SubPid Setter mm_xxx_xxx_xxx 仅三方分成场景使用
func (*TaobaoTbkActivityInfoGetAPIRequest) SetUnionId ¶ added in v1.2.0
func (r *TaobaoTbkActivityInfoGetAPIRequest) SetUnionId(_unionId string) error
UnionId Setter 自定义输入串,英文和数字组成,长度不能大于12个字符,区分不同的推广渠道
type TaobaoTbkActivityInfoGetAPIResponse ¶
type TaobaoTbkActivityInfoGetAPIResponse struct { model.CommonResponse TaobaoTbkActivityInfoGetAPIResponseModel }
淘宝客-推广者-官方活动转链 API返回值 taobao.tbk.activity.info.get
支持入参推广位和官方活动会场ID,获取活动信息和推广链接,包含推广长链接、短链接、淘口令、微信推广二维码地址等。改该API支持二方、三方类型的转链。官方活动会场ID,从淘宝客后台“我要推广-活动推广”中获取。
type TaobaoTbkActivityInfoGetAPIResponseModel ¶ added in v1.2.0
type TaobaoTbkActivityInfoGetAPIResponseModel 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 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 TaobaoTbkCartCouponExpireUserQueryAPIRequest ¶ added in v1.2.0
type TaobaoTbkCartCouponExpireUserQueryAPIRequest struct { model.Params // contains filtered or unexported fields }
购物车催付优惠券到期查询用户信息 API请求 taobao.tbk.cart.coupon.expire.user.query
购物车催付根据对应规则查询用户信息。
func NewTaobaoTbkCartCouponExpireUserQueryRequest ¶
func NewTaobaoTbkCartCouponExpireUserQueryRequest() *TaobaoTbkCartCouponExpireUserQueryAPIRequest
初始化TaobaoTbkCartCouponExpireUserQueryAPIRequest对象
func (TaobaoTbkCartCouponExpireUserQueryAPIRequest) GetApiMethodName ¶ added in v1.2.0
func (r TaobaoTbkCartCouponExpireUserQueryAPIRequest) GetApiMethodName() string
IRequest interface 方法, 获取Api method
func (TaobaoTbkCartCouponExpireUserQueryAPIRequest) GetApiParams ¶ added in v1.2.0
func (r TaobaoTbkCartCouponExpireUserQueryAPIRequest) GetApiParams() url.Values
IRequest interface 方法, 获取API参数
func (TaobaoTbkCartCouponExpireUserQueryAPIRequest) GetPageNum ¶ added in v1.2.0
func (r TaobaoTbkCartCouponExpireUserQueryAPIRequest) GetPageNum() int64
PageNum Getter
func (TaobaoTbkCartCouponExpireUserQueryAPIRequest) GetPageSize ¶ added in v1.2.0
func (r TaobaoTbkCartCouponExpireUserQueryAPIRequest) GetPageSize() int64
PageSize Getter
func (TaobaoTbkCartCouponExpireUserQueryAPIRequest) GetRuleId ¶ added in v1.2.0
func (r TaobaoTbkCartCouponExpireUserQueryAPIRequest) GetRuleId() string
RuleId Getter
func (*TaobaoTbkCartCouponExpireUserQueryAPIRequest) SetPageNum ¶ added in v1.2.0
func (r *TaobaoTbkCartCouponExpireUserQueryAPIRequest) SetPageNum(_pageNum int64) error
PageNum Setter 页码,从0开始
func (*TaobaoTbkCartCouponExpireUserQueryAPIRequest) SetPageSize ¶ added in v1.2.0
func (r *TaobaoTbkCartCouponExpireUserQueryAPIRequest) SetPageSize(_pageSize int64) error
PageSize Setter 每页大小
func (*TaobaoTbkCartCouponExpireUserQueryAPIRequest) SetRuleId ¶ added in v1.2.0
func (r *TaobaoTbkCartCouponExpireUserQueryAPIRequest) SetRuleId(_ruleId string) error
RuleId Setter 规则ID,由接口提供方分配
type TaobaoTbkCartCouponExpireUserQueryAPIResponse ¶
type TaobaoTbkCartCouponExpireUserQueryAPIResponse struct { model.CommonResponse TaobaoTbkCartCouponExpireUserQueryAPIResponseModel }
购物车催付优惠券到期查询用户信息 API返回值 taobao.tbk.cart.coupon.expire.user.query
购物车催付根据对应规则查询用户信息。
type TaobaoTbkCartCouponExpireUserQueryAPIResponseModel ¶ added in v1.2.0
type TaobaoTbkCartCouponExpireUserQueryAPIResponseModel 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 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 TaobaoTbkCouponGetAPIRequest ¶ added in v1.2.0
淘宝客-公用-阿里妈妈推广券详情查询 API请求 taobao.tbk.coupon.get
传入商品ID+券ID(券ID已知情况下),或者传入me参数,均可查询阿里妈妈推广券详细信息。
func NewTaobaoTbkCouponGetRequest ¶
func NewTaobaoTbkCouponGetRequest() *TaobaoTbkCouponGetAPIRequest
初始化TaobaoTbkCouponGetAPIRequest对象
func (TaobaoTbkCouponGetAPIRequest) GetActivityId ¶ added in v1.2.0
func (r TaobaoTbkCouponGetAPIRequest) GetActivityId() string
ActivityId Getter
func (TaobaoTbkCouponGetAPIRequest) GetApiMethodName ¶ added in v1.2.0
func (r TaobaoTbkCouponGetAPIRequest) GetApiMethodName() string
IRequest interface 方法, 获取Api method
func (TaobaoTbkCouponGetAPIRequest) GetApiParams ¶ added in v1.2.0
func (r TaobaoTbkCouponGetAPIRequest) GetApiParams() url.Values
IRequest interface 方法, 获取API参数
func (TaobaoTbkCouponGetAPIRequest) GetItemId ¶ added in v1.2.0
func (r TaobaoTbkCouponGetAPIRequest) GetItemId() int64
ItemId Getter
func (TaobaoTbkCouponGetAPIRequest) GetMe ¶ added in v1.2.0
func (r TaobaoTbkCouponGetAPIRequest) GetMe() string
Me Getter
func (*TaobaoTbkCouponGetAPIRequest) SetActivityId ¶ added in v1.2.0
func (r *TaobaoTbkCouponGetAPIRequest) SetActivityId(_activityId string) error
ActivityId Setter 券ID
func (*TaobaoTbkCouponGetAPIRequest) SetItemId ¶ added in v1.2.0
func (r *TaobaoTbkCouponGetAPIRequest) SetItemId(_itemId int64) error
ItemId Setter 商品ID
func (*TaobaoTbkCouponGetAPIRequest) SetMe ¶ added in v1.2.0
func (r *TaobaoTbkCouponGetAPIRequest) SetMe(_me string) error
Me Setter 带券ID与商品ID的加密串
type TaobaoTbkCouponGetAPIResponse ¶
type TaobaoTbkCouponGetAPIResponse struct { model.CommonResponse TaobaoTbkCouponGetAPIResponseModel }
淘宝客-公用-阿里妈妈推广券详情查询 API返回值 taobao.tbk.coupon.get
传入商品ID+券ID(券ID已知情况下),或者传入me参数,均可查询阿里妈妈推广券详细信息。
type TaobaoTbkCouponGetAPIResponseModel ¶ added in v1.2.0
type TaobaoTbkCouponGetAPIResponseModel 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 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 TaobaoTbkDgMaterialOptionalAPIRequest ¶ added in v1.2.0
type TaobaoTbkDgMaterialOptionalAPIRequest struct { model.Params // contains filtered or unexported fields }
淘宝客-推广者-物料搜索 API请求 taobao.tbk.dg.material.optional
通用物料搜索API(导购)
func NewTaobaoTbkDgMaterialOptionalRequest ¶
func NewTaobaoTbkDgMaterialOptionalRequest() *TaobaoTbkDgMaterialOptionalAPIRequest
初始化TaobaoTbkDgMaterialOptionalAPIRequest对象
func (TaobaoTbkDgMaterialOptionalAPIRequest) GetAdzoneId ¶ added in v1.2.0
func (r TaobaoTbkDgMaterialOptionalAPIRequest) GetAdzoneId() int64
AdzoneId Getter
func (TaobaoTbkDgMaterialOptionalAPIRequest) GetApiMethodName ¶ added in v1.2.0
func (r TaobaoTbkDgMaterialOptionalAPIRequest) GetApiMethodName() string
IRequest interface 方法, 获取Api method
func (TaobaoTbkDgMaterialOptionalAPIRequest) GetApiParams ¶ added in v1.2.0
func (r TaobaoTbkDgMaterialOptionalAPIRequest) GetApiParams() url.Values
IRequest interface 方法, 获取API参数
func (TaobaoTbkDgMaterialOptionalAPIRequest) GetCat ¶ added in v1.2.0
func (r TaobaoTbkDgMaterialOptionalAPIRequest) GetCat() string
Cat Getter
func (TaobaoTbkDgMaterialOptionalAPIRequest) GetCityCode ¶ added in v1.2.0
func (r TaobaoTbkDgMaterialOptionalAPIRequest) GetCityCode() string
CityCode Getter
func (TaobaoTbkDgMaterialOptionalAPIRequest) GetDeviceEncrypt ¶ added in v1.2.0
func (r TaobaoTbkDgMaterialOptionalAPIRequest) GetDeviceEncrypt() string
DeviceEncrypt Getter
func (TaobaoTbkDgMaterialOptionalAPIRequest) GetDeviceType ¶ added in v1.2.0
func (r TaobaoTbkDgMaterialOptionalAPIRequest) GetDeviceType() string
DeviceType Getter
func (TaobaoTbkDgMaterialOptionalAPIRequest) GetDeviceValue ¶ added in v1.2.0
func (r TaobaoTbkDgMaterialOptionalAPIRequest) GetDeviceValue() string
DeviceValue Getter
func (TaobaoTbkDgMaterialOptionalAPIRequest) GetEndKaTkRate ¶ added in v1.2.0
func (r TaobaoTbkDgMaterialOptionalAPIRequest) GetEndKaTkRate() int64
EndKaTkRate Getter
func (TaobaoTbkDgMaterialOptionalAPIRequest) GetEndPrice ¶ added in v1.2.0
func (r TaobaoTbkDgMaterialOptionalAPIRequest) GetEndPrice() int64
EndPrice Getter
func (TaobaoTbkDgMaterialOptionalAPIRequest) GetEndTkRate ¶ added in v1.2.0
func (r TaobaoTbkDgMaterialOptionalAPIRequest) GetEndTkRate() int64
EndTkRate Getter
func (TaobaoTbkDgMaterialOptionalAPIRequest) GetGetTopnRate ¶ added in v1.2.0
func (r TaobaoTbkDgMaterialOptionalAPIRequest) GetGetTopnRate() int64
GetTopnRate Getter
func (TaobaoTbkDgMaterialOptionalAPIRequest) GetHasCoupon ¶ added in v1.2.0
func (r TaobaoTbkDgMaterialOptionalAPIRequest) GetHasCoupon() bool
HasCoupon Getter
func (TaobaoTbkDgMaterialOptionalAPIRequest) GetIncludeGoodRate ¶ added in v1.2.0
func (r TaobaoTbkDgMaterialOptionalAPIRequest) GetIncludeGoodRate() bool
IncludeGoodRate Getter
func (TaobaoTbkDgMaterialOptionalAPIRequest) GetIncludePayRate30 ¶ added in v1.2.0
func (r TaobaoTbkDgMaterialOptionalAPIRequest) GetIncludePayRate30() bool
IncludePayRate30 Getter
func (TaobaoTbkDgMaterialOptionalAPIRequest) GetIncludeRfdRate ¶ added in v1.2.0
func (r TaobaoTbkDgMaterialOptionalAPIRequest) GetIncludeRfdRate() bool
IncludeRfdRate Getter
func (TaobaoTbkDgMaterialOptionalAPIRequest) GetIp ¶ added in v1.2.0
func (r TaobaoTbkDgMaterialOptionalAPIRequest) GetIp() string
Ip Getter
func (TaobaoTbkDgMaterialOptionalAPIRequest) GetIsOverseas ¶ added in v1.2.0
func (r TaobaoTbkDgMaterialOptionalAPIRequest) GetIsOverseas() bool
IsOverseas Getter
func (TaobaoTbkDgMaterialOptionalAPIRequest) GetIsTmall ¶ added in v1.2.0
func (r TaobaoTbkDgMaterialOptionalAPIRequest) GetIsTmall() bool
IsTmall Getter
func (TaobaoTbkDgMaterialOptionalAPIRequest) GetItemloc ¶ added in v1.2.0
func (r TaobaoTbkDgMaterialOptionalAPIRequest) GetItemloc() string
Itemloc Getter
func (TaobaoTbkDgMaterialOptionalAPIRequest) GetLatitude ¶ added in v1.2.0
func (r TaobaoTbkDgMaterialOptionalAPIRequest) GetLatitude() string
Latitude Getter
func (TaobaoTbkDgMaterialOptionalAPIRequest) GetLockRateEndTime ¶ added in v1.2.0
func (r TaobaoTbkDgMaterialOptionalAPIRequest) GetLockRateEndTime() int64
LockRateEndTime Getter
func (TaobaoTbkDgMaterialOptionalAPIRequest) GetLockRateStartTime ¶ added in v1.2.0
func (r TaobaoTbkDgMaterialOptionalAPIRequest) GetLockRateStartTime() int64
LockRateStartTime Getter
func (TaobaoTbkDgMaterialOptionalAPIRequest) GetLongitude ¶ added in v1.2.0
func (r TaobaoTbkDgMaterialOptionalAPIRequest) GetLongitude() string
Longitude Getter
func (TaobaoTbkDgMaterialOptionalAPIRequest) GetMaterialId ¶ added in v1.2.0
func (r TaobaoTbkDgMaterialOptionalAPIRequest) GetMaterialId() int64
MaterialId Getter
func (TaobaoTbkDgMaterialOptionalAPIRequest) GetNeedFreeShipment ¶ added in v1.2.0
func (r TaobaoTbkDgMaterialOptionalAPIRequest) GetNeedFreeShipment() bool
NeedFreeShipment Getter
func (TaobaoTbkDgMaterialOptionalAPIRequest) GetNeedPrepay ¶ added in v1.2.0
func (r TaobaoTbkDgMaterialOptionalAPIRequest) GetNeedPrepay() bool
NeedPrepay Getter
func (TaobaoTbkDgMaterialOptionalAPIRequest) GetNpxLevel ¶ added in v1.2.0
func (r TaobaoTbkDgMaterialOptionalAPIRequest) GetNpxLevel() int64
NpxLevel Getter
func (TaobaoTbkDgMaterialOptionalAPIRequest) GetPageNo ¶ added in v1.2.0
func (r TaobaoTbkDgMaterialOptionalAPIRequest) GetPageNo() int64
PageNo Getter
func (TaobaoTbkDgMaterialOptionalAPIRequest) GetPageResultKey ¶ added in v1.2.0
func (r TaobaoTbkDgMaterialOptionalAPIRequest) GetPageResultKey() string
PageResultKey Getter
func (TaobaoTbkDgMaterialOptionalAPIRequest) GetPageSize ¶ added in v1.2.0
func (r TaobaoTbkDgMaterialOptionalAPIRequest) GetPageSize() int64
PageSize Getter
func (TaobaoTbkDgMaterialOptionalAPIRequest) GetPlatform ¶ added in v1.2.0
func (r TaobaoTbkDgMaterialOptionalAPIRequest) GetPlatform() int64
Platform Getter
func (TaobaoTbkDgMaterialOptionalAPIRequest) GetQ ¶ added in v1.2.0
func (r TaobaoTbkDgMaterialOptionalAPIRequest) GetQ() string
Q Getter
func (TaobaoTbkDgMaterialOptionalAPIRequest) GetRelationId ¶ added in v1.2.0
func (r TaobaoTbkDgMaterialOptionalAPIRequest) GetRelationId() string
RelationId Getter
func (TaobaoTbkDgMaterialOptionalAPIRequest) GetSellerIds ¶ added in v1.2.0
func (r TaobaoTbkDgMaterialOptionalAPIRequest) GetSellerIds() string
SellerIds Getter
func (TaobaoTbkDgMaterialOptionalAPIRequest) GetSort ¶ added in v1.2.0
func (r TaobaoTbkDgMaterialOptionalAPIRequest) GetSort() string
Sort Getter
func (TaobaoTbkDgMaterialOptionalAPIRequest) GetSpecialId ¶ added in v1.2.0
func (r TaobaoTbkDgMaterialOptionalAPIRequest) GetSpecialId() string
SpecialId Getter
func (TaobaoTbkDgMaterialOptionalAPIRequest) GetStartDsr ¶ added in v1.2.0
func (r TaobaoTbkDgMaterialOptionalAPIRequest) GetStartDsr() int64
StartDsr Getter
func (TaobaoTbkDgMaterialOptionalAPIRequest) GetStartKaTkRate ¶ added in v1.2.0
func (r TaobaoTbkDgMaterialOptionalAPIRequest) GetStartKaTkRate() int64
StartKaTkRate Getter
func (TaobaoTbkDgMaterialOptionalAPIRequest) GetStartPrice ¶ added in v1.2.0
func (r TaobaoTbkDgMaterialOptionalAPIRequest) GetStartPrice() int64
StartPrice Getter
func (TaobaoTbkDgMaterialOptionalAPIRequest) GetStartTkRate ¶ added in v1.2.0
func (r TaobaoTbkDgMaterialOptionalAPIRequest) GetStartTkRate() int64
StartTkRate Getter
func (TaobaoTbkDgMaterialOptionalAPIRequest) GetUcrowdId ¶ added in v1.2.0
func (r TaobaoTbkDgMaterialOptionalAPIRequest) GetUcrowdId() int64
UcrowdId Getter
func (TaobaoTbkDgMaterialOptionalAPIRequest) GetUcrowdRankItems ¶ added in v1.2.0
func (r TaobaoTbkDgMaterialOptionalAPIRequest) GetUcrowdRankItems() []Ucrowdrankitems
UcrowdRankItems Getter
func (*TaobaoTbkDgMaterialOptionalAPIRequest) SetAdzoneId ¶ added in v1.2.0
func (r *TaobaoTbkDgMaterialOptionalAPIRequest) SetAdzoneId(_adzoneId int64) error
AdzoneId Setter mm_xxx_xxx_12345678三段式的最后一段数字
func (*TaobaoTbkDgMaterialOptionalAPIRequest) SetCat ¶ added in v1.2.0
func (r *TaobaoTbkDgMaterialOptionalAPIRequest) SetCat(_cat string) error
Cat Setter 商品筛选-后台类目ID。用,分割,最大10个,该ID可以通过taobao.itemcats.get接口获取到
func (*TaobaoTbkDgMaterialOptionalAPIRequest) SetCityCode ¶ added in v1.2.0
func (r *TaobaoTbkDgMaterialOptionalAPIRequest) SetCityCode(_cityCode string) error
CityCode Setter 本地化业务入参-LBS信息-国标城市码,仅支持单个请求,请求饿了么卡券物料时,该字段必填。 (详细城市ID见:https://mo.m.taobao.com/page_2020010315120200508)
func (*TaobaoTbkDgMaterialOptionalAPIRequest) SetDeviceEncrypt ¶ added in v1.2.0
func (r *TaobaoTbkDgMaterialOptionalAPIRequest) SetDeviceEncrypt(_deviceEncrypt string) error
DeviceEncrypt Setter 智能匹配-设备号加密类型:MD5
func (*TaobaoTbkDgMaterialOptionalAPIRequest) SetDeviceType ¶ added in v1.2.0
func (r *TaobaoTbkDgMaterialOptionalAPIRequest) SetDeviceType(_deviceType string) error
DeviceType Setter 智能匹配-设备号类型:IMEI,或者IDFA,或者UTDID(UTDID不支持MD5加密),或者OAID
func (*TaobaoTbkDgMaterialOptionalAPIRequest) SetDeviceValue ¶ added in v1.2.0
func (r *TaobaoTbkDgMaterialOptionalAPIRequest) SetDeviceValue(_deviceValue string) error
DeviceValue Setter 智能匹配-设备号加密后的值(MD5加密需32位小写)
func (*TaobaoTbkDgMaterialOptionalAPIRequest) SetEndKaTkRate ¶ added in v1.2.0
func (r *TaobaoTbkDgMaterialOptionalAPIRequest) SetEndKaTkRate(_endKaTkRate int64) error
EndKaTkRate Setter 商品筛选-KA媒体淘客佣金比率上限。如:1234表示12.34%
func (*TaobaoTbkDgMaterialOptionalAPIRequest) SetEndPrice ¶ added in v1.2.0
func (r *TaobaoTbkDgMaterialOptionalAPIRequest) SetEndPrice(_endPrice int64) error
EndPrice Setter 商品筛选-折扣价范围上限。单位:元
func (*TaobaoTbkDgMaterialOptionalAPIRequest) SetEndTkRate ¶ added in v1.2.0
func (r *TaobaoTbkDgMaterialOptionalAPIRequest) SetEndTkRate(_endTkRate int64) error
EndTkRate Setter 商品筛选-淘客佣金比率上限。如:1234表示12.34%
func (*TaobaoTbkDgMaterialOptionalAPIRequest) SetGetTopnRate ¶ added in v1.2.0
func (r *TaobaoTbkDgMaterialOptionalAPIRequest) SetGetTopnRate(_getTopnRate int64) error
GetTopnRate Setter 是否获取前N件佣金信息 0否,1是,其他值否
func (*TaobaoTbkDgMaterialOptionalAPIRequest) SetHasCoupon ¶ added in v1.2.0
func (r *TaobaoTbkDgMaterialOptionalAPIRequest) SetHasCoupon(_hasCoupon bool) error
HasCoupon Setter 优惠券筛选-是否有优惠券。true表示该商品有优惠券,false或不设置表示不限
func (*TaobaoTbkDgMaterialOptionalAPIRequest) SetIncludeGoodRate ¶ added in v1.2.0
func (r *TaobaoTbkDgMaterialOptionalAPIRequest) SetIncludeGoodRate(_includeGoodRate bool) error
IncludeGoodRate Setter 商品筛选-好评率是否高于行业均值。True表示大于等于,false或不设置表示不限
func (*TaobaoTbkDgMaterialOptionalAPIRequest) SetIncludePayRate30 ¶ added in v1.2.0
func (r *TaobaoTbkDgMaterialOptionalAPIRequest) SetIncludePayRate30(_includePayRate30 bool) error
IncludePayRate30 Setter 商品筛选(特定媒体支持)-成交转化是否高于行业均值。True表示大于等于,false或不设置表示不限
func (*TaobaoTbkDgMaterialOptionalAPIRequest) SetIncludeRfdRate ¶ added in v1.2.0
func (r *TaobaoTbkDgMaterialOptionalAPIRequest) SetIncludeRfdRate(_includeRfdRate bool) error
IncludeRfdRate Setter 商品筛选(特定媒体支持)-退款率是否低于行业均值。True表示大于等于,false或不设置表示不限
func (*TaobaoTbkDgMaterialOptionalAPIRequest) SetIp ¶ added in v1.2.0
func (r *TaobaoTbkDgMaterialOptionalAPIRequest) SetIp(_ip string) error
Ip Setter ip参数影响邮费获取,如果不传或者传入不准确,邮费无法精准提供
func (*TaobaoTbkDgMaterialOptionalAPIRequest) SetIsOverseas ¶ added in v1.2.0
func (r *TaobaoTbkDgMaterialOptionalAPIRequest) SetIsOverseas(_isOverseas bool) error
IsOverseas Setter 商品筛选-是否海外商品。true表示属于海外商品,false或不设置表示不限
func (*TaobaoTbkDgMaterialOptionalAPIRequest) SetIsTmall ¶ added in v1.2.0
func (r *TaobaoTbkDgMaterialOptionalAPIRequest) SetIsTmall(_isTmall bool) error
IsTmall Setter 商品筛选-是否天猫商品。true表示属于天猫商品,false或不设置表示不限
func (*TaobaoTbkDgMaterialOptionalAPIRequest) SetItemloc ¶ added in v1.2.0
func (r *TaobaoTbkDgMaterialOptionalAPIRequest) SetItemloc(_itemloc string) error
Itemloc Setter 商品筛选-所在地
func (*TaobaoTbkDgMaterialOptionalAPIRequest) SetLatitude ¶ added in v1.2.0
func (r *TaobaoTbkDgMaterialOptionalAPIRequest) SetLatitude(_latitude string) error
Latitude Setter 本地化业务入参-LBS信息-纬度
func (*TaobaoTbkDgMaterialOptionalAPIRequest) SetLockRateEndTime ¶ added in v1.2.0
func (r *TaobaoTbkDgMaterialOptionalAPIRequest) SetLockRateEndTime(_lockRateEndTime int64) error
LockRateEndTime Setter 锁佣结束时间
func (*TaobaoTbkDgMaterialOptionalAPIRequest) SetLockRateStartTime ¶ added in v1.2.0
func (r *TaobaoTbkDgMaterialOptionalAPIRequest) SetLockRateStartTime(_lockRateStartTime int64) error
LockRateStartTime Setter 锁佣开始时间
func (*TaobaoTbkDgMaterialOptionalAPIRequest) SetLongitude ¶ added in v1.2.0
func (r *TaobaoTbkDgMaterialOptionalAPIRequest) SetLongitude(_longitude string) error
Longitude Setter 本地化业务入参-LBS信息-经度
func (*TaobaoTbkDgMaterialOptionalAPIRequest) SetMaterialId ¶ added in v1.2.0
func (r *TaobaoTbkDgMaterialOptionalAPIRequest) SetMaterialId(_materialId int64) error
MaterialId Setter 不传时默认物料id=2836;如果直接对消费者投放,可使用官方个性化算法优化的搜索物料id=17004
func (*TaobaoTbkDgMaterialOptionalAPIRequest) SetNeedFreeShipment ¶ added in v1.2.0
func (r *TaobaoTbkDgMaterialOptionalAPIRequest) SetNeedFreeShipment(_needFreeShipment bool) error
NeedFreeShipment Setter 商品筛选-是否包邮。true表示包邮,false或不设置表示不限
func (*TaobaoTbkDgMaterialOptionalAPIRequest) SetNeedPrepay ¶ added in v1.2.0
func (r *TaobaoTbkDgMaterialOptionalAPIRequest) SetNeedPrepay(_needPrepay bool) error
NeedPrepay Setter 商品筛选-是否加入消费者保障。true表示加入,false或不设置表示不限
func (*TaobaoTbkDgMaterialOptionalAPIRequest) SetNpxLevel ¶ added in v1.2.0
func (r *TaobaoTbkDgMaterialOptionalAPIRequest) SetNpxLevel(_npxLevel int64) error
NpxLevel Setter 商品筛选-牛皮癣程度。取值:1不限,2无,3轻微
func (*TaobaoTbkDgMaterialOptionalAPIRequest) SetPageNo ¶ added in v1.2.0
func (r *TaobaoTbkDgMaterialOptionalAPIRequest) SetPageNo(_pageNo int64) error
PageNo Setter 第几页,默认:1
func (*TaobaoTbkDgMaterialOptionalAPIRequest) SetPageResultKey ¶ added in v1.2.0
func (r *TaobaoTbkDgMaterialOptionalAPIRequest) SetPageResultKey(_pageResultKey string) error
PageResultKey Setter 本地化业务入参-分页唯一标识,非首页的请求必传,值为上一页返回结果中的page_result_key字段值
func (*TaobaoTbkDgMaterialOptionalAPIRequest) SetPageSize ¶ added in v1.2.0
func (r *TaobaoTbkDgMaterialOptionalAPIRequest) SetPageSize(_pageSize int64) error
PageSize Setter 页大小,默认20,1~100
func (*TaobaoTbkDgMaterialOptionalAPIRequest) SetPlatform ¶ added in v1.2.0
func (r *TaobaoTbkDgMaterialOptionalAPIRequest) SetPlatform(_platform int64) error
Platform Setter 链接形式:1:PC,2:无线,默认:1
func (*TaobaoTbkDgMaterialOptionalAPIRequest) SetQ ¶ added in v1.2.0
func (r *TaobaoTbkDgMaterialOptionalAPIRequest) SetQ(_q string) error
Q Setter 商品筛选-查询词
func (*TaobaoTbkDgMaterialOptionalAPIRequest) SetRelationId ¶ added in v1.2.0
func (r *TaobaoTbkDgMaterialOptionalAPIRequest) SetRelationId(_relationId string) error
RelationId Setter 渠道关系ID,仅适用于渠道推广场景
func (*TaobaoTbkDgMaterialOptionalAPIRequest) SetSellerIds ¶ added in v1.2.0
func (r *TaobaoTbkDgMaterialOptionalAPIRequest) SetSellerIds(_sellerIds string) error
SellerIds Setter 商家id,仅支持饿了么卡券商家ID,支持批量请求1-100以内,多个商家ID使用英文逗号分隔
func (*TaobaoTbkDgMaterialOptionalAPIRequest) SetSort ¶ added in v1.2.0
func (r *TaobaoTbkDgMaterialOptionalAPIRequest) SetSort(_sort string) error
Sort Setter 排序_des(降序),排序_asc(升序),销量(total_sales),淘客佣金比率(tk_rate), 累计推广量(tk_total_sales),总支出佣金(tk_total_commi),价格(price),匹配分(match)
func (*TaobaoTbkDgMaterialOptionalAPIRequest) SetSpecialId ¶ added in v1.2.0
func (r *TaobaoTbkDgMaterialOptionalAPIRequest) SetSpecialId(_specialId string) error
SpecialId Setter 会员运营ID
func (*TaobaoTbkDgMaterialOptionalAPIRequest) SetStartDsr ¶ added in v1.2.0
func (r *TaobaoTbkDgMaterialOptionalAPIRequest) SetStartDsr(_startDsr int64) error
StartDsr Setter 商品筛选(特定媒体支持)-店铺dsr评分。筛选大于等于当前设置的店铺dsr评分的商品0-50000之间
func (*TaobaoTbkDgMaterialOptionalAPIRequest) SetStartKaTkRate ¶ added in v1.2.0
func (r *TaobaoTbkDgMaterialOptionalAPIRequest) SetStartKaTkRate(_startKaTkRate int64) error
StartKaTkRate Setter 商品筛选-KA媒体淘客佣金比率下限。如:1234表示12.34%
func (*TaobaoTbkDgMaterialOptionalAPIRequest) SetStartPrice ¶ added in v1.2.0
func (r *TaobaoTbkDgMaterialOptionalAPIRequest) SetStartPrice(_startPrice int64) error
StartPrice Setter 商品筛选-折扣价范围下限。单位:元
func (*TaobaoTbkDgMaterialOptionalAPIRequest) SetStartTkRate ¶ added in v1.2.0
func (r *TaobaoTbkDgMaterialOptionalAPIRequest) SetStartTkRate(_startTkRate int64) error
StartTkRate Setter 商品筛选-淘客佣金比率下限。如:1234表示12.34%
func (*TaobaoTbkDgMaterialOptionalAPIRequest) SetUcrowdId ¶ added in v1.2.0
func (r *TaobaoTbkDgMaterialOptionalAPIRequest) SetUcrowdId(_ucrowdId int64) error
UcrowdId Setter 人群ID,仅适用于物料评估场景material_id=41377
func (*TaobaoTbkDgMaterialOptionalAPIRequest) SetUcrowdRankItems ¶ added in v1.2.0
func (r *TaobaoTbkDgMaterialOptionalAPIRequest) SetUcrowdRankItems(_ucrowdRankItems []Ucrowdrankitems) error
UcrowdRankItems Setter 物料评估-商品列表
type TaobaoTbkDgMaterialOptionalAPIResponse ¶
type TaobaoTbkDgMaterialOptionalAPIResponse struct { model.CommonResponse TaobaoTbkDgMaterialOptionalAPIResponseModel }
淘宝客-推广者-物料搜索 API返回值 taobao.tbk.dg.material.optional
通用物料搜索API(导购)
type TaobaoTbkDgMaterialOptionalAPIResponseModel ¶ added in v1.2.0
type TaobaoTbkDgMaterialOptionalAPIResponseModel 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 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 TaobaoTbkDgNewuserOrderGetAPIRequest ¶ added in v1.2.0
type TaobaoTbkDgNewuserOrderGetAPIRequest struct { model.Params // contains filtered or unexported fields }
淘宝客-推广者-新用户订单明细查询 API请求 taobao.tbk.dg.newuser.order.get
拉新API
func NewTaobaoTbkDgNewuserOrderGetRequest ¶
func NewTaobaoTbkDgNewuserOrderGetRequest() *TaobaoTbkDgNewuserOrderGetAPIRequest
初始化TaobaoTbkDgNewuserOrderGetAPIRequest对象
func (TaobaoTbkDgNewuserOrderGetAPIRequest) GetActivityId ¶ added in v1.2.0
func (r TaobaoTbkDgNewuserOrderGetAPIRequest) GetActivityId() string
ActivityId Getter
func (TaobaoTbkDgNewuserOrderGetAPIRequest) GetAdzoneId ¶ added in v1.2.0
func (r TaobaoTbkDgNewuserOrderGetAPIRequest) GetAdzoneId() int64
AdzoneId Getter
func (TaobaoTbkDgNewuserOrderGetAPIRequest) GetApiMethodName ¶ added in v1.2.0
func (r TaobaoTbkDgNewuserOrderGetAPIRequest) GetApiMethodName() string
IRequest interface 方法, 获取Api method
func (TaobaoTbkDgNewuserOrderGetAPIRequest) GetApiParams ¶ added in v1.2.0
func (r TaobaoTbkDgNewuserOrderGetAPIRequest) GetApiParams() url.Values
IRequest interface 方法, 获取API参数
func (TaobaoTbkDgNewuserOrderGetAPIRequest) GetEndTime ¶ added in v1.2.0
func (r TaobaoTbkDgNewuserOrderGetAPIRequest) GetEndTime() string
EndTime Getter
func (TaobaoTbkDgNewuserOrderGetAPIRequest) GetPageNo ¶ added in v1.2.0
func (r TaobaoTbkDgNewuserOrderGetAPIRequest) GetPageNo() int64
PageNo Getter
func (TaobaoTbkDgNewuserOrderGetAPIRequest) GetPageSize ¶ added in v1.2.0
func (r TaobaoTbkDgNewuserOrderGetAPIRequest) GetPageSize() int64
PageSize Getter
func (TaobaoTbkDgNewuserOrderGetAPIRequest) GetStartTime ¶ added in v1.2.0
func (r TaobaoTbkDgNewuserOrderGetAPIRequest) GetStartTime() string
StartTime Getter
func (*TaobaoTbkDgNewuserOrderGetAPIRequest) SetActivityId ¶ added in v1.2.0
func (r *TaobaoTbkDgNewuserOrderGetAPIRequest) SetActivityId(_activityId string) error
ActivityId Setter 活动id, 活动名称与活动ID列表,请参见https://tbk.bbs.taobao.com/detail.html?appId=45301&postId=8599277
func (*TaobaoTbkDgNewuserOrderGetAPIRequest) SetAdzoneId ¶ added in v1.2.0
func (r *TaobaoTbkDgNewuserOrderGetAPIRequest) SetAdzoneId(_adzoneId int64) error
AdzoneId Setter mm_xxx_xxx_xxx的第三位
func (*TaobaoTbkDgNewuserOrderGetAPIRequest) SetEndTime ¶ added in v1.2.0
func (r *TaobaoTbkDgNewuserOrderGetAPIRequest) SetEndTime(_endTime string) error
EndTime Setter 结束时间,当活动为淘宝活动,表示最晚结束时间;当活动为支付宝活动,表示最晚绑定时间;当活动为天猫活动,表示最晚领取红包的时间
func (*TaobaoTbkDgNewuserOrderGetAPIRequest) SetPageNo ¶ added in v1.2.0
func (r *TaobaoTbkDgNewuserOrderGetAPIRequest) SetPageNo(_pageNo int64) error
PageNo Setter 页码,默认1
func (*TaobaoTbkDgNewuserOrderGetAPIRequest) SetPageSize ¶ added in v1.2.0
func (r *TaobaoTbkDgNewuserOrderGetAPIRequest) SetPageSize(_pageSize int64) error
PageSize Setter 页大小,默认20,1~100
func (*TaobaoTbkDgNewuserOrderGetAPIRequest) SetStartTime ¶ added in v1.2.0
func (r *TaobaoTbkDgNewuserOrderGetAPIRequest) SetStartTime(_startTime string) error
StartTime Setter 开始时间,当活动为淘宝活动,表示最早注册时间;当活动为支付宝活动,表示最早绑定时间;当活动为天猫活动,表示最早领取红包时间
type TaobaoTbkDgNewuserOrderGetAPIResponse ¶
type TaobaoTbkDgNewuserOrderGetAPIResponse struct { model.CommonResponse TaobaoTbkDgNewuserOrderGetAPIResponseModel }
淘宝客-推广者-新用户订单明细查询 API返回值 taobao.tbk.dg.newuser.order.get
拉新API
type TaobaoTbkDgNewuserOrderGetAPIResponseModel ¶ added in v1.2.0
type TaobaoTbkDgNewuserOrderGetAPIResponseModel 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 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 TaobaoTbkDgNewuserOrderGetResults ¶
type TaobaoTbkDgNewuserOrderGetResults struct { // data Data *TaobaoTbkDgNewuserOrderGetData `json:"data,omitempty" xml:"data,omitempty"` }
TaobaoTbkDgNewuserOrderGetResults
type TaobaoTbkDgNewuserOrderSumAPIRequest ¶ added in v1.2.0
type TaobaoTbkDgNewuserOrderSumAPIRequest struct { model.Params // contains filtered or unexported fields }
淘宝客-推广者-拉新活动对应数据查询 API请求 taobao.tbk.dg.newuser.order.sum
拉新活动汇总API
func NewTaobaoTbkDgNewuserOrderSumRequest ¶
func NewTaobaoTbkDgNewuserOrderSumRequest() *TaobaoTbkDgNewuserOrderSumAPIRequest
初始化TaobaoTbkDgNewuserOrderSumAPIRequest对象
func (TaobaoTbkDgNewuserOrderSumAPIRequest) GetActivityId ¶ added in v1.2.0
func (r TaobaoTbkDgNewuserOrderSumAPIRequest) GetActivityId() string
ActivityId Getter
func (TaobaoTbkDgNewuserOrderSumAPIRequest) GetAdzoneId ¶ added in v1.2.0
func (r TaobaoTbkDgNewuserOrderSumAPIRequest) GetAdzoneId() int64
AdzoneId Getter
func (TaobaoTbkDgNewuserOrderSumAPIRequest) GetApiMethodName ¶ added in v1.2.0
func (r TaobaoTbkDgNewuserOrderSumAPIRequest) GetApiMethodName() string
IRequest interface 方法, 获取Api method
func (TaobaoTbkDgNewuserOrderSumAPIRequest) GetApiParams ¶ added in v1.2.0
func (r TaobaoTbkDgNewuserOrderSumAPIRequest) GetApiParams() url.Values
IRequest interface 方法, 获取API参数
func (TaobaoTbkDgNewuserOrderSumAPIRequest) GetPageNo ¶ added in v1.2.0
func (r TaobaoTbkDgNewuserOrderSumAPIRequest) GetPageNo() int64
PageNo Getter
func (TaobaoTbkDgNewuserOrderSumAPIRequest) GetPageSize ¶ added in v1.2.0
func (r TaobaoTbkDgNewuserOrderSumAPIRequest) GetPageSize() int64
PageSize Getter
func (TaobaoTbkDgNewuserOrderSumAPIRequest) GetSettleMonth ¶ added in v1.2.0
func (r TaobaoTbkDgNewuserOrderSumAPIRequest) GetSettleMonth() string
SettleMonth Getter
func (TaobaoTbkDgNewuserOrderSumAPIRequest) GetSiteId ¶ added in v1.2.0
func (r TaobaoTbkDgNewuserOrderSumAPIRequest) GetSiteId() int64
SiteId Getter
func (*TaobaoTbkDgNewuserOrderSumAPIRequest) SetActivityId ¶ added in v1.2.0
func (r *TaobaoTbkDgNewuserOrderSumAPIRequest) SetActivityId(_activityId string) error
ActivityId Setter 活动id, 活动名称与活动ID列表,请参见https://tbk.bbs.taobao.com/detail.html?appId=45301&postId=8599277
func (*TaobaoTbkDgNewuserOrderSumAPIRequest) SetAdzoneId ¶ added in v1.2.0
func (r *TaobaoTbkDgNewuserOrderSumAPIRequest) SetAdzoneId(_adzoneId int64) error
AdzoneId Setter mm_xxx_xxx_xxx的第三位
func (*TaobaoTbkDgNewuserOrderSumAPIRequest) SetPageNo ¶ added in v1.2.0
func (r *TaobaoTbkDgNewuserOrderSumAPIRequest) SetPageNo(_pageNo int64) error
PageNo Setter 页码,默认1
func (*TaobaoTbkDgNewuserOrderSumAPIRequest) SetPageSize ¶ added in v1.2.0
func (r *TaobaoTbkDgNewuserOrderSumAPIRequest) SetPageSize(_pageSize int64) error
PageSize Setter 页大小,默认20,1~100
func (*TaobaoTbkDgNewuserOrderSumAPIRequest) SetSettleMonth ¶ added in v1.2.0
func (r *TaobaoTbkDgNewuserOrderSumAPIRequest) SetSettleMonth(_settleMonth string) error
SettleMonth Setter 结算月份
func (*TaobaoTbkDgNewuserOrderSumAPIRequest) SetSiteId ¶ added in v1.2.0
func (r *TaobaoTbkDgNewuserOrderSumAPIRequest) SetSiteId(_siteId int64) error
SiteId Setter mm_xxx_xxx_xxx的第二位
type TaobaoTbkDgNewuserOrderSumAPIResponse ¶
type TaobaoTbkDgNewuserOrderSumAPIResponse struct { model.CommonResponse TaobaoTbkDgNewuserOrderSumAPIResponseModel }
淘宝客-推广者-拉新活动对应数据查询 API返回值 taobao.tbk.dg.newuser.order.sum
拉新活动汇总API
type TaobaoTbkDgNewuserOrderSumAPIResponseModel ¶ added in v1.2.0
type TaobaoTbkDgNewuserOrderSumAPIResponseModel 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 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 TaobaoTbkDgOptimusMaterialAPIRequest ¶ added in v1.2.0
type TaobaoTbkDgOptimusMaterialAPIRequest 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() *TaobaoTbkDgOptimusMaterialAPIRequest
初始化TaobaoTbkDgOptimusMaterialAPIRequest对象
func (TaobaoTbkDgOptimusMaterialAPIRequest) GetAdzoneId ¶ added in v1.2.0
func (r TaobaoTbkDgOptimusMaterialAPIRequest) GetAdzoneId() int64
AdzoneId Getter
func (TaobaoTbkDgOptimusMaterialAPIRequest) GetApiMethodName ¶ added in v1.2.0
func (r TaobaoTbkDgOptimusMaterialAPIRequest) GetApiMethodName() string
IRequest interface 方法, 获取Api method
func (TaobaoTbkDgOptimusMaterialAPIRequest) GetApiParams ¶ added in v1.2.0
func (r TaobaoTbkDgOptimusMaterialAPIRequest) GetApiParams() url.Values
IRequest interface 方法, 获取API参数
func (TaobaoTbkDgOptimusMaterialAPIRequest) GetContentId ¶ added in v1.2.0
func (r TaobaoTbkDgOptimusMaterialAPIRequest) GetContentId() int64
ContentId Getter
func (TaobaoTbkDgOptimusMaterialAPIRequest) GetContentSource ¶ added in v1.2.0
func (r TaobaoTbkDgOptimusMaterialAPIRequest) GetContentSource() string
ContentSource Getter
func (TaobaoTbkDgOptimusMaterialAPIRequest) GetDeviceEncrypt ¶ added in v1.2.0
func (r TaobaoTbkDgOptimusMaterialAPIRequest) GetDeviceEncrypt() string
DeviceEncrypt Getter
func (TaobaoTbkDgOptimusMaterialAPIRequest) GetDeviceType ¶ added in v1.2.0
func (r TaobaoTbkDgOptimusMaterialAPIRequest) GetDeviceType() string
DeviceType Getter
func (TaobaoTbkDgOptimusMaterialAPIRequest) GetDeviceValue ¶ added in v1.2.0
func (r TaobaoTbkDgOptimusMaterialAPIRequest) GetDeviceValue() string
DeviceValue Getter
func (TaobaoTbkDgOptimusMaterialAPIRequest) GetFavoritesId ¶ added in v1.2.0
func (r TaobaoTbkDgOptimusMaterialAPIRequest) GetFavoritesId() string
FavoritesId Getter
func (TaobaoTbkDgOptimusMaterialAPIRequest) GetItemId ¶ added in v1.2.0
func (r TaobaoTbkDgOptimusMaterialAPIRequest) GetItemId() int64
ItemId Getter
func (TaobaoTbkDgOptimusMaterialAPIRequest) GetMaterialId ¶ added in v1.2.0
func (r TaobaoTbkDgOptimusMaterialAPIRequest) GetMaterialId() int64
MaterialId Getter
func (TaobaoTbkDgOptimusMaterialAPIRequest) GetPageNo ¶ added in v1.2.0
func (r TaobaoTbkDgOptimusMaterialAPIRequest) GetPageNo() int64
PageNo Getter
func (TaobaoTbkDgOptimusMaterialAPIRequest) GetPageSize ¶ added in v1.2.0
func (r TaobaoTbkDgOptimusMaterialAPIRequest) GetPageSize() int64
PageSize Getter
func (*TaobaoTbkDgOptimusMaterialAPIRequest) SetAdzoneId ¶ added in v1.2.0
func (r *TaobaoTbkDgOptimusMaterialAPIRequest) SetAdzoneId(_adzoneId int64) error
AdzoneId Setter mm_xxx_xxx_xxx的第三位
func (*TaobaoTbkDgOptimusMaterialAPIRequest) SetContentId ¶ added in v1.2.0
func (r *TaobaoTbkDgOptimusMaterialAPIRequest) SetContentId(_contentId int64) error
ContentId Setter 内容专用-内容详情ID
func (*TaobaoTbkDgOptimusMaterialAPIRequest) SetContentSource ¶ added in v1.2.0
func (r *TaobaoTbkDgOptimusMaterialAPIRequest) SetContentSource(_contentSource string) error
ContentSource Setter 内容专用-内容渠道信息
func (*TaobaoTbkDgOptimusMaterialAPIRequest) SetDeviceEncrypt ¶ added in v1.2.0
func (r *TaobaoTbkDgOptimusMaterialAPIRequest) SetDeviceEncrypt(_deviceEncrypt string) error
DeviceEncrypt Setter 智能匹配-设备号加密类型:MD5,类型为OAID时不传
func (*TaobaoTbkDgOptimusMaterialAPIRequest) SetDeviceType ¶ added in v1.2.0
func (r *TaobaoTbkDgOptimusMaterialAPIRequest) SetDeviceType(_deviceType string) error
DeviceType Setter 智能匹配-设备号类型:IMEI,或者IDFA,或者UTDID(UTDID不支持MD5加密),或者OAID
func (*TaobaoTbkDgOptimusMaterialAPIRequest) SetDeviceValue ¶ added in v1.2.0
func (r *TaobaoTbkDgOptimusMaterialAPIRequest) SetDeviceValue(_deviceValue string) error
DeviceValue Setter 智能匹配-设备号加密后的值(MD5加密需32位小写),类型为OAID时传原始OAID值
func (*TaobaoTbkDgOptimusMaterialAPIRequest) SetFavoritesId ¶ added in v1.2.0
func (r *TaobaoTbkDgOptimusMaterialAPIRequest) SetFavoritesId(_favoritesId string) error
FavoritesId Setter 选品库投放id
func (*TaobaoTbkDgOptimusMaterialAPIRequest) SetItemId ¶ added in v1.2.0
func (r *TaobaoTbkDgOptimusMaterialAPIRequest) SetItemId(_itemId int64) error
ItemId Setter 商品ID,用于相似商品推荐
func (*TaobaoTbkDgOptimusMaterialAPIRequest) SetMaterialId ¶ added in v1.2.0
func (r *TaobaoTbkDgOptimusMaterialAPIRequest) 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 (*TaobaoTbkDgOptimusMaterialAPIRequest) SetPageNo ¶ added in v1.2.0
func (r *TaobaoTbkDgOptimusMaterialAPIRequest) SetPageNo(_pageNo int64) error
PageNo Setter 第几页,默认:1
func (*TaobaoTbkDgOptimusMaterialAPIRequest) SetPageSize ¶ added in v1.2.0
func (r *TaobaoTbkDgOptimusMaterialAPIRequest) SetPageSize(_pageSize int64) error
PageSize Setter 页大小,默认20,1~100
type TaobaoTbkDgOptimusMaterialAPIResponse ¶
type TaobaoTbkDgOptimusMaterialAPIResponse struct { model.CommonResponse TaobaoTbkDgOptimusMaterialAPIResponseModel }
淘宝客-推广者-物料精选 API返回值 taobao.tbk.dg.optimus.material
支持入参对应的“推广位”和官方提供的“物料id”,获取指定物料信息和推广链接,还可入参用户信息提供智能推荐(需智能推荐请先前协议https://pub.alimama.com/fourth/protocol/common.htm?key=hangye_laxin)
type TaobaoTbkDgOptimusMaterialAPIResponseModel ¶ added in v1.2.0
type TaobaoTbkDgOptimusMaterialAPIResponseModel 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 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 TaobaoTbkDgOptimusPromotionAPIRequest ¶ added in v1.2.0
type TaobaoTbkDgOptimusPromotionAPIRequest struct { model.Params // contains filtered or unexported fields }
淘宝客-推广者-权益物料精选 API请求 taobao.tbk.dg.optimus.promotion
推广者使用。支持入参推广者对应的“推广位”和官方提供的“权益物料id”,获取指定权益物料。
func NewTaobaoTbkDgOptimusPromotionRequest ¶
func NewTaobaoTbkDgOptimusPromotionRequest() *TaobaoTbkDgOptimusPromotionAPIRequest
初始化TaobaoTbkDgOptimusPromotionAPIRequest对象
func (TaobaoTbkDgOptimusPromotionAPIRequest) GetAdzoneId ¶ added in v1.2.0
func (r TaobaoTbkDgOptimusPromotionAPIRequest) GetAdzoneId() int64
AdzoneId Getter
func (TaobaoTbkDgOptimusPromotionAPIRequest) GetApiMethodName ¶ added in v1.2.0
func (r TaobaoTbkDgOptimusPromotionAPIRequest) GetApiMethodName() string
IRequest interface 方法, 获取Api method
func (TaobaoTbkDgOptimusPromotionAPIRequest) GetApiParams ¶ added in v1.2.0
func (r TaobaoTbkDgOptimusPromotionAPIRequest) GetApiParams() url.Values
IRequest interface 方法, 获取API参数
func (TaobaoTbkDgOptimusPromotionAPIRequest) GetPageNum ¶ added in v1.2.0
func (r TaobaoTbkDgOptimusPromotionAPIRequest) GetPageNum() int64
PageNum Getter
func (TaobaoTbkDgOptimusPromotionAPIRequest) GetPageSize ¶ added in v1.2.0
func (r TaobaoTbkDgOptimusPromotionAPIRequest) GetPageSize() int64
PageSize Getter
func (TaobaoTbkDgOptimusPromotionAPIRequest) GetPromotionId ¶ added in v1.2.0
func (r TaobaoTbkDgOptimusPromotionAPIRequest) GetPromotionId() int64
PromotionId Getter
func (*TaobaoTbkDgOptimusPromotionAPIRequest) SetAdzoneId ¶ added in v1.2.0
func (r *TaobaoTbkDgOptimusPromotionAPIRequest) SetAdzoneId(_adzoneId int64) error
AdzoneId Setter mm_xxx_xxx_xxx的第3段数字
func (*TaobaoTbkDgOptimusPromotionAPIRequest) SetPageNum ¶ added in v1.2.0
func (r *TaobaoTbkDgOptimusPromotionAPIRequest) SetPageNum(_pageNum int64) error
PageNum Setter 第几页,默认:1
func (*TaobaoTbkDgOptimusPromotionAPIRequest) SetPageSize ¶ added in v1.2.0
func (r *TaobaoTbkDgOptimusPromotionAPIRequest) SetPageSize(_pageSize int64) error
PageSize Setter 页大小,一次请求请限制在10以内
func (*TaobaoTbkDgOptimusPromotionAPIRequest) SetPromotionId ¶ added in v1.2.0
func (r *TaobaoTbkDgOptimusPromotionAPIRequest) SetPromotionId(_promotionId int64) error
PromotionId Setter 官方提供的权益物料Id。有价券-37104、大额店铺券-37116,更多权益物料id敬请期待!
type TaobaoTbkDgOptimusPromotionAPIResponse ¶
type TaobaoTbkDgOptimusPromotionAPIResponse struct { model.CommonResponse TaobaoTbkDgOptimusPromotionAPIResponseModel }
淘宝客-推广者-权益物料精选 API返回值 taobao.tbk.dg.optimus.promotion
推广者使用。支持入参推广者对应的“推广位”和官方提供的“权益物料id”,获取指定权益物料。
type TaobaoTbkDgOptimusPromotionAPIResponseModel ¶ added in v1.2.0
type TaobaoTbkDgOptimusPromotionAPIResponseModel 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 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 TaobaoTbkDgPunishOrderGetAPIRequest ¶ added in v1.2.0
type TaobaoTbkDgPunishOrderGetAPIRequest struct { model.Params // contains filtered or unexported fields }
淘宝客-推广者-处罚订单查询 API请求 taobao.tbk.dg.punish.order.get
新增处罚订单查询API,提供媒体调用查询能力。这个是给媒体自己用的
func NewTaobaoTbkDgPunishOrderGetRequest ¶
func NewTaobaoTbkDgPunishOrderGetRequest() *TaobaoTbkDgPunishOrderGetAPIRequest
初始化TaobaoTbkDgPunishOrderGetAPIRequest对象
func (TaobaoTbkDgPunishOrderGetAPIRequest) GetAfOrderOption ¶ added in v1.2.0
func (r TaobaoTbkDgPunishOrderGetAPIRequest) GetAfOrderOption() *TopApiAfOrderOption
AfOrderOption Getter
func (TaobaoTbkDgPunishOrderGetAPIRequest) GetApiMethodName ¶ added in v1.2.0
func (r TaobaoTbkDgPunishOrderGetAPIRequest) GetApiMethodName() string
IRequest interface 方法, 获取Api method
func (TaobaoTbkDgPunishOrderGetAPIRequest) GetApiParams ¶ added in v1.2.0
func (r TaobaoTbkDgPunishOrderGetAPIRequest) GetApiParams() url.Values
IRequest interface 方法, 获取API参数
func (*TaobaoTbkDgPunishOrderGetAPIRequest) SetAfOrderOption ¶ added in v1.2.0
func (r *TaobaoTbkDgPunishOrderGetAPIRequest) SetAfOrderOption(_afOrderOption *TopApiAfOrderOption) error
AfOrderOption Setter 入参的对象
type TaobaoTbkDgPunishOrderGetAPIResponse ¶
type TaobaoTbkDgPunishOrderGetAPIResponse struct { model.CommonResponse TaobaoTbkDgPunishOrderGetAPIResponseModel }
淘宝客-推广者-处罚订单查询 API返回值 taobao.tbk.dg.punish.order.get
新增处罚订单查询API,提供媒体调用查询能力。这个是给媒体自己用的
type TaobaoTbkDgPunishOrderGetAPIResponseModel ¶ added in v1.2.0
type TaobaoTbkDgPunishOrderGetAPIResponseModel 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 TaobaoTbkDgVegasSendStatusAPIRequest ¶ added in v1.2.0
type TaobaoTbkDgVegasSendStatusAPIRequest 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() *TaobaoTbkDgVegasSendStatusAPIRequest
初始化TaobaoTbkDgVegasSendStatusAPIRequest对象
func (TaobaoTbkDgVegasSendStatusAPIRequest) GetApiMethodName ¶ added in v1.2.0
func (r TaobaoTbkDgVegasSendStatusAPIRequest) GetApiMethodName() string
IRequest interface 方法, 获取Api method
func (TaobaoTbkDgVegasSendStatusAPIRequest) GetApiParams ¶ added in v1.2.0
func (r TaobaoTbkDgVegasSendStatusAPIRequest) GetApiParams() url.Values
IRequest interface 方法, 获取API参数
func (TaobaoTbkDgVegasSendStatusAPIRequest) GetDeviceType ¶ added in v1.2.0
func (r TaobaoTbkDgVegasSendStatusAPIRequest) GetDeviceType() string
DeviceType Getter
func (TaobaoTbkDgVegasSendStatusAPIRequest) GetDeviceValue ¶ added in v1.2.0
func (r TaobaoTbkDgVegasSendStatusAPIRequest) GetDeviceValue() string
DeviceValue Getter
func (TaobaoTbkDgVegasSendStatusAPIRequest) GetPid ¶ added in v1.2.0
func (r TaobaoTbkDgVegasSendStatusAPIRequest) GetPid() string
Pid Getter
func (TaobaoTbkDgVegasSendStatusAPIRequest) GetRelationId ¶ added in v1.2.0
func (r TaobaoTbkDgVegasSendStatusAPIRequest) GetRelationId() string
RelationId Getter
func (TaobaoTbkDgVegasSendStatusAPIRequest) GetSpecialId ¶ added in v1.2.0
func (r TaobaoTbkDgVegasSendStatusAPIRequest) GetSpecialId() string
SpecialId Getter
func (TaobaoTbkDgVegasSendStatusAPIRequest) GetThorBizCode ¶ added in v1.2.0
func (r TaobaoTbkDgVegasSendStatusAPIRequest) GetThorBizCode() string
ThorBizCode Getter
func (*TaobaoTbkDgVegasSendStatusAPIRequest) SetDeviceType ¶ added in v1.2.0
func (r *TaobaoTbkDgVegasSendStatusAPIRequest) SetDeviceType(_deviceType string) error
DeviceType Setter 入参类型(该模式下返回的结果为模糊匹配结果,和实际情况可能存在误差): 1. IMEI 2. IDFA 3. OAID 4. MOBILE 5. ALIPAY_ID
func (*TaobaoTbkDgVegasSendStatusAPIRequest) SetDeviceValue ¶ added in v1.2.0
func (r *TaobaoTbkDgVegasSendStatusAPIRequest) SetDeviceValue(_deviceValue string) error
DeviceValue Setter 加密后的值(ALIPAY_ID除外),需用MD5加密,32位小写
func (*TaobaoTbkDgVegasSendStatusAPIRequest) SetPid ¶ added in v1.2.0
func (r *TaobaoTbkDgVegasSendStatusAPIRequest) SetPid(_pid string) error
Pid Setter 媒体pid
func (*TaobaoTbkDgVegasSendStatusAPIRequest) SetRelationId ¶ added in v1.2.0
func (r *TaobaoTbkDgVegasSendStatusAPIRequest) SetRelationId(_relationId string) error
RelationId Setter 渠道管理id
func (*TaobaoTbkDgVegasSendStatusAPIRequest) SetSpecialId ¶ added in v1.2.0
func (r *TaobaoTbkDgVegasSendStatusAPIRequest) SetSpecialId(_specialId string) error
SpecialId Setter 会员运营id
func (*TaobaoTbkDgVegasSendStatusAPIRequest) SetThorBizCode ¶ added in v1.2.0
func (r *TaobaoTbkDgVegasSendStatusAPIRequest) SetThorBizCode(_thorBizCode string) error
ThorBizCode Setter thor平台业务码, 1:coupon 超红
type TaobaoTbkDgVegasSendStatusAPIResponse ¶
type TaobaoTbkDgVegasSendStatusAPIResponse struct { model.CommonResponse TaobaoTbkDgVegasSendStatusAPIResponseModel }
淘宝客-推广者-超级红包领取状态查询 API返回值 taobao.tbk.dg.vegas.send.status
淘宝客传入用户标识的信息,查询该用户是否有当前阶段待核销的红包(淘客接入前需签署协议 https://pub.alimama.com/fourth/protocol/common.htm?key=hangye_laxin)
type TaobaoTbkDgVegasSendStatusAPIResponseModel ¶ added in v1.2.0
type TaobaoTbkDgVegasSendStatusAPIResponseModel 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 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 TaobaoTbkDgVegasTljCreateAPIRequest ¶ added in v1.2.0
type TaobaoTbkDgVegasTljCreateAPIRequest struct { model.Params // contains filtered or unexported fields }
淘宝客-推广者-淘礼金创建 API请求 taobao.tbk.dg.vegas.tlj.create
创建淘礼金
func NewTaobaoTbkDgVegasTljCreateRequest ¶
func NewTaobaoTbkDgVegasTljCreateRequest() *TaobaoTbkDgVegasTljCreateAPIRequest
初始化TaobaoTbkDgVegasTljCreateAPIRequest对象
func (TaobaoTbkDgVegasTljCreateAPIRequest) GetAdzoneId ¶ added in v1.2.0
func (r TaobaoTbkDgVegasTljCreateAPIRequest) GetAdzoneId() int64
AdzoneId Getter
func (TaobaoTbkDgVegasTljCreateAPIRequest) GetApiMethodName ¶ added in v1.2.0
func (r TaobaoTbkDgVegasTljCreateAPIRequest) GetApiMethodName() string
IRequest interface 方法, 获取Api method
func (TaobaoTbkDgVegasTljCreateAPIRequest) GetApiParams ¶ added in v1.2.0
func (r TaobaoTbkDgVegasTljCreateAPIRequest) GetApiParams() url.Values
IRequest interface 方法, 获取API参数
func (TaobaoTbkDgVegasTljCreateAPIRequest) GetCampaignType ¶ added in v1.2.0
func (r TaobaoTbkDgVegasTljCreateAPIRequest) GetCampaignType() string
CampaignType Getter
func (TaobaoTbkDgVegasTljCreateAPIRequest) GetItemId ¶ added in v1.2.0
func (r TaobaoTbkDgVegasTljCreateAPIRequest) GetItemId() int64
ItemId Getter
func (TaobaoTbkDgVegasTljCreateAPIRequest) GetName ¶ added in v1.2.0
func (r TaobaoTbkDgVegasTljCreateAPIRequest) GetName() string
Name Getter
func (TaobaoTbkDgVegasTljCreateAPIRequest) GetPerFace ¶ added in v1.2.0
func (r TaobaoTbkDgVegasTljCreateAPIRequest) GetPerFace() string
PerFace Getter
func (TaobaoTbkDgVegasTljCreateAPIRequest) GetSecurityLevel ¶ added in v1.2.0
func (r TaobaoTbkDgVegasTljCreateAPIRequest) GetSecurityLevel() int64
SecurityLevel Getter
func (TaobaoTbkDgVegasTljCreateAPIRequest) GetSecuritySwitch ¶ added in v1.2.0
func (r TaobaoTbkDgVegasTljCreateAPIRequest) GetSecuritySwitch() bool
SecuritySwitch Getter
func (TaobaoTbkDgVegasTljCreateAPIRequest) GetSendEndTime ¶ added in v1.2.0
func (r TaobaoTbkDgVegasTljCreateAPIRequest) GetSendEndTime() string
SendEndTime Getter
func (TaobaoTbkDgVegasTljCreateAPIRequest) GetSendStartTime ¶ added in v1.2.0
func (r TaobaoTbkDgVegasTljCreateAPIRequest) GetSendStartTime() string
SendStartTime Getter
func (TaobaoTbkDgVegasTljCreateAPIRequest) GetTotalNum ¶ added in v1.2.0
func (r TaobaoTbkDgVegasTljCreateAPIRequest) GetTotalNum() int64
TotalNum Getter
func (TaobaoTbkDgVegasTljCreateAPIRequest) GetUseEndTime ¶ added in v1.2.0
func (r TaobaoTbkDgVegasTljCreateAPIRequest) GetUseEndTime() string
UseEndTime Getter
func (TaobaoTbkDgVegasTljCreateAPIRequest) GetUseEndTimeMode ¶ added in v1.2.0
func (r TaobaoTbkDgVegasTljCreateAPIRequest) GetUseEndTimeMode() int64
UseEndTimeMode Getter
func (TaobaoTbkDgVegasTljCreateAPIRequest) GetUseStartTime ¶ added in v1.2.0
func (r TaobaoTbkDgVegasTljCreateAPIRequest) GetUseStartTime() string
UseStartTime Getter
func (TaobaoTbkDgVegasTljCreateAPIRequest) GetUserTotalWinNumLimit ¶ added in v1.2.0
func (r TaobaoTbkDgVegasTljCreateAPIRequest) GetUserTotalWinNumLimit() int64
UserTotalWinNumLimit Getter
func (*TaobaoTbkDgVegasTljCreateAPIRequest) SetAdzoneId ¶ added in v1.2.0
func (r *TaobaoTbkDgVegasTljCreateAPIRequest) SetAdzoneId(_adzoneId int64) error
AdzoneId Setter 妈妈广告位Id
func (*TaobaoTbkDgVegasTljCreateAPIRequest) SetCampaignType ¶ added in v1.2.0
func (r *TaobaoTbkDgVegasTljCreateAPIRequest) SetCampaignType(_campaignType string) error
CampaignType Setter CPS佣金计划类型
func (*TaobaoTbkDgVegasTljCreateAPIRequest) SetItemId ¶ added in v1.2.0
func (r *TaobaoTbkDgVegasTljCreateAPIRequest) SetItemId(_itemId int64) error
ItemId Setter 宝贝id
func (*TaobaoTbkDgVegasTljCreateAPIRequest) SetName ¶ added in v1.2.0
func (r *TaobaoTbkDgVegasTljCreateAPIRequest) SetName(_name string) error
Name Setter 淘礼金名称,最大10个字符
func (*TaobaoTbkDgVegasTljCreateAPIRequest) SetPerFace ¶ added in v1.2.0
func (r *TaobaoTbkDgVegasTljCreateAPIRequest) SetPerFace(_perFace string) error
PerFace Setter 单个淘礼金面额,支持两位小数,单位元
func (*TaobaoTbkDgVegasTljCreateAPIRequest) SetSecurityLevel ¶ added in v1.2.0
func (r *TaobaoTbkDgVegasTljCreateAPIRequest) SetSecurityLevel(_securityLevel int64) error
SecurityLevel Setter 安全等级,0:适用于常规淘礼金投放场景;1:更高安全级别,适用于淘礼金面额偏大等安全性较高的淘礼金投放场景,可能导致更多用户拦截。security_switch为true,此字段不填写时,使用0作为默认安全级别。如果security_switch为false,不进行安全判断。
func (*TaobaoTbkDgVegasTljCreateAPIRequest) SetSecuritySwitch ¶ added in v1.2.0
func (r *TaobaoTbkDgVegasTljCreateAPIRequest) SetSecuritySwitch(_securitySwitch bool) error
SecuritySwitch Setter 安全开关,若不进行安全校验,可能放大您的资损风险,请谨慎选择
func (*TaobaoTbkDgVegasTljCreateAPIRequest) SetSendEndTime ¶ added in v1.2.0
func (r *TaobaoTbkDgVegasTljCreateAPIRequest) SetSendEndTime(_sendEndTime string) error
SendEndTime Setter 发放截止时间
func (*TaobaoTbkDgVegasTljCreateAPIRequest) SetSendStartTime ¶ added in v1.2.0
func (r *TaobaoTbkDgVegasTljCreateAPIRequest) SetSendStartTime(_sendStartTime string) error
SendStartTime Setter 发放开始时间
func (*TaobaoTbkDgVegasTljCreateAPIRequest) SetTotalNum ¶ added in v1.2.0
func (r *TaobaoTbkDgVegasTljCreateAPIRequest) SetTotalNum(_totalNum int64) error
TotalNum Setter 淘礼金总个数
func (*TaobaoTbkDgVegasTljCreateAPIRequest) SetUseEndTime ¶ added in v1.2.0
func (r *TaobaoTbkDgVegasTljCreateAPIRequest) SetUseEndTime(_useEndTime string) error
UseEndTime Setter 使用结束日期。如果是结束时间模式为相对时间,时间格式为1-7直接的整数, 例如,1(相对领取时间1天); 如果是绝对时间,格式为yyyy-MM-dd,例如,2019-01-29,表示到2019-01-29 23:59:59结束
func (*TaobaoTbkDgVegasTljCreateAPIRequest) SetUseEndTimeMode ¶ added in v1.2.0
func (r *TaobaoTbkDgVegasTljCreateAPIRequest) SetUseEndTimeMode(_useEndTimeMode int64) error
UseEndTimeMode Setter 结束日期的模式,1:相对时间,2:绝对时间
func (*TaobaoTbkDgVegasTljCreateAPIRequest) SetUseStartTime ¶ added in v1.2.0
func (r *TaobaoTbkDgVegasTljCreateAPIRequest) SetUseStartTime(_useStartTime string) error
UseStartTime Setter 使用开始日期。相对时间,无需填写,以用户领取时间作为使用开始时间。绝对时间,格式 yyyy-MM-dd,例如,2019-01-29,表示从2019-01-29 00:00:00 开始
func (*TaobaoTbkDgVegasTljCreateAPIRequest) SetUserTotalWinNumLimit ¶ added in v1.2.0
func (r *TaobaoTbkDgVegasTljCreateAPIRequest) SetUserTotalWinNumLimit(_userTotalWinNumLimit int64) error
UserTotalWinNumLimit Setter 单用户累计中奖次数上限
type TaobaoTbkDgVegasTljCreateAPIResponse ¶
type TaobaoTbkDgVegasTljCreateAPIResponse struct { model.CommonResponse TaobaoTbkDgVegasTljCreateAPIResponseModel }
淘宝客-推广者-淘礼金创建 API返回值 taobao.tbk.dg.vegas.tlj.create
创建淘礼金
type TaobaoTbkDgVegasTljCreateAPIResponseModel ¶ added in v1.2.0
type TaobaoTbkDgVegasTljCreateAPIResponseModel 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 TaobaoTbkDgVegasTljInstanceReportAPIRequest ¶ added in v1.2.0
type TaobaoTbkDgVegasTljInstanceReportAPIRequest struct { model.Params // contains filtered or unexported fields }
淘宝客-推广者-淘礼金发放及使用报表 API请求 taobao.tbk.dg.vegas.tlj.instance.report
淘礼金实例维度相关报表数据查询
func NewTaobaoTbkDgVegasTljInstanceReportRequest ¶
func NewTaobaoTbkDgVegasTljInstanceReportRequest() *TaobaoTbkDgVegasTljInstanceReportAPIRequest
初始化TaobaoTbkDgVegasTljInstanceReportAPIRequest对象
func (TaobaoTbkDgVegasTljInstanceReportAPIRequest) GetApiMethodName ¶ added in v1.2.0
func (r TaobaoTbkDgVegasTljInstanceReportAPIRequest) GetApiMethodName() string
IRequest interface 方法, 获取Api method
func (TaobaoTbkDgVegasTljInstanceReportAPIRequest) GetApiParams ¶ added in v1.2.0
func (r TaobaoTbkDgVegasTljInstanceReportAPIRequest) GetApiParams() url.Values
IRequest interface 方法, 获取API参数
func (TaobaoTbkDgVegasTljInstanceReportAPIRequest) GetRightsId ¶ added in v1.2.0
func (r TaobaoTbkDgVegasTljInstanceReportAPIRequest) GetRightsId() string
RightsId Getter
func (*TaobaoTbkDgVegasTljInstanceReportAPIRequest) SetRightsId ¶ added in v1.2.0
func (r *TaobaoTbkDgVegasTljInstanceReportAPIRequest) SetRightsId(_rightsId string) error
RightsId Setter 实例ID
type TaobaoTbkDgVegasTljInstanceReportAPIResponse ¶
type TaobaoTbkDgVegasTljInstanceReportAPIResponse struct { model.CommonResponse TaobaoTbkDgVegasTljInstanceReportAPIResponseModel }
淘宝客-推广者-淘礼金发放及使用报表 API返回值 taobao.tbk.dg.vegas.tlj.instance.report
淘礼金实例维度相关报表数据查询
type TaobaoTbkDgVegasTljInstanceReportAPIResponseModel ¶ added in v1.2.0
type TaobaoTbkDgVegasTljInstanceReportAPIResponseModel 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 TaobaoTbkItemInfoGetAPIRequest ¶ added in v1.2.0
type TaobaoTbkItemInfoGetAPIRequest struct { model.Params // contains filtered or unexported fields }
淘宝客-公用-淘宝客商品详情查询(简版) API请求 taobao.tbk.item.info.get
淘宝客商品详情查询(简版)
func NewTaobaoTbkItemInfoGetRequest ¶
func NewTaobaoTbkItemInfoGetRequest() *TaobaoTbkItemInfoGetAPIRequest
初始化TaobaoTbkItemInfoGetAPIRequest对象
func (TaobaoTbkItemInfoGetAPIRequest) GetApiMethodName ¶ added in v1.2.0
func (r TaobaoTbkItemInfoGetAPIRequest) GetApiMethodName() string
IRequest interface 方法, 获取Api method
func (TaobaoTbkItemInfoGetAPIRequest) GetApiParams ¶ added in v1.2.0
func (r TaobaoTbkItemInfoGetAPIRequest) GetApiParams() url.Values
IRequest interface 方法, 获取API参数
func (TaobaoTbkItemInfoGetAPIRequest) GetIp ¶ added in v1.2.0
func (r TaobaoTbkItemInfoGetAPIRequest) GetIp() string
Ip Getter
func (TaobaoTbkItemInfoGetAPIRequest) GetNumIids ¶ added in v1.2.0
func (r TaobaoTbkItemInfoGetAPIRequest) GetNumIids() string
NumIids Getter
func (TaobaoTbkItemInfoGetAPIRequest) GetPlatform ¶ added in v1.2.0
func (r TaobaoTbkItemInfoGetAPIRequest) GetPlatform() int64
Platform Getter
func (*TaobaoTbkItemInfoGetAPIRequest) SetIp ¶ added in v1.2.0
func (r *TaobaoTbkItemInfoGetAPIRequest) SetIp(_ip string) error
Ip Setter ip地址,影响邮费获取,如果不传或者传入不准确,邮费无法精准提供
func (*TaobaoTbkItemInfoGetAPIRequest) SetNumIids ¶ added in v1.2.0
func (r *TaobaoTbkItemInfoGetAPIRequest) SetNumIids(_numIids string) error
NumIids Setter 商品ID串,用,分割,最大40个
func (*TaobaoTbkItemInfoGetAPIRequest) SetPlatform ¶ added in v1.2.0
func (r *TaobaoTbkItemInfoGetAPIRequest) SetPlatform(_platform int64) error
Platform Setter 链接形式:1:PC,2:无线,默认:1
type TaobaoTbkItemInfoGetAPIResponse ¶
type TaobaoTbkItemInfoGetAPIResponse struct { model.CommonResponse TaobaoTbkItemInfoGetAPIResponseModel }
淘宝客-公用-淘宝客商品详情查询(简版) API返回值 taobao.tbk.item.info.get
淘宝客商品详情查询(简版)
type TaobaoTbkItemInfoGetAPIResponseModel ¶ added in v1.2.0
type TaobaoTbkItemInfoGetAPIResponseModel 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 TaobaoTbkScInvitecodeGetAPIRequest ¶ added in v1.2.0
type TaobaoTbkScInvitecodeGetAPIRequest struct { model.Params // contains filtered or unexported fields }
淘宝客-公用-私域用户邀请码生成 API请求 taobao.tbk.sc.invitecode.get
私域用户管理(即渠道管理或会员运营管理)功能中,通过此API可生成淘宝客自身的邀请码。
func NewTaobaoTbkScInvitecodeGetRequest ¶
func NewTaobaoTbkScInvitecodeGetRequest() *TaobaoTbkScInvitecodeGetAPIRequest
初始化TaobaoTbkScInvitecodeGetAPIRequest对象
func (TaobaoTbkScInvitecodeGetAPIRequest) GetApiMethodName ¶ added in v1.2.0
func (r TaobaoTbkScInvitecodeGetAPIRequest) GetApiMethodName() string
IRequest interface 方法, 获取Api method
func (TaobaoTbkScInvitecodeGetAPIRequest) GetApiParams ¶ added in v1.2.0
func (r TaobaoTbkScInvitecodeGetAPIRequest) GetApiParams() url.Values
IRequest interface 方法, 获取API参数
func (TaobaoTbkScInvitecodeGetAPIRequest) GetCodeType ¶ added in v1.2.0
func (r TaobaoTbkScInvitecodeGetAPIRequest) GetCodeType() int64
CodeType Getter
func (TaobaoTbkScInvitecodeGetAPIRequest) GetRelationApp ¶ added in v1.2.0
func (r TaobaoTbkScInvitecodeGetAPIRequest) GetRelationApp() string
RelationApp Getter
func (TaobaoTbkScInvitecodeGetAPIRequest) GetRelationId ¶ added in v1.2.0
func (r TaobaoTbkScInvitecodeGetAPIRequest) GetRelationId() int64
RelationId Getter
func (*TaobaoTbkScInvitecodeGetAPIRequest) SetCodeType ¶ added in v1.2.0
func (r *TaobaoTbkScInvitecodeGetAPIRequest) SetCodeType(_codeType int64) error
CodeType Setter 邀请码类型,1 - 渠道邀请,2 - 渠道裂变,3 -会员邀请
func (*TaobaoTbkScInvitecodeGetAPIRequest) SetRelationApp ¶ added in v1.2.0
func (r *TaobaoTbkScInvitecodeGetAPIRequest) SetRelationApp(_relationApp string) error
RelationApp Setter 渠道推广的物料类型
func (*TaobaoTbkScInvitecodeGetAPIRequest) SetRelationId ¶ added in v1.2.0
func (r *TaobaoTbkScInvitecodeGetAPIRequest) SetRelationId(_relationId int64) error
RelationId Setter 渠道关系ID
type TaobaoTbkScInvitecodeGetAPIResponse ¶
type TaobaoTbkScInvitecodeGetAPIResponse struct { model.CommonResponse TaobaoTbkScInvitecodeGetAPIResponseModel }
淘宝客-公用-私域用户邀请码生成 API返回值 taobao.tbk.sc.invitecode.get
私域用户管理(即渠道管理或会员运营管理)功能中,通过此API可生成淘宝客自身的邀请码。
type TaobaoTbkScInvitecodeGetAPIResponseModel ¶ added in v1.2.0
type TaobaoTbkScInvitecodeGetAPIResponseModel 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 TaobaoTbkScInvitecodeGetData ¶
type TaobaoTbkScInvitecodeGetData struct { // 邀请码 InviterCode string `json:"inviter_code,omitempty" xml:"inviter_code,omitempty"` }
TaobaoTbkScInvitecodeGetData
type TaobaoTbkScPublisherInfoGetAPIRequest ¶ added in v1.2.0
type TaobaoTbkScPublisherInfoGetAPIRequest struct { model.Params // contains filtered or unexported fields }
淘宝客-公用-私域用户备案信息查询 API请求 taobao.tbk.sc.publisher.info.get
查询已生成的渠道id或会员运营id的相关信息。
func NewTaobaoTbkScPublisherInfoGetRequest ¶
func NewTaobaoTbkScPublisherInfoGetRequest() *TaobaoTbkScPublisherInfoGetAPIRequest
初始化TaobaoTbkScPublisherInfoGetAPIRequest对象
func (TaobaoTbkScPublisherInfoGetAPIRequest) GetApiMethodName ¶ added in v1.2.0
func (r TaobaoTbkScPublisherInfoGetAPIRequest) GetApiMethodName() string
IRequest interface 方法, 获取Api method
func (TaobaoTbkScPublisherInfoGetAPIRequest) GetApiParams ¶ added in v1.2.0
func (r TaobaoTbkScPublisherInfoGetAPIRequest) GetApiParams() url.Values
IRequest interface 方法, 获取API参数
func (TaobaoTbkScPublisherInfoGetAPIRequest) GetExternalId ¶ added in v1.2.0
func (r TaobaoTbkScPublisherInfoGetAPIRequest) GetExternalId() string
ExternalId Getter
func (TaobaoTbkScPublisherInfoGetAPIRequest) GetExternalType ¶ added in v1.2.0
func (r TaobaoTbkScPublisherInfoGetAPIRequest) GetExternalType() int64
ExternalType Getter
func (TaobaoTbkScPublisherInfoGetAPIRequest) GetInfoType ¶ added in v1.2.0
func (r TaobaoTbkScPublisherInfoGetAPIRequest) GetInfoType() int64
InfoType Getter
func (TaobaoTbkScPublisherInfoGetAPIRequest) GetPageNo ¶ added in v1.2.0
func (r TaobaoTbkScPublisherInfoGetAPIRequest) GetPageNo() int64
PageNo Getter
func (TaobaoTbkScPublisherInfoGetAPIRequest) GetPageSize ¶ added in v1.2.0
func (r TaobaoTbkScPublisherInfoGetAPIRequest) GetPageSize() int64
PageSize Getter
func (TaobaoTbkScPublisherInfoGetAPIRequest) GetRelationApp ¶ added in v1.2.0
func (r TaobaoTbkScPublisherInfoGetAPIRequest) GetRelationApp() string
RelationApp Getter
func (TaobaoTbkScPublisherInfoGetAPIRequest) GetRelationId ¶ added in v1.2.0
func (r TaobaoTbkScPublisherInfoGetAPIRequest) GetRelationId() int64
RelationId Getter
func (TaobaoTbkScPublisherInfoGetAPIRequest) GetSpecialId ¶ added in v1.2.0
func (r TaobaoTbkScPublisherInfoGetAPIRequest) GetSpecialId() string
SpecialId Getter
func (*TaobaoTbkScPublisherInfoGetAPIRequest) SetExternalId ¶ added in v1.2.0
func (r *TaobaoTbkScPublisherInfoGetAPIRequest) SetExternalId(_externalId string) error
ExternalId Setter 淘宝客外部用户标记,如自身系统账户ID;微信ID等
func (*TaobaoTbkScPublisherInfoGetAPIRequest) SetExternalType ¶ added in v1.2.0
func (r *TaobaoTbkScPublisherInfoGetAPIRequest) SetExternalType(_externalType int64) error
ExternalType Setter 1-微信、2-微博、3-抖音、4-快手、5-QQ,0-其他;默认为0
func (*TaobaoTbkScPublisherInfoGetAPIRequest) SetInfoType ¶ added in v1.2.0
func (r *TaobaoTbkScPublisherInfoGetAPIRequest) SetInfoType(_infoType int64) error
InfoType Setter 类型,必选 1:渠道信息;2:会员信息
func (*TaobaoTbkScPublisherInfoGetAPIRequest) SetPageNo ¶ added in v1.2.0
func (r *TaobaoTbkScPublisherInfoGetAPIRequest) SetPageNo(_pageNo int64) error
PageNo Setter 第几页
func (*TaobaoTbkScPublisherInfoGetAPIRequest) SetPageSize ¶ added in v1.2.0
func (r *TaobaoTbkScPublisherInfoGetAPIRequest) SetPageSize(_pageSize int64) error
PageSize Setter 每页大小
func (*TaobaoTbkScPublisherInfoGetAPIRequest) SetRelationApp ¶ added in v1.2.0
func (r *TaobaoTbkScPublisherInfoGetAPIRequest) SetRelationApp(_relationApp string) error
RelationApp Setter 备案的场景:common(通用备案),etao(一淘备案),minietao(一淘小程序备案),offlineShop(线下门店备案),offlinePerson(线下个人备案)。如不填默认common。查询会员信息只需填写common即可
func (*TaobaoTbkScPublisherInfoGetAPIRequest) SetRelationId ¶ added in v1.2.0
func (r *TaobaoTbkScPublisherInfoGetAPIRequest) SetRelationId(_relationId int64) error
RelationId Setter 渠道独占 - 渠道关系ID
func (*TaobaoTbkScPublisherInfoGetAPIRequest) SetSpecialId ¶ added in v1.2.0
func (r *TaobaoTbkScPublisherInfoGetAPIRequest) SetSpecialId(_specialId string) error
SpecialId Setter 会员独占 - 会员运营ID
type TaobaoTbkScPublisherInfoGetAPIResponse ¶
type TaobaoTbkScPublisherInfoGetAPIResponse struct { model.CommonResponse TaobaoTbkScPublisherInfoGetAPIResponseModel }
淘宝客-公用-私域用户备案信息查询 API返回值 taobao.tbk.sc.publisher.info.get
查询已生成的渠道id或会员运营id的相关信息。
type TaobaoTbkScPublisherInfoGetAPIResponseModel ¶ added in v1.2.0
type TaobaoTbkScPublisherInfoGetAPIResponseModel 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 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 TaobaoTbkScPublisherInfoSaveAPIRequest ¶ added in v1.2.0
type TaobaoTbkScPublisherInfoSaveAPIRequest struct { model.Params // contains filtered or unexported fields }
淘宝客-公用-私域用户备案 API请求 taobao.tbk.sc.publisher.info.save
通过入参渠道管理或会员运营管理的邀请码,生成渠道id或会员运营id,完成渠道或会员的备案。
func NewTaobaoTbkScPublisherInfoSaveRequest ¶
func NewTaobaoTbkScPublisherInfoSaveRequest() *TaobaoTbkScPublisherInfoSaveAPIRequest
初始化TaobaoTbkScPublisherInfoSaveAPIRequest对象
func (TaobaoTbkScPublisherInfoSaveAPIRequest) GetApiMethodName ¶ added in v1.2.0
func (r TaobaoTbkScPublisherInfoSaveAPIRequest) GetApiMethodName() string
IRequest interface 方法, 获取Api method
func (TaobaoTbkScPublisherInfoSaveAPIRequest) GetApiParams ¶ added in v1.2.0
func (r TaobaoTbkScPublisherInfoSaveAPIRequest) GetApiParams() url.Values
IRequest interface 方法, 获取API参数
func (TaobaoTbkScPublisherInfoSaveAPIRequest) GetInfoType ¶ added in v1.2.0
func (r TaobaoTbkScPublisherInfoSaveAPIRequest) GetInfoType() int64
InfoType Getter
func (TaobaoTbkScPublisherInfoSaveAPIRequest) GetInviterCode ¶ added in v1.2.0
func (r TaobaoTbkScPublisherInfoSaveAPIRequest) GetInviterCode() string
InviterCode Getter
func (TaobaoTbkScPublisherInfoSaveAPIRequest) GetNote ¶ added in v1.2.0
func (r TaobaoTbkScPublisherInfoSaveAPIRequest) GetNote() string
Note Getter
func (TaobaoTbkScPublisherInfoSaveAPIRequest) GetOfflineScene ¶ added in v1.2.0
func (r TaobaoTbkScPublisherInfoSaveAPIRequest) GetOfflineScene() string
OfflineScene Getter
func (TaobaoTbkScPublisherInfoSaveAPIRequest) GetOnlineScene ¶ added in v1.2.0
func (r TaobaoTbkScPublisherInfoSaveAPIRequest) GetOnlineScene() string
OnlineScene Getter
func (TaobaoTbkScPublisherInfoSaveAPIRequest) GetRegisterInfo ¶ added in v1.2.0
func (r TaobaoTbkScPublisherInfoSaveAPIRequest) GetRegisterInfo() string
RegisterInfo Getter
func (TaobaoTbkScPublisherInfoSaveAPIRequest) GetRelationFrom ¶ added in v1.2.0
func (r TaobaoTbkScPublisherInfoSaveAPIRequest) GetRelationFrom() string
RelationFrom Getter
func (*TaobaoTbkScPublisherInfoSaveAPIRequest) SetInfoType ¶ added in v1.2.0
func (r *TaobaoTbkScPublisherInfoSaveAPIRequest) SetInfoType(_infoType int64) error
InfoType Setter 类型,必选 默认为1:
func (*TaobaoTbkScPublisherInfoSaveAPIRequest) SetInviterCode ¶ added in v1.2.0
func (r *TaobaoTbkScPublisherInfoSaveAPIRequest) SetInviterCode(_inviterCode string) error
InviterCode Setter 淘宝客邀请渠道或会员的邀请码
func (*TaobaoTbkScPublisherInfoSaveAPIRequest) SetNote ¶ added in v1.2.0
func (r *TaobaoTbkScPublisherInfoSaveAPIRequest) SetNote(_note string) error
Note Setter 媒体侧渠道备注
func (*TaobaoTbkScPublisherInfoSaveAPIRequest) SetOfflineScene ¶ added in v1.2.0
func (r *TaobaoTbkScPublisherInfoSaveAPIRequest) SetOfflineScene(_offlineScene string) error
OfflineScene Setter 渠道备案 - 线下场景信息,1 - 门店,2- 学校,3 - 工厂,4 - 其他
func (*TaobaoTbkScPublisherInfoSaveAPIRequest) SetOnlineScene ¶ added in v1.2.0
func (r *TaobaoTbkScPublisherInfoSaveAPIRequest) SetOnlineScene(_onlineScene string) error
OnlineScene Setter 渠道备案 - 线上场景信息,1 - 微信群,2- QQ群,3 - 其他
func (*TaobaoTbkScPublisherInfoSaveAPIRequest) SetRegisterInfo ¶ added in v1.2.0
func (r *TaobaoTbkScPublisherInfoSaveAPIRequest) SetRegisterInfo(_registerInfo string) error
RegisterInfo Setter 线下备案注册信息,字段包含: 电话号码(phoneNumber,必填),省(province,必填),市(city,必填),区县街道(location,必填),详细地址(detailAddress,必填),经营类型(career,线下个人必填),店铺类型(shopType,线下店铺必填),店铺名称(shopName,线下店铺必填),店铺证书类型(shopCertifyType,线下店铺选填),店铺证书编号(certifyNumber,线下店铺选填)
func (*TaobaoTbkScPublisherInfoSaveAPIRequest) SetRelationFrom ¶ added in v1.2.0
func (r *TaobaoTbkScPublisherInfoSaveAPIRequest) SetRelationFrom(_relationFrom string) error
RelationFrom Setter 渠道备案 - 来源,取链接的来源
type TaobaoTbkScPublisherInfoSaveAPIResponse ¶
type TaobaoTbkScPublisherInfoSaveAPIResponse struct { model.CommonResponse TaobaoTbkScPublisherInfoSaveAPIResponseModel }
淘宝客-公用-私域用户备案 API返回值 taobao.tbk.sc.publisher.info.save
通过入参渠道管理或会员运营管理的邀请码,生成渠道id或会员运营id,完成渠道或会员的备案。
type TaobaoTbkScPublisherInfoSaveAPIResponseModel ¶ added in v1.2.0
type TaobaoTbkScPublisherInfoSaveAPIResponseModel 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 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 TaobaoTbkShopGetAPIRequest ¶ added in v1.2.0
淘宝客-推广者-店铺搜索 API请求 taobao.tbk.shop.get
淘宝客店铺查询
func NewTaobaoTbkShopGetRequest ¶
func NewTaobaoTbkShopGetRequest() *TaobaoTbkShopGetAPIRequest
初始化TaobaoTbkShopGetAPIRequest对象
func (TaobaoTbkShopGetAPIRequest) GetApiMethodName ¶ added in v1.2.0
func (r TaobaoTbkShopGetAPIRequest) GetApiMethodName() string
IRequest interface 方法, 获取Api method
func (TaobaoTbkShopGetAPIRequest) GetApiParams ¶ added in v1.2.0
func (r TaobaoTbkShopGetAPIRequest) GetApiParams() url.Values
IRequest interface 方法, 获取API参数
func (TaobaoTbkShopGetAPIRequest) GetEndAuctionCount ¶ added in v1.2.0
func (r TaobaoTbkShopGetAPIRequest) GetEndAuctionCount() int64
EndAuctionCount Getter
func (TaobaoTbkShopGetAPIRequest) GetEndCommissionRate ¶ added in v1.2.0
func (r TaobaoTbkShopGetAPIRequest) GetEndCommissionRate() int64
EndCommissionRate Getter
func (TaobaoTbkShopGetAPIRequest) GetEndCredit ¶ added in v1.2.0
func (r TaobaoTbkShopGetAPIRequest) GetEndCredit() int64
EndCredit Getter
func (TaobaoTbkShopGetAPIRequest) GetEndTotalAction ¶ added in v1.2.0
func (r TaobaoTbkShopGetAPIRequest) GetEndTotalAction() int64
EndTotalAction Getter
func (TaobaoTbkShopGetAPIRequest) GetFields ¶ added in v1.2.0
func (r TaobaoTbkShopGetAPIRequest) GetFields() string
Fields Getter
func (TaobaoTbkShopGetAPIRequest) GetIsTmall ¶ added in v1.2.0
func (r TaobaoTbkShopGetAPIRequest) GetIsTmall() bool
IsTmall Getter
func (TaobaoTbkShopGetAPIRequest) GetPageNo ¶ added in v1.2.0
func (r TaobaoTbkShopGetAPIRequest) GetPageNo() int64
PageNo Getter
func (TaobaoTbkShopGetAPIRequest) GetPageSize ¶ added in v1.2.0
func (r TaobaoTbkShopGetAPIRequest) GetPageSize() int64
PageSize Getter
func (TaobaoTbkShopGetAPIRequest) GetPlatform ¶ added in v1.2.0
func (r TaobaoTbkShopGetAPIRequest) GetPlatform() int64
Platform Getter
func (TaobaoTbkShopGetAPIRequest) GetQ ¶ added in v1.2.0
func (r TaobaoTbkShopGetAPIRequest) GetQ() string
Q Getter
func (TaobaoTbkShopGetAPIRequest) GetSort ¶ added in v1.2.0
func (r TaobaoTbkShopGetAPIRequest) GetSort() string
Sort Getter
func (TaobaoTbkShopGetAPIRequest) GetStartAuctionCount ¶ added in v1.2.0
func (r TaobaoTbkShopGetAPIRequest) GetStartAuctionCount() int64
StartAuctionCount Getter
func (TaobaoTbkShopGetAPIRequest) GetStartCommissionRate ¶ added in v1.2.0
func (r TaobaoTbkShopGetAPIRequest) GetStartCommissionRate() int64
StartCommissionRate Getter
func (TaobaoTbkShopGetAPIRequest) GetStartCredit ¶ added in v1.2.0
func (r TaobaoTbkShopGetAPIRequest) GetStartCredit() int64
StartCredit Getter
func (TaobaoTbkShopGetAPIRequest) GetStartTotalAction ¶ added in v1.2.0
func (r TaobaoTbkShopGetAPIRequest) GetStartTotalAction() int64
StartTotalAction Getter
func (*TaobaoTbkShopGetAPIRequest) SetEndAuctionCount ¶ added in v1.2.0
func (r *TaobaoTbkShopGetAPIRequest) SetEndAuctionCount(_endAuctionCount int64) error
EndAuctionCount Setter 累计推广商品上限
func (*TaobaoTbkShopGetAPIRequest) SetEndCommissionRate ¶ added in v1.2.0
func (r *TaobaoTbkShopGetAPIRequest) SetEndCommissionRate(_endCommissionRate int64) error
EndCommissionRate Setter 淘客佣金比率上限,1~10000
func (*TaobaoTbkShopGetAPIRequest) SetEndCredit ¶ added in v1.2.0
func (r *TaobaoTbkShopGetAPIRequest) SetEndCredit(_endCredit int64) error
EndCredit Setter 信用等级上限,1~20
func (*TaobaoTbkShopGetAPIRequest) SetEndTotalAction ¶ added in v1.2.0
func (r *TaobaoTbkShopGetAPIRequest) SetEndTotalAction(_endTotalAction int64) error
EndTotalAction Setter 店铺商品总数上限
func (*TaobaoTbkShopGetAPIRequest) SetFields ¶ added in v1.2.0
func (r *TaobaoTbkShopGetAPIRequest) SetFields(_fields string) error
Fields Setter 需返回的字段列表
func (*TaobaoTbkShopGetAPIRequest) SetIsTmall ¶ added in v1.2.0
func (r *TaobaoTbkShopGetAPIRequest) SetIsTmall(_isTmall bool) error
IsTmall Setter 是否商城的店铺,设置为true表示该是属于淘宝商城的店铺,设置为false或不设置表示不判断这个属性
func (*TaobaoTbkShopGetAPIRequest) SetPageNo ¶ added in v1.2.0
func (r *TaobaoTbkShopGetAPIRequest) SetPageNo(_pageNo int64) error
PageNo Setter 第几页,默认1,1~100
func (*TaobaoTbkShopGetAPIRequest) SetPageSize ¶ added in v1.2.0
func (r *TaobaoTbkShopGetAPIRequest) SetPageSize(_pageSize int64) error
PageSize Setter 页大小,默认20,1~100
func (*TaobaoTbkShopGetAPIRequest) SetPlatform ¶ added in v1.2.0
func (r *TaobaoTbkShopGetAPIRequest) SetPlatform(_platform int64) error
Platform Setter 链接形式:1:PC,2:无线,默认:1
func (*TaobaoTbkShopGetAPIRequest) SetQ ¶ added in v1.2.0
func (r *TaobaoTbkShopGetAPIRequest) SetQ(_q string) error
Q Setter 查询词
func (*TaobaoTbkShopGetAPIRequest) SetSort ¶ added in v1.2.0
func (r *TaobaoTbkShopGetAPIRequest) SetSort(_sort string) error
Sort Setter 排序_des(降序),排序_asc(升序),佣金比率(commission_rate), 商品数量(auction_count),销售总数量(total_auction)
func (*TaobaoTbkShopGetAPIRequest) SetStartAuctionCount ¶ added in v1.2.0
func (r *TaobaoTbkShopGetAPIRequest) SetStartAuctionCount(_startAuctionCount int64) error
StartAuctionCount Setter 累计推广商品下限
func (*TaobaoTbkShopGetAPIRequest) SetStartCommissionRate ¶ added in v1.2.0
func (r *TaobaoTbkShopGetAPIRequest) SetStartCommissionRate(_startCommissionRate int64) error
StartCommissionRate Setter 淘客佣金比率下限,1~10000
func (*TaobaoTbkShopGetAPIRequest) SetStartCredit ¶ added in v1.2.0
func (r *TaobaoTbkShopGetAPIRequest) SetStartCredit(_startCredit int64) error
StartCredit Setter 信用等级下限,1~20
func (*TaobaoTbkShopGetAPIRequest) SetStartTotalAction ¶ added in v1.2.0
func (r *TaobaoTbkShopGetAPIRequest) SetStartTotalAction(_startTotalAction int64) error
StartTotalAction Setter 店铺商品总数下限
type TaobaoTbkShopGetAPIResponse ¶
type TaobaoTbkShopGetAPIResponse struct { model.CommonResponse TaobaoTbkShopGetAPIResponseModel }
淘宝客-推广者-店铺搜索 API返回值 taobao.tbk.shop.get
淘宝客店铺查询
type TaobaoTbkShopGetAPIResponseModel ¶ added in v1.2.0
type TaobaoTbkShopGetAPIResponseModel 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 TaobaoTbkShopRecommendGetAPIRequest ¶ added in v1.2.0
type TaobaoTbkShopRecommendGetAPIRequest struct { model.Params // contains filtered or unexported fields }
淘宝客-公用-店铺关联推荐 API请求 taobao.tbk.shop.recommend.get
入参卖家id,可推荐与此店铺相关联的相关店铺。
func NewTaobaoTbkShopRecommendGetRequest ¶
func NewTaobaoTbkShopRecommendGetRequest() *TaobaoTbkShopRecommendGetAPIRequest
初始化TaobaoTbkShopRecommendGetAPIRequest对象
func (TaobaoTbkShopRecommendGetAPIRequest) GetApiMethodName ¶ added in v1.2.0
func (r TaobaoTbkShopRecommendGetAPIRequest) GetApiMethodName() string
IRequest interface 方法, 获取Api method
func (TaobaoTbkShopRecommendGetAPIRequest) GetApiParams ¶ added in v1.2.0
func (r TaobaoTbkShopRecommendGetAPIRequest) GetApiParams() url.Values
IRequest interface 方法, 获取API参数
func (TaobaoTbkShopRecommendGetAPIRequest) GetCount ¶ added in v1.2.0
func (r TaobaoTbkShopRecommendGetAPIRequest) GetCount() int64
Count Getter
func (TaobaoTbkShopRecommendGetAPIRequest) GetFields ¶ added in v1.2.0
func (r TaobaoTbkShopRecommendGetAPIRequest) GetFields() string
Fields Getter
func (TaobaoTbkShopRecommendGetAPIRequest) GetPlatform ¶ added in v1.2.0
func (r TaobaoTbkShopRecommendGetAPIRequest) GetPlatform() int64
Platform Getter
func (TaobaoTbkShopRecommendGetAPIRequest) GetUserId ¶ added in v1.2.0
func (r TaobaoTbkShopRecommendGetAPIRequest) GetUserId() int64
UserId Getter
func (*TaobaoTbkShopRecommendGetAPIRequest) SetCount ¶ added in v1.2.0
func (r *TaobaoTbkShopRecommendGetAPIRequest) SetCount(_count int64) error
Count Setter 返回数量,默认20,最大值40
func (*TaobaoTbkShopRecommendGetAPIRequest) SetFields ¶ added in v1.2.0
func (r *TaobaoTbkShopRecommendGetAPIRequest) SetFields(_fields string) error
Fields Setter 需返回的字段列表
func (*TaobaoTbkShopRecommendGetAPIRequest) SetPlatform ¶ added in v1.2.0
func (r *TaobaoTbkShopRecommendGetAPIRequest) SetPlatform(_platform int64) error
Platform Setter 链接形式:1:PC,2:无线,默认:1
func (*TaobaoTbkShopRecommendGetAPIRequest) SetUserId ¶ added in v1.2.0
func (r *TaobaoTbkShopRecommendGetAPIRequest) SetUserId(_userId int64) error
UserId Setter 卖家Id
type TaobaoTbkShopRecommendGetAPIResponse ¶
type TaobaoTbkShopRecommendGetAPIResponse struct { model.CommonResponse TaobaoTbkShopRecommendGetAPIResponseModel }
淘宝客-公用-店铺关联推荐 API返回值 taobao.tbk.shop.recommend.get
入参卖家id,可推荐与此店铺相关联的相关店铺。
type TaobaoTbkShopRecommendGetAPIResponseModel ¶ added in v1.2.0
type TaobaoTbkShopRecommendGetAPIResponseModel 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 TaobaoTbkSkuBestCouponAPIRequest ¶ added in v1.2.0
type TaobaoTbkSkuBestCouponAPIRequest struct { model.Params // contains filtered or unexported fields }
sku维度最优优惠券信息 API请求 taobao.tbk.sku.best.coupon
根据itemid和skuid查询最优优惠券信息
func NewTaobaoTbkSkuBestCouponRequest ¶
func NewTaobaoTbkSkuBestCouponRequest() *TaobaoTbkSkuBestCouponAPIRequest
初始化TaobaoTbkSkuBestCouponAPIRequest对象
func (TaobaoTbkSkuBestCouponAPIRequest) GetApiMethodName ¶ added in v1.2.0
func (r TaobaoTbkSkuBestCouponAPIRequest) GetApiMethodName() string
IRequest interface 方法, 获取Api method
func (TaobaoTbkSkuBestCouponAPIRequest) GetApiParams ¶ added in v1.2.0
func (r TaobaoTbkSkuBestCouponAPIRequest) GetApiParams() url.Values
IRequest interface 方法, 获取API参数
func (TaobaoTbkSkuBestCouponAPIRequest) GetItemId ¶ added in v1.2.0
func (r TaobaoTbkSkuBestCouponAPIRequest) GetItemId() int64
ItemId Getter
func (TaobaoTbkSkuBestCouponAPIRequest) GetSkuId ¶ added in v1.2.0
func (r TaobaoTbkSkuBestCouponAPIRequest) GetSkuId() int64
SkuId Getter
func (*TaobaoTbkSkuBestCouponAPIRequest) SetItemId ¶ added in v1.2.0
func (r *TaobaoTbkSkuBestCouponAPIRequest) SetItemId(_itemId int64) error
ItemId Setter 商品ID
func (*TaobaoTbkSkuBestCouponAPIRequest) SetSkuId ¶ added in v1.2.0
func (r *TaobaoTbkSkuBestCouponAPIRequest) SetSkuId(_skuId int64) error
SkuId Setter 商品对应的skuId
type TaobaoTbkSkuBestCouponAPIResponse ¶
type TaobaoTbkSkuBestCouponAPIResponse struct { model.CommonResponse TaobaoTbkSkuBestCouponAPIResponseModel }
sku维度最优优惠券信息 API返回值 taobao.tbk.sku.best.coupon
根据itemid和skuid查询最优优惠券信息
type TaobaoTbkSkuBestCouponAPIResponseModel ¶ added in v1.2.0
type TaobaoTbkSkuBestCouponAPIResponseModel 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 TaobaoTbkSkuBestCouponMapData ¶
type TaobaoTbkSkuBestCouponMapData struct { // 优惠券过期时间13位时间戳 CouponExpireTime int64 `json:"coupon_expire_time,omitempty" xml:"coupon_expire_time,omitempty"` }
TaobaoTbkSkuBestCouponMapData
type TaobaoTbkSpreadGetAPIRequest ¶ added in v1.2.0
淘宝客-公用-长链转短链 API请求 taobao.tbk.spread.get
输入一个原始的链接,转换得到指定的传播方式,如二维码,淘口令,短连接; 现阶段只支持短连接。
func NewTaobaoTbkSpreadGetRequest ¶
func NewTaobaoTbkSpreadGetRequest() *TaobaoTbkSpreadGetAPIRequest
初始化TaobaoTbkSpreadGetAPIRequest对象
func (TaobaoTbkSpreadGetAPIRequest) GetApiMethodName ¶ added in v1.2.0
func (r TaobaoTbkSpreadGetAPIRequest) GetApiMethodName() string
IRequest interface 方法, 获取Api method
func (TaobaoTbkSpreadGetAPIRequest) GetApiParams ¶ added in v1.2.0
func (r TaobaoTbkSpreadGetAPIRequest) GetApiParams() url.Values
IRequest interface 方法, 获取API参数
func (TaobaoTbkSpreadGetAPIRequest) GetRequests ¶ added in v1.2.0
func (r TaobaoTbkSpreadGetAPIRequest) GetRequests() []TbkSpreadRequest
Requests Getter
func (*TaobaoTbkSpreadGetAPIRequest) SetRequests ¶ added in v1.2.0
func (r *TaobaoTbkSpreadGetAPIRequest) SetRequests(_requests []TbkSpreadRequest) error
Requests Setter 请求列表,内部包含多个url
type TaobaoTbkSpreadGetAPIResponse ¶
type TaobaoTbkSpreadGetAPIResponse struct { model.CommonResponse TaobaoTbkSpreadGetAPIResponseModel }
淘宝客-公用-长链转短链 API返回值 taobao.tbk.spread.get
输入一个原始的链接,转换得到指定的传播方式,如二维码,淘口令,短连接; 现阶段只支持短连接。
type TaobaoTbkSpreadGetAPIResponseModel ¶ added in v1.2.0
type TaobaoTbkSpreadGetAPIResponseModel 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 TaobaoTbkTpwdCreateAPIRequest ¶ added in v1.2.0
type TaobaoTbkTpwdCreateAPIRequest struct { model.Params // contains filtered or unexported fields }
淘宝客-公用-淘口令生成 API请求 taobao.tbk.tpwd.create
提供淘口令生成接口。提交需要生成淘口令的内容、logo、url等参数,生成淘口令,其中关键信息为¥SADadW¥,后续可基于淘口令进行文案包装组装用于传播。
func NewTaobaoTbkTpwdCreateRequest ¶
func NewTaobaoTbkTpwdCreateRequest() *TaobaoTbkTpwdCreateAPIRequest
初始化TaobaoTbkTpwdCreateAPIRequest对象
func (TaobaoTbkTpwdCreateAPIRequest) GetApiMethodName ¶ added in v1.2.0
func (r TaobaoTbkTpwdCreateAPIRequest) GetApiMethodName() string
IRequest interface 方法, 获取Api method
func (TaobaoTbkTpwdCreateAPIRequest) GetApiParams ¶ added in v1.2.0
func (r TaobaoTbkTpwdCreateAPIRequest) GetApiParams() url.Values
IRequest interface 方法, 获取API参数
func (TaobaoTbkTpwdCreateAPIRequest) GetExt ¶ added in v1.2.0
func (r TaobaoTbkTpwdCreateAPIRequest) GetExt() string
Ext Getter
func (TaobaoTbkTpwdCreateAPIRequest) GetLogo ¶ added in v1.2.0
func (r TaobaoTbkTpwdCreateAPIRequest) GetLogo() string
Logo Getter
func (TaobaoTbkTpwdCreateAPIRequest) GetText ¶ added in v1.2.0
func (r TaobaoTbkTpwdCreateAPIRequest) GetText() string
Text Getter
func (TaobaoTbkTpwdCreateAPIRequest) GetUrl ¶ added in v1.2.0
func (r TaobaoTbkTpwdCreateAPIRequest) GetUrl() string
Url Getter
func (TaobaoTbkTpwdCreateAPIRequest) GetUserId ¶ added in v1.2.0
func (r TaobaoTbkTpwdCreateAPIRequest) GetUserId() string
UserId Getter
func (*TaobaoTbkTpwdCreateAPIRequest) SetExt ¶ added in v1.2.0
func (r *TaobaoTbkTpwdCreateAPIRequest) SetExt(_ext string) error
Ext Setter 兼容旧版本api参数,无实际作用
func (*TaobaoTbkTpwdCreateAPIRequest) SetLogo ¶ added in v1.2.0
func (r *TaobaoTbkTpwdCreateAPIRequest) SetLogo(_logo string) error
Logo Setter 兼容旧版本api参数,无实际作用
func (*TaobaoTbkTpwdCreateAPIRequest) SetText ¶ added in v1.2.0
func (r *TaobaoTbkTpwdCreateAPIRequest) SetText(_text string) error
Text Setter 兼容旧版本api参数,无实际作用
func (*TaobaoTbkTpwdCreateAPIRequest) SetUrl ¶ added in v1.2.0
func (r *TaobaoTbkTpwdCreateAPIRequest) SetUrl(_url string) error
Url Setter 联盟官方渠道获取的淘客推广链接,请注意,不要随意篡改官方生成的链接,否则可能无法生成淘口令
func (*TaobaoTbkTpwdCreateAPIRequest) SetUserId ¶ added in v1.2.0
func (r *TaobaoTbkTpwdCreateAPIRequest) SetUserId(_userId string) error
UserId Setter 兼容旧版本api参数,无实际作用
type TaobaoTbkTpwdCreateAPIResponse ¶
type TaobaoTbkTpwdCreateAPIResponse struct { model.CommonResponse TaobaoTbkTpwdCreateAPIResponseModel }
淘宝客-公用-淘口令生成 API返回值 taobao.tbk.tpwd.create
提供淘口令生成接口。提交需要生成淘口令的内容、logo、url等参数,生成淘口令,其中关键信息为¥SADadW¥,后续可基于淘口令进行文案包装组装用于传播。
type TaobaoTbkTpwdCreateAPIResponseModel ¶ added in v1.2.0
type TaobaoTbkTpwdCreateAPIResponseModel 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 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 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 ¶ added in v1.2.0
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
- TaobaoTbkActivityInfoGetAPIRequest.go
- TaobaoTbkActivityInfoGetAPIResponse.go
- TaobaoTbkActivityInfoGetData.go
- TaobaoTbkCartCouponExpireUserQueryAPIRequest.go
- TaobaoTbkCartCouponExpireUserQueryAPIResponse.go
- TaobaoTbkCartCouponExpireUserQueryMapData.go
- TaobaoTbkCouponGetAPIRequest.go
- TaobaoTbkCouponGetAPIResponse.go
- TaobaoTbkCouponGetMapData.go
- TaobaoTbkDgMaterialOptionalAPIRequest.go
- TaobaoTbkDgMaterialOptionalAPIResponse.go
- TaobaoTbkDgMaterialOptionalMapData.go
- TaobaoTbkDgNewuserOrderGetAPIRequest.go
- TaobaoTbkDgNewuserOrderGetAPIResponse.go
- TaobaoTbkDgNewuserOrderGetData.go
- TaobaoTbkDgNewuserOrderGetMapData.go
- TaobaoTbkDgNewuserOrderGetResults.go
- TaobaoTbkDgNewuserOrderSumAPIRequest.go
- TaobaoTbkDgNewuserOrderSumAPIResponse.go
- TaobaoTbkDgNewuserOrderSumData.go
- TaobaoTbkDgOptimusMaterialAPIRequest.go
- TaobaoTbkDgOptimusMaterialAPIResponse.go
- TaobaoTbkDgOptimusMaterialMapData.go
- TaobaoTbkDgOptimusPromotionAPIRequest.go
- TaobaoTbkDgOptimusPromotionAPIResponse.go
- TaobaoTbkDgOptimusPromotionMapData.go
- TaobaoTbkDgPunishOrderGetAPIRequest.go
- TaobaoTbkDgPunishOrderGetAPIResponse.go
- TaobaoTbkDgPunishOrderGetResult.go
- TaobaoTbkDgPunishOrderGetRpcResult.go
- TaobaoTbkDgVegasSendStatusAPIRequest.go
- TaobaoTbkDgVegasSendStatusAPIResponse.go
- TaobaoTbkDgVegasSendStatusData.go
- TaobaoTbkDgVegasSendStatusMapData.go
- TaobaoTbkDgVegasTljCreateAPIRequest.go
- TaobaoTbkDgVegasTljCreateAPIResponse.go
- TaobaoTbkDgVegasTljCreateResult.go
- TaobaoTbkDgVegasTljInstanceReportAPIRequest.go
- TaobaoTbkDgVegasTljInstanceReportAPIResponse.go
- TaobaoTbkDgVegasTljInstanceReportResult.go
- TaobaoTbkItemInfoGetAPIRequest.go
- TaobaoTbkItemInfoGetAPIResponse.go
- TaobaoTbkScInvitecodeGetAPIRequest.go
- TaobaoTbkScInvitecodeGetAPIResponse.go
- TaobaoTbkScInvitecodeGetData.go
- TaobaoTbkScPublisherInfoGetAPIRequest.go
- TaobaoTbkScPublisherInfoGetAPIResponse.go
- TaobaoTbkScPublisherInfoGetData.go
- TaobaoTbkScPublisherInfoGetMapData.go
- TaobaoTbkScPublisherInfoSaveAPIRequest.go
- TaobaoTbkScPublisherInfoSaveAPIResponse.go
- TaobaoTbkScPublisherInfoSaveData.go
- TaobaoTbkShopGetAPIRequest.go
- TaobaoTbkShopGetAPIResponse.go
- TaobaoTbkShopRecommendGetAPIRequest.go
- TaobaoTbkShopRecommendGetAPIResponse.go
- TaobaoTbkSkuBestCouponAPIRequest.go
- TaobaoTbkSkuBestCouponAPIResponse.go
- TaobaoTbkSkuBestCouponMapData.go
- TaobaoTbkSpreadGetAPIRequest.go
- TaobaoTbkSpreadGetAPIResponse.go
- TaobaoTbkTpwdCreateAPIRequest.go
- TaobaoTbkTpwdCreateAPIResponse.go
- TaobaoTbkTpwdCreateMapData.go
- TbkSpread.go
- TbkSpreadRequest.go
- TljInstanceReportDto.go
- TopApiAfOrderOption.go
- TopNInfoDTO.go
- Ucrowdrankitems.go
- UserRuleInfo.go
- WordMapData.go
- Youjiacouponinfo.go
- doc.go