aecreatives

package
v1.2.1 Latest Latest
Warning

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

Go to latest
Published: Jul 1, 2021 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Promotion Creatives model

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

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AliexpressAffiliateCategoryGetAPIRequest added in v1.2.0

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

AE流量推广类目信息获取API API请求 aliexpress.affiliate.category.get

获取AE流量推广类目的API

func NewAliexpressAffiliateCategoryGetRequest

func NewAliexpressAffiliateCategoryGetRequest() *AliexpressAffiliateCategoryGetAPIRequest

NewAliexpressAffiliateCategoryGetRequest 初始化AliexpressAffiliateCategoryGetAPIRequest对象

func (AliexpressAffiliateCategoryGetAPIRequest) GetApiMethodName added in v1.2.0

func (r AliexpressAffiliateCategoryGetAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (AliexpressAffiliateCategoryGetAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (AliexpressAffiliateCategoryGetAPIRequest) GetAppSignature added in v1.2.0

Get AppSignature Getter

func (*AliexpressAffiliateCategoryGetAPIRequest) SetAppSignature added in v1.2.0

func (r *AliexpressAffiliateCategoryGetAPIRequest) SetAppSignature(_appSignature string) error

Set is AppSignature Setter 请求安全签名

type AliexpressAffiliateCategoryGetAPIResponse

type AliexpressAffiliateCategoryGetAPIResponse struct {
	model.CommonResponse
	AliexpressAffiliateCategoryGetAPIResponseModel
}
AliexpressAffiliateCategoryGetAPIResponse

AE流量推广类目信息获取API API返回值 aliexpress.affiliate.category.get

获取AE流量推广类目的API

type AliexpressAffiliateCategoryGetAPIResponseModel added in v1.2.0

type AliexpressAffiliateCategoryGetAPIResponseModel struct {
	XMLName xml.Name `xml:"aliexpress_affiliate_category_get_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 返回结果
	RespResult *ResponseResult `json:"resp_result,omitempty" xml:"resp_result,omitempty"`
}

AliexpressAffiliateCategoryGetAPIResponseModel is AE流量推广类目信息获取API 成功返回结果

type AliexpressAffiliateCategoryGetResult

type AliexpressAffiliateCategoryGetResult struct {
	// 类目信息
	Categories []Category `json:"categories,omitempty" xml:"categories>category,omitempty"`
	// 返回结果数量
	TotalResultCount int64 `json:"total_result_count,omitempty" xml:"total_result_count,omitempty"`
}

AliexpressAffiliateCategoryGetResult 结构体

type AliexpressAffiliateFeaturedpromoGetAPIRequest added in v1.2.0

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

联盟主题推广活动信息获取 API请求 aliexpress.affiliate.featuredpromo.get

获取联盟主题推广活动信息

func NewAliexpressAffiliateFeaturedpromoGetRequest

func NewAliexpressAffiliateFeaturedpromoGetRequest() *AliexpressAffiliateFeaturedpromoGetAPIRequest

NewAliexpressAffiliateFeaturedpromoGetRequest 初始化AliexpressAffiliateFeaturedpromoGetAPIRequest对象

func (AliexpressAffiliateFeaturedpromoGetAPIRequest) GetApiMethodName added in v1.2.0

GetApiMethodName IRequest interface 方法, 获取Api method

func (AliexpressAffiliateFeaturedpromoGetAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (AliexpressAffiliateFeaturedpromoGetAPIRequest) GetAppSignature added in v1.2.0

Get AppSignature Getter

func (AliexpressAffiliateFeaturedpromoGetAPIRequest) GetFields added in v1.2.0

Get Fields Getter

func (*AliexpressAffiliateFeaturedpromoGetAPIRequest) SetAppSignature added in v1.2.0

func (r *AliexpressAffiliateFeaturedpromoGetAPIRequest) SetAppSignature(_appSignature string) error

Set is AppSignature Setter 请求签名

func (*AliexpressAffiliateFeaturedpromoGetAPIRequest) SetFields added in v1.2.0

Set is Fields Setter 返回字段列表

type AliexpressAffiliateFeaturedpromoGetAPIResponse

type AliexpressAffiliateFeaturedpromoGetAPIResponse struct {
	model.CommonResponse
	AliexpressAffiliateFeaturedpromoGetAPIResponseModel
}
AliexpressAffiliateFeaturedpromoGetAPIResponse

联盟主题推广活动信息获取 API返回值 aliexpress.affiliate.featuredpromo.get

获取联盟主题推广活动信息

type AliexpressAffiliateFeaturedpromoGetAPIResponseModel added in v1.2.0

type AliexpressAffiliateFeaturedpromoGetAPIResponseModel struct {
	XMLName xml.Name `xml:"aliexpress_affiliate_featuredpromo_get_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 返回结果
	RespResult *ResponseDto `json:"resp_result,omitempty" xml:"resp_result,omitempty"`
}

AliexpressAffiliateFeaturedpromoGetAPIResponseModel is 联盟主题推广活动信息获取 成功返回结果

type AliexpressAffiliateFeaturedpromoProductsGetAPIRequest added in v1.2.0

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

联盟主题推广活动商品信息获取 API请求 aliexpress.affiliate.featuredpromo.products.get

根据联盟主题推广活动或主题品库查询对应的商品。如下品库为固定品库,可长期调用。品库类型和名称如下:高佣品(Hot Product)、新品(New Arrival)、热销商品(Best Seller)、每周尖货(weeklydeals)

func NewAliexpressAffiliateFeaturedpromoProductsGetRequest

func NewAliexpressAffiliateFeaturedpromoProductsGetRequest() *AliexpressAffiliateFeaturedpromoProductsGetAPIRequest

NewAliexpressAffiliateFeaturedpromoProductsGetRequest 初始化AliexpressAffiliateFeaturedpromoProductsGetAPIRequest对象

func (AliexpressAffiliateFeaturedpromoProductsGetAPIRequest) GetApiMethodName added in v1.2.0

GetApiMethodName IRequest interface 方法, 获取Api method

func (AliexpressAffiliateFeaturedpromoProductsGetAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (AliexpressAffiliateFeaturedpromoProductsGetAPIRequest) GetAppSignature added in v1.2.0

Get AppSignature Getter

func (AliexpressAffiliateFeaturedpromoProductsGetAPIRequest) GetCategoryId added in v1.2.0

Get CategoryId Getter

func (AliexpressAffiliateFeaturedpromoProductsGetAPIRequest) GetCountry added in v1.2.0

Get Country Getter

func (AliexpressAffiliateFeaturedpromoProductsGetAPIRequest) GetFields added in v1.2.0

Get Fields Getter

func (AliexpressAffiliateFeaturedpromoProductsGetAPIRequest) GetPageNo added in v1.2.0

Get PageNo Getter

func (AliexpressAffiliateFeaturedpromoProductsGetAPIRequest) GetPageSize added in v1.2.0

Get PageSize Getter

func (AliexpressAffiliateFeaturedpromoProductsGetAPIRequest) GetPromotionEndTime added in v1.2.0

Get PromotionEndTime Getter

func (AliexpressAffiliateFeaturedpromoProductsGetAPIRequest) GetPromotionName added in v1.2.0

Get PromotionName Getter

func (AliexpressAffiliateFeaturedpromoProductsGetAPIRequest) GetPromotionStartTime added in v1.2.0

Get PromotionStartTime Getter

func (AliexpressAffiliateFeaturedpromoProductsGetAPIRequest) GetSort added in v1.2.0

Get Sort Getter

func (AliexpressAffiliateFeaturedpromoProductsGetAPIRequest) GetTargetCurrency added in v1.2.0

Get TargetCurrency Getter

func (AliexpressAffiliateFeaturedpromoProductsGetAPIRequest) GetTargetLanguage added in v1.2.0

Get TargetLanguage Getter

func (AliexpressAffiliateFeaturedpromoProductsGetAPIRequest) GetTrackingId added in v1.2.0

Get TrackingId Getter

func (*AliexpressAffiliateFeaturedpromoProductsGetAPIRequest) SetAppSignature added in v1.2.0

func (r *AliexpressAffiliateFeaturedpromoProductsGetAPIRequest) SetAppSignature(_appSignature string) error

Set is AppSignature Setter 请求签名

func (*AliexpressAffiliateFeaturedpromoProductsGetAPIRequest) SetCategoryId added in v1.2.0

Set is CategoryId Setter 类目 ID 如何获取category_id,请参考,https://open.taobao.com/api.htm?docId=45801&docType=2&scopeId=17063

func (*AliexpressAffiliateFeaturedpromoProductsGetAPIRequest) SetCountry added in v1.2.0

Set is Country Setter 商品收货国家,可筛选能销售至该国家的商品,并根据该国家税率政策返回对应商品价格

func (*AliexpressAffiliateFeaturedpromoProductsGetAPIRequest) SetFields added in v1.2.0

Set is Fields Setter 返回字段列表

func (*AliexpressAffiliateFeaturedpromoProductsGetAPIRequest) SetPageNo added in v1.2.0

Set is PageNo Setter 查询页码

func (*AliexpressAffiliateFeaturedpromoProductsGetAPIRequest) SetPageSize added in v1.2.0

Set is PageSize Setter 每页记录数,1-50

func (*AliexpressAffiliateFeaturedpromoProductsGetAPIRequest) SetPromotionEndTime added in v1.2.0

func (r *AliexpressAffiliateFeaturedpromoProductsGetAPIRequest) SetPromotionEndTime(_promotionEndTime string) error

Set is PromotionEndTime Setter 活动结束时间,PST 时区

func (*AliexpressAffiliateFeaturedpromoProductsGetAPIRequest) SetPromotionName added in v1.2.0

func (r *AliexpressAffiliateFeaturedpromoProductsGetAPIRequest) SetPromotionName(_promotionName string) error

Set is PromotionName Setter 主题活动的名称,如何获取主题活动,请参考"get featuredpromo info" API. 固定主题:高佣品(Hot Product)、新品(New Arrival)、热销商品(Best Seller)、每周尖货(weeklydeals)

func (*AliexpressAffiliateFeaturedpromoProductsGetAPIRequest) SetPromotionStartTime added in v1.2.0

func (r *AliexpressAffiliateFeaturedpromoProductsGetAPIRequest) SetPromotionStartTime(_promotionStartTime string) error

Set is PromotionStartTime Setter 活动开始时间,PST 时区

func (*AliexpressAffiliateFeaturedpromoProductsGetAPIRequest) SetSort added in v1.2.0

Set is Sort Setter 排序方式:commissionAsc,commissionDesc, priceAsc,priceDesc,volumeAsc、volumeDesc, discountAsc, discountDesc, ratingAsc,ratingDesc, promotionTimeAsc, pr

func (*AliexpressAffiliateFeaturedpromoProductsGetAPIRequest) SetTargetCurrency added in v1.2.0

func (r *AliexpressAffiliateFeaturedpromoProductsGetAPIRequest) SetTargetCurrency(_targetCurrency string) error

Set is TargetCurrency Setter 目标币种,可根据目标币种返回对应币种:USD, GBP, CAD, EUR, UAH, MXN, TRY, RUB, BRL, AUD, INR, JPY, IDR, SEK,KRW

func (*AliexpressAffiliateFeaturedpromoProductsGetAPIRequest) SetTargetLanguage added in v1.2.0

func (r *AliexpressAffiliateFeaturedpromoProductsGetAPIRequest) SetTargetLanguage(_targetLanguage string) error

Set is TargetLanguage Setter 目标语言,可根据目标语言返回对应语言:EN,RU,PT,ES,FR,ID,IT,TH,JA,AR,VI,TR,DE,HE,KO,NL,PL,MX,CL,IN

func (*AliexpressAffiliateFeaturedpromoProductsGetAPIRequest) SetTrackingId added in v1.2.0

Set is TrackingId Setter trackingID

type AliexpressAffiliateFeaturedpromoProductsGetAPIResponse

type AliexpressAffiliateFeaturedpromoProductsGetAPIResponse struct {
	model.CommonResponse
	AliexpressAffiliateFeaturedpromoProductsGetAPIResponseModel
}
AliexpressAffiliateFeaturedpromoProductsGetAPIResponse

联盟主题推广活动商品信息获取 API返回值 aliexpress.affiliate.featuredpromo.products.get

根据联盟主题推广活动或主题品库查询对应的商品。如下品库为固定品库,可长期调用。品库类型和名称如下:高佣品(Hot Product)、新品(New Arrival)、热销商品(Best Seller)、每周尖货(weeklydeals)

type AliexpressAffiliateFeaturedpromoProductsGetAPIResponseModel added in v1.2.0

type AliexpressAffiliateFeaturedpromoProductsGetAPIResponseModel struct {
	XMLName xml.Name `xml:"aliexpress_affiliate_featuredpromo_products_get_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 返回结果
	RespResult *ResponseDto `json:"resp_result,omitempty" xml:"resp_result,omitempty"`
}

AliexpressAffiliateFeaturedpromoProductsGetAPIResponseModel is 联盟主题推广活动商品信息获取 成功返回结果

type AliexpressAffiliateHotproductDownloadAPIRequest added in v1.2.0

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

联盟营销爆品下载接口 API请求 aliexpress.affiliate.hotproduct.download

查询联盟爆品API

func NewAliexpressAffiliateHotproductDownloadRequest

func NewAliexpressAffiliateHotproductDownloadRequest() *AliexpressAffiliateHotproductDownloadAPIRequest

NewAliexpressAffiliateHotproductDownloadRequest 初始化AliexpressAffiliateHotproductDownloadAPIRequest对象

func (AliexpressAffiliateHotproductDownloadAPIRequest) GetApiMethodName added in v1.2.0

GetApiMethodName IRequest interface 方法, 获取Api method

func (AliexpressAffiliateHotproductDownloadAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (AliexpressAffiliateHotproductDownloadAPIRequest) GetAppSignature added in v1.2.0

Get AppSignature Getter

func (AliexpressAffiliateHotproductDownloadAPIRequest) GetCategoryId added in v1.2.0

Get CategoryId Getter

func (AliexpressAffiliateHotproductDownloadAPIRequest) GetCountry added in v1.2.0

Get Country Getter

func (AliexpressAffiliateHotproductDownloadAPIRequest) GetFields added in v1.2.0

Get Fields Getter

func (AliexpressAffiliateHotproductDownloadAPIRequest) GetLocaleSite added in v1.2.0

Get LocaleSite Getter

func (AliexpressAffiliateHotproductDownloadAPIRequest) GetPageNo added in v1.2.0

Get PageNo Getter

func (AliexpressAffiliateHotproductDownloadAPIRequest) GetPageSize added in v1.2.0

Get PageSize Getter

func (AliexpressAffiliateHotproductDownloadAPIRequest) GetTargetCurrency added in v1.2.0

Get TargetCurrency Getter

func (AliexpressAffiliateHotproductDownloadAPIRequest) GetTargetLanguage added in v1.2.0

Get TargetLanguage Getter

func (AliexpressAffiliateHotproductDownloadAPIRequest) GetTrackingId added in v1.2.0

Get TrackingId Getter

func (*AliexpressAffiliateHotproductDownloadAPIRequest) SetAppSignature added in v1.2.0

func (r *AliexpressAffiliateHotproductDownloadAPIRequest) SetAppSignature(_appSignature string) error

Set is AppSignature Setter 请求签名

func (*AliexpressAffiliateHotproductDownloadAPIRequest) SetCategoryId added in v1.2.0

func (r *AliexpressAffiliateHotproductDownloadAPIRequest) SetCategoryId(_categoryId string) error

Set is CategoryId Setter 类目ID

func (*AliexpressAffiliateHotproductDownloadAPIRequest) SetCountry added in v1.2.0

Set is Country Setter 收货国家,可筛选能销售至该国家的商品,并根据该国家税率政策返回对应商品价格

func (*AliexpressAffiliateHotproductDownloadAPIRequest) SetFields added in v1.2.0

Set is Fields Setter 返回字段列表

func (*AliexpressAffiliateHotproductDownloadAPIRequest) SetLocaleSite added in v1.2.0

func (r *AliexpressAffiliateHotproductDownloadAPIRequest) SetLocaleSite(_localeSite string) error

Set is LocaleSite Setter 站点商品标:global,it_site,es_site,ru_site

func (*AliexpressAffiliateHotproductDownloadAPIRequest) SetPageNo added in v1.2.0

Set is PageNo Setter 请求页数

func (*AliexpressAffiliateHotproductDownloadAPIRequest) SetPageSize added in v1.2.0

Set is PageSize Setter 每次请求数量

func (*AliexpressAffiliateHotproductDownloadAPIRequest) SetTargetCurrency added in v1.2.0

func (r *AliexpressAffiliateHotproductDownloadAPIRequest) SetTargetCurrency(_targetCurrency string) error

Set is TargetCurrency Setter 目标币种:USD, GBP, CAD, EUR, UAH, MXN, TRY, RUB, BRL, AUD, INR, JPY, IDR, SEK,KRW

func (*AliexpressAffiliateHotproductDownloadAPIRequest) SetTargetLanguage added in v1.2.0

func (r *AliexpressAffiliateHotproductDownloadAPIRequest) SetTargetLanguage(_targetLanguage string) error

Set is TargetLanguage Setter 目标语言:EN,RU,PT,ES,FR,ID,IT,TH,JA,AR,VI,TR,DE,HE,KO,NL,PL,MX,CL,IW,IN

func (*AliexpressAffiliateHotproductDownloadAPIRequest) SetTrackingId added in v1.2.0

func (r *AliexpressAffiliateHotproductDownloadAPIRequest) SetTrackingId(_trackingId string) error

Set is TrackingId Setter trackingId

type AliexpressAffiliateHotproductDownloadAPIResponse

type AliexpressAffiliateHotproductDownloadAPIResponse struct {
	model.CommonResponse
	AliexpressAffiliateHotproductDownloadAPIResponseModel
}
AliexpressAffiliateHotproductDownloadAPIResponse

联盟营销爆品下载接口 API返回值 aliexpress.affiliate.hotproduct.download

查询联盟爆品API

type AliexpressAffiliateHotproductDownloadAPIResponseModel added in v1.2.0

type AliexpressAffiliateHotproductDownloadAPIResponseModel struct {
	XMLName xml.Name `xml:"aliexpress_affiliate_hotproduct_download_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 返回结果
	RespResult *ResponseDto `json:"resp_result,omitempty" xml:"resp_result,omitempty"`
}

AliexpressAffiliateHotproductDownloadAPIResponseModel is 联盟营销爆品下载接口 成功返回结果

type AliexpressAffiliateHotproductQueryAPIRequest added in v1.2.0

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

查询联盟爆品数据 API请求 aliexpress.affiliate.hotproduct.query

查询联盟爆品API

func NewAliexpressAffiliateHotproductQueryRequest

func NewAliexpressAffiliateHotproductQueryRequest() *AliexpressAffiliateHotproductQueryAPIRequest

NewAliexpressAffiliateHotproductQueryRequest 初始化AliexpressAffiliateHotproductQueryAPIRequest对象

func (AliexpressAffiliateHotproductQueryAPIRequest) GetApiMethodName added in v1.2.0

GetApiMethodName IRequest interface 方法, 获取Api method

func (AliexpressAffiliateHotproductQueryAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (AliexpressAffiliateHotproductQueryAPIRequest) GetAppSignature added in v1.2.0

Get AppSignature Getter

func (AliexpressAffiliateHotproductQueryAPIRequest) GetCategoryIds added in v1.2.0

Get CategoryIds Getter

func (AliexpressAffiliateHotproductQueryAPIRequest) GetDeliveryDays added in v1.2.0

Get DeliveryDays Getter

func (AliexpressAffiliateHotproductQueryAPIRequest) GetFields added in v1.2.0

Get Fields Getter

func (AliexpressAffiliateHotproductQueryAPIRequest) GetKeywords added in v1.2.0

Get Keywords Getter

func (AliexpressAffiliateHotproductQueryAPIRequest) GetMaxSalePrice added in v1.2.0

Get MaxSalePrice Getter

func (AliexpressAffiliateHotproductQueryAPIRequest) GetMinSalePrice added in v1.2.0

Get MinSalePrice Getter

func (AliexpressAffiliateHotproductQueryAPIRequest) GetPageNo added in v1.2.0

Get PageNo Getter

func (AliexpressAffiliateHotproductQueryAPIRequest) GetPageSize added in v1.2.0

Get PageSize Getter

func (AliexpressAffiliateHotproductQueryAPIRequest) GetPlatformProductType added in v1.2.0

func (r AliexpressAffiliateHotproductQueryAPIRequest) GetPlatformProductType() string

Get PlatformProductType Getter

func (AliexpressAffiliateHotproductQueryAPIRequest) GetShipToCountry added in v1.2.0

Get ShipToCountry Getter

func (AliexpressAffiliateHotproductQueryAPIRequest) GetSort added in v1.2.0

Get Sort Getter

func (AliexpressAffiliateHotproductQueryAPIRequest) GetTargetCurrency added in v1.2.0

Get TargetCurrency Getter

func (AliexpressAffiliateHotproductQueryAPIRequest) GetTargetLanguage added in v1.2.0

Get TargetLanguage Getter

func (AliexpressAffiliateHotproductQueryAPIRequest) GetTrackingId added in v1.2.0

Get TrackingId Getter

func (*AliexpressAffiliateHotproductQueryAPIRequest) SetAppSignature added in v1.2.0

func (r *AliexpressAffiliateHotproductQueryAPIRequest) SetAppSignature(_appSignature string) error

Set is AppSignature Setter 请求签名

func (*AliexpressAffiliateHotproductQueryAPIRequest) SetCategoryIds added in v1.2.0

func (r *AliexpressAffiliateHotproductQueryAPIRequest) SetCategoryIds(_categoryIds string) error

Set is CategoryIds Setter 类目ID列表

func (*AliexpressAffiliateHotproductQueryAPIRequest) SetDeliveryDays added in v1.2.0

func (r *AliexpressAffiliateHotproductQueryAPIRequest) SetDeliveryDays(_deliveryDays string) error

Set is DeliveryDays Setter 物流到达时间。3:3日达,5:5 日达,7:7日达,10:10日达

func (*AliexpressAffiliateHotproductQueryAPIRequest) SetFields added in v1.2.0

Set is Fields Setter 返回字段列表

func (*AliexpressAffiliateHotproductQueryAPIRequest) SetKeywords added in v1.2.0

func (r *AliexpressAffiliateHotproductQueryAPIRequest) SetKeywords(_keywords string) error

Set is Keywords Setter 关键词

func (*AliexpressAffiliateHotproductQueryAPIRequest) SetMaxSalePrice added in v1.2.0

func (r *AliexpressAffiliateHotproductQueryAPIRequest) SetMaxSalePrice(_maxSalePrice int64) error

Set is MaxSalePrice Setter 最大售价

func (*AliexpressAffiliateHotproductQueryAPIRequest) SetMinSalePrice added in v1.2.0

func (r *AliexpressAffiliateHotproductQueryAPIRequest) SetMinSalePrice(_minSalePrice int64) error

Set is MinSalePrice Setter 最小售价

func (*AliexpressAffiliateHotproductQueryAPIRequest) SetPageNo added in v1.2.0

Set is PageNo Setter 请求页数

func (*AliexpressAffiliateHotproductQueryAPIRequest) SetPageSize added in v1.2.0

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

Set is PageSize Setter 每次请求数量

func (*AliexpressAffiliateHotproductQueryAPIRequest) SetPlatformProductType added in v1.2.0

func (r *AliexpressAffiliateHotproductQueryAPIRequest) SetPlatformProductType(_platformProductType string) error

Set is PlatformProductType Setter 平台商家类型:ALL,PLAZA,TMALL

func (*AliexpressAffiliateHotproductQueryAPIRequest) SetShipToCountry added in v1.2.0

func (r *AliexpressAffiliateHotproductQueryAPIRequest) SetShipToCountry(_shipToCountry string) error

Set is ShipToCountry Setter 商品收货国家,根据该国家税率政策返回对应商品价格

func (*AliexpressAffiliateHotproductQueryAPIRequest) SetSort added in v1.2.0

Set is Sort Setter 排序方式:SALE_PRICE_ASC, SALE_PRICE_DESC, DISCOUNT_ASC, DISCOUNT_DESC, LAST_VOLUME_ASC, LAST_VOLUME_DESC

func (*AliexpressAffiliateHotproductQueryAPIRequest) SetTargetCurrency added in v1.2.0

func (r *AliexpressAffiliateHotproductQueryAPIRequest) SetTargetCurrency(_targetCurrency string) error

Set is TargetCurrency Setter 目标币种:USD, GBP, CAD, EUR, UAH, MXN, TRY, RUB, BRL, AUD, INR, JPY, IDR, SEK,KRW

func (*AliexpressAffiliateHotproductQueryAPIRequest) SetTargetLanguage added in v1.2.0

func (r *AliexpressAffiliateHotproductQueryAPIRequest) SetTargetLanguage(_targetLanguage string) error

Set is TargetLanguage Setter 目标语言:EN,RU,PT,ES,FR,ID,IT,TH,JA,AR,VI,TR,DE,HE,KO,NL,PL,MX,CL,IW,IN

func (*AliexpressAffiliateHotproductQueryAPIRequest) SetTrackingId added in v1.2.0

func (r *AliexpressAffiliateHotproductQueryAPIRequest) SetTrackingId(_trackingId string) error

Set is TrackingId Setter trackingId

type AliexpressAffiliateHotproductQueryAPIResponse

type AliexpressAffiliateHotproductQueryAPIResponse struct {
	model.CommonResponse
	AliexpressAffiliateHotproductQueryAPIResponseModel
}
AliexpressAffiliateHotproductQueryAPIResponse

查询联盟爆品数据 API返回值 aliexpress.affiliate.hotproduct.query

查询联盟爆品API

type AliexpressAffiliateHotproductQueryAPIResponseModel added in v1.2.0

type AliexpressAffiliateHotproductQueryAPIResponseModel struct {
	XMLName xml.Name `xml:"aliexpress_affiliate_hotproduct_query_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 返回结果
	RespResult *ResponseDto `json:"resp_result,omitempty" xml:"resp_result,omitempty"`
}

AliexpressAffiliateHotproductQueryAPIResponseModel is 查询联盟爆品数据 成功返回结果

type AliexpressAffiliateImageSearchAPIRequest added in v1.2.0

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

图搜 API请求 aliexpress.affiliate.image.search

图片搜索接口

func NewAliexpressAffiliateImageSearchRequest

func NewAliexpressAffiliateImageSearchRequest() *AliexpressAffiliateImageSearchAPIRequest

NewAliexpressAffiliateImageSearchRequest 初始化AliexpressAffiliateImageSearchAPIRequest对象

func (AliexpressAffiliateImageSearchAPIRequest) GetApiMethodName added in v1.2.0

func (r AliexpressAffiliateImageSearchAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (AliexpressAffiliateImageSearchAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (AliexpressAffiliateImageSearchAPIRequest) GetAppSignature added in v1.2.0

Get AppSignature Getter

func (AliexpressAffiliateImageSearchAPIRequest) GetFields added in v1.2.0

Get Fields Getter

func (AliexpressAffiliateImageSearchAPIRequest) GetImageFileBytes added in v1.2.0

func (r AliexpressAffiliateImageSearchAPIRequest) GetImageFileBytes() *model.File

Get ImageFileBytes Getter

func (AliexpressAffiliateImageSearchAPIRequest) GetImgCid added in v1.2.0

Get ImgCid Getter

func (AliexpressAffiliateImageSearchAPIRequest) GetMediaUserId added in v1.2.0

Get MediaUserId Getter

func (AliexpressAffiliateImageSearchAPIRequest) GetProductCnt added in v1.2.0

Get ProductCnt Getter

func (AliexpressAffiliateImageSearchAPIRequest) GetShptTo added in v1.2.0

Get ShptTo Getter

func (AliexpressAffiliateImageSearchAPIRequest) GetSort added in v1.2.0

Get Sort Getter

func (AliexpressAffiliateImageSearchAPIRequest) GetTargetCurrency added in v1.2.0

func (r AliexpressAffiliateImageSearchAPIRequest) GetTargetCurrency() string

Get TargetCurrency Getter

func (AliexpressAffiliateImageSearchAPIRequest) GetTargetLanguage added in v1.2.0

func (r AliexpressAffiliateImageSearchAPIRequest) GetTargetLanguage() string

Get TargetLanguage Getter

func (AliexpressAffiliateImageSearchAPIRequest) GetTrackingId added in v1.2.0

Get TrackingId Getter

func (*AliexpressAffiliateImageSearchAPIRequest) SetAppSignature added in v1.2.0

func (r *AliexpressAffiliateImageSearchAPIRequest) SetAppSignature(_appSignature string) error

Set is AppSignature Setter API signature

func (*AliexpressAffiliateImageSearchAPIRequest) SetFields added in v1.2.0

Set is Fields Setter 请求字段

func (*AliexpressAffiliateImageSearchAPIRequest) SetImageFileBytes added in v1.2.0

func (r *AliexpressAffiliateImageSearchAPIRequest) SetImageFileBytes(_imageFileBytes *model.File) error

Set is ImageFileBytes Setter 图片文件字节数组,最大不超过 100 KB

func (*AliexpressAffiliateImageSearchAPIRequest) SetImgCid added in v1.2.0

Set is ImgCid Setter 图片类目倾向,不填则为最佳匹配。0 - 服装;3 - 包;4 - 鞋子;88888888 - 其他类目

func (*AliexpressAffiliateImageSearchAPIRequest) SetMediaUserId added in v1.2.0

func (r *AliexpressAffiliateImageSearchAPIRequest) SetMediaUserId(_mediaUserId string) error

Set is MediaUserId Setter 媒体用户唯一识别号

func (*AliexpressAffiliateImageSearchAPIRequest) SetProductCnt added in v1.2.0

func (r *AliexpressAffiliateImageSearchAPIRequest) SetProductCnt(_productCnt int64) error

Set is ProductCnt Setter 搜索结果数量,最高 50

func (*AliexpressAffiliateImageSearchAPIRequest) SetShptTo added in v1.2.0

Set is ShptTo Setter ship-to 国家

func (*AliexpressAffiliateImageSearchAPIRequest) SetSort added in v1.2.0

Set is Sort Setter 排序方式:SALE_PRICE_ASC, SALE_PRICE_DESC,LAST_VOLUME_ASC, LAST_VOLUME_DESC

func (*AliexpressAffiliateImageSearchAPIRequest) SetTargetCurrency added in v1.2.0

func (r *AliexpressAffiliateImageSearchAPIRequest) SetTargetCurrency(_targetCurrency string) error

Set is TargetCurrency Setter 目标币种:USD, GBP, CAD, EUR, UAH, MXN,TRY, RUB, BRL, AUD, INR, JPY, IDR, SEK,KRW

func (*AliexpressAffiliateImageSearchAPIRequest) SetTargetLanguage added in v1.2.0

func (r *AliexpressAffiliateImageSearchAPIRequest) SetTargetLanguage(_targetLanguage string) error

Set is TargetLanguage Setter 目标语言:en,ru,pt,es,fr,id,it,th,ja,ar,vi,tr,de,he,ko,nl,pl,mx,cl,iw,in

func (*AliexpressAffiliateImageSearchAPIRequest) SetTrackingId added in v1.2.0

func (r *AliexpressAffiliateImageSearchAPIRequest) SetTrackingId(_trackingId string) error

Set is TrackingId Setter 媒体 trackingid

type AliexpressAffiliateImageSearchAPIResponse

type AliexpressAffiliateImageSearchAPIResponse struct {
	model.CommonResponse
	AliexpressAffiliateImageSearchAPIResponseModel
}
AliexpressAffiliateImageSearchAPIResponse

图搜 API返回值 aliexpress.affiliate.image.search

图片搜索接口

type AliexpressAffiliateImageSearchAPIResponseModel added in v1.2.0

type AliexpressAffiliateImageSearchAPIResponseModel struct {
	XMLName xml.Name `xml:"aliexpress_affiliate_image_search_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 默认描述
	Result *AliexpressAffiliateImageSearchResponse `json:"result,omitempty" xml:"result,omitempty"`
}

AliexpressAffiliateImageSearchAPIResponseModel is 图搜 成功返回结果

type AliexpressAffiliateImageSearchResponse

type AliexpressAffiliateImageSearchResponse struct {
	// 返回结果状态码
	Code string `json:"code,omitempty" xml:"code,omitempty"`
	// 图搜结果
	Data *TrafficImageSearchResultDto `json:"data,omitempty" xml:"data,omitempty"`
	// 默认描述
	Message string `json:"message,omitempty" xml:"message,omitempty"`
	// 是否成功
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
}

AliexpressAffiliateImageSearchResponse 结构体

type AliexpressAffiliateProductQueryAPIRequest added in v1.2.0

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

联盟推广商品获取接口 API请求 aliexpress.affiliate.product.query

联盟推广商品搜索接口,用于搜索联盟推广商品数据

func NewAliexpressAffiliateProductQueryRequest

func NewAliexpressAffiliateProductQueryRequest() *AliexpressAffiliateProductQueryAPIRequest

NewAliexpressAffiliateProductQueryRequest 初始化AliexpressAffiliateProductQueryAPIRequest对象

func (AliexpressAffiliateProductQueryAPIRequest) GetApiMethodName added in v1.2.0

GetApiMethodName IRequest interface 方法, 获取Api method

func (AliexpressAffiliateProductQueryAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (AliexpressAffiliateProductQueryAPIRequest) GetAppSignature added in v1.2.0

Get AppSignature Getter

func (AliexpressAffiliateProductQueryAPIRequest) GetCategoryIds added in v1.2.0

Get CategoryIds Getter

func (AliexpressAffiliateProductQueryAPIRequest) GetDeliveryDays added in v1.2.0

Get DeliveryDays Getter

func (AliexpressAffiliateProductQueryAPIRequest) GetFields added in v1.2.0

Get Fields Getter

func (AliexpressAffiliateProductQueryAPIRequest) GetKeywords added in v1.2.0

Get Keywords Getter

func (AliexpressAffiliateProductQueryAPIRequest) GetMaxSalePrice added in v1.2.0

Get MaxSalePrice Getter

func (AliexpressAffiliateProductQueryAPIRequest) GetMinSalePrice added in v1.2.0

Get MinSalePrice Getter

func (AliexpressAffiliateProductQueryAPIRequest) GetPageNo added in v1.2.0

Get PageNo Getter

func (AliexpressAffiliateProductQueryAPIRequest) GetPageSize added in v1.2.0

Get PageSize Getter

func (AliexpressAffiliateProductQueryAPIRequest) GetPlatformProductType added in v1.2.0

func (r AliexpressAffiliateProductQueryAPIRequest) GetPlatformProductType() string

Get PlatformProductType Getter

func (AliexpressAffiliateProductQueryAPIRequest) GetShipToCountry added in v1.2.0

Get ShipToCountry Getter

func (AliexpressAffiliateProductQueryAPIRequest) GetSort added in v1.2.0

Get Sort Getter

func (AliexpressAffiliateProductQueryAPIRequest) GetTargetCurrency added in v1.2.0

func (r AliexpressAffiliateProductQueryAPIRequest) GetTargetCurrency() string

Get TargetCurrency Getter

func (AliexpressAffiliateProductQueryAPIRequest) GetTargetLanguage added in v1.2.0

func (r AliexpressAffiliateProductQueryAPIRequest) GetTargetLanguage() string

Get TargetLanguage Getter

func (AliexpressAffiliateProductQueryAPIRequest) GetTrackingId added in v1.2.0

Get TrackingId Getter

func (*AliexpressAffiliateProductQueryAPIRequest) SetAppSignature added in v1.2.0

func (r *AliexpressAffiliateProductQueryAPIRequest) SetAppSignature(_appSignature string) error

Set is AppSignature Setter 安全签名

func (*AliexpressAffiliateProductQueryAPIRequest) SetCategoryIds added in v1.2.0

func (r *AliexpressAffiliateProductQueryAPIRequest) SetCategoryIds(_categoryIds string) error

Set is CategoryIds Setter 类目ID列表

func (*AliexpressAffiliateProductQueryAPIRequest) SetDeliveryDays added in v1.2.0

func (r *AliexpressAffiliateProductQueryAPIRequest) SetDeliveryDays(_deliveryDays string) error

Set is DeliveryDays Setter 物流到达时间。3:3日达,5:5 日达,7:7日达,10:10日达

func (*AliexpressAffiliateProductQueryAPIRequest) SetFields added in v1.2.0

Set is Fields Setter 返回字段列表

func (*AliexpressAffiliateProductQueryAPIRequest) SetKeywords added in v1.2.0

func (r *AliexpressAffiliateProductQueryAPIRequest) SetKeywords(_keywords string) error

Set is Keywords Setter 关键词

func (*AliexpressAffiliateProductQueryAPIRequest) SetMaxSalePrice added in v1.2.0

func (r *AliexpressAffiliateProductQueryAPIRequest) SetMaxSalePrice(_maxSalePrice int64) error

Set is MaxSalePrice Setter 最大售价

func (*AliexpressAffiliateProductQueryAPIRequest) SetMinSalePrice added in v1.2.0

func (r *AliexpressAffiliateProductQueryAPIRequest) SetMinSalePrice(_minSalePrice int64) error

Set is MinSalePrice Setter 最小售价

func (*AliexpressAffiliateProductQueryAPIRequest) SetPageNo added in v1.2.0

Set is PageNo Setter 查询页码

func (*AliexpressAffiliateProductQueryAPIRequest) SetPageSize added in v1.2.0

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

Set is PageSize Setter 每页记录数

func (*AliexpressAffiliateProductQueryAPIRequest) SetPlatformProductType added in v1.2.0

func (r *AliexpressAffiliateProductQueryAPIRequest) SetPlatformProductType(_platformProductType string) error

Set is PlatformProductType Setter 平台商品类型:ALL,PLAZA,TMALL

func (*AliexpressAffiliateProductQueryAPIRequest) SetShipToCountry added in v1.2.0

func (r *AliexpressAffiliateProductQueryAPIRequest) SetShipToCountry(_shipToCountry string) error

Set is ShipToCountry Setter 商品收货国家,根据该国家税率政策返回对应商品价格

func (*AliexpressAffiliateProductQueryAPIRequest) SetSort added in v1.2.0

Set is Sort Setter 排序方式:SALE_PRICE_ASC, SALE_PRICE_DESC, LAST_VOLUME_ASC, LAST_VOLUME_DESC

func (*AliexpressAffiliateProductQueryAPIRequest) SetTargetCurrency added in v1.2.0

func (r *AliexpressAffiliateProductQueryAPIRequest) SetTargetCurrency(_targetCurrency string) error

Set is TargetCurrency Setter 目标币种:USD, GBP, CAD, EUR, UAH, MXN, TRY, RUB, BRL, AUD, INR, JPY, IDR, SEK,KRW

func (*AliexpressAffiliateProductQueryAPIRequest) SetTargetLanguage added in v1.2.0

func (r *AliexpressAffiliateProductQueryAPIRequest) SetTargetLanguage(_targetLanguage string) error

Set is TargetLanguage Setter 目标语言:EN,RU,PT,ES,FR,ID,IT,TH,JA,AR,VI,TR,DE,HE,KO,NL,PL,MX,CL,IW,IN

func (*AliexpressAffiliateProductQueryAPIRequest) SetTrackingId added in v1.2.0

func (r *AliexpressAffiliateProductQueryAPIRequest) SetTrackingId(_trackingId string) error

Set is TrackingId Setter trackingId

type AliexpressAffiliateProductQueryAPIResponse

type AliexpressAffiliateProductQueryAPIResponse struct {
	model.CommonResponse
	AliexpressAffiliateProductQueryAPIResponseModel
}
AliexpressAffiliateProductQueryAPIResponse

联盟推广商品获取接口 API返回值 aliexpress.affiliate.product.query

联盟推广商品搜索接口,用于搜索联盟推广商品数据

type AliexpressAffiliateProductQueryAPIResponseModel added in v1.2.0

type AliexpressAffiliateProductQueryAPIResponseModel struct {
	XMLName xml.Name `xml:"aliexpress_affiliate_product_query_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 返回结果
	RespResult *ResponseDto `json:"resp_result,omitempty" xml:"resp_result,omitempty"`
}

AliexpressAffiliateProductQueryAPIResponseModel is 联盟推广商品获取接口 成功返回结果

type AliexpressAffiliateProductSmartmatchAPIRequest added in v1.2.0

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

联盟物料智能推荐api API请求 aliexpress.affiliate.product.smartmatch

联盟物料算法智能推荐

func NewAliexpressAffiliateProductSmartmatchRequest

func NewAliexpressAffiliateProductSmartmatchRequest() *AliexpressAffiliateProductSmartmatchAPIRequest

NewAliexpressAffiliateProductSmartmatchRequest 初始化AliexpressAffiliateProductSmartmatchAPIRequest对象

func (AliexpressAffiliateProductSmartmatchAPIRequest) GetApiMethodName added in v1.2.0

GetApiMethodName IRequest interface 方法, 获取Api method

func (AliexpressAffiliateProductSmartmatchAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (AliexpressAffiliateProductSmartmatchAPIRequest) GetApp added in v1.2.0

Get App Getter

func (AliexpressAffiliateProductSmartmatchAPIRequest) GetAppSignature added in v1.2.0

Get AppSignature Getter

func (AliexpressAffiliateProductSmartmatchAPIRequest) GetCountry added in v1.2.0

Get Country Getter

func (AliexpressAffiliateProductSmartmatchAPIRequest) GetDevice added in v1.2.0

Get Device Getter

func (AliexpressAffiliateProductSmartmatchAPIRequest) GetDeviceId added in v1.2.0

Get DeviceId Getter

func (AliexpressAffiliateProductSmartmatchAPIRequest) GetFields added in v1.2.0

Get Fields Getter

func (AliexpressAffiliateProductSmartmatchAPIRequest) GetKeywords added in v1.2.0

Get Keywords Getter

func (AliexpressAffiliateProductSmartmatchAPIRequest) GetPageNo added in v1.2.0

Get PageNo Getter

func (AliexpressAffiliateProductSmartmatchAPIRequest) GetProductId added in v1.2.0

Get ProductId Getter

func (AliexpressAffiliateProductSmartmatchAPIRequest) GetSite added in v1.2.0

Get Site Getter

func (AliexpressAffiliateProductSmartmatchAPIRequest) GetTargetCurrency added in v1.2.0

Get TargetCurrency Getter

func (AliexpressAffiliateProductSmartmatchAPIRequest) GetTargetLanguage added in v1.2.0

Get TargetLanguage Getter

func (AliexpressAffiliateProductSmartmatchAPIRequest) GetTrackingId added in v1.2.0

Get TrackingId Getter

func (AliexpressAffiliateProductSmartmatchAPIRequest) GetUser added in v1.2.0

Get User Getter

func (*AliexpressAffiliateProductSmartmatchAPIRequest) SetApp added in v1.2.0

Set is App Setter 接入APP信息

func (*AliexpressAffiliateProductSmartmatchAPIRequest) SetAppSignature added in v1.2.0

func (r *AliexpressAffiliateProductSmartmatchAPIRequest) SetAppSignature(_appSignature string) error

Set is AppSignature Setter 请求签名

func (*AliexpressAffiliateProductSmartmatchAPIRequest) SetCountry added in v1.2.0

Set is Country Setter 商品收货国家,可筛选能销售至该国家的商品,并根据该国家税率政策返回对应商品价格

func (*AliexpressAffiliateProductSmartmatchAPIRequest) SetDevice added in v1.2.0

Set is Device Setter 设备信息

func (*AliexpressAffiliateProductSmartmatchAPIRequest) SetDeviceId added in v1.2.0

Set is DeviceId Setter adid或者idfa

func (*AliexpressAffiliateProductSmartmatchAPIRequest) SetFields added in v1.2.0

Set is Fields Setter 返回字段列表

func (*AliexpressAffiliateProductSmartmatchAPIRequest) SetKeywords added in v1.2.0

Set is Keywords Setter 关键词

func (*AliexpressAffiliateProductSmartmatchAPIRequest) SetPageNo added in v1.2.0

Set is PageNo Setter 请求页数

func (*AliexpressAffiliateProductSmartmatchAPIRequest) SetProductId added in v1.2.0

func (r *AliexpressAffiliateProductSmartmatchAPIRequest) SetProductId(_productId string) error

Set is ProductId Setter 商品ID

func (*AliexpressAffiliateProductSmartmatchAPIRequest) SetSite added in v1.2.0

Set is Site Setter 站点信息

func (*AliexpressAffiliateProductSmartmatchAPIRequest) SetTargetCurrency added in v1.2.0

func (r *AliexpressAffiliateProductSmartmatchAPIRequest) SetTargetCurrency(_targetCurrency string) error

Set is TargetCurrency Setter 目标币种:USD, GBP, CAD, EUR, UAH, MXN, TRY, RUB, BRL, AUD, INR, JPY, IDR, SEK,KRW

func (*AliexpressAffiliateProductSmartmatchAPIRequest) SetTargetLanguage added in v1.2.0

func (r *AliexpressAffiliateProductSmartmatchAPIRequest) SetTargetLanguage(_targetLanguage string) error

Set is TargetLanguage Setter 目标语言:EN,RU,PT,ES,FR,ID,IT,TH,JA,AR,VI,TR,DE,HE,KO,NL,PL,MX,CL,IW,IN

func (*AliexpressAffiliateProductSmartmatchAPIRequest) SetTrackingId added in v1.2.0

func (r *AliexpressAffiliateProductSmartmatchAPIRequest) SetTrackingId(_trackingId string) error

Set is TrackingId Setter trackingId

func (*AliexpressAffiliateProductSmartmatchAPIRequest) SetUser added in v1.2.0

Set is User Setter 用户信息

type AliexpressAffiliateProductSmartmatchAPIResponse

type AliexpressAffiliateProductSmartmatchAPIResponse struct {
	model.CommonResponse
	AliexpressAffiliateProductSmartmatchAPIResponseModel
}
AliexpressAffiliateProductSmartmatchAPIResponse

联盟物料智能推荐api API返回值 aliexpress.affiliate.product.smartmatch

联盟物料算法智能推荐

type AliexpressAffiliateProductSmartmatchAPIResponseModel added in v1.2.0

type AliexpressAffiliateProductSmartmatchAPIResponseModel struct {
	XMLName xml.Name `xml:"aliexpress_affiliate_product_smartmatch_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 返回结果
	RespResult *ResponseDto `json:"resp_result,omitempty" xml:"resp_result,omitempty"`
}

AliexpressAffiliateProductSmartmatchAPIResponseModel is 联盟物料智能推荐api 成功返回结果

type AliexpressAffiliateProductdetailGetAPIRequest added in v1.2.0

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

联盟商品详情获取接口 API请求 aliexpress.affiliate.productdetail.get

联盟推广商品搜索接口,用于搜索联盟推广商品数据

func NewAliexpressAffiliateProductdetailGetRequest

func NewAliexpressAffiliateProductdetailGetRequest() *AliexpressAffiliateProductdetailGetAPIRequest

NewAliexpressAffiliateProductdetailGetRequest 初始化AliexpressAffiliateProductdetailGetAPIRequest对象

func (AliexpressAffiliateProductdetailGetAPIRequest) GetApiMethodName added in v1.2.0

GetApiMethodName IRequest interface 方法, 获取Api method

func (AliexpressAffiliateProductdetailGetAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (AliexpressAffiliateProductdetailGetAPIRequest) GetAppSignature added in v1.2.0

Get AppSignature Getter

func (AliexpressAffiliateProductdetailGetAPIRequest) GetCountry added in v1.2.0

Get Country Getter

func (AliexpressAffiliateProductdetailGetAPIRequest) GetFields added in v1.2.0

Get Fields Getter

func (AliexpressAffiliateProductdetailGetAPIRequest) GetProductIds added in v1.2.0

Get ProductIds Getter

func (AliexpressAffiliateProductdetailGetAPIRequest) GetTargetCurrency added in v1.2.0

Get TargetCurrency Getter

func (AliexpressAffiliateProductdetailGetAPIRequest) GetTargetLanguage added in v1.2.0

Get TargetLanguage Getter

func (AliexpressAffiliateProductdetailGetAPIRequest) GetTrackingId added in v1.2.0

Get TrackingId Getter

func (*AliexpressAffiliateProductdetailGetAPIRequest) SetAppSignature added in v1.2.0

func (r *AliexpressAffiliateProductdetailGetAPIRequest) SetAppSignature(_appSignature string) error

Set is AppSignature Setter 安全签名

func (*AliexpressAffiliateProductdetailGetAPIRequest) SetCountry added in v1.2.0

Set is Country Setter 商品收货国家,可筛选能销售至该国家的商品,并根据该国家税率政策返回对应商品价格

func (*AliexpressAffiliateProductdetailGetAPIRequest) SetFields added in v1.2.0

Set is Fields Setter commission_rate,sale_price

func (*AliexpressAffiliateProductdetailGetAPIRequest) SetProductIds added in v1.2.0

func (r *AliexpressAffiliateProductdetailGetAPIRequest) SetProductIds(_productIds string) error

Set is ProductIds Setter 商品ID列表

func (*AliexpressAffiliateProductdetailGetAPIRequest) SetTargetCurrency added in v1.2.0

func (r *AliexpressAffiliateProductdetailGetAPIRequest) SetTargetCurrency(_targetCurrency string) error

Set is TargetCurrency Setter 目标币种:USD, GBP, CAD, EUR, UAH, MXN, TRY, RUB, BRL, AUD, INR, JPY, IDR, SEK,KRW

func (*AliexpressAffiliateProductdetailGetAPIRequest) SetTargetLanguage added in v1.2.0

func (r *AliexpressAffiliateProductdetailGetAPIRequest) SetTargetLanguage(_targetLanguage string) error

Set is TargetLanguage Setter 目标语言:EN,RU,PT,ES,FR,ID,IT,TH,JA,AR,VI,TR,DE,HE,KO,NL,PL,MX,CL,IW,IN

func (*AliexpressAffiliateProductdetailGetAPIRequest) SetTrackingId added in v1.2.0

func (r *AliexpressAffiliateProductdetailGetAPIRequest) SetTrackingId(_trackingId string) error

Set is TrackingId Setter trackingId

type AliexpressAffiliateProductdetailGetAPIResponse

type AliexpressAffiliateProductdetailGetAPIResponse struct {
	model.CommonResponse
	AliexpressAffiliateProductdetailGetAPIResponseModel
}
AliexpressAffiliateProductdetailGetAPIResponse

联盟商品详情获取接口 API返回值 aliexpress.affiliate.productdetail.get

联盟推广商品搜索接口,用于搜索联盟推广商品数据

type AliexpressAffiliateProductdetailGetAPIResponseModel added in v1.2.0

type AliexpressAffiliateProductdetailGetAPIResponseModel struct {
	XMLName xml.Name `xml:"aliexpress_affiliate_productdetail_get_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 返回结果
	RespResult *ResponseDto `json:"resp_result,omitempty" xml:"resp_result,omitempty"`
}

AliexpressAffiliateProductdetailGetAPIResponseModel is 联盟商品详情获取接口 成功返回结果

type Category

type Category struct {
	// 类目ID
	CategoryId int64 `json:"category_id,omitempty" xml:"category_id,omitempty"`
	// 类目名称
	CategoryName string `json:"category_name,omitempty" xml:"category_name,omitempty"`
	// 父类目ID
	ParentCategoryId int64 `json:"parent_category_id,omitempty" xml:"parent_category_id,omitempty"`
}

Category 结构体

type Product

type Product struct {
	// app专享售价
	AppSalePrice string `json:"app_sale_price,omitempty" xml:"app_sale_price,omitempty"`
	// 佣金率
	CommissionRate string `json:"commission_rate,omitempty" xml:"commission_rate,omitempty"`
	// 折扣比例
	Discount string `json:"discount,omitempty" xml:"discount,omitempty"`
	// 一级类目ID
	FirstLevelCategoryId int64 `json:"first_level_category_id,omitempty" xml:"first_level_category_id,omitempty"`
	// 一级类目名称
	FirstLevelCategoryName string `json:"first_level_category_name,omitempty" xml:"first_level_category_name,omitempty"`
	// 商品原始报价
	OriginalPrice string `json:"original_price,omitempty" xml:"original_price,omitempty"`
	// 商品访问地址
	ProductDetailUrl string `json:"product_detail_url,omitempty" xml:"product_detail_url,omitempty"`
	// 商品ID
	ProductId int64 `json:"product_id,omitempty" xml:"product_id,omitempty"`
	// 商品主图地址
	ProductMainImageUrl string `json:"product_main_image_url,omitempty" xml:"product_main_image_url,omitempty"`
	// 商品小图地址列表
	ProductSmallImageUrls []string `json:"product_small_image_urls,omitempty" xml:"product_small_image_urls>string,omitempty"`
	// 商品标题
	ProductTitle string `json:"product_title,omitempty" xml:"product_title,omitempty"`
	// 商品视频地址
	ProductVideoUrl string `json:"product_video_url,omitempty" xml:"product_video_url,omitempty"`
	// 推广链接
	PromotionLink string `json:"promotion_link,omitempty" xml:"promotion_link,omitempty"`
	// 商品售价
	SalePrice string `json:"sale_price,omitempty" xml:"sale_price,omitempty"`
	// 商品二级类目ID
	SecondLevelCategoryId int64 `json:"second_level_category_id,omitempty" xml:"second_level_category_id,omitempty"`
	// 商品二级类目名称
	SecondLevelCategoryName string `json:"second_level_category_name,omitempty" xml:"second_level_category_name,omitempty"`
	// 店铺ID
	ShopId int64 `json:"shop_id,omitempty" xml:"shop_id,omitempty"`
	// 店铺地址
	ShopUrl string `json:"shop_url,omitempty" xml:"shop_url,omitempty"`
	// 按目标币种转换后的APP专享价
	TargetAppSalePrice string `json:"target_app_sale_price,omitempty" xml:"target_app_sale_price,omitempty"`
	// 按目标币种转换后的原始价格
	TargetOriginalPrice string `json:"target_original_price,omitempty" xml:"target_original_price,omitempty"`
	// 按目标币种转换后的通用售价币种
	TargetSalePrice string `json:"target_sale_price,omitempty" xml:"target_sale_price,omitempty"`
	// 最近销量
	LastestVolume int64 `json:"lastest_volume,omitempty" xml:"lastest_volume,omitempty"`
	// 爆品佣金率
	HotProductCommissionRate string `json:"hot_product_commission_rate,omitempty" xml:"hot_product_commission_rate,omitempty"`
	// 平台商品类型:ALL,PLAZA,TMALL
	PlatformProductType string `json:"platform_product_type,omitempty" xml:"platform_product_type,omitempty"`
	// 好评率
	EvaluateRate string `json:"evaluate_rate,omitempty" xml:"evaluate_rate,omitempty"`
	// app专享售价币种
	AppSalePriceCurrency string `json:"app_sale_price_currency,omitempty" xml:"app_sale_price_currency,omitempty"`
	// 原始售价币种
	OriginalPriceCurrency string `json:"original_price_currency,omitempty" xml:"original_price_currency,omitempty"`
	// 按目标币种转换后的原始价格币种
	TargetOriginalPriceCurrency string `json:"target_original_price_currency,omitempty" xml:"target_original_price_currency,omitempty"`
	// 按目标币种转换后的售价
	TargetSalePriceCurrency string `json:"target_sale_price_currency,omitempty" xml:"target_sale_price_currency,omitempty"`
	// 按目标币种转换后的APP专享价币种
	TargetAppSalePriceCurrency string `json:"target_app_sale_price_currency,omitempty" xml:"target_app_sale_price_currency,omitempty"`
	// 商品售价币种
	SalePriceCurrency string `json:"sale_price_currency,omitempty" xml:"sale_price_currency,omitempty"`
	// JV佣金率
	RelevantMarketCommissionRate string `json:"relevant_market_commission_rate,omitempty" xml:"relevant_market_commission_rate,omitempty"`
	// code信息
	PromoCodeInfo *PromoCodeDto `json:"promo_code_info,omitempty" xml:"promo_code_info,omitempty"`
	// 可达国家与到达时间
	ShipToDays string `json:"ship_to_days,omitempty" xml:"ship_to_days,omitempty"`
	// 佣金率
	CommisionRate string `json:"commision_rate,omitempty" xml:"commision_rate,omitempty"`
}

Product 结构体

type ProductImgRegionDto

type ProductImgRegionDto struct {
	// 图片识别的坐标 pos_top_left_x
	PosTopLeftX string `json:"pos_top_left_x,omitempty" xml:"pos_top_left_x,omitempty"`
	// 图片识别的坐标 pos_top_left_y
	PosTopLeftY string `json:"pos_top_left_y,omitempty" xml:"pos_top_left_y,omitempty"`
	// 图片识别的坐标 pos_bottom_right_x
	PosBottomRightX string `json:"pos_bottom_right_x,omitempty" xml:"pos_bottom_right_x,omitempty"`
	// 图片识别的坐标 pos_bottom_right_y
	PosBottomRightY string `json:"pos_bottom_right_y,omitempty" xml:"pos_bottom_right_y,omitempty"`
}

ProductImgRegionDto 结构体

type Promo

type Promo struct {
	// 主题活动的商品数量
	ProductNum int64 `json:"product_num,omitempty" xml:"product_num,omitempty"`
	// 主题活动描述
	PromoDesc string `json:"promo_desc,omitempty" xml:"promo_desc,omitempty"`
	// 主题活动名称
	PromoName string `json:"promo_name,omitempty" xml:"promo_name,omitempty"`
}

Promo 结构体

type PromoCodeDto

type PromoCodeDto struct {
	// 专属绑定PID的code码
	PromoCode string `json:"promo_code,omitempty" xml:"promo_code,omitempty"`
	// 优惠方式 1 满减,2 满折
	CodeCampaigntype string `json:"code_campaigntype,omitempty" xml:"code_campaigntype,omitempty"`
	// 面额
	CodeValue string `json:"code_value,omitempty" xml:"code_value,omitempty"`
	// code使用有效期的开始时间
	CodeAvailabletimeStart string `json:"code_availabletime_start,omitempty" xml:"code_availabletime_start,omitempty"`
	// code使用有效期的结束时间
	CodeAvailabletimeEnd string `json:"code_availabletime_end,omitempty" xml:"code_availabletime_end,omitempty"`
	// 最低使用门槛
	CodeMiniSpend string `json:"code_mini_spend,omitempty" xml:"code_mini_spend,omitempty"`
	// code剩余可使用的数量
	CodeQuantity string `json:"code_quantity,omitempty" xml:"code_quantity,omitempty"`
	// 品code合一url
	CodePromotionurl string `json:"code_promotionurl,omitempty" xml:"code_promotionurl,omitempty"`
}

PromoCodeDto 结构体

type ResponseDto

type ResponseDto struct {
	// 返回结果状态码
	RespCode int64 `json:"resp_code,omitempty" xml:"resp_code,omitempty"`
	// 返回结果状态描述
	RespMsg string `json:"resp_msg,omitempty" xml:"resp_msg,omitempty"`
	// 返回结果明细
	Result *TrafficFeaturedPromoResultDto `json:"result,omitempty" xml:"result,omitempty"`
}

ResponseDto 结构体

type ResponseResult

type ResponseResult struct {
	// 返回状态码
	RespCode int64 `json:"resp_code,omitempty" xml:"resp_code,omitempty"`
	// 返回状态描述
	RespMsg string `json:"resp_msg,omitempty" xml:"resp_msg,omitempty"`
	// 返回记录结果列表
	Result *AliexpressAffiliateCategoryGetResult `json:"result,omitempty" xml:"result,omitempty"`
}

ResponseResult 结构体

type TrafficFeaturedPromoResultDto

type TrafficFeaturedPromoResultDto struct {
	// 当前返回数量
	CurrentRecordCount int64 `json:"current_record_count,omitempty" xml:"current_record_count,omitempty"`
	// 返回主题活动列表
	Promos []Promo `json:"promos,omitempty" xml:"promos>promo,omitempty"`
}

TrafficFeaturedPromoResultDto 结构体

type TrafficImageSearchResultDto

type TrafficImageSearchResultDto struct {
	// 图搜结果
	Products []Product `json:"products,omitempty" xml:"products>product,omitempty"`
	// 总数
	TotalRecordCount int64 `json:"total_record_count,omitempty" xml:"total_record_count,omitempty"`
	// 图片识别的坐标
	Region *ProductImgRegionDto `json:"region,omitempty" xml:"region,omitempty"`
}

TrafficImageSearchResultDto 结构体

type TrafficProductResultDto

type TrafficProductResultDto struct {
	// 当前返回页数
	CurrentPageNo int64 `json:"current_page_no,omitempty" xml:"current_page_no,omitempty"`
	// 当前返回数量
	CurrentRecordCount int64 `json:"current_record_count,omitempty" xml:"current_record_count,omitempty"`
	// 返回商品列表
	Products []Product `json:"products,omitempty" xml:"products>product,omitempty"`
	// 总计页数
	TotalPageNo int64 `json:"total_page_no,omitempty" xml:"total_page_no,omitempty"`
	// 总计数量
	TotalRecordCount int64 `json:"total_record_count,omitempty" xml:"total_record_count,omitempty"`
	// 数据是否拉取完成
	IsFinished bool `json:"is_finished,omitempty" xml:"is_finished,omitempty"`
}

TrafficProductResultDto 结构体

Jump to

Keyboard shortcuts

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