aedropshiper

package
v1.1.4 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AeopAeMultimedia

type AeopAeMultimedia struct {
	// 多媒体信息。
	AeopAEVideos []AeopAeVideo `json:"aeop_a_e_videos,omitempty" xml:"aeop_a_e_videos>aeop_ae_video,omitempty"`
}

AeopAeMultimedia

type AeopAeProductProperty

type AeopAeProductProperty struct {
	// 属性单位
	AttrValueUnit string `json:"attr_value_unit,omitempty" xml:"attr_value_unit,omitempty"`
	// 区间属性开始值
	AttrValueStart string `json:"attr_value_start,omitempty" xml:"attr_value_start,omitempty"`
	// 属性值ID
	AttrValueId int64 `json:"attr_value_id,omitempty" xml:"attr_value_id,omitempty"`
	// 区间属性结束值
	AttrValueEnd string `json:"attr_value_end,omitempty" xml:"attr_value_end,omitempty"`
	// 属性值
	AttrValue string `json:"attr_value,omitempty" xml:"attr_value,omitempty"`
	// 属性Id
	AttrNameId int64 `json:"attr_name_id,omitempty" xml:"attr_name_id,omitempty"`
	// 属性名字
	AttrName string `json:"attr_name,omitempty" xml:"attr_name,omitempty"`
}

AeopAeProductProperty

type AeopAeProductSku

type AeopAeProductSku struct {
	// SKU属性对象列表
	AeopSKUPropertyList []AeopSkuProperty `json:"aeop_s_k_u_property_list,omitempty" xml:"aeop_s_k_u_property_list>aeop_sku_property,omitempty"`
	// sku库存
	SKUAvailableStock int64 `json:"s_k_u_available_stock,omitempty" xml:"s_k_u_available_stock,omitempty"`
	// Sku库存,数据格式有货true,无货false;至少有一条sku记录是有货的。
	SkuStock bool `json:"sku_stock,omitempty" xml:"sku_stock,omitempty"`
	// Sku价格。取值范围:0.01-100000;单位:美元。 如:200.07,表示:200美元7分。需要在正确的价格区间内。
	SkuPrice string `json:"sku_price,omitempty" xml:"sku_price,omitempty"`
	// SKU实际可售库存属性ipmSkuStock,该属性值的合理取值范围为0~999999,如该商品有SKU时,请确保至少有一个SKU是有货状态,也就是ipmSkuStock取值是1~999999,在整个商品纬度库存值的取值范围是1~999999。 如果同时设置了skuStock属性,那么系统以ipmSkuStock属性为优先;如果没有设置ipmSkuStock属性,那么系统会根据skuStock属性进行设置库存,true表示999,false表示0。
	IpmSkuStock int64 `json:"ipm_sku_stock,omitempty" xml:"ipm_sku_stock,omitempty"`
	// SKU ID
	Id string `json:"id,omitempty" xml:"id,omitempty"`
	// 产品的货币单位。美元: USD, 卢布: RUB
	CurrencyCode string `json:"currency_code,omitempty" xml:"currency_code,omitempty"`
	// sku折扣价格
	OfferSalePrice string `json:"offer_sale_price,omitempty" xml:"offer_sale_price,omitempty"`
	// sku批量折扣价
	OfferBulkSalePrice string `json:"offer_bulk_sale_price,omitempty" xml:"offer_bulk_sale_price,omitempty"`
	// 最少起批的数量
	SkuBulkOrder int64 `json:"sku_bulk_order,omitempty" xml:"sku_bulk_order,omitempty"`
	// Sku商家编码。 格式:半角英数字,长度20,不包含空格大于号和小于号。如果用户只填写零售价(productprice)和商品编码,需要完整生成一条SKU记录提交,否则商品编码无法保存。系统会认为只提交了零售价,而没有SKU,导致商品编辑未保存。
	SkuCode string `json:"sku_code,omitempty" xml:"sku_code,omitempty"`
	// Sku属性对象list,允许1-3个sku属性对象,按sku属性顺序排放。sku属性从类目属性接口getAttributesResultByCateId获取。该项值输入sku属性,不能输入普通类目属性。注意,sku属性是有顺序的,必须按照顺序存放。
	AeopSKUPropertys []AeopSkuProperty `json:"aeop_s_k_u_propertys,omitempty" xml:"aeop_s_k_u_propertys>aeop_sku_property,omitempty"`
	// 商品条形码
	Barcode string `json:"barcode,omitempty" xml:"barcode,omitempty"`
}

AeopAeProductSku

type AeopAeVideo

type AeopAeVideo struct {
	// 视频封面图片的URL
	PosterUrl string `json:"poster_url,omitempty" xml:"poster_url,omitempty"`
	// 视频的类型
	MediaType string `json:"media_type,omitempty" xml:"media_type,omitempty"`
	// 视频的状态
	MediaStatus string `json:"media_status,omitempty" xml:"media_status,omitempty"`
	// 视频ID
	MediaId int64 `json:"media_id,omitempty" xml:"media_id,omitempty"`
	// 卖家主账户ID
	AliMemberId int64 `json:"ali_member_id,omitempty" xml:"ali_member_id,omitempty"`
}

AeopAeVideo

type AeopChildOrderInfo

type AeopChildOrderInfo struct {
	// 商品ID
	ProductId int64 `json:"product_id,omitempty" xml:"product_id,omitempty"`
	// 商品价格
	ProductPrice *SimpleMoney `json:"product_price,omitempty" xml:"product_price,omitempty"`
	// 商品名称
	ProductName string `json:"product_name,omitempty" xml:"product_name,omitempty"`
	// 商品数量
	ProductCount int64 `json:"product_count,omitempty" xml:"product_count,omitempty"`
}

AeopChildOrderInfo

type AeopFindProductResultDto

type AeopFindProductResultDto struct {
	// 商品的SKU信息
	AeopAeProductSKUs []AeopAeProductSku `json:"aeop_ae_product_s_k_us,omitempty" xml:"aeop_ae_product_s_k_us>aeop_ae_product_sku,omitempty"`
	// 商品详描
	Detail string `json:"detail,omitempty" xml:"detail,omitempty"`
	// 请求是否成功
	IsSuccess bool `json:"is_success,omitempty" xml:"is_success,omitempty"`
	// 产品的单位
	ProductUnit int64 `json:"product_unit,omitempty" xml:"product_unit,omitempty"`
	// 产品的下架日期
	WsOfflineDate string `json:"ws_offline_date,omitempty" xml:"ws_offline_date,omitempty"`
	// 产品的下架原因
	WsDisplay string `json:"ws_display,omitempty" xml:"ws_display,omitempty"`
	// 产品所在类目的ID
	CategoryId int64 `json:"category_id,omitempty" xml:"category_id,omitempty"`
	// 商品多媒体信息,该属性主要包含商品的视频列表
	AeopAEMultimedia *AeopAeMultimedia `json:"aeop_a_e_multimedia,omitempty" xml:"aeop_a_e_multimedia,omitempty"`
	// 商品拥有者的login_id
	OwnerMemberId string `json:"owner_member_id,omitempty" xml:"owner_member_id,omitempty"`
	// 产品的状态
	ProductStatusType string `json:"product_status_type,omitempty" xml:"product_status_type,omitempty"`
	// 商品的类目属性
	AeopAeProductPropertys []AeopAeProductProperty `json:"aeop_ae_product_propertys,omitempty" xml:"aeop_ae_product_propertys>aeop_ae_product_property,omitempty"`
	// 产品的毛重
	GrossWeight string `json:"gross_weight,omitempty" xml:"gross_weight,omitempty"`
	// 商品的备货期
	DeliveryTime int64 `json:"delivery_time,omitempty" xml:"delivery_time,omitempty"`
	// 产品的有效期
	WsValidNum int64 `json:"ws_valid_num,omitempty" xml:"ws_valid_num,omitempty"`
	// 修改时间
	GmtModified string `json:"gmt_modified,omitempty" xml:"gmt_modified,omitempty"`
	// 错误信息
	ErrorMessage string `json:"error_message,omitempty" xml:"error_message,omitempty"`
	// 包装类型
	PackageType bool `json:"package_type,omitempty" xml:"package_type,omitempty"`
	// 商品分国家报价的配置
	AeopNationalQuoteConfiguration *AeopNationalQuoteConfiguration `json:"aeop_national_quote_configuration,omitempty" xml:"aeop_national_quote_configuration,omitempty"`
	// 产品的标题
	Subject string `json:"subject,omitempty" xml:"subject,omitempty"`
	// 自定义计重的基本产品件数
	BaseUnit int64 `json:"base_unit,omitempty" xml:"base_unit,omitempty"`
	// 产品的长度
	PackageLength int64 `json:"package_length,omitempty" xml:"package_length,omitempty"`
	// 无线详描
	MobileDetail string `json:"mobile_detail,omitempty" xml:"mobile_detail,omitempty"`
	// 产品的高度
	PackageHeight int64 `json:"package_height,omitempty" xml:"package_height,omitempty"`
	// 产品的宽度
	PackageWidth int64 `json:"package_width,omitempty" xml:"package_width,omitempty"`
	// 产品的货币单位。美元: USD, 卢布: RUB
	CurrencyCode string `json:"currency_code,omitempty" xml:"currency_code,omitempty"`
	// 产品创建时间
	GmtCreate string `json:"gmt_create,omitempty" xml:"gmt_create,omitempty"`
	// 产品的主图列表
	ImageURLs string `json:"image_u_r_ls,omitempty" xml:"image_u_r_ls,omitempty"`
	// 产品ID
	ProductId int64 `json:"product_id,omitempty" xml:"product_id,omitempty"`
	// 错误代码
	ErrorCode int64 `json:"error_code,omitempty" xml:"error_code,omitempty"`
	// 单品产品的价格。
	ProductPrice string `json:"product_price,omitempty" xml:"product_price,omitempty"`
	// 网站折扣后价格
	ItemOfferSiteSalePrice string `json:"item_offer_site_sale_price,omitempty" xml:"item_offer_site_sale_price,omitempty"`
	// 库存
	TotalAvailableStock int64 `json:"total_available_stock,omitempty" xml:"total_available_stock,omitempty"`
	// 店铺信息
	StoreInfo *AeopStoreInfo `json:"store_info,omitempty" xml:"store_info,omitempty"`
	// 评价数
	EvaluationCount int64 `json:"evaluation_count,omitempty" xml:"evaluation_count,omitempty"`
	// 平均评价星级,1-5星
	AvgEvaluationRating string `json:"avg_evaluation_rating,omitempty" xml:"avg_evaluation_rating,omitempty"`
	// 订单数
	OrderCount int64 `json:"order_count,omitempty" xml:"order_count,omitempty"`
}

AeopFindProductResultDto

type AeopFreightCalculateForBuyerDto

type AeopFreightCalculateForBuyerDto struct {
	// 城市编码
	CityCode string `json:"city_code,omitempty" xml:"city_code,omitempty"`
	// 国家编码
	CountryCode string `json:"country_code,omitempty" xml:"country_code,omitempty"`
	// 商品ID
	ProductId int64 `json:"product_id,omitempty" xml:"product_id,omitempty"`
	// 商品数量
	ProductNum int64 `json:"product_num,omitempty" xml:"product_num,omitempty"`
	// 省份编码
	ProvinceCode string `json:"province_code,omitempty" xml:"province_code,omitempty"`
	// 发货国家
	SendGoodsCountryCode string `json:"send_goods_country_code,omitempty" xml:"send_goods_country_code,omitempty"`
	// 商品价格
	Price string `json:"price,omitempty" xml:"price,omitempty"`
	// 商品价格币种
	PriceCurrency string `json:"price_currency,omitempty" xml:"price_currency,omitempty"`
}

AeopFreightCalculateForBuyerDto

type AeopFreightCalculateResultForBuyerDto

type AeopFreightCalculateResultForBuyerDto struct {
	// errorCode
	ErrorCode int64 `json:"error_code,omitempty" xml:"error_code,omitempty"`
	// 预估运达时效
	EstimatedDeliveryTime string `json:"estimated_delivery_time,omitempty" xml:"estimated_delivery_time,omitempty"`
	// 运费
	Freight *Money `json:"freight,omitempty" xml:"freight,omitempty"`
	// serviceName
	ServiceName string `json:"service_name,omitempty" xml:"service_name,omitempty"`
}

AeopFreightCalculateResultForBuyerDto

type AeopFreightCalculateResultListResponseForBuyer

type AeopFreightCalculateResultListResponseForBuyer struct {
	// aeopFreightCalculateResultForBuyerDTOList
	AeopFreightCalculateResultForBuyerDTOList []AeopFreightCalculateResultForBuyerDto `` /* 178-byte string literal not displayed */
	// errorDesc
	ErrorDesc string `json:"error_desc,omitempty" xml:"error_desc,omitempty"`
	// success
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
}

AeopFreightCalculateResultListResponseForBuyer

type AeopNationalQuoteConfiguration

type AeopNationalQuoteConfiguration struct {
	// 分国家定价规则类型[percentage:基于基准价格按比例配置]
	ConfigurationType string `json:"configuration_type,omitempty" xml:"configuration_type,omitempty"`
	// jsonArray格式的分国家定价规则数据。 1)基于基准价格按比例配置的数据格式:[{"shiptoCountry":"US","percentage":"5"},{"shiptoCountry":"RU","percentage":"-2"}] 其中shiptoCountry:ISO两位的国家编码(目前支持11个国家:RU,US,CA,ES,FR,UK,NL,IL,BR,CL,AU), percentage:相对于基准价的调价比例(百分比整数,支持负数,当前限制>=-30 && <=100)
	ConfigurationData string `json:"configuration_data,omitempty" xml:"configuration_data,omitempty"`
}

AeopNationalQuoteConfiguration

type AeopOrderInfo

type AeopOrderInfo struct {
	// 订单创建时间
	GmtCreate string `json:"gmt_create,omitempty" xml:"gmt_create,omitempty"`
	// 订单状态
	OrderStatus string `json:"order_status,omitempty" xml:"order_status,omitempty"`
	// 物流状态
	LogisticsStatus string `json:"logistics_status,omitempty" xml:"logistics_status,omitempty"`
	// 订单金额
	OrderAmount *SimpleMoney `json:"order_amount,omitempty" xml:"order_amount,omitempty"`
	// 子订单列表
	ChildOrderList []AeopChildOrderInfo `json:"child_order_list,omitempty" xml:"child_order_list>aeop_child_order_info,omitempty"`
	// 订单物流信息列表
	LogisticsInfoList []AeopOrderLogisticsInfo `json:"logistics_info_list,omitempty" xml:"logistics_info_list>aeop_order_logistics_info,omitempty"`
	// 店铺信息
	StoreInfo *AeopStoreInfo `json:"store_info,omitempty" xml:"store_info,omitempty"`
}

AeopOrderInfo

type AeopOrderLogisticsInfo

type AeopOrderLogisticsInfo struct {
	// 物流追踪号
	LogisticsNo string `json:"logistics_no,omitempty" xml:"logistics_no,omitempty"`
	// 物流服务
	LogisticsService string `json:"logistics_service,omitempty" xml:"logistics_service,omitempty"`
}

AeopOrderLogisticsInfo

type AeopSingleOrderQuery

type AeopSingleOrderQuery struct {
	// 订单id
	OrderId int64 `json:"order_id,omitempty" xml:"order_id,omitempty"`
}

AeopSingleOrderQuery

type AeopSkuProperty

type AeopSkuProperty struct {
	// SKU属性ID
	SkuPropertyId int64 `json:"sku_property_id,omitempty" xml:"sku_property_id,omitempty"`
	// SKU图片地址
	SkuImage string `json:"sku_image,omitempty" xml:"sku_image,omitempty"`
	// SKU属性值ID
	PropertyValueId int64 `json:"property_value_id,omitempty" xml:"property_value_id,omitempty"`
	// 属性值自定义名称
	PropertyValueDefinitionName string `json:"property_value_definition_name,omitempty" xml:"property_value_definition_name,omitempty"`
	// 自定义id
	PropertyValueIdLong int64 `json:"property_value_id_long,omitempty" xml:"property_value_id_long,omitempty"`
	// 属性值
	SkuPropertyValue string `json:"sku_property_value,omitempty" xml:"sku_property_value,omitempty"`
	// 属性名
	SkuPropertyName string `json:"sku_property_name,omitempty" xml:"sku_property_name,omitempty"`
}

AeopSkuProperty

type AeopStoreInfo

type AeopStoreInfo struct {
	// 卖家服务,1-5星
	CommunicationRating string `json:"communication_rating,omitempty" xml:"communication_rating,omitempty"`
	// 商品描述,1-5星
	ItemAsDescripedRating string `json:"item_as_descriped_rating,omitempty" xml:"item_as_descriped_rating,omitempty"`
	// 物流,1-5星
	ShippingSpeedRating string `json:"shipping_speed_rating,omitempty" xml:"shipping_speed_rating,omitempty"`
	// 店铺ID
	StoreId int64 `json:"store_id,omitempty" xml:"store_id,omitempty"`
	// 店铺名
	StoreName string `json:"store_name,omitempty" xml:"store_name,omitempty"`
	// 店铺地址
	StoreUrl string `json:"store_url,omitempty" xml:"store_url,omitempty"`
}

AeopStoreInfo

type AliexpressLogisticsBuyerFreightCalculateAPIResponse

type AliexpressLogisticsBuyerFreightCalculateAPIResponse struct {
	model.CommonResponse
	AliexpressLogisticsBuyerFreightCalculateResponse
}

提供给买家使用的运费计算接口 API返回值 aliexpress.logistics.buyer.freight.calculate

提供给买家使用的运费计算接口

type AliexpressLogisticsBuyerFreightCalculateRequest

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

提供给买家使用的运费计算接口 API请求 aliexpress.logistics.buyer.freight.calculate

提供给买家使用的运费计算接口

func NewAliexpressLogisticsBuyerFreightCalculateRequest

func NewAliexpressLogisticsBuyerFreightCalculateRequest() *AliexpressLogisticsBuyerFreightCalculateRequest

初始化AliexpressLogisticsBuyerFreightCalculateRequest对象

func (AliexpressLogisticsBuyerFreightCalculateRequest) GetApiMethodName

IRequest interface 方法, 获取Api method

func (AliexpressLogisticsBuyerFreightCalculateRequest) GetApiParams

IRequest interface 方法, 获取API参数

func (AliexpressLogisticsBuyerFreightCalculateRequest) GetParamAeopFreightCalculateForBuyerDTO

func (r AliexpressLogisticsBuyerFreightCalculateRequest) GetParamAeopFreightCalculateForBuyerDTO() *AeopFreightCalculateForBuyerDto

ParamAeopFreightCalculateForBuyerDTO Getter

func (*AliexpressLogisticsBuyerFreightCalculateRequest) SetParamAeopFreightCalculateForBuyerDTO

func (r *AliexpressLogisticsBuyerFreightCalculateRequest) SetParamAeopFreightCalculateForBuyerDTO(paramAeopFreightCalculateForBuyerDTO *AeopFreightCalculateForBuyerDto) error

ParamAeopFreightCalculateForBuyerDTO Setter 运费计算请求参数

type AliexpressLogisticsBuyerFreightCalculateResponse

type AliexpressLogisticsBuyerFreightCalculateResponse struct {
	XMLName xml.Name `xml:"aliexpress_logistics_buyer_freight_calculate_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// result
	Result *AeopFreightCalculateResultListResponseForBuyer `json:"result,omitempty" xml:"result,omitempty"`
}

提供给买家使用的运费计算接口 成功返回结果

type AliexpressLogisticsDsTrackinginfoQueryAPIResponse

type AliexpressLogisticsDsTrackinginfoQueryAPIResponse struct {
	model.CommonResponse
	AliexpressLogisticsDsTrackinginfoQueryResponse
}

查询物流追踪信息 API返回值 aliexpress.logistics.ds.trackinginfo.query

Dropshipper查询物流追踪信息

type AliexpressLogisticsDsTrackinginfoQueryRequest

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

查询物流追踪信息 API请求 aliexpress.logistics.ds.trackinginfo.query

Dropshipper查询物流追踪信息

func NewAliexpressLogisticsDsTrackinginfoQueryRequest

func NewAliexpressLogisticsDsTrackinginfoQueryRequest() *AliexpressLogisticsDsTrackinginfoQueryRequest

初始化AliexpressLogisticsDsTrackinginfoQueryRequest对象

func (AliexpressLogisticsDsTrackinginfoQueryRequest) GetApiMethodName

IRequest interface 方法, 获取Api method

func (AliexpressLogisticsDsTrackinginfoQueryRequest) GetApiParams

IRequest interface 方法, 获取API参数

func (AliexpressLogisticsDsTrackinginfoQueryRequest) GetLogisticsNo

LogisticsNo Getter

func (AliexpressLogisticsDsTrackinginfoQueryRequest) GetOrigin

Origin Getter

func (AliexpressLogisticsDsTrackinginfoQueryRequest) GetOutRef

OutRef Getter

func (AliexpressLogisticsDsTrackinginfoQueryRequest) GetServiceName

ServiceName Getter

func (AliexpressLogisticsDsTrackinginfoQueryRequest) GetToArea

ToArea Getter

func (*AliexpressLogisticsDsTrackinginfoQueryRequest) SetLogisticsNo

func (r *AliexpressLogisticsDsTrackinginfoQueryRequest) SetLogisticsNo(logisticsNo string) error

LogisticsNo Setter Logistics tracking number

func (*AliexpressLogisticsDsTrackinginfoQueryRequest) SetOrigin

Origin Setter Order origin to be queried. The origin of the AE order is “ESCROW”.

func (*AliexpressLogisticsDsTrackinginfoQueryRequest) SetOutRef

OutRef Setter Order ID to be queried by the user

func (*AliexpressLogisticsDsTrackinginfoQueryRequest) SetServiceName

func (r *AliexpressLogisticsDsTrackinginfoQueryRequest) SetServiceName(serviceName string) error

ServiceName Setter Logistics service KEY

func (*AliexpressLogisticsDsTrackinginfoQueryRequest) SetToArea

ToArea Setter Country for receiving goods in the trade order (FJ,Fiji;FI,Finland;FR,France;FX,FranceMetropolitan;GF,FrenchGuiana;PF,FrenchPolynesia;TF,FrenchSouthernTerritories;GA,Gabon;GM,Gambia;GE,Georgia;DE,Germany;GH,Ghana;GI,Gibraltar;GR,Greece;GL,Greenland;GD,Grenada;GP,Guadeloupe;GU,Guam;GT,Guatemala;GN,Guinea;GW,Guinea-Bissau;GY,Guyana;HT,Haiti;HM,HeardandMcDonaldIslands;HN,Honduras;HK,HongKong;HU,Hungary;IS,Iceland;IN,India;ID,Indonesia;IR,Iran(IslamicRepublicof);IQ,Iraq;IE,Ireland;IL,Israel;IT,Italy;JM,Jamaica;JP,Japan;JO,Jordan;KZ,Kazakhstan;KE,Kenya;KI,Kiribati;KW,Kuwait;KG,Kyrgyzstan;LA,LaoPeople'sDemocraticRepublic;LV,Latvia;LB,Lebanon;LS,Lesotho;LR,Liberia;LY,LibyanArabJamahiriya;AF,Afghanistan;AL,Albania;DZ,Algeria;AS,AmericanSamoa;AD,Andorra;AO,Angola;AI,Anguilla;AQ,Antarctica;AG,AntiguaandBarbuda;AR,Argentina;AM,Armenia;AW,Aruba;AU,Australia;AT,Austria;AZ,Azerbaijan;BS,Bahamas;BH,Bahrain;BD,Bangladesh;BB,Barbados;BY,Belarus;BE,Belgium;BZ,Belize;BJ,Benin;BM,Bermuda;BT,Bhutan;BO,Bolivia;BA,BosniaandHerzegovina;BW,Botswana;BV,BouvetIsland;BR,Brazil;IO,BritishIndianOceanTerritory;BN,BruneiDarussalam;BG,Bulgaria;BF,BurkinaFaso;BI,Burundi;KH,Cambodia;CM,Cameroon;CA,Canada;CV,CapeVerde;KY,CaymanIslands;CF,CentralAfricanRepublic;TD,Chad;CL,Chile;CN,China(Mainland);CX,ChristmasIsland;CC,Cocos(Keeling)Islands;CO,Colombia;KM,Comoros;CG,Congo,TheRepublicofCongo;ZR,Congo,TheDemocraticRepublicOfThe;CK,CookIslands;CR,CostaRica;CI,CoteD'Ivoire;HR,Croatia(localname:Hrvatska);CU,Cuba;CY,Cyprus;CZ,CzechRepublic;DK,Denmark;DJ,Djibouti;DM,Dominica;DO,DominicanRepublic;TP,EastTimor;EC,Ecuador;EG,Egypt;SV,ElSalvador;GQ,EquatorialGuinea;ER,Eritrea;EE,Estonia;ET,Ethiopia;FK,FalklandIslands(Malvinas);FO,FaroeIslands;LI,Liechtenstein;LT,Lithuania;LU,Luxembourg;MO,Macau;MK,Macedonia;MG,Madagascar;MW,Malawi;MY,Malaysia;MV,Maldives;ML,Mali;MT,Malta;MH,MarshallIslands;MQ,Martinique;MR,Mauritania;MU,Mauritius;YT,Mayotte;MX,Mexico;FM,Micronesia;MD,Moldova;MC,Monaco;MN,Mongolia;MS,Montserrat;MA,Morocco;MZ,Mozambique;MM,Myanmar;NA,Namibia;NR,Nauru;NP,Nepal;NL,Netherlands;AN,NetherlandsAntilles;NC,NewCaledonia;NZ,NewZealand;NI,Nicaragua;NE,Niger;NG,Nigeria;NU,Niue;NF,NorfolkIsland;KP,NorthKorea;MP,NorthernMarianaIslands;NO,Norway;OM,Oman;Other,OtherCountry;PK,Pakistan;PW,Palau;PS,Palestine;PA,Panama;PG,PapuaNewGuinea;PY,Paraguay;PE,Peru;PH,Philippines;PN,Pitcairn;PL,Poland;PT,Portugal;PR,PuertoRico;QA,Qatar;RE,Reunion;RO,Romania;RU,RussianFederation;RW,Rwanda;KN,SaintKittsandNevis;LC,SaintLucia;VC,SaintVincentandtheGrenadines;WS,Samoa;SM,SanMarino;ST,SaoTomeandPrincipe;SA,SaudiArabia;SN,Senegal;SC,Seychelles;SL,SierraLeone;SG,Singapore;SK,Slovakia(SlovakRepublic);SI,Slovenia;SB,SolomonIslands;SO,Somalia;ZA,SouthAfrica;KR,SouthKorea;ES,Spain;LK,SriLanka;SH,St.Helena;PM,St.PierreandMiquelon;SD,Sudan;SR,Suriname;SJ,SvalbardandJanMayenIslands;SZ,Swaziland;SE,Sweden;CH,Switzerland;SY,SyrianArabRepublic;TW,T aiwan;TJ,Tajikistan;TZ,Tanzania;TH,Thailand;TG,Togo;TK,Tokelau;TO,Tonga;TT,TrinidadandTobago;TN,Tunisia;TR,Turkey;TM,Turkmenistan;TC,TurksandCaicosIslands;TV,Tuvalu;UG,Uganda;UA,Ukraine;AE,UnitedArabEmirates;IM,IsleofMan;UK,UnitedKingdom;US,UnitedStates;UM,UnitedStatesMinorOutlyingIslands;UY,Uruguay;UZ,Uzbekistan;VU,Vanuatu;VA,VaticanCityState(HolySee);VE,Venezuela;VN,Vietnam;VG,VirginIslands(British);VI,VirginIslands(U.S.);WF,WallisAndFutunaIslands;EH,WesternSahara;YE,Yemen;YU,Yugoslavia;ZM,Zambia;ZW,Zimbabwe;SRB,Serbia;MNE,Montenegro;KS,Kosovo;EAZ,Zanzibar;BLM,SaintBarthelemy;MAF,SaintMartin;GGY,Guernsey;JEY,Jersey;SGS,SouthGeorgiaandtheSouthSandwichIslands;TLS,Timor-Leste;ALA,AlandIslands;GBA,Alderney;ASC,AscensionIsland;)

type AliexpressLogisticsDsTrackinginfoQueryResponse

type AliexpressLogisticsDsTrackinginfoQueryResponse struct {
	XMLName xml.Name `xml:"aliexpress_logistics_ds_trackinginfo_query_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 追踪详细信息列表
	Details []Details `json:"details,omitempty" xml:"details>details,omitempty"`
	// 追踪网址
	OfficialWebsite string `json:"official_website,omitempty" xml:"official_website,omitempty"`
	// error description
	ErrorDesc string `json:"error_desc,omitempty" xml:"error_desc,omitempty"`
	// success
	ResultSuccess bool `json:"result_success,omitempty" xml:"result_success,omitempty"`
}

查询物流追踪信息 成功返回结果

type AliexpressOfferDsProductSimplequeryAPIResponse

type AliexpressOfferDsProductSimplequeryAPIResponse struct {
	model.CommonResponse
	AliexpressOfferDsProductSimplequeryResponse
}

Dropshipper查询单个商品的简易信息 API返回值 aliexpress.offer.ds.product.simplequery

提供给Dropshipper的通过商品ID查找商品简易信息(包括SKU-价格/库存、产品状态等)的接口,只有特定买家可以使用

type AliexpressOfferDsProductSimplequeryRequest

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

Dropshipper查询单个商品的简易信息 API请求 aliexpress.offer.ds.product.simplequery

提供给Dropshipper的通过商品ID查找商品简易信息(包括SKU-价格/库存、产品状态等)的接口,只有特定买家可以使用

func NewAliexpressOfferDsProductSimplequeryRequest

func NewAliexpressOfferDsProductSimplequeryRequest() *AliexpressOfferDsProductSimplequeryRequest

初始化AliexpressOfferDsProductSimplequeryRequest对象

func (AliexpressOfferDsProductSimplequeryRequest) GetApiMethodName

IRequest interface 方法, 获取Api method

func (AliexpressOfferDsProductSimplequeryRequest) GetApiParams

IRequest interface 方法, 获取API参数

func (AliexpressOfferDsProductSimplequeryRequest) GetLocalCountry

LocalCountry Getter

func (AliexpressOfferDsProductSimplequeryRequest) GetLocalLanguage

LocalLanguage Getter

func (AliexpressOfferDsProductSimplequeryRequest) GetProductId

ProductId Getter

func (*AliexpressOfferDsProductSimplequeryRequest) SetLocalCountry

func (r *AliexpressOfferDsProductSimplequeryRequest) SetLocalCountry(localCountry string) error

LocalCountry Setter 国家

func (*AliexpressOfferDsProductSimplequeryRequest) SetLocalLanguage

func (r *AliexpressOfferDsProductSimplequeryRequest) SetLocalLanguage(localLanguage string) error

LocalLanguage Setter 语言

func (*AliexpressOfferDsProductSimplequeryRequest) SetProductId

func (r *AliexpressOfferDsProductSimplequeryRequest) SetProductId(productId int64) error

ProductId Setter 商品ID

type AliexpressOfferDsProductSimplequeryResponse

type AliexpressOfferDsProductSimplequeryResponse struct {
	XMLName xml.Name `xml:"aliexpress_offer_ds_product_simplequery_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 网站折扣后价格
	ItemOfferSiteSalePrice string `json:"item_offer_site_sale_price,omitempty" xml:"item_offer_site_sale_price,omitempty"`
	// 库存
	TotalAvailableStock int64 `json:"total_available_stock,omitempty" xml:"total_available_stock,omitempty"`
	// 商品的SKU信息
	AeopAeProductSKUs []AeopAeProductSku `json:"aeop_ae_product_s_k_us,omitempty" xml:"aeop_ae_product_s_k_us>aeop_ae_product_sku,omitempty"`
	// 产品的状态
	ProductStatusType string `json:"product_status_type,omitempty" xml:"product_status_type,omitempty"`
}

Dropshipper查询单个商品的简易信息 成功返回结果

type AliexpressPostproductRedefiningFindaeproductbyidfordropshipperAPIResponse

type AliexpressPostproductRedefiningFindaeproductbyidfordropshipperAPIResponse struct {
	model.CommonResponse
	AliexpressPostproductRedefiningFindaeproductbyidfordropshipperResponse
}

Dropshipper查找商品信息接口 API返回值 aliexpress.postproduct.redefining.findaeproductbyidfordropshipper

提供给Dropshipper的通过商品ID查找商品信息的接口,只有特定买家可以使用

type AliexpressPostproductRedefiningFindaeproductbyidfordropshipperRequest

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

Dropshipper查找商品信息接口 API请求 aliexpress.postproduct.redefining.findaeproductbyidfordropshipper

提供给Dropshipper的通过商品ID查找商品信息的接口,只有特定买家可以使用

func NewAliexpressPostproductRedefiningFindaeproductbyidfordropshipperRequest

func NewAliexpressPostproductRedefiningFindaeproductbyidfordropshipperRequest() *AliexpressPostproductRedefiningFindaeproductbyidfordropshipperRequest

初始化AliexpressPostproductRedefiningFindaeproductbyidfordropshipperRequest对象

func (AliexpressPostproductRedefiningFindaeproductbyidfordropshipperRequest) GetApiMethodName

IRequest interface 方法, 获取Api method

func (AliexpressPostproductRedefiningFindaeproductbyidfordropshipperRequest) GetApiParams

IRequest interface 方法, 获取API参数

func (AliexpressPostproductRedefiningFindaeproductbyidfordropshipperRequest) GetLocalCountry

LocalCountry Getter

func (AliexpressPostproductRedefiningFindaeproductbyidfordropshipperRequest) GetLocalLanguage

LocalLanguage Getter

func (AliexpressPostproductRedefiningFindaeproductbyidfordropshipperRequest) GetProductId

ProductId Getter

func (*AliexpressPostproductRedefiningFindaeproductbyidfordropshipperRequest) SetLocalCountry

LocalCountry Setter 国家

func (*AliexpressPostproductRedefiningFindaeproductbyidfordropshipperRequest) SetLocalLanguage

LocalLanguage Setter 语言

func (*AliexpressPostproductRedefiningFindaeproductbyidfordropshipperRequest) SetProductId

ProductId Setter 商品ID

type AliexpressPostproductRedefiningFindaeproductbyidfordropshipperResponse

type AliexpressPostproductRedefiningFindaeproductbyidfordropshipperResponse struct {
	XMLName xml.Name `xml:"aliexpress_postproduct_redefining_findaeproductbyidfordropshipper_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// result
	Result *AeopFindProductResultDto `json:"result,omitempty" xml:"result,omitempty"`
}

Dropshipper查找商品信息接口 成功返回结果

type AliexpressTradeBuyPlaceorderAPIResponse

type AliexpressTradeBuyPlaceorderAPIResponse struct {
	model.CommonResponse
	AliexpressTradeBuyPlaceorderResponse
}

AE下单API API返回值 aliexpress.trade.buy.placeorder

A006_INVALID_ACCOUNT_INFO

type AliexpressTradeBuyPlaceorderRequest

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

AE下单API API请求 aliexpress.trade.buy.placeorder

A006_INVALID_ACCOUNT_INFO

func NewAliexpressTradeBuyPlaceorderRequest

func NewAliexpressTradeBuyPlaceorderRequest() *AliexpressTradeBuyPlaceorderRequest

初始化AliexpressTradeBuyPlaceorderRequest对象

func (AliexpressTradeBuyPlaceorderRequest) GetApiMethodName

func (r AliexpressTradeBuyPlaceorderRequest) GetApiMethodName() string

IRequest interface 方法, 获取Api method

func (AliexpressTradeBuyPlaceorderRequest) GetApiParams

IRequest interface 方法, 获取API参数

func (AliexpressTradeBuyPlaceorderRequest) GetParamPlaceOrderRequest4OpenApiDTO

func (r AliexpressTradeBuyPlaceorderRequest) GetParamPlaceOrderRequest4OpenApiDTO() *PlaceOrderRequest4OpenApiDto

ParamPlaceOrderRequest4OpenApiDTO Getter

func (*AliexpressTradeBuyPlaceorderRequest) SetParamPlaceOrderRequest4OpenApiDTO

func (r *AliexpressTradeBuyPlaceorderRequest) SetParamPlaceOrderRequest4OpenApiDTO(paramPlaceOrderRequest4OpenApiDTO *PlaceOrderRequest4OpenApiDto) error

ParamPlaceOrderRequest4OpenApiDTO Setter 下单具体参数

type AliexpressTradeBuyPlaceorderResponse

type AliexpressTradeBuyPlaceorderResponse struct {
	XMLName xml.Name `xml:"aliexpress_trade_buy_placeorder_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// result
	Result *PlaceOrderRes4OpenApiDto `json:"result,omitempty" xml:"result,omitempty"`
}

AE下单API 成功返回结果

type AliexpressTradeDsOrderGetAPIResponse

type AliexpressTradeDsOrderGetAPIResponse struct {
	model.CommonResponse
	AliexpressTradeDsOrderGetResponse
}

买家查询订单详情 API返回值 aliexpress.trade.ds.order.get

买家查询订单详情,用于dropshipper

type AliexpressTradeDsOrderGetRequest

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

买家查询订单详情 API请求 aliexpress.trade.ds.order.get

买家查询订单详情,用于dropshipper

func NewAliexpressTradeDsOrderGetRequest

func NewAliexpressTradeDsOrderGetRequest() *AliexpressTradeDsOrderGetRequest

初始化AliexpressTradeDsOrderGetRequest对象

func (AliexpressTradeDsOrderGetRequest) GetApiMethodName

func (r AliexpressTradeDsOrderGetRequest) GetApiMethodName() string

IRequest interface 方法, 获取Api method

func (AliexpressTradeDsOrderGetRequest) GetApiParams

func (r AliexpressTradeDsOrderGetRequest) GetApiParams() url.Values

IRequest interface 方法, 获取API参数

func (AliexpressTradeDsOrderGetRequest) GetSingleOrderQuery

func (r AliexpressTradeDsOrderGetRequest) GetSingleOrderQuery() *AeopSingleOrderQuery

SingleOrderQuery Getter

func (*AliexpressTradeDsOrderGetRequest) SetSingleOrderQuery

func (r *AliexpressTradeDsOrderGetRequest) SetSingleOrderQuery(singleOrderQuery *AeopSingleOrderQuery) error

SingleOrderQuery Setter 订单查询条件

type AliexpressTradeDsOrderGetResponse

type AliexpressTradeDsOrderGetResponse struct {
	XMLName xml.Name `xml:"aliexpress_trade_ds_order_get_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 订单信息
	Result *AeopOrderInfo `json:"result,omitempty" xml:"result,omitempty"`
}

买家查询订单详情 成功返回结果

type BigDecimal

type BigDecimal struct {
}

BigDecimal

type Details

type Details struct {
	// eventDesc
	EventDesc string `json:"event_desc,omitempty" xml:"event_desc,omitempty"`
	// signedName
	SignedName string `json:"signed_name,omitempty" xml:"signed_name,omitempty"`
	// status
	Status string `json:"status,omitempty" xml:"status,omitempty"`
	// address
	Address string `json:"address,omitempty" xml:"address,omitempty"`
	// eventDate
	EventDate string `json:"event_date,omitempty" xml:"event_date,omitempty"`
}

Details

type MaillingAddressRequestDto

type MaillingAddressRequestDto struct {
	// 地址信息
	Address string `json:"address,omitempty" xml:"address,omitempty"`
	// 地址扩展信息
	Address2 string `json:"address2,omitempty" xml:"address2,omitempty"`
	// 城市
	City string `json:"city,omitempty" xml:"city,omitempty"`
	// 联系人
	ContactPerson string `json:"contact_person,omitempty" xml:"contact_person,omitempty"`
	// 国家
	Country string `json:"country,omitempty" xml:"country,omitempty"`
	// cpf税号
	Cpf string `json:"cpf,omitempty" xml:"cpf,omitempty"`
	// 收货人全称
	FullName string `json:"full_name,omitempty" xml:"full_name,omitempty"`
	// 国际化locale
	Locale string `json:"locale,omitempty" xml:"locale,omitempty"`
	// 电话号码
	MobileNo string `json:"mobile_no,omitempty" xml:"mobile_no,omitempty"`
	// 护照号
	PassportNo string `json:"passport_no,omitempty" xml:"passport_no,omitempty"`
	// 护照日期
	PassportNoDate string `json:"passport_no_date,omitempty" xml:"passport_no_date,omitempty"`
	// 护照签发机构
	PassportOrganization string `json:"passport_organization,omitempty" xml:"passport_organization,omitempty"`
	// 电话所在国家区号
	PhoneCountry string `json:"phone_country,omitempty" xml:"phone_country,omitempty"`
	// 省份
	Province string `json:"province,omitempty" xml:"province,omitempty"`
	// 税号
	TaxNumber string `json:"tax_number,omitempty" xml:"tax_number,omitempty"`
	// 邮政编码
	Zip string `json:"zip,omitempty" xml:"zip,omitempty"`
	// 智利税号
	RutNo string `json:"rut_no,omitempty" xml:"rut_no,omitempty"`
	// 外籍税号(韩国外籍须填登陆证号或者护照号)
	ForeignerPassportNo string `json:"foreigner_passport_no,omitempty" xml:"foreigner_passport_no,omitempty"`
	// 是否是外籍
	IsForeigner string `json:"is_foreigner,omitempty" xml:"is_foreigner,omitempty"`
}

MaillingAddressRequestDto

type Money

type Money struct {
	// amount
	Amount *BigDecimal `json:"amount,omitempty" xml:"amount,omitempty"`
	// cent
	Cent int64 `json:"cent,omitempty" xml:"cent,omitempty"`
	// currencyCode
	CurrencyCode string `json:"currency_code,omitempty" xml:"currency_code,omitempty"`
}

Money

type PlaceOrderRequest4OpenApiDto

type PlaceOrderRequest4OpenApiDto struct {
	// 物流地址信息
	LogisticsAddress *MaillingAddressRequestDto `json:"logistics_address,omitempty" xml:"logistics_address,omitempty"`
	// 商品属性
	ProductItems []ProductBaseItem `json:"product_items,omitempty" xml:"product_items>product_base_item,omitempty"`
}

PlaceOrderRequest4OpenApiDto

type PlaceOrderRes4OpenApiDto

type PlaceOrderRes4OpenApiDto struct {
	// errorCode
	ErrorCode string `json:"error_code,omitempty" xml:"error_code,omitempty"`
	// errorMsg
	ErrorMsg string `json:"error_msg,omitempty" xml:"error_msg,omitempty"`
	// orderList
	OrderList []int64 `json:"order_list,omitempty" xml:"order_list>int64,omitempty"`
	// success
	IsSuccess bool `json:"is_success,omitempty" xml:"is_success,omitempty"`
}

PlaceOrderRes4OpenApiDto

type ProductBaseItem

type ProductBaseItem struct {
	// 商品数量
	ProductCount int64 `json:"product_count,omitempty" xml:"product_count,omitempty"`
	// 商品id
	ProductId int64 `json:"product_id,omitempty" xml:"product_id,omitempty"`
	// 商品sku
	SkuAttr string `json:"sku_attr,omitempty" xml:"sku_attr,omitempty"`
	// 物流服务名称
	LogisticsServiceName string `json:"logistics_service_name,omitempty" xml:"logistics_service_name,omitempty"`
	// 用户留言
	OrderMemo string `json:"order_memo,omitempty" xml:"order_memo,omitempty"`
}

ProductBaseItem

type SimpleMoney

type SimpleMoney struct {
	// 金额
	Amount string `json:"amount,omitempty" xml:"amount,omitempty"`
	// 币种
	CurrencyCode string `json:"currency_code,omitempty" xml:"currency_code,omitempty"`
}

SimpleMoney

Jump to

Keyboard shortcuts

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