ascpchannel

package
v1.3.0 Latest Latest
Warning

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

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

Documentation

Overview

Package ascpchannel 包含新零售供应链API相关结构体

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

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Additionalinfo

type Additionalinfo struct {
	// 附加熟悉字段
	Attribute *Attribute `json:"attribute,omitempty" xml:"attribute,omitempty"`
}

Additionalinfo 结构体

type Additionalinfodto

type Additionalinfodto struct {
	// 未税价格 (精度 6位) 采购&退供 经销必填
	PriceNoTax string `json:"price_no_tax,omitempty" xml:"price_no_tax,omitempty"`
}

Additionalinfodto 结构体

type Aicinventorypublishrequest

type Aicinventorypublishrequest struct {
	// 库存发布请求参数
	InventoryMainOperation []Inventorymainoperation `json:"inventory_main_operation,omitempty" xml:"inventory_main_operation>inventorymainoperation,omitempty"`
}

Aicinventorypublishrequest 结构体

type Aicinventoryquerylist

type Aicinventoryquerylist struct {
	// 仓库编码列表,一般不用入参
	StoreCodeList []string `json:"store_code_list,omitempty" xml:"store_code_list>string,omitempty"`
	// 协议ID列表,一般不用入参
	PublishOrderNos []string `json:"publish_order_nos,omitempty" xml:"publish_order_nos>string,omitempty"`
	// 销售渠道列表不能用6500,已切换至1000
	ChannelCodeList []string `json:"channel_code_list,omitempty" xml:"channel_code_list>string,omitempty"`
	// 库存类型列表
	InventoryTypeList []string `json:"inventory_type_list,omitempty" xml:"inventory_type_list>string,omitempty"`
	// 货主ID
	SourceUserId string `json:"source_user_id,omitempty" xml:"source_user_id,omitempty"`
	// 货品ID
	ScItemId int64 `json:"sc_item_id,omitempty" xml:"sc_item_id,omitempty"`
}

Aicinventoryquerylist 结构体

type Aicinventoryqueryrequest

type Aicinventoryqueryrequest struct {
	// 参数列表
	AicinventoryQueryList []Aicinventoryquerylist `json:"aicinventory_query_list,omitempty" xml:"aicinventory_query_list>aicinventoryquerylist,omitempty"`
}

Aicinventoryqueryrequest 结构体

type AlibabaAscpAicSupplierAicinventoryChannelInventoryQueryAPIRequest added in v1.2.0

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

AlibabaAscpAicSupplierAicinventoryChannelInventoryQueryAPIRequest 供应商直发-商家仓库存查询服务 API请求 alibaba.ascp.aic.supplier.aicinventory.channel.inventory.query

提供商家基于货品、供应商、仓,查询ascp 实时商家仓库存查询数据。

func NewAlibabaAscpAicSupplierAicinventoryChannelInventoryQueryRequest

func NewAlibabaAscpAicSupplierAicinventoryChannelInventoryQueryRequest() *AlibabaAscpAicSupplierAicinventoryChannelInventoryQueryAPIRequest

NewAlibabaAscpAicSupplierAicinventoryChannelInventoryQueryRequest 初始化AlibabaAscpAicSupplierAicinventoryChannelInventoryQueryAPIRequest对象

func (AlibabaAscpAicSupplierAicinventoryChannelInventoryQueryAPIRequest) GetApiMethodName added in v1.2.0

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaAscpAicSupplierAicinventoryChannelInventoryQueryAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaAscpAicSupplierAicinventoryChannelInventoryQueryAPIRequest) GetMerchantInventoryQueryRequest added in v1.2.0

GetMerchantInventoryQueryRequest MerchantInventoryQueryRequest Getter

func (AlibabaAscpAicSupplierAicinventoryChannelInventoryQueryAPIRequest) GetRawParams added in v1.2.8

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

func (*AlibabaAscpAicSupplierAicinventoryChannelInventoryQueryAPIRequest) SetMerchantInventoryQueryRequest added in v1.2.0

func (r *AlibabaAscpAicSupplierAicinventoryChannelInventoryQueryAPIRequest) SetMerchantInventoryQueryRequest(_merchantInventoryQueryRequest *MerchantInventoryQuery) error

SetMerchantInventoryQueryRequest is MerchantInventoryQueryRequest Setter 商家仓库存查询请求参数

type AlibabaAscpAicSupplierAicinventoryChannelInventoryQueryAPIResponse

type AlibabaAscpAicSupplierAicinventoryChannelInventoryQueryAPIResponse struct {
	model.CommonResponse
	AlibabaAscpAicSupplierAicinventoryChannelInventoryQueryAPIResponseModel
}

AlibabaAscpAicSupplierAicinventoryChannelInventoryQueryAPIResponse 供应商直发-商家仓库存查询服务 API返回值 alibaba.ascp.aic.supplier.aicinventory.channel.inventory.query

提供商家基于货品、供应商、仓,查询ascp 实时商家仓库存查询数据。

type AlibabaAscpAicSupplierAicinventoryChannelInventoryQueryAPIResponseModel added in v1.2.0

type AlibabaAscpAicSupplierAicinventoryChannelInventoryQueryAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_ascp_aic_supplier_aicinventory_channel_inventory_query_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 响应结果
	MerchantInventoryQueryResponse *ResultWrapper `json:"merchant_inventory_query_response,omitempty" xml:"merchant_inventory_query_response,omitempty"`
}

AlibabaAscpAicSupplierAicinventoryChannelInventoryQueryAPIResponseModel is 供应商直发-商家仓库存查询服务 成功返回结果

type AlibabaAscpAicSupplierAicinventoryNegativeSaleInvalidateAPIRequest added in v1.2.0

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

AlibabaAscpAicSupplierAicinventoryNegativeSaleInvalidateAPIRequest 负卖库存失效接口 API请求 alibaba.ascp.aic.supplier.aicinventory.negative.sale.invalidate

失效负卖库存数据

func NewAlibabaAscpAicSupplierAicinventoryNegativeSaleInvalidateRequest

func NewAlibabaAscpAicSupplierAicinventoryNegativeSaleInvalidateRequest() *AlibabaAscpAicSupplierAicinventoryNegativeSaleInvalidateAPIRequest

NewAlibabaAscpAicSupplierAicinventoryNegativeSaleInvalidateRequest 初始化AlibabaAscpAicSupplierAicinventoryNegativeSaleInvalidateAPIRequest对象

func (AlibabaAscpAicSupplierAicinventoryNegativeSaleInvalidateAPIRequest) GetApiMethodName added in v1.2.0

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaAscpAicSupplierAicinventoryNegativeSaleInvalidateAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaAscpAicSupplierAicinventoryNegativeSaleInvalidateAPIRequest) GetFutureInventoryMainOperationQuest added in v1.2.0

GetFutureInventoryMainOperationQuest FutureInventoryMainOperationQuest Getter

func (AlibabaAscpAicSupplierAicinventoryNegativeSaleInvalidateAPIRequest) GetRawParams added in v1.2.8

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

func (*AlibabaAscpAicSupplierAicinventoryNegativeSaleInvalidateAPIRequest) SetFutureInventoryMainOperationQuest added in v1.2.0

func (r *AlibabaAscpAicSupplierAicinventoryNegativeSaleInvalidateAPIRequest) SetFutureInventoryMainOperationQuest(_futureInventoryMainOperationQuest *Futureinventorymainoperationquest) error

SetFutureInventoryMainOperationQuest is FutureInventoryMainOperationQuest Setter 入参

type AlibabaAscpAicSupplierAicinventoryNegativeSaleInvalidateAPIResponse

type AlibabaAscpAicSupplierAicinventoryNegativeSaleInvalidateAPIResponse struct {
	model.CommonResponse
	AlibabaAscpAicSupplierAicinventoryNegativeSaleInvalidateAPIResponseModel
}

AlibabaAscpAicSupplierAicinventoryNegativeSaleInvalidateAPIResponse 负卖库存失效接口 API返回值 alibaba.ascp.aic.supplier.aicinventory.negative.sale.invalidate

失效负卖库存数据

type AlibabaAscpAicSupplierAicinventoryNegativeSaleInvalidateAPIResponseModel added in v1.2.0

type AlibabaAscpAicSupplierAicinventoryNegativeSaleInvalidateAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_ascp_aic_supplier_aicinventory_negative_sale_invalidate_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 返回值包装,result为返回具体消息内容
	FutureInvItemResponse *ResultWrapper `json:"future_inv_item_response,omitempty" xml:"future_inv_item_response,omitempty"`
}

AlibabaAscpAicSupplierAicinventoryNegativeSaleInvalidateAPIResponseModel is 负卖库存失效接口 成功返回结果

type AlibabaAscpAicSupplierAicinventoryNegativeSaleInvalidateData

type AlibabaAscpAicSupplierAicinventoryNegativeSaleInvalidateData struct {
	// 仓库编码
	StoreCode string `json:"store_code,omitempty" xml:"store_code,omitempty"`
	// 渠道编码
	ChannelCode string `json:"channel_code,omitempty" xml:"channel_code,omitempty"`
	// 期货库存账户id
	AicChannelInvId string `json:"aic_channel_inv_id,omitempty" xml:"aic_channel_inv_id,omitempty"`
	// 错误编码
	ErrorCode string `json:"error_code,omitempty" xml:"error_code,omitempty"`
	// 错误信息
	ErrorMessage string `json:"error_message,omitempty" xml:"error_message,omitempty"`
	// 外部交易号(主)
	ExtOrderId string `json:"ext_order_id,omitempty" xml:"ext_order_id,omitempty"`
	// 外部交易号(子)
	ExtSubOrderId string `json:"ext_sub_order_id,omitempty" xml:"ext_sub_order_id,omitempty"`
	// 物流货主ID
	UserId int64 `json:"user_id,omitempty" xml:"user_id,omitempty"`
	// 货品ID
	ScItemId int64 `json:"sc_item_id,omitempty" xml:"sc_item_id,omitempty"`
	// 调用接口是否成功
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
}

AlibabaAscpAicSupplierAicinventoryNegativeSaleInvalidateData 结构体

type AlibabaAscpAicSupplierAicinventoryNegativeSalePublishAPIRequest added in v1.2.0

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

AlibabaAscpAicSupplierAicinventoryNegativeSalePublishAPIRequest AIC负卖库存新增和修改接口 API请求 alibaba.ascp.aic.supplier.aicinventory.negative.sale.publish

新增负卖库存记录和变更负卖库存记录

func NewAlibabaAscpAicSupplierAicinventoryNegativeSalePublishRequest

func NewAlibabaAscpAicSupplierAicinventoryNegativeSalePublishRequest() *AlibabaAscpAicSupplierAicinventoryNegativeSalePublishAPIRequest

NewAlibabaAscpAicSupplierAicinventoryNegativeSalePublishRequest 初始化AlibabaAscpAicSupplierAicinventoryNegativeSalePublishAPIRequest对象

func (AlibabaAscpAicSupplierAicinventoryNegativeSalePublishAPIRequest) GetApiMethodName added in v1.2.0

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaAscpAicSupplierAicinventoryNegativeSalePublishAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaAscpAicSupplierAicinventoryNegativeSalePublishAPIRequest) GetFutureInventoryMainOperationQuest added in v1.2.0

GetFutureInventoryMainOperationQuest FutureInventoryMainOperationQuest Getter

func (AlibabaAscpAicSupplierAicinventoryNegativeSalePublishAPIRequest) GetRawParams added in v1.2.8

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

func (*AlibabaAscpAicSupplierAicinventoryNegativeSalePublishAPIRequest) SetFutureInventoryMainOperationQuest added in v1.2.0

func (r *AlibabaAscpAicSupplierAicinventoryNegativeSalePublishAPIRequest) SetFutureInventoryMainOperationQuest(_futureInventoryMainOperationQuest *Futureinventorymainoperationquest) error

SetFutureInventoryMainOperationQuest is FutureInventoryMainOperationQuest Setter 入参

type AlibabaAscpAicSupplierAicinventoryNegativeSalePublishAPIResponse

type AlibabaAscpAicSupplierAicinventoryNegativeSalePublishAPIResponse struct {
	model.CommonResponse
	AlibabaAscpAicSupplierAicinventoryNegativeSalePublishAPIResponseModel
}

AlibabaAscpAicSupplierAicinventoryNegativeSalePublishAPIResponse AIC负卖库存新增和修改接口 API返回值 alibaba.ascp.aic.supplier.aicinventory.negative.sale.publish

新增负卖库存记录和变更负卖库存记录

type AlibabaAscpAicSupplierAicinventoryNegativeSalePublishAPIResponseModel added in v1.2.0

type AlibabaAscpAicSupplierAicinventoryNegativeSalePublishAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_ascp_aic_supplier_aicinventory_negative_sale_publish_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 返回值包装,result为返回具体消息内容
	FutureInvItemResponse *ResultWrapper `json:"future_inv_item_response,omitempty" xml:"future_inv_item_response,omitempty"`
}

AlibabaAscpAicSupplierAicinventoryNegativeSalePublishAPIResponseModel is AIC负卖库存新增和修改接口 成功返回结果

type AlibabaAscpAicSupplierAicinventoryNegativeSalePublishData

type AlibabaAscpAicSupplierAicinventoryNegativeSalePublishData struct {
	// 外部交易号(子)
	ExtSubOrderId string `json:"ext_sub_order_id,omitempty" xml:"ext_sub_order_id,omitempty"`
	// 外部交易号(主)
	ExtOrderId string `json:"ext_order_id,omitempty" xml:"ext_order_id,omitempty"`
	// 错误信息
	ErrorMessage string `json:"error_message,omitempty" xml:"error_message,omitempty"`
	// 错误编码
	ErrorCode string `json:"error_code,omitempty" xml:"error_code,omitempty"`
	// 期货库存账户id
	AicChannelInvId string `json:"aic_channel_inv_id,omitempty" xml:"aic_channel_inv_id,omitempty"`
	// 渠道编码
	ChannelCode string `json:"channel_code,omitempty" xml:"channel_code,omitempty"`
	// 仓库编码
	StoreCode string `json:"store_code,omitempty" xml:"store_code,omitempty"`
	// 货品ID
	ScItemId int64 `json:"sc_item_id,omitempty" xml:"sc_item_id,omitempty"`
	// 物流货主ID
	UserId int64 `json:"user_id,omitempty" xml:"user_id,omitempty"`
	// 调用接口是否成功
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
}

AlibabaAscpAicSupplierAicinventoryNegativeSalePublishData 结构体

type AlibabaAscpAicSupplierAicinventoryNegativeSaleQueryAPIRequest added in v1.2.0

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

AlibabaAscpAicSupplierAicinventoryNegativeSaleQueryAPIRequest 商家查询负卖库存 API请求 alibaba.ascp.aic.supplier.aicinventory.negative.sale.query

商家根据当前接口查询负卖货品的库存

func NewAlibabaAscpAicSupplierAicinventoryNegativeSaleQueryRequest

func NewAlibabaAscpAicSupplierAicinventoryNegativeSaleQueryRequest() *AlibabaAscpAicSupplierAicinventoryNegativeSaleQueryAPIRequest

NewAlibabaAscpAicSupplierAicinventoryNegativeSaleQueryRequest 初始化AlibabaAscpAicSupplierAicinventoryNegativeSaleQueryAPIRequest对象

func (AlibabaAscpAicSupplierAicinventoryNegativeSaleQueryAPIRequest) GetAicinventoryQueryRequest added in v1.2.0

GetAicinventoryQueryRequest AicinventoryQueryRequest Getter

func (AlibabaAscpAicSupplierAicinventoryNegativeSaleQueryAPIRequest) GetApiMethodName added in v1.2.0

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaAscpAicSupplierAicinventoryNegativeSaleQueryAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaAscpAicSupplierAicinventoryNegativeSaleQueryAPIRequest) GetRawParams added in v1.2.8

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

func (*AlibabaAscpAicSupplierAicinventoryNegativeSaleQueryAPIRequest) SetAicinventoryQueryRequest added in v1.2.0

func (r *AlibabaAscpAicSupplierAicinventoryNegativeSaleQueryAPIRequest) SetAicinventoryQueryRequest(_aicinventoryQueryRequest *Aicinventoryqueryrequest) error

SetAicinventoryQueryRequest is AicinventoryQueryRequest Setter 库存查询参数

type AlibabaAscpAicSupplierAicinventoryNegativeSaleQueryAPIResponse

type AlibabaAscpAicSupplierAicinventoryNegativeSaleQueryAPIResponse struct {
	model.CommonResponse
	AlibabaAscpAicSupplierAicinventoryNegativeSaleQueryAPIResponseModel
}

AlibabaAscpAicSupplierAicinventoryNegativeSaleQueryAPIResponse 商家查询负卖库存 API返回值 alibaba.ascp.aic.supplier.aicinventory.negative.sale.query

商家根据当前接口查询负卖货品的库存

type AlibabaAscpAicSupplierAicinventoryNegativeSaleQueryAPIResponseModel added in v1.2.0

type AlibabaAscpAicSupplierAicinventoryNegativeSaleQueryAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_ascp_aic_supplier_aicinventory_negative_sale_query_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 返回值包装,result为返回具体消息内容
	AicinventoryQueryResponse *ResultWrapper `json:"aicinventory_query_response,omitempty" xml:"aicinventory_query_response,omitempty"`
}

AlibabaAscpAicSupplierAicinventoryNegativeSaleQueryAPIResponseModel is 商家查询负卖库存 成功返回结果

type AlibabaAscpAicSupplierAicinventoryNegativeSaleQueryData

type AlibabaAscpAicSupplierAicinventoryNegativeSaleQueryData struct {
	// 仓库编码
	StoreCode string `json:"store_code,omitempty" xml:"store_code,omitempty"`
	// 库存总量(前台)
	Quantity string `json:"quantity,omitempty" xml:"quantity,omitempty"`
	// 占用量
	LockQuantity string `json:"lock_quantity,omitempty" xml:"lock_quantity,omitempty"`
	// 预留库存总量
	ReservedQuantity string `json:"reserved_quantity,omitempty" xml:"reserved_quantity,omitempty"`
	// 预留库存占用量
	ReservedLockQuantity string `json:"reserved_lock_quantity,omitempty" xml:"reserved_lock_quantity,omitempty"`
	// 协议ID=plan_id单据号
	PublishOrderNo string `json:"publish_order_no,omitempty" xml:"publish_order_no,omitempty"`
	// 当前可售库存量(前台)
	SellableQuantity string `json:"sellable_quantity,omitempty" xml:"sellable_quantity,omitempty"`
	// 货品id
	ScItemId int64 `json:"sc_item_id,omitempty" xml:"sc_item_id,omitempty"`
	// 物流货主id
	SourceUserId int64 `json:"source_user_id,omitempty" xml:"source_user_id,omitempty"`
	// 有效状态
	InvStatus int64 `json:"inv_status,omitempty" xml:"inv_status,omitempty"`
	// ASCP销售市场中的计划ID,供应商不能用这个
	TradeFutureInvId int64 `json:"trade_future_inv_id,omitempty" xml:"trade_future_inv_id,omitempty"`
}

AlibabaAscpAicSupplierAicinventoryNegativeSaleQueryData 结构体

type AlibabaAscpAicSupplierAicinventoryPublishAPIRequest added in v1.2.0

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

AlibabaAscpAicSupplierAicinventoryPublishAPIRequest 商家仓操作aic库存发布服务 API请求 alibaba.ascp.aic.supplier.aicinventory.publish

商家调用这个接口来发布增加库存数据

func NewAlibabaAscpAicSupplierAicinventoryPublishRequest

func NewAlibabaAscpAicSupplierAicinventoryPublishRequest() *AlibabaAscpAicSupplierAicinventoryPublishAPIRequest

NewAlibabaAscpAicSupplierAicinventoryPublishRequest 初始化AlibabaAscpAicSupplierAicinventoryPublishAPIRequest对象

func (AlibabaAscpAicSupplierAicinventoryPublishAPIRequest) GetAicInventoryPublishRequest added in v1.2.0

GetAicInventoryPublishRequest AicInventoryPublishRequest Getter

func (AlibabaAscpAicSupplierAicinventoryPublishAPIRequest) GetApiMethodName added in v1.2.0

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaAscpAicSupplierAicinventoryPublishAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaAscpAicSupplierAicinventoryPublishAPIRequest) GetRawParams added in v1.2.8

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

func (*AlibabaAscpAicSupplierAicinventoryPublishAPIRequest) SetAicInventoryPublishRequest added in v1.2.0

func (r *AlibabaAscpAicSupplierAicinventoryPublishAPIRequest) SetAicInventoryPublishRequest(_aicInventoryPublishRequest *Aicinventorypublishrequest) error

SetAicInventoryPublishRequest is AicInventoryPublishRequest Setter 库存发布请求参数

type AlibabaAscpAicSupplierAicinventoryPublishAPIResponse

type AlibabaAscpAicSupplierAicinventoryPublishAPIResponse struct {
	model.CommonResponse
	AlibabaAscpAicSupplierAicinventoryPublishAPIResponseModel
}

AlibabaAscpAicSupplierAicinventoryPublishAPIResponse 商家仓操作aic库存发布服务 API返回值 alibaba.ascp.aic.supplier.aicinventory.publish

商家调用这个接口来发布增加库存数据

type AlibabaAscpAicSupplierAicinventoryPublishAPIResponseModel added in v1.2.0

type AlibabaAscpAicSupplierAicinventoryPublishAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_ascp_aic_supplier_aicinventory_publish_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 返回值包装,result为返回具体消息内容
	AicInventoryPublishResponse *ResultWrapper `json:"aic_inventory_publish_response,omitempty" xml:"aic_inventory_publish_response,omitempty"`
}

AlibabaAscpAicSupplierAicinventoryPublishAPIResponseModel is 商家仓操作aic库存发布服务 成功返回结果

type AlibabaAscpChannelDistributorInventoryGetAPIRequest added in v1.2.0

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

AlibabaAscpChannelDistributorInventoryGetAPIRequest 链渠道中心淘外库存查询 API请求 alibaba.ascp.channel.distributor.inventory.get

此api为淘外分销的渠道产品库存查询标准api,淘外分销商专用

func NewAlibabaAscpChannelDistributorInventoryGetRequest

func NewAlibabaAscpChannelDistributorInventoryGetRequest() *AlibabaAscpChannelDistributorInventoryGetAPIRequest

NewAlibabaAscpChannelDistributorInventoryGetRequest 初始化AlibabaAscpChannelDistributorInventoryGetAPIRequest对象

func (AlibabaAscpChannelDistributorInventoryGetAPIRequest) GetApiMethodName added in v1.2.0

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaAscpChannelDistributorInventoryGetAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaAscpChannelDistributorInventoryGetAPIRequest) GetInventoryRequest added in v1.2.0

GetInventoryRequest InventoryRequest Getter

func (AlibabaAscpChannelDistributorInventoryGetAPIRequest) GetRawParams added in v1.2.8

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

func (*AlibabaAscpChannelDistributorInventoryGetAPIRequest) SetInventoryRequest added in v1.2.0

func (r *AlibabaAscpChannelDistributorInventoryGetAPIRequest) SetInventoryRequest(_inventoryRequest *ChannelInventoryQuery) error

SetInventoryRequest is InventoryRequest Setter 入参

type AlibabaAscpChannelDistributorInventoryGetAPIResponse

type AlibabaAscpChannelDistributorInventoryGetAPIResponse struct {
	model.CommonResponse
	AlibabaAscpChannelDistributorInventoryGetAPIResponseModel
}

AlibabaAscpChannelDistributorInventoryGetAPIResponse 链渠道中心淘外库存查询 API返回值 alibaba.ascp.channel.distributor.inventory.get

此api为淘外分销的渠道产品库存查询标准api,淘外分销商专用

type AlibabaAscpChannelDistributorInventoryGetAPIResponseModel added in v1.2.0

type AlibabaAscpChannelDistributorInventoryGetAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_ascp_channel_distributor_inventory_get_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 异步获取历史数据接口返回结果
	Result *AlibabaAscpChannelDistributorInventoryGetResultDto `json:"result,omitempty" xml:"result,omitempty"`
}

AlibabaAscpChannelDistributorInventoryGetAPIResponseModel is 链渠道中心淘外库存查询 成功返回结果

type AlibabaAscpChannelDistributorInventoryGetResultDto

type AlibabaAscpChannelDistributorInventoryGetResultDto struct {
	// 结果
	Datas []ChannelInventoryDto `json:"datas,omitempty" xml:"datas>channel_inventory_dto,omitempty"`
	// 调用链路ID
	TraceId string `json:"trace_id,omitempty" xml:"trace_id,omitempty"`
	// 错误码
	ErrorMessage string `json:"error_message,omitempty" xml:"error_message,omitempty"`
	// 错误码
	ErrorCode string `json:"error_code,omitempty" xml:"error_code,omitempty"`
	// 执行结果
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
}

AlibabaAscpChannelDistributorInventoryGetResultDto 结构体

type AlibabaAscpChannelDistributorInventoryListGetAPIRequest added in v1.2.0

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

AlibabaAscpChannelDistributorInventoryListGetAPIRequest 批量查询渠道库存 API请求 alibaba.ascp.channel.distributor.inventory.list.get

淘外分销批量查询渠道产品的库存

func NewAlibabaAscpChannelDistributorInventoryListGetRequest

func NewAlibabaAscpChannelDistributorInventoryListGetRequest() *AlibabaAscpChannelDistributorInventoryListGetAPIRequest

NewAlibabaAscpChannelDistributorInventoryListGetRequest 初始化AlibabaAscpChannelDistributorInventoryListGetAPIRequest对象

func (AlibabaAscpChannelDistributorInventoryListGetAPIRequest) GetApiMethodName added in v1.2.0

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaAscpChannelDistributorInventoryListGetAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaAscpChannelDistributorInventoryListGetAPIRequest) GetInventoryRequest added in v1.2.0

GetInventoryRequest InventoryRequest Getter

func (AlibabaAscpChannelDistributorInventoryListGetAPIRequest) GetRawParams added in v1.2.8

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

func (*AlibabaAscpChannelDistributorInventoryListGetAPIRequest) SetInventoryRequest added in v1.2.0

SetInventoryRequest is InventoryRequest Setter 系统自动生成

type AlibabaAscpChannelDistributorInventoryListGetAPIResponse

type AlibabaAscpChannelDistributorInventoryListGetAPIResponse struct {
	model.CommonResponse
	AlibabaAscpChannelDistributorInventoryListGetAPIResponseModel
}

AlibabaAscpChannelDistributorInventoryListGetAPIResponse 批量查询渠道库存 API返回值 alibaba.ascp.channel.distributor.inventory.list.get

淘外分销批量查询渠道产品的库存

type AlibabaAscpChannelDistributorInventoryListGetAPIResponseModel added in v1.2.0

type AlibabaAscpChannelDistributorInventoryListGetAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_ascp_channel_distributor_inventory_list_get_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 异步获取历史数据接口返回结果
	Result *AlibabaAscpChannelDistributorInventoryListGetResultDto `json:"result,omitempty" xml:"result,omitempty"`
}

AlibabaAscpChannelDistributorInventoryListGetAPIResponseModel is 批量查询渠道库存 成功返回结果

type AlibabaAscpChannelDistributorInventoryListGetResultDto

type AlibabaAscpChannelDistributorInventoryListGetResultDto struct {
	// 结果
	Datas []ChannelInventoryDto `json:"datas,omitempty" xml:"datas>channel_inventory_dto,omitempty"`
	// 调用链路ID
	TraceId string `json:"trace_id,omitempty" xml:"trace_id,omitempty"`
	// 错误码
	ErrorMessage string `json:"error_message,omitempty" xml:"error_message,omitempty"`
	// 错误码
	ErrorCode string `json:"error_code,omitempty" xml:"error_code,omitempty"`
	// 执行结果
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
}

AlibabaAscpChannelDistributorInventoryListGetResultDto 结构体

type AlibabaAscpChannelDistributorPriceGetAPIRequest added in v1.2.0

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

AlibabaAscpChannelDistributorPriceGetAPIRequest 链渠道中心淘外分销价格查询(分销商专用) API请求 alibaba.ascp.channel.distributor.price.get

此api为淘外分销的渠道产品价格查询标准api,淘外分销商专用

func NewAlibabaAscpChannelDistributorPriceGetRequest

func NewAlibabaAscpChannelDistributorPriceGetRequest() *AlibabaAscpChannelDistributorPriceGetAPIRequest

NewAlibabaAscpChannelDistributorPriceGetRequest 初始化AlibabaAscpChannelDistributorPriceGetAPIRequest对象

func (AlibabaAscpChannelDistributorPriceGetAPIRequest) GetApiMethodName added in v1.2.0

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaAscpChannelDistributorPriceGetAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaAscpChannelDistributorPriceGetAPIRequest) GetPriceRequest added in v1.2.0

GetPriceRequest PriceRequest Getter

func (AlibabaAscpChannelDistributorPriceGetAPIRequest) GetRawParams added in v1.2.8

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

func (*AlibabaAscpChannelDistributorPriceGetAPIRequest) SetPriceRequest added in v1.2.0

func (r *AlibabaAscpChannelDistributorPriceGetAPIRequest) SetPriceRequest(_priceRequest *Pricerequest) error

SetPriceRequest is PriceRequest Setter 价格入参

type AlibabaAscpChannelDistributorPriceGetAPIResponse

type AlibabaAscpChannelDistributorPriceGetAPIResponse struct {
	model.CommonResponse
	AlibabaAscpChannelDistributorPriceGetAPIResponseModel
}

AlibabaAscpChannelDistributorPriceGetAPIResponse 链渠道中心淘外分销价格查询(分销商专用) API返回值 alibaba.ascp.channel.distributor.price.get

此api为淘外分销的渠道产品价格查询标准api,淘外分销商专用

type AlibabaAscpChannelDistributorPriceGetAPIResponseModel added in v1.2.0

type AlibabaAscpChannelDistributorPriceGetAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_ascp_channel_distributor_price_get_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 异步获取历史数据接口返回结果
	Result *AlibabaAscpChannelDistributorPriceGetResultDto `json:"result,omitempty" xml:"result,omitempty"`
}

AlibabaAscpChannelDistributorPriceGetAPIResponseModel is 链渠道中心淘外分销价格查询(分销商专用) 成功返回结果

type AlibabaAscpChannelDistributorPriceGetResultDto

type AlibabaAscpChannelDistributorPriceGetResultDto struct {
	// 错误码
	ErrorMessage string `json:"error_message,omitempty" xml:"error_message,omitempty"`
	// 错误码
	ErrorCode string `json:"error_code,omitempty" xml:"error_code,omitempty"`
	// 价格数据
	Data *TopDistributorPriceResult `json:"data,omitempty" xml:"data,omitempty"`
	// 执行结果
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
}

AlibabaAscpChannelDistributorPriceGetResultDto 结构体

type AlibabaAscpChannelDistributorProductDetailAPIRequest added in v1.2.0

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

AlibabaAscpChannelDistributorProductDetailAPIRequest 获取供应链渠道中心品的详情接口(淘外分销商专用) API请求 alibaba.ascp.channel.distributor.product.detail

此api为淘外分销的品批量查询标准api,淘外分销商专用

func NewAlibabaAscpChannelDistributorProductDetailRequest

func NewAlibabaAscpChannelDistributorProductDetailRequest() *AlibabaAscpChannelDistributorProductDetailAPIRequest

NewAlibabaAscpChannelDistributorProductDetailRequest 初始化AlibabaAscpChannelDistributorProductDetailAPIRequest对象

func (AlibabaAscpChannelDistributorProductDetailAPIRequest) GetApiMethodName added in v1.2.0

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaAscpChannelDistributorProductDetailAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaAscpChannelDistributorProductDetailAPIRequest) GetProductDetailRequest added in v1.2.0

GetProductDetailRequest ProductDetailRequest Getter

func (AlibabaAscpChannelDistributorProductDetailAPIRequest) GetRawParams added in v1.2.8

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

func (*AlibabaAscpChannelDistributorProductDetailAPIRequest) SetProductDetailRequest added in v1.2.0

SetProductDetailRequest is ProductDetailRequest Setter 产品详情查询入参

type AlibabaAscpChannelDistributorProductDetailAPIResponse

type AlibabaAscpChannelDistributorProductDetailAPIResponse struct {
	model.CommonResponse
	AlibabaAscpChannelDistributorProductDetailAPIResponseModel
}

AlibabaAscpChannelDistributorProductDetailAPIResponse 获取供应链渠道中心品的详情接口(淘外分销商专用) API返回值 alibaba.ascp.channel.distributor.product.detail

此api为淘外分销的品批量查询标准api,淘外分销商专用

type AlibabaAscpChannelDistributorProductDetailAPIResponseModel added in v1.2.0

type AlibabaAscpChannelDistributorProductDetailAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_ascp_channel_distributor_product_detail_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 异步获取历史数据接口返回结果
	Result *ResultWrapper `json:"result,omitempty" xml:"result,omitempty"`
}

AlibabaAscpChannelDistributorProductDetailAPIResponseModel is 获取供应链渠道中心品的详情接口(淘外分销商专用) 成功返回结果

type AlibabaAscpChannelDistributorProductDistributeAPIRequest added in v1.2.8

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

AlibabaAscpChannelDistributorProductDistributeAPIRequest 分销商基于渠道产品铺货到商品 API请求 alibaba.ascp.channel.distributor.product.distribute

分销商基于渠道产品铺货到商品

func NewAlibabaAscpChannelDistributorProductDistributeRequest added in v1.2.8

func NewAlibabaAscpChannelDistributorProductDistributeRequest() *AlibabaAscpChannelDistributorProductDistributeAPIRequest

NewAlibabaAscpChannelDistributorProductDistributeRequest 初始化AlibabaAscpChannelDistributorProductDistributeAPIRequest对象

func (AlibabaAscpChannelDistributorProductDistributeAPIRequest) GetApiMethodName added in v1.2.8

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaAscpChannelDistributorProductDistributeAPIRequest) GetApiParams added in v1.2.8

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaAscpChannelDistributorProductDistributeAPIRequest) GetItemDistributePublishRequest added in v1.2.8

GetItemDistributePublishRequest ItemDistributePublishRequest Getter

func (AlibabaAscpChannelDistributorProductDistributeAPIRequest) GetRawParams added in v1.2.8

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

func (*AlibabaAscpChannelDistributorProductDistributeAPIRequest) SetItemDistributePublishRequest added in v1.2.8

func (r *AlibabaAscpChannelDistributorProductDistributeAPIRequest) SetItemDistributePublishRequest(_itemDistributePublishRequest *ItemDistributePublishRequest) error

SetItemDistributePublishRequest is ItemDistributePublishRequest Setter 请求参数

type AlibabaAscpChannelDistributorProductDistributeAPIResponse added in v1.2.8

type AlibabaAscpChannelDistributorProductDistributeAPIResponse struct {
	model.CommonResponse
	AlibabaAscpChannelDistributorProductDistributeAPIResponseModel
}

AlibabaAscpChannelDistributorProductDistributeAPIResponse 分销商基于渠道产品铺货到商品 API返回值 alibaba.ascp.channel.distributor.product.distribute

分销商基于渠道产品铺货到商品

type AlibabaAscpChannelDistributorProductDistributeAPIResponseModel added in v1.2.8

type AlibabaAscpChannelDistributorProductDistributeAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_ascp_channel_distributor_product_distribute_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 返回值包装
	Result *ResultWrapper `json:"result,omitempty" xml:"result,omitempty"`
}

AlibabaAscpChannelDistributorProductDistributeAPIResponseModel is 分销商基于渠道产品铺货到商品 成功返回结果

type AlibabaAscpChannelDistributorProductListAPIRequest added in v1.2.0

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

AlibabaAscpChannelDistributorProductListAPIRequest 供应链渠道中心淘外分销品批量查询(分销商专用) API请求 alibaba.ascp.channel.distributor.product.list

此api为淘外分销的品批量查询标准api,淘外分销商专用

func NewAlibabaAscpChannelDistributorProductListRequest

func NewAlibabaAscpChannelDistributorProductListRequest() *AlibabaAscpChannelDistributorProductListAPIRequest

NewAlibabaAscpChannelDistributorProductListRequest 初始化AlibabaAscpChannelDistributorProductListAPIRequest对象

func (AlibabaAscpChannelDistributorProductListAPIRequest) GetApiMethodName added in v1.2.0

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaAscpChannelDistributorProductListAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaAscpChannelDistributorProductListAPIRequest) GetProductListRequest added in v1.2.0

GetProductListRequest ProductListRequest Getter

func (AlibabaAscpChannelDistributorProductListAPIRequest) GetRawParams added in v1.2.8

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

func (*AlibabaAscpChannelDistributorProductListAPIRequest) SetProductListRequest added in v1.2.0

func (r *AlibabaAscpChannelDistributorProductListAPIRequest) SetProductListRequest(_productListRequest *Productlistrequest) error

SetProductListRequest is ProductListRequest Setter 列表请求

type AlibabaAscpChannelDistributorProductListAPIResponse

type AlibabaAscpChannelDistributorProductListAPIResponse struct {
	model.CommonResponse
	AlibabaAscpChannelDistributorProductListAPIResponseModel
}

AlibabaAscpChannelDistributorProductListAPIResponse 供应链渠道中心淘外分销品批量查询(分销商专用) API返回值 alibaba.ascp.channel.distributor.product.list

此api为淘外分销的品批量查询标准api,淘外分销商专用

type AlibabaAscpChannelDistributorProductListAPIResponseModel added in v1.2.0

type AlibabaAscpChannelDistributorProductListAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_ascp_channel_distributor_product_list_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 返回值包装,result为返回具体消息内容
	ProductListResponse *ResultWrapper `json:"product_list_response,omitempty" xml:"product_list_response,omitempty"`
}

AlibabaAscpChannelDistributorProductListAPIResponseModel is 供应链渠道中心淘外分销品批量查询(分销商专用) 成功返回结果

type AlibabaAscpChannelDistributorProductListData

type AlibabaAscpChannelDistributorProductListData struct {
	// 产品列表
	Products []Products `json:"products,omitempty" xml:"products>products,omitempty"`
	// 返回值总数
	TotalCount int64 `json:"total_count,omitempty" xml:"total_count,omitempty"`
}

AlibabaAscpChannelDistributorProductListData 结构体

type AlibabaAscpChannelDistributorProductSelectAPIRequest added in v1.2.0

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

AlibabaAscpChannelDistributorProductSelectAPIRequest 供应链渠道中心品的选品接口(淘外分销商专用) API请求 alibaba.ascp.channel.distributor.product.select

此api为淘外分销的品的选品标准api,淘外分销商专用

func NewAlibabaAscpChannelDistributorProductSelectRequest

func NewAlibabaAscpChannelDistributorProductSelectRequest() *AlibabaAscpChannelDistributorProductSelectAPIRequest

NewAlibabaAscpChannelDistributorProductSelectRequest 初始化AlibabaAscpChannelDistributorProductSelectAPIRequest对象

func (AlibabaAscpChannelDistributorProductSelectAPIRequest) GetApiMethodName added in v1.2.0

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaAscpChannelDistributorProductSelectAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaAscpChannelDistributorProductSelectAPIRequest) GetRawParams added in v1.2.8

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

func (AlibabaAscpChannelDistributorProductSelectAPIRequest) GetSelectProductRequest added in v1.2.0

GetSelectProductRequest SelectProductRequest Getter

func (*AlibabaAscpChannelDistributorProductSelectAPIRequest) SetSelectProductRequest added in v1.2.0

func (r *AlibabaAscpChannelDistributorProductSelectAPIRequest) SetSelectProductRequest(_selectProductRequest *ProductLinkRequest) error

SetSelectProductRequest is SelectProductRequest Setter 选品请求

type AlibabaAscpChannelDistributorProductSelectAPIResponse

type AlibabaAscpChannelDistributorProductSelectAPIResponse struct {
	model.CommonResponse
	AlibabaAscpChannelDistributorProductSelectAPIResponseModel
}

AlibabaAscpChannelDistributorProductSelectAPIResponse 供应链渠道中心品的选品接口(淘外分销商专用) API返回值 alibaba.ascp.channel.distributor.product.select

此api为淘外分销的品的选品标准api,淘外分销商专用

type AlibabaAscpChannelDistributorProductSelectAPIResponseModel added in v1.2.0

type AlibabaAscpChannelDistributorProductSelectAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_ascp_channel_distributor_product_select_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 系统自动生成
	ErrorMessage string `json:"error_message,omitempty" xml:"error_message,omitempty"`
	// 系统自动生成
	Error string `json:"error,omitempty" xml:"error,omitempty"`
	// 返回是否成功
	ResultSuccess bool `json:"result_success,omitempty" xml:"result_success,omitempty"`
}

AlibabaAscpChannelDistributorProductSelectAPIResponseModel is 供应链渠道中心品的选品接口(淘外分销商专用) 成功返回结果

type AlibabaAscpChannelMainRefundCreateAPIRequest added in v1.2.0

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

AlibabaAscpChannelMainRefundCreateAPIRequest 淘外分销逆向创单(未发货整单退) API请求 alibaba.ascp.channel.main.refund.create

淘外分销解决方案--订单--逆向创单(未发货整单退)

func NewAlibabaAscpChannelMainRefundCreateRequest

func NewAlibabaAscpChannelMainRefundCreateRequest() *AlibabaAscpChannelMainRefundCreateAPIRequest

NewAlibabaAscpChannelMainRefundCreateRequest 初始化AlibabaAscpChannelMainRefundCreateAPIRequest对象

func (AlibabaAscpChannelMainRefundCreateAPIRequest) GetApiMethodName added in v1.2.0

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaAscpChannelMainRefundCreateAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaAscpChannelMainRefundCreateAPIRequest) GetRawParams added in v1.2.8

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

func (AlibabaAscpChannelMainRefundCreateAPIRequest) GetRefundCreateRequest added in v1.2.0

GetRefundCreateRequest RefundCreateRequest Getter

func (*AlibabaAscpChannelMainRefundCreateAPIRequest) SetRefundCreateRequest added in v1.2.0

func (r *AlibabaAscpChannelMainRefundCreateAPIRequest) SetRefundCreateRequest(_refundCreateRequest *ExternalCreateRefundOrderRequest) error

SetRefundCreateRequest is RefundCreateRequest Setter 逆向单创建请求

type AlibabaAscpChannelMainRefundCreateAPIResponse

type AlibabaAscpChannelMainRefundCreateAPIResponse struct {
	model.CommonResponse
	AlibabaAscpChannelMainRefundCreateAPIResponseModel
}

AlibabaAscpChannelMainRefundCreateAPIResponse 淘外分销逆向创单(未发货整单退) API返回值 alibaba.ascp.channel.main.refund.create

淘外分销解决方案--订单--逆向创单(未发货整单退)

type AlibabaAscpChannelMainRefundCreateAPIResponseModel added in v1.2.0

type AlibabaAscpChannelMainRefundCreateAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_ascp_channel_main_refund_create_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 返回值包装,result为返回具体消息内容
	Result *ResultWrapper `json:"result,omitempty" xml:"result,omitempty"`
}

AlibabaAscpChannelMainRefundCreateAPIResponseModel is 淘外分销逆向创单(未发货整单退) 成功返回结果

type AlibabaAscpChannelMainRefundCreateData

type AlibabaAscpChannelMainRefundCreateData struct {
	// 外部退款单
	OutRefundNo string `json:"out_refund_no,omitempty" xml:"out_refund_no,omitempty"`
	// 退款单
	RefundNo string `json:"refund_no,omitempty" xml:"refund_no,omitempty"`
	// 外部子订单
	OutSubOrderNo string `json:"out_sub_order_no,omitempty" xml:"out_sub_order_no,omitempty"`
	// 子订单
	SubSaleOrderNo string `json:"sub_sale_order_no,omitempty" xml:"sub_sale_order_no,omitempty"`
	// 订单
	SaleOrderNo string `json:"sale_order_no,omitempty" xml:"sale_order_no,omitempty"`
	// skuId
	SkuId int64 `json:"sku_id,omitempty" xml:"sku_id,omitempty"`
	// 产品id
	ProductId int64 `json:"product_id,omitempty" xml:"product_id,omitempty"`
	// 退款金额
	RefundFee int64 `json:"refund_fee,omitempty" xml:"refund_fee,omitempty"`
}

AlibabaAscpChannelMainRefundCreateData 结构体

type AlibabaAscpChannelRefundCancelAPIRequest added in v1.2.5

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

AlibabaAscpChannelRefundCancelAPIRequest 渠道退款单撤销 API请求 alibaba.ascp.channel.refund.cancel

售后申请的撤回接口

func NewAlibabaAscpChannelRefundCancelRequest added in v1.2.5

func NewAlibabaAscpChannelRefundCancelRequest() *AlibabaAscpChannelRefundCancelAPIRequest

NewAlibabaAscpChannelRefundCancelRequest 初始化AlibabaAscpChannelRefundCancelAPIRequest对象

func (AlibabaAscpChannelRefundCancelAPIRequest) GetApiMethodName added in v1.2.5

func (r AlibabaAscpChannelRefundCancelAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaAscpChannelRefundCancelAPIRequest) GetApiParams added in v1.2.5

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

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaAscpChannelRefundCancelAPIRequest) GetCancelRefundOrderRequest added in v1.2.5

func (r AlibabaAscpChannelRefundCancelAPIRequest) GetCancelRefundOrderRequest() *Cancelrefundorderrequest

GetCancelRefundOrderRequest CancelRefundOrderRequest Getter

func (AlibabaAscpChannelRefundCancelAPIRequest) GetRawParams added in v1.2.8

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

func (*AlibabaAscpChannelRefundCancelAPIRequest) SetCancelRefundOrderRequest added in v1.2.5

func (r *AlibabaAscpChannelRefundCancelAPIRequest) SetCancelRefundOrderRequest(_cancelRefundOrderRequest *Cancelrefundorderrequest) error

SetCancelRefundOrderRequest is CancelRefundOrderRequest Setter 入参

type AlibabaAscpChannelRefundCancelAPIResponse added in v1.2.5

type AlibabaAscpChannelRefundCancelAPIResponse struct {
	model.CommonResponse
	AlibabaAscpChannelRefundCancelAPIResponseModel
}

AlibabaAscpChannelRefundCancelAPIResponse 渠道退款单撤销 API返回值 alibaba.ascp.channel.refund.cancel

售后申请的撤回接口

type AlibabaAscpChannelRefundCancelAPIResponseModel added in v1.2.5

type AlibabaAscpChannelRefundCancelAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_ascp_channel_refund_cancel_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 返回值包装,result为返回具体消息内容
	Result *ResultWrapper `json:"result,omitempty" xml:"result,omitempty"`
}

AlibabaAscpChannelRefundCancelAPIResponseModel is 渠道退款单撤销 成功返回结果

type AlibabaAscpChannelRefundCloseAPIRequest added in v1.2.8

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

AlibabaAscpChannelRefundCloseAPIRequest 渠道退款单关闭 API请求 alibaba.ascp.channel.refund.close

渠道退款单关闭

func NewAlibabaAscpChannelRefundCloseRequest added in v1.2.8

func NewAlibabaAscpChannelRefundCloseRequest() *AlibabaAscpChannelRefundCloseAPIRequest

NewAlibabaAscpChannelRefundCloseRequest 初始化AlibabaAscpChannelRefundCloseAPIRequest对象

func (AlibabaAscpChannelRefundCloseAPIRequest) GetApiMethodName added in v1.2.8

func (r AlibabaAscpChannelRefundCloseAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaAscpChannelRefundCloseAPIRequest) GetApiParams added in v1.2.8

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

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaAscpChannelRefundCloseAPIRequest) GetCloseRefundOrderRequest added in v1.2.8

func (r AlibabaAscpChannelRefundCloseAPIRequest) GetCloseRefundOrderRequest() *Closerefundorderrequest

GetCloseRefundOrderRequest CloseRefundOrderRequest Getter

func (AlibabaAscpChannelRefundCloseAPIRequest) GetRawParams added in v1.2.8

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

func (*AlibabaAscpChannelRefundCloseAPIRequest) SetCloseRefundOrderRequest added in v1.2.8

func (r *AlibabaAscpChannelRefundCloseAPIRequest) SetCloseRefundOrderRequest(_closeRefundOrderRequest *Closerefundorderrequest) error

SetCloseRefundOrderRequest is CloseRefundOrderRequest Setter 入参

type AlibabaAscpChannelRefundCloseAPIResponse added in v1.2.8

type AlibabaAscpChannelRefundCloseAPIResponse struct {
	model.CommonResponse
	AlibabaAscpChannelRefundCloseAPIResponseModel
}

AlibabaAscpChannelRefundCloseAPIResponse 渠道退款单关闭 API返回值 alibaba.ascp.channel.refund.close

渠道退款单关闭

type AlibabaAscpChannelRefundCloseAPIResponseModel added in v1.2.8

type AlibabaAscpChannelRefundCloseAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_ascp_channel_refund_close_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 返回值包装,result为返回具体消息内容
	Result *ResultWrapper `json:"result,omitempty" xml:"result,omitempty"`
}

AlibabaAscpChannelRefundCloseAPIResponseModel is 渠道退款单关闭 成功返回结果

type AlibabaAscpChannelRefundGoodsWaybillAPIRequest added in v1.2.0

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

AlibabaAscpChannelRefundGoodsWaybillAPIRequest 淘外分销退货回传物流单号 API请求 alibaba.ascp.channel.refund.goods.waybill

淘外分销退货回传物流单号

func NewAlibabaAscpChannelRefundGoodsWaybillRequest

func NewAlibabaAscpChannelRefundGoodsWaybillRequest() *AlibabaAscpChannelRefundGoodsWaybillAPIRequest

NewAlibabaAscpChannelRefundGoodsWaybillRequest 初始化AlibabaAscpChannelRefundGoodsWaybillAPIRequest对象

func (AlibabaAscpChannelRefundGoodsWaybillAPIRequest) GetApiMethodName added in v1.2.0

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaAscpChannelRefundGoodsWaybillAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaAscpChannelRefundGoodsWaybillAPIRequest) GetRawParams added in v1.2.8

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

func (AlibabaAscpChannelRefundGoodsWaybillAPIRequest) GetRefundWayBillReq added in v1.2.0

GetRefundWayBillReq RefundWayBillReq Getter

func (*AlibabaAscpChannelRefundGoodsWaybillAPIRequest) SetRefundWayBillReq added in v1.2.0

SetRefundWayBillReq is RefundWayBillReq Setter 请求

type AlibabaAscpChannelRefundGoodsWaybillAPIResponse

type AlibabaAscpChannelRefundGoodsWaybillAPIResponse struct {
	model.CommonResponse
	AlibabaAscpChannelRefundGoodsWaybillAPIResponseModel
}

AlibabaAscpChannelRefundGoodsWaybillAPIResponse 淘外分销退货回传物流单号 API返回值 alibaba.ascp.channel.refund.goods.waybill

淘外分销退货回传物流单号

type AlibabaAscpChannelRefundGoodsWaybillAPIResponseModel added in v1.2.0

type AlibabaAscpChannelRefundGoodsWaybillAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_ascp_channel_refund_goods_waybill_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 异步获取历史数据接口返回结果
	Result *AlibabaAscpChannelRefundGoodsWaybillResultDto `json:"result,omitempty" xml:"result,omitempty"`
}

AlibabaAscpChannelRefundGoodsWaybillAPIResponseModel is 淘外分销退货回传物流单号 成功返回结果

type AlibabaAscpChannelRefundGoodsWaybillResultDto

type AlibabaAscpChannelRefundGoodsWaybillResultDto struct {
	// 错误码
	ErrorMessage string `json:"error_message,omitempty" xml:"error_message,omitempty"`
	// 错误码
	ErrorCode string `json:"error_code,omitempty" xml:"error_code,omitempty"`
	// 执行结果
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
}

AlibabaAscpChannelRefundGoodsWaybillResultDto 结构体

type AlibabaAscpChannelSalesOrderBeforeCheckAPIRequest added in v1.2.8

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

AlibabaAscpChannelSalesOrderBeforeCheckAPIRequest 供应链外部订单创建前校验接口 API请求 alibaba.ascp.channel.sales.order.before.check

供应链外部订单创建前校验接口

func NewAlibabaAscpChannelSalesOrderBeforeCheckRequest added in v1.2.8

func NewAlibabaAscpChannelSalesOrderBeforeCheckRequest() *AlibabaAscpChannelSalesOrderBeforeCheckAPIRequest

NewAlibabaAscpChannelSalesOrderBeforeCheckRequest 初始化AlibabaAscpChannelSalesOrderBeforeCheckAPIRequest对象

func (AlibabaAscpChannelSalesOrderBeforeCheckAPIRequest) GetApiMethodName added in v1.2.8

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaAscpChannelSalesOrderBeforeCheckAPIRequest) GetApiParams added in v1.2.8

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaAscpChannelSalesOrderBeforeCheckAPIRequest) GetOrderCheckRequest added in v1.2.8

GetOrderCheckRequest OrderCheckRequest Getter

func (AlibabaAscpChannelSalesOrderBeforeCheckAPIRequest) GetRawParams added in v1.2.8

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

func (*AlibabaAscpChannelSalesOrderBeforeCheckAPIRequest) SetOrderCheckRequest added in v1.2.8

func (r *AlibabaAscpChannelSalesOrderBeforeCheckAPIRequest) SetOrderCheckRequest(_orderCheckRequest *ExtOrderCheckRequest) error

SetOrderCheckRequest is OrderCheckRequest Setter 请求参数

type AlibabaAscpChannelSalesOrderBeforeCheckAPIResponse added in v1.2.8

type AlibabaAscpChannelSalesOrderBeforeCheckAPIResponse struct {
	model.CommonResponse
	AlibabaAscpChannelSalesOrderBeforeCheckAPIResponseModel
}

AlibabaAscpChannelSalesOrderBeforeCheckAPIResponse 供应链外部订单创建前校验接口 API返回值 alibaba.ascp.channel.sales.order.before.check

供应链外部订单创建前校验接口

type AlibabaAscpChannelSalesOrderBeforeCheckAPIResponseModel added in v1.2.8

type AlibabaAscpChannelSalesOrderBeforeCheckAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_ascp_channel_sales_order_before_check_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 返回值包装,result为返回具体消息内容
	OrderCheckResponse *ResultWrapper `json:"order_check_response,omitempty" xml:"order_check_response,omitempty"`
}

AlibabaAscpChannelSalesOrderBeforeCheckAPIResponseModel is 供应链外部订单创建前校验接口 成功返回结果

type AlibabaAscpChannelSalesOrderConfirmAPIRequest added in v1.2.8

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

AlibabaAscpChannelSalesOrderConfirmAPIRequest 渠道销售单确认收货 API请求 alibaba.ascp.channel.sales.order.confirm

渠道销售单确认收货

func NewAlibabaAscpChannelSalesOrderConfirmRequest added in v1.2.8

func NewAlibabaAscpChannelSalesOrderConfirmRequest() *AlibabaAscpChannelSalesOrderConfirmAPIRequest

NewAlibabaAscpChannelSalesOrderConfirmRequest 初始化AlibabaAscpChannelSalesOrderConfirmAPIRequest对象

func (AlibabaAscpChannelSalesOrderConfirmAPIRequest) GetApiMethodName added in v1.2.8

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaAscpChannelSalesOrderConfirmAPIRequest) GetApiParams added in v1.2.8

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaAscpChannelSalesOrderConfirmAPIRequest) GetConfirmOrderRequest added in v1.2.8

GetConfirmOrderRequest ConfirmOrderRequest Getter

func (AlibabaAscpChannelSalesOrderConfirmAPIRequest) GetRawParams added in v1.2.8

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

func (*AlibabaAscpChannelSalesOrderConfirmAPIRequest) SetConfirmOrderRequest added in v1.2.8

func (r *AlibabaAscpChannelSalesOrderConfirmAPIRequest) SetConfirmOrderRequest(_confirmOrderRequest *ExternalConfirmSalesOrderRequest) error

SetConfirmOrderRequest is ConfirmOrderRequest Setter 请求参数

type AlibabaAscpChannelSalesOrderConfirmAPIResponse added in v1.2.8

type AlibabaAscpChannelSalesOrderConfirmAPIResponse struct {
	model.CommonResponse
	AlibabaAscpChannelSalesOrderConfirmAPIResponseModel
}

AlibabaAscpChannelSalesOrderConfirmAPIResponse 渠道销售单确认收货 API返回值 alibaba.ascp.channel.sales.order.confirm

渠道销售单确认收货

type AlibabaAscpChannelSalesOrderConfirmAPIResponseModel added in v1.2.8

type AlibabaAscpChannelSalesOrderConfirmAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_ascp_channel_sales_order_confirm_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 返回值包装
	ConfirmOrderResponse *ResultWrapper `json:"confirm_order_response,omitempty" xml:"confirm_order_response,omitempty"`
}

AlibabaAscpChannelSalesOrderConfirmAPIResponseModel is 渠道销售单确认收货 成功返回结果

type AlibabaAscpChannelSalesOrderCreateAPIRequest added in v1.2.0

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

AlibabaAscpChannelSalesOrderCreateAPIRequest 供应链渠道销售单创建接口 API请求 alibaba.ascp.channel.sales.order.create

阿里巴巴供应链渠道销售订单创建接口

func NewAlibabaAscpChannelSalesOrderCreateRequest

func NewAlibabaAscpChannelSalesOrderCreateRequest() *AlibabaAscpChannelSalesOrderCreateAPIRequest

NewAlibabaAscpChannelSalesOrderCreateRequest 初始化AlibabaAscpChannelSalesOrderCreateAPIRequest对象

func (AlibabaAscpChannelSalesOrderCreateAPIRequest) GetApiMethodName added in v1.2.0

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaAscpChannelSalesOrderCreateAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaAscpChannelSalesOrderCreateAPIRequest) GetCreateOrderRequest added in v1.2.0

GetCreateOrderRequest CreateOrderRequest Getter

func (AlibabaAscpChannelSalesOrderCreateAPIRequest) GetRawParams added in v1.2.8

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

func (*AlibabaAscpChannelSalesOrderCreateAPIRequest) SetCreateOrderRequest added in v1.2.0

func (r *AlibabaAscpChannelSalesOrderCreateAPIRequest) SetCreateOrderRequest(_createOrderRequest *ExternalCreateSalesOrderRequest) error

SetCreateOrderRequest is CreateOrderRequest Setter 请求参数

type AlibabaAscpChannelSalesOrderCreateAPIResponse

type AlibabaAscpChannelSalesOrderCreateAPIResponse struct {
	model.CommonResponse
	AlibabaAscpChannelSalesOrderCreateAPIResponseModel
}

AlibabaAscpChannelSalesOrderCreateAPIResponse 供应链渠道销售单创建接口 API返回值 alibaba.ascp.channel.sales.order.create

阿里巴巴供应链渠道销售订单创建接口

type AlibabaAscpChannelSalesOrderCreateAPIResponseModel added in v1.2.0

type AlibabaAscpChannelSalesOrderCreateAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_ascp_channel_sales_order_create_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 返回值包装,result为返回具体消息内容
	CreateOrderResponse *ResultWrapper `json:"create_order_response,omitempty" xml:"create_order_response,omitempty"`
}

AlibabaAscpChannelSalesOrderCreateAPIResponseModel is 供应链渠道销售单创建接口 成功返回结果

type AlibabaAscpChannelSalesOrderCreateData

type AlibabaAscpChannelSalesOrderCreateData struct {
	// 子单列表
	SubOrderList []Suborders `json:"sub_order_list,omitempty" xml:"sub_order_list>suborders,omitempty"`
	// 渠道订单号
	SaleOrderNo string `json:"sale_order_no,omitempty" xml:"sale_order_no,omitempty"`
}

AlibabaAscpChannelSalesOrderCreateData 结构体

type AlibabaAscpChannelSubRefundCreateAPIRequest added in v1.2.0

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

AlibabaAscpChannelSubRefundCreateAPIRequest 淘外分销逆向创单(子单退) API请求 alibaba.ascp.channel.sub.refund.create

淘外分销逆向创单(子单退)

func NewAlibabaAscpChannelSubRefundCreateRequest

func NewAlibabaAscpChannelSubRefundCreateRequest() *AlibabaAscpChannelSubRefundCreateAPIRequest

NewAlibabaAscpChannelSubRefundCreateRequest 初始化AlibabaAscpChannelSubRefundCreateAPIRequest对象

func (AlibabaAscpChannelSubRefundCreateAPIRequest) GetApiMethodName added in v1.2.0

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaAscpChannelSubRefundCreateAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaAscpChannelSubRefundCreateAPIRequest) GetRawParams added in v1.2.8

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

func (AlibabaAscpChannelSubRefundCreateAPIRequest) GetSubRefundCreateReq added in v1.2.0

GetSubRefundCreateReq SubRefundCreateReq Getter

func (*AlibabaAscpChannelSubRefundCreateAPIRequest) SetSubRefundCreateReq added in v1.2.0

func (r *AlibabaAscpChannelSubRefundCreateAPIRequest) SetSubRefundCreateReq(_subRefundCreateReq *ExternalCreateRefundOrderDetailRequest) error

SetSubRefundCreateReq is SubRefundCreateReq Setter 子单退款创建请求

type AlibabaAscpChannelSubRefundCreateAPIResponse

type AlibabaAscpChannelSubRefundCreateAPIResponse struct {
	model.CommonResponse
	AlibabaAscpChannelSubRefundCreateAPIResponseModel
}

AlibabaAscpChannelSubRefundCreateAPIResponse 淘外分销逆向创单(子单退) API返回值 alibaba.ascp.channel.sub.refund.create

淘外分销逆向创单(子单退)

type AlibabaAscpChannelSubRefundCreateAPIResponseModel added in v1.2.0

type AlibabaAscpChannelSubRefundCreateAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_ascp_channel_sub_refund_create_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 异步获取历史数据接口返回结果
	Result *AlibabaAscpChannelSubRefundCreateResultDto `json:"result,omitempty" xml:"result,omitempty"`
}

AlibabaAscpChannelSubRefundCreateAPIResponseModel is 淘外分销逆向创单(子单退) 成功返回结果

type AlibabaAscpChannelSubRefundCreateData

type AlibabaAscpChannelSubRefundCreateData struct {
	// 外部退款单号
	OutRefundNo string `json:"out_refund_no,omitempty" xml:"out_refund_no,omitempty"`
	// 供应链渠道退款单号
	RefundNo string `json:"refund_no,omitempty" xml:"refund_no,omitempty"`
	// 外部子订单号
	OutSubOrderNo string `json:"out_sub_order_no,omitempty" xml:"out_sub_order_no,omitempty"`
	// 子订单号
	SubSaleOrderNo string `json:"sub_sale_order_no,omitempty" xml:"sub_sale_order_no,omitempty"`
	// 供应链渠道订单号
	SaleOrderNo string `json:"sale_order_no,omitempty" xml:"sale_order_no,omitempty"`
	// 退款金额
	RefundFee int64 `json:"refund_fee,omitempty" xml:"refund_fee,omitempty"`
	// skuId
	SkuId int64 `json:"sku_id,omitempty" xml:"sku_id,omitempty"`
	// 产品id
	ProductId int64 `json:"product_id,omitempty" xml:"product_id,omitempty"`
}

AlibabaAscpChannelSubRefundCreateData 结构体

type AlibabaAscpChannelSubRefundCreateResultDto

type AlibabaAscpChannelSubRefundCreateResultDto struct {
	// 错误码
	ErrorMessage string `json:"error_message,omitempty" xml:"error_message,omitempty"`
	// 错误码
	ErrorCode string `json:"error_code,omitempty" xml:"error_code,omitempty"`
	// 返回主体
	Data *AlibabaAscpChannelSubRefundCreateData `json:"data,omitempty" xml:"data,omitempty"`
	// 执行结果
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
}

AlibabaAscpChannelSubRefundCreateResultDto 结构体

type AlibabaAscpChannelSupplierProductAuthAPIRequest added in v1.2.8

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

AlibabaAscpChannelSupplierProductAuthAPIRequest 供应商授权渠道产品到市场或分销商 API请求 alibaba.ascp.channel.supplier.product.auth

供应商授权渠道产品到市场或分销商

func NewAlibabaAscpChannelSupplierProductAuthRequest added in v1.2.8

func NewAlibabaAscpChannelSupplierProductAuthRequest() *AlibabaAscpChannelSupplierProductAuthAPIRequest

NewAlibabaAscpChannelSupplierProductAuthRequest 初始化AlibabaAscpChannelSupplierProductAuthAPIRequest对象

func (AlibabaAscpChannelSupplierProductAuthAPIRequest) GetApiMethodName added in v1.2.8

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaAscpChannelSupplierProductAuthAPIRequest) GetApiParams added in v1.2.8

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaAscpChannelSupplierProductAuthAPIRequest) GetChannelProductAuthRequest added in v1.2.8

GetChannelProductAuthRequest ChannelProductAuthRequest Getter

func (AlibabaAscpChannelSupplierProductAuthAPIRequest) GetRawParams added in v1.2.8

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

func (*AlibabaAscpChannelSupplierProductAuthAPIRequest) SetChannelProductAuthRequest added in v1.2.8

func (r *AlibabaAscpChannelSupplierProductAuthAPIRequest) SetChannelProductAuthRequest(_channelProductAuthRequest *ChannelProductAuthRequest) error

SetChannelProductAuthRequest is ChannelProductAuthRequest Setter 请求参数

type AlibabaAscpChannelSupplierProductAuthAPIResponse added in v1.2.8

type AlibabaAscpChannelSupplierProductAuthAPIResponse struct {
	model.CommonResponse
	AlibabaAscpChannelSupplierProductAuthAPIResponseModel
}

AlibabaAscpChannelSupplierProductAuthAPIResponse 供应商授权渠道产品到市场或分销商 API返回值 alibaba.ascp.channel.supplier.product.auth

供应商授权渠道产品到市场或分销商

type AlibabaAscpChannelSupplierProductAuthAPIResponseModel added in v1.2.8

type AlibabaAscpChannelSupplierProductAuthAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_ascp_channel_supplier_product_auth_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 返回值包装
	Result *ResultWrapper `json:"result,omitempty" xml:"result,omitempty"`
}

AlibabaAscpChannelSupplierProductAuthAPIResponseModel is 供应商授权渠道产品到市场或分销商 成功返回结果

type AlibabaAscpChannelSupplierProductDetailAPIRequest added in v1.2.5

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

AlibabaAscpChannelSupplierProductDetailAPIRequest 供应链渠道中心分销品详情查询(供应商专用) API请求 alibaba.ascp.channel.supplier.product.detail

供应链渠道中心分销品详情查询(供应商专用)

func NewAlibabaAscpChannelSupplierProductDetailRequest added in v1.2.5

func NewAlibabaAscpChannelSupplierProductDetailRequest() *AlibabaAscpChannelSupplierProductDetailAPIRequest

NewAlibabaAscpChannelSupplierProductDetailRequest 初始化AlibabaAscpChannelSupplierProductDetailAPIRequest对象

func (AlibabaAscpChannelSupplierProductDetailAPIRequest) GetApiMethodName added in v1.2.5

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaAscpChannelSupplierProductDetailAPIRequest) GetApiParams added in v1.2.5

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaAscpChannelSupplierProductDetailAPIRequest) GetProductDetailRequest added in v1.2.5

GetProductDetailRequest ProductDetailRequest Getter

func (AlibabaAscpChannelSupplierProductDetailAPIRequest) GetRawParams added in v1.2.8

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

func (*AlibabaAscpChannelSupplierProductDetailAPIRequest) SetProductDetailRequest added in v1.2.5

func (r *AlibabaAscpChannelSupplierProductDetailAPIRequest) SetProductDetailRequest(_productDetailRequest *ProductDetailQueryRequestForSupplier) error

SetProductDetailRequest is ProductDetailRequest Setter 入参

type AlibabaAscpChannelSupplierProductDetailAPIResponse added in v1.2.5

type AlibabaAscpChannelSupplierProductDetailAPIResponse struct {
	model.CommonResponse
	AlibabaAscpChannelSupplierProductDetailAPIResponseModel
}

AlibabaAscpChannelSupplierProductDetailAPIResponse 供应链渠道中心分销品详情查询(供应商专用) API返回值 alibaba.ascp.channel.supplier.product.detail

供应链渠道中心分销品详情查询(供应商专用)

type AlibabaAscpChannelSupplierProductDetailAPIResponseModel added in v1.2.5

type AlibabaAscpChannelSupplierProductDetailAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_ascp_channel_supplier_product_detail_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 返回结果
	Result *AlibabaAscpChannelSupplierProductDetailResultDto `json:"result,omitempty" xml:"result,omitempty"`
}

AlibabaAscpChannelSupplierProductDetailAPIResponseModel is 供应链渠道中心分销品详情查询(供应商专用) 成功返回结果

type AlibabaAscpChannelSupplierProductDetailResultDto added in v1.2.5

type AlibabaAscpChannelSupplierProductDetailResultDto struct {
	// 错误码
	ErrorMessage string `json:"error_message,omitempty" xml:"error_message,omitempty"`
	// 错误码
	ErrorCode string `json:"error_code,omitempty" xml:"error_code,omitempty"`
	// 返回详情
	Module *ProductDetailQueryResponseForSupplier `json:"module,omitempty" xml:"module,omitempty"`
	// 执行结果
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
}

AlibabaAscpChannelSupplierProductDetailResultDto 结构体

type AlibabaAscpChannelSupplierProductGoodsBindAPIRequest added in v1.2.8

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

AlibabaAscpChannelSupplierProductGoodsBindAPIRequest 渠道产品与货品绑定接口 API请求 alibaba.ascp.channel.supplier.product.goods.bind

渠道产品与货品绑定接口

func NewAlibabaAscpChannelSupplierProductGoodsBindRequest added in v1.2.8

func NewAlibabaAscpChannelSupplierProductGoodsBindRequest() *AlibabaAscpChannelSupplierProductGoodsBindAPIRequest

NewAlibabaAscpChannelSupplierProductGoodsBindRequest 初始化AlibabaAscpChannelSupplierProductGoodsBindAPIRequest对象

func (AlibabaAscpChannelSupplierProductGoodsBindAPIRequest) GetApiMethodName added in v1.2.8

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaAscpChannelSupplierProductGoodsBindAPIRequest) GetApiParams added in v1.2.8

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaAscpChannelSupplierProductGoodsBindAPIRequest) GetRawParams added in v1.2.8

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

func (AlibabaAscpChannelSupplierProductGoodsBindAPIRequest) GetTopBindProductGoodsRequest added in v1.2.8

GetTopBindProductGoodsRequest TopBindProductGoodsRequest Getter

func (*AlibabaAscpChannelSupplierProductGoodsBindAPIRequest) SetTopBindProductGoodsRequest added in v1.2.8

func (r *AlibabaAscpChannelSupplierProductGoodsBindAPIRequest) SetTopBindProductGoodsRequest(_topBindProductGoodsRequest *TopBindProductGoodsRequest) error

SetTopBindProductGoodsRequest is TopBindProductGoodsRequest Setter 请求

type AlibabaAscpChannelSupplierProductGoodsBindAPIResponse added in v1.2.8

type AlibabaAscpChannelSupplierProductGoodsBindAPIResponse struct {
	model.CommonResponse
	AlibabaAscpChannelSupplierProductGoodsBindAPIResponseModel
}

AlibabaAscpChannelSupplierProductGoodsBindAPIResponse 渠道产品与货品绑定接口 API返回值 alibaba.ascp.channel.supplier.product.goods.bind

渠道产品与货品绑定接口

type AlibabaAscpChannelSupplierProductGoodsBindAPIResponseModel added in v1.2.8

type AlibabaAscpChannelSupplierProductGoodsBindAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_ascp_channel_supplier_product_goods_bind_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 返回结果
	Result *ResultDto `json:"result,omitempty" xml:"result,omitempty"`
}

AlibabaAscpChannelSupplierProductGoodsBindAPIResponseModel is 渠道产品与货品绑定接口 成功返回结果

type AlibabaAscpChannelSupplierProductListAPIRequest added in v1.2.5

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

AlibabaAscpChannelSupplierProductListAPIRequest 供应商渠道产品列表查询 API请求 alibaba.ascp.channel.supplier.product.list

供应商查询渠道产品列表

func NewAlibabaAscpChannelSupplierProductListRequest added in v1.2.5

func NewAlibabaAscpChannelSupplierProductListRequest() *AlibabaAscpChannelSupplierProductListAPIRequest

NewAlibabaAscpChannelSupplierProductListRequest 初始化AlibabaAscpChannelSupplierProductListAPIRequest对象

func (AlibabaAscpChannelSupplierProductListAPIRequest) GetApiMethodName added in v1.2.5

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaAscpChannelSupplierProductListAPIRequest) GetApiParams added in v1.2.5

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaAscpChannelSupplierProductListAPIRequest) GetParam added in v1.2.5

GetParam Param Getter

func (AlibabaAscpChannelSupplierProductListAPIRequest) GetRawParams added in v1.2.8

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

func (*AlibabaAscpChannelSupplierProductListAPIRequest) SetParam added in v1.2.5

SetParam is Param Setter 请求参数

type AlibabaAscpChannelSupplierProductListAPIResponse added in v1.2.5

type AlibabaAscpChannelSupplierProductListAPIResponse struct {
	model.CommonResponse
	AlibabaAscpChannelSupplierProductListAPIResponseModel
}

AlibabaAscpChannelSupplierProductListAPIResponse 供应商渠道产品列表查询 API返回值 alibaba.ascp.channel.supplier.product.list

供应商查询渠道产品列表

type AlibabaAscpChannelSupplierProductListAPIResponseModel added in v1.2.5

type AlibabaAscpChannelSupplierProductListAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_ascp_channel_supplier_product_list_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 错误信息
	ErrorMessage string `json:"error_message,omitempty" xml:"error_message,omitempty"`
	// 错误码
	Error string `json:"error,omitempty" xml:"error,omitempty"`
	// 返回结果
	Module *ProductListQueryResponseForSupplier `json:"module,omitempty" xml:"module,omitempty"`
	// 执行结果是否成功
	ResultSuccess bool `json:"result_success,omitempty" xml:"result_success,omitempty"`
}

AlibabaAscpChannelSupplierProductListAPIResponseModel is 供应商渠道产品列表查询 成功返回结果

type AlibabaAscpChannelSupplierProductPriceApplyAPIRequest added in v1.2.8

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

AlibabaAscpChannelSupplierProductPriceApplyAPIRequest 供应商设置渠道产品价格 API请求 alibaba.ascp.channel.supplier.product.price.apply

供应商设置渠道产品价格

func NewAlibabaAscpChannelSupplierProductPriceApplyRequest added in v1.2.8

func NewAlibabaAscpChannelSupplierProductPriceApplyRequest() *AlibabaAscpChannelSupplierProductPriceApplyAPIRequest

NewAlibabaAscpChannelSupplierProductPriceApplyRequest 初始化AlibabaAscpChannelSupplierProductPriceApplyAPIRequest对象

func (AlibabaAscpChannelSupplierProductPriceApplyAPIRequest) GetApiMethodName added in v1.2.8

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaAscpChannelSupplierProductPriceApplyAPIRequest) GetApiParams added in v1.2.8

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaAscpChannelSupplierProductPriceApplyAPIRequest) GetRawParams added in v1.2.8

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

func (AlibabaAscpChannelSupplierProductPriceApplyAPIRequest) GetTopPriceApplyCreateRequest added in v1.2.8

GetTopPriceApplyCreateRequest TopPriceApplyCreateRequest Getter

func (*AlibabaAscpChannelSupplierProductPriceApplyAPIRequest) SetTopPriceApplyCreateRequest added in v1.2.8

func (r *AlibabaAscpChannelSupplierProductPriceApplyAPIRequest) SetTopPriceApplyCreateRequest(_topPriceApplyCreateRequest *TopPriceApplyCreateRequest) error

SetTopPriceApplyCreateRequest is TopPriceApplyCreateRequest Setter 请求参数

type AlibabaAscpChannelSupplierProductPriceApplyAPIResponse added in v1.2.8

type AlibabaAscpChannelSupplierProductPriceApplyAPIResponse struct {
	model.CommonResponse
	AlibabaAscpChannelSupplierProductPriceApplyAPIResponseModel
}

AlibabaAscpChannelSupplierProductPriceApplyAPIResponse 供应商设置渠道产品价格 API返回值 alibaba.ascp.channel.supplier.product.price.apply

供应商设置渠道产品价格

type AlibabaAscpChannelSupplierProductPriceApplyAPIResponseModel added in v1.2.8

type AlibabaAscpChannelSupplierProductPriceApplyAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_ascp_channel_supplier_product_price_apply_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 返回值包装
	Result *ResultWrapper `json:"result,omitempty" xml:"result,omitempty"`
}

AlibabaAscpChannelSupplierProductPriceApplyAPIResponseModel is 供应商设置渠道产品价格 成功返回结果

type AlibabaAscpGlobalSupplierItemListInfoQueryAPIRequest added in v1.2.5

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

AlibabaAscpGlobalSupplierItemListInfoQueryAPIRequest 供应商供品信息查询 API请求 alibaba.ascp.global.supplier.item.list.info.query

供应商供品信息查询

func NewAlibabaAscpGlobalSupplierItemListInfoQueryRequest added in v1.2.5

func NewAlibabaAscpGlobalSupplierItemListInfoQueryRequest() *AlibabaAscpGlobalSupplierItemListInfoQueryAPIRequest

NewAlibabaAscpGlobalSupplierItemListInfoQueryRequest 初始化AlibabaAscpGlobalSupplierItemListInfoQueryAPIRequest对象

func (AlibabaAscpGlobalSupplierItemListInfoQueryAPIRequest) GetApiMethodName added in v1.2.5

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaAscpGlobalSupplierItemListInfoQueryAPIRequest) GetApiParams added in v1.2.5

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaAscpGlobalSupplierItemListInfoQueryAPIRequest) GetRawParams added in v1.2.8

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

func (AlibabaAscpGlobalSupplierItemListInfoQueryAPIRequest) GetSupplyProductPageQuery added in v1.2.5

GetSupplyProductPageQuery SupplyProductPageQuery Getter

func (*AlibabaAscpGlobalSupplierItemListInfoQueryAPIRequest) SetSupplyProductPageQuery added in v1.2.5

func (r *AlibabaAscpGlobalSupplierItemListInfoQueryAPIRequest) SetSupplyProductPageQuery(_supplyProductPageQuery *TopRequest) error

SetSupplyProductPageQuery is SupplyProductPageQuery Setter 请求组装

type AlibabaAscpGlobalSupplierItemListInfoQueryAPIResponse added in v1.2.5

type AlibabaAscpGlobalSupplierItemListInfoQueryAPIResponse struct {
	model.CommonResponse
	AlibabaAscpGlobalSupplierItemListInfoQueryAPIResponseModel
}

AlibabaAscpGlobalSupplierItemListInfoQueryAPIResponse 供应商供品信息查询 API返回值 alibaba.ascp.global.supplier.item.list.info.query

供应商供品信息查询

type AlibabaAscpGlobalSupplierItemListInfoQueryAPIResponseModel added in v1.2.5

type AlibabaAscpGlobalSupplierItemListInfoQueryAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_ascp_global_supplier_item_list_info_query_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 响应结果
	Result *ResultWrapper `json:"result,omitempty" xml:"result,omitempty"`
}

AlibabaAscpGlobalSupplierItemListInfoQueryAPIResponseModel is 供应商供品信息查询 成功返回结果

type AlibabaAscpGlobalSupplierItemListInfoQueryData added in v1.2.5

type AlibabaAscpGlobalSupplierItemListInfoQueryData struct {
	// 返回货品list
	PageData []PageData `json:"page_data,omitempty" xml:"page_data>page_data,omitempty"`
	// 每页条数,最大不超过200
	PageSize int64 `json:"page_size,omitempty" xml:"page_size,omitempty"`
	// 当前页
	CurrentPage int64 `json:"current_page,omitempty" xml:"current_page,omitempty"`
	// 货品总数
	TotalCount int64 `json:"total_count,omitempty" xml:"total_count,omitempty"`
}

AlibabaAscpGlobalSupplierItemListInfoQueryData 结构体

type AlibabaAscpIndustryIcpQueryLbxAPIRequest added in v1.2.0

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

AlibabaAscpIndustryIcpQueryLbxAPIRequest icp订单号查询lbx订单号 API请求 alibaba.ascp.industry.icp.query.lbx

根据icp订单号查询lbx订单号

func NewAlibabaAscpIndustryIcpQueryLbxRequest

func NewAlibabaAscpIndustryIcpQueryLbxRequest() *AlibabaAscpIndustryIcpQueryLbxAPIRequest

NewAlibabaAscpIndustryIcpQueryLbxRequest 初始化AlibabaAscpIndustryIcpQueryLbxAPIRequest对象

func (AlibabaAscpIndustryIcpQueryLbxAPIRequest) GetApiMethodName added in v1.2.0

func (r AlibabaAscpIndustryIcpQueryLbxAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaAscpIndustryIcpQueryLbxAPIRequest) GetApiParams added in v1.2.0

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

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaAscpIndustryIcpQueryLbxAPIRequest) GetIcpOrderCode added in v1.2.0

GetIcpOrderCode IcpOrderCode Getter

func (AlibabaAscpIndustryIcpQueryLbxAPIRequest) GetRawParams added in v1.2.8

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

func (*AlibabaAscpIndustryIcpQueryLbxAPIRequest) SetIcpOrderCode added in v1.2.0

func (r *AlibabaAscpIndustryIcpQueryLbxAPIRequest) SetIcpOrderCode(_icpOrderCode string) error

SetIcpOrderCode is IcpOrderCode Setter icps订单号

type AlibabaAscpIndustryIcpQueryLbxAPIResponse

type AlibabaAscpIndustryIcpQueryLbxAPIResponse struct {
	model.CommonResponse
	AlibabaAscpIndustryIcpQueryLbxAPIResponseModel
}

AlibabaAscpIndustryIcpQueryLbxAPIResponse icp订单号查询lbx订单号 API返回值 alibaba.ascp.industry.icp.query.lbx

根据icp订单号查询lbx订单号

type AlibabaAscpIndustryIcpQueryLbxAPIResponseModel added in v1.2.0

type AlibabaAscpIndustryIcpQueryLbxAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_ascp_industry_icp_query_lbx_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 返回值包装,result为返回具体消息内容
	BizResponse *ResultWrapper `json:"biz_response,omitempty" xml:"biz_response,omitempty"`
}

AlibabaAscpIndustryIcpQueryLbxAPIResponseModel is icp订单号查询lbx订单号 成功返回结果

type AlibabaAscpIndustryIcpQueryLbxData

type AlibabaAscpIndustryIcpQueryLbxData struct {
	// 单信息
	TransferDetailList []Transferdetaildtolist `json:"transfer_detail_list,omitempty" xml:"transfer_detail_list>transferdetaildtolist,omitempty"`
	// 外部icps单号
	OutBizCode string `json:"out_biz_code,omitempty" xml:"out_biz_code,omitempty"`
	// 调拨状态
	TransferOrderStatus string `json:"transfer_order_status,omitempty" xml:"transfer_order_status,omitempty"`
}

AlibabaAscpIndustryIcpQueryLbxData 结构体

type AlibabaAscpIndustryLaunchExtraChargeAPIRequest added in v1.2.9

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

AlibabaAscpIndustryLaunchExtraChargeAPIRequest 阿里巴巴.行业.增加费用.服务商发起 API请求 alibaba.ascp.industry.launch.extra.charge

阿里巴巴.行业.增加费用.服务商发起

func NewAlibabaAscpIndustryLaunchExtraChargeRequest added in v1.2.9

func NewAlibabaAscpIndustryLaunchExtraChargeRequest() *AlibabaAscpIndustryLaunchExtraChargeAPIRequest

NewAlibabaAscpIndustryLaunchExtraChargeRequest 初始化AlibabaAscpIndustryLaunchExtraChargeAPIRequest对象

func (AlibabaAscpIndustryLaunchExtraChargeAPIRequest) GetApiMethodName added in v1.2.9

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaAscpIndustryLaunchExtraChargeAPIRequest) GetApiParams added in v1.2.9

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaAscpIndustryLaunchExtraChargeAPIRequest) GetOmsLaunchExtraChargeParameter added in v1.2.9

GetOmsLaunchExtraChargeParameter OmsLaunchExtraChargeParameter Getter

func (AlibabaAscpIndustryLaunchExtraChargeAPIRequest) GetRawParams added in v1.2.9

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

func (*AlibabaAscpIndustryLaunchExtraChargeAPIRequest) SetOmsLaunchExtraChargeParameter added in v1.2.9

func (r *AlibabaAscpIndustryLaunchExtraChargeAPIRequest) SetOmsLaunchExtraChargeParameter(_omsLaunchExtraChargeParameter *OmsLaunchExtraChargeParameter) error

SetOmsLaunchExtraChargeParameter is OmsLaunchExtraChargeParameter Setter 请求对象

type AlibabaAscpIndustryLaunchExtraChargeAPIResponse added in v1.2.9

type AlibabaAscpIndustryLaunchExtraChargeAPIResponse struct {
	model.CommonResponse
	AlibabaAscpIndustryLaunchExtraChargeAPIResponseModel
}

AlibabaAscpIndustryLaunchExtraChargeAPIResponse 阿里巴巴.行业.增加费用.服务商发起 API返回值 alibaba.ascp.industry.launch.extra.charge

阿里巴巴.行业.增加费用.服务商发起

type AlibabaAscpIndustryLaunchExtraChargeAPIResponseModel added in v1.2.9

type AlibabaAscpIndustryLaunchExtraChargeAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_ascp_industry_launch_extra_charge_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 返回对象
	Result *ResultWrapper `json:"result,omitempty" xml:"result,omitempty"`
}

AlibabaAscpIndustryLaunchExtraChargeAPIResponseModel is 阿里巴巴.行业.增加费用.服务商发起 成功返回结果

type AlibabaAscpIndustryLaunchExtraChargeData added in v1.2.9

type AlibabaAscpIndustryLaunchExtraChargeData struct {
	// 增加费用服务调整单ID
	ExtraChargeServiceOrderId string `json:"extra_charge_service_order_id,omitempty" xml:"extra_charge_service_order_id,omitempty"`
	// 扩展字段
	Feature string `json:"feature,omitempty" xml:"feature,omitempty"`
}

AlibabaAscpIndustryLaunchExtraChargeData 结构体

type AlibabaAscpIndustryUopSupplierConsignoderAPIRequest added in v1.2.0

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

AlibabaAscpIndustryUopSupplierConsignoderAPIRequest 商家推单 API请求 alibaba.ascp.industry.uop.supplier.consignoder

商家推单

func NewAlibabaAscpIndustryUopSupplierConsignoderRequest

func NewAlibabaAscpIndustryUopSupplierConsignoderRequest() *AlibabaAscpIndustryUopSupplierConsignoderAPIRequest

NewAlibabaAscpIndustryUopSupplierConsignoderRequest 初始化AlibabaAscpIndustryUopSupplierConsignoderAPIRequest对象

func (AlibabaAscpIndustryUopSupplierConsignoderAPIRequest) GetApiMethodName added in v1.2.0

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaAscpIndustryUopSupplierConsignoderAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaAscpIndustryUopSupplierConsignoderAPIRequest) GetErpNormalConsignOrderRequest added in v1.2.0

GetErpNormalConsignOrderRequest ErpNormalConsignOrderRequest Getter

func (AlibabaAscpIndustryUopSupplierConsignoderAPIRequest) GetRawParams added in v1.2.8

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

func (*AlibabaAscpIndustryUopSupplierConsignoderAPIRequest) SetErpNormalConsignOrderRequest added in v1.2.0

func (r *AlibabaAscpIndustryUopSupplierConsignoderAPIRequest) SetErpNormalConsignOrderRequest(_erpNormalConsignOrderRequest *Erpnormalconsignorderrequest) error

SetErpNormalConsignOrderRequest is ErpNormalConsignOrderRequest Setter 发货主单信息

type AlibabaAscpIndustryUopSupplierConsignoderAPIResponse

type AlibabaAscpIndustryUopSupplierConsignoderAPIResponse struct {
	model.CommonResponse
	AlibabaAscpIndustryUopSupplierConsignoderAPIResponseModel
}

AlibabaAscpIndustryUopSupplierConsignoderAPIResponse 商家推单 API返回值 alibaba.ascp.industry.uop.supplier.consignoder

商家推单

type AlibabaAscpIndustryUopSupplierConsignoderAPIResponseModel added in v1.2.0

type AlibabaAscpIndustryUopSupplierConsignoderAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_ascp_industry_uop_supplier_consignoder_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 商家推送天猫信息后,由天猫回传的字段
	Data *AlibabaAscpIndustryUopSupplierConsignoderData `json:"data,omitempty" xml:"data,omitempty"`
}

AlibabaAscpIndustryUopSupplierConsignoderAPIResponseModel is 商家推单 成功返回结果

type AlibabaAscpIndustryUopSupplierConsignoderData

type AlibabaAscpIndustryUopSupplierConsignoderData struct {
	// 送装物流单号
	ExpressCode string `json:"express_code,omitempty" xml:"express_code,omitempty"`
}

AlibabaAscpIndustryUopSupplierConsignoderData 结构体

type AlibabaAscpIndustryWaybillAcceptAPIRequest added in v1.2.9

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

AlibabaAscpIndustryWaybillAcceptAPIRequest 商家ERP预推单 API请求 alibaba.ascp.industry.waybill.accept

商家ERP预推单

func NewAlibabaAscpIndustryWaybillAcceptRequest added in v1.2.9

func NewAlibabaAscpIndustryWaybillAcceptRequest() *AlibabaAscpIndustryWaybillAcceptAPIRequest

NewAlibabaAscpIndustryWaybillAcceptRequest 初始化AlibabaAscpIndustryWaybillAcceptAPIRequest对象

func (AlibabaAscpIndustryWaybillAcceptAPIRequest) GetApiMethodName added in v1.2.9

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaAscpIndustryWaybillAcceptAPIRequest) GetApiParams added in v1.2.9

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

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaAscpIndustryWaybillAcceptAPIRequest) GetRawParams added in v1.2.9

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

func (AlibabaAscpIndustryWaybillAcceptAPIRequest) GetWaybillGenRequest added in v1.2.9

GetWaybillGenRequest WaybillGenRequest Getter

func (*AlibabaAscpIndustryWaybillAcceptAPIRequest) SetWaybillGenRequest added in v1.2.9

func (r *AlibabaAscpIndustryWaybillAcceptAPIRequest) SetWaybillGenRequest(_waybillGenRequest *WaybillGenRequest) error

SetWaybillGenRequest is WaybillGenRequest Setter 开单信息

type AlibabaAscpIndustryWaybillAcceptAPIResponse added in v1.2.9

type AlibabaAscpIndustryWaybillAcceptAPIResponse struct {
	model.CommonResponse
	AlibabaAscpIndustryWaybillAcceptAPIResponseModel
}

AlibabaAscpIndustryWaybillAcceptAPIResponse 商家ERP预推单 API返回值 alibaba.ascp.industry.waybill.accept

商家ERP预推单

type AlibabaAscpIndustryWaybillAcceptAPIResponseModel added in v1.2.9

type AlibabaAscpIndustryWaybillAcceptAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_ascp_industry_waybill_accept_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 返回对象
	Result *ResultWrapper `json:"result,omitempty" xml:"result,omitempty"`
}

AlibabaAscpIndustryWaybillAcceptAPIResponseModel is 商家ERP预推单 成功返回结果

type AlibabaAscpIndustryWaybillPreAcceptAPIRequest added in v1.2.9

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

AlibabaAscpIndustryWaybillPreAcceptAPIRequest 商家ERP预推单 API请求 alibaba.ascp.industry.waybill.pre.accept

商家ERP预推单

func NewAlibabaAscpIndustryWaybillPreAcceptRequest added in v1.2.9

func NewAlibabaAscpIndustryWaybillPreAcceptRequest() *AlibabaAscpIndustryWaybillPreAcceptAPIRequest

NewAlibabaAscpIndustryWaybillPreAcceptRequest 初始化AlibabaAscpIndustryWaybillPreAcceptAPIRequest对象

func (AlibabaAscpIndustryWaybillPreAcceptAPIRequest) GetApiMethodName added in v1.2.9

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaAscpIndustryWaybillPreAcceptAPIRequest) GetApiParams added in v1.2.9

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaAscpIndustryWaybillPreAcceptAPIRequest) GetRawParams added in v1.2.9

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

func (AlibabaAscpIndustryWaybillPreAcceptAPIRequest) GetWaybillGenRequest added in v1.2.9

GetWaybillGenRequest WaybillGenRequest Getter

func (*AlibabaAscpIndustryWaybillPreAcceptAPIRequest) SetWaybillGenRequest added in v1.2.9

func (r *AlibabaAscpIndustryWaybillPreAcceptAPIRequest) SetWaybillGenRequest(_waybillGenRequest *WaybillGenRequest) error

SetWaybillGenRequest is WaybillGenRequest Setter 开单信息

type AlibabaAscpIndustryWaybillPreAcceptAPIResponse added in v1.2.9

type AlibabaAscpIndustryWaybillPreAcceptAPIResponse struct {
	model.CommonResponse
	AlibabaAscpIndustryWaybillPreAcceptAPIResponseModel
}

AlibabaAscpIndustryWaybillPreAcceptAPIResponse 商家ERP预推单 API返回值 alibaba.ascp.industry.waybill.pre.accept

商家ERP预推单

type AlibabaAscpIndustryWaybillPreAcceptAPIResponseModel added in v1.2.9

type AlibabaAscpIndustryWaybillPreAcceptAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_ascp_industry_waybill_pre_accept_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 返回对象
	Result *ResultWrapper `json:"result,omitempty" xml:"result,omitempty"`
}

AlibabaAscpIndustryWaybillPreAcceptAPIResponseModel is 商家ERP预推单 成功返回结果

type AlibabaAscpIndustryWaybillPreAcceptData added in v1.2.9

type AlibabaAscpIndustryWaybillPreAcceptData struct {
	// 运单号
	ExpressNo string `json:"express_no,omitempty" xml:"express_no,omitempty"`
	// 物流品牌
	LogisticsBrand string `json:"logistics_brand,omitempty" xml:"logistics_brand,omitempty"`
}

AlibabaAscpIndustryWaybillPreAcceptData 结构体

type AlibabaAscpPresalespackageConsignAPIRequest added in v1.2.0

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

AlibabaAscpPresalespackageConsignAPIRequest 预售预包尾款推单发货 API请求 alibaba.ascp.presalespackage.consign

预售预包尾款发货后推单处理

func NewAlibabaAscpPresalespackageConsignRequest

func NewAlibabaAscpPresalespackageConsignRequest() *AlibabaAscpPresalespackageConsignAPIRequest

NewAlibabaAscpPresalespackageConsignRequest 初始化AlibabaAscpPresalespackageConsignAPIRequest对象

func (AlibabaAscpPresalespackageConsignAPIRequest) GetApiMethodName added in v1.2.0

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaAscpPresalespackageConsignAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaAscpPresalespackageConsignAPIRequest) GetRawParams added in v1.2.8

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

func (AlibabaAscpPresalespackageConsignAPIRequest) GetRequestParams added in v1.2.0

GetRequestParams RequestParams Getter

func (*AlibabaAscpPresalespackageConsignAPIRequest) SetRequestParams added in v1.2.0

func (r *AlibabaAscpPresalespackageConsignAPIRequest) SetRequestParams(_requestParams *Requestparams) error

SetRequestParams is RequestParams Setter 入参

type AlibabaAscpPresalespackageConsignAPIResponse

type AlibabaAscpPresalespackageConsignAPIResponse struct {
	model.CommonResponse
	AlibabaAscpPresalespackageConsignAPIResponseModel
}

AlibabaAscpPresalespackageConsignAPIResponse 预售预包尾款推单发货 API返回值 alibaba.ascp.presalespackage.consign

预售预包尾款发货后推单处理

type AlibabaAscpPresalespackageConsignAPIResponseModel added in v1.2.0

type AlibabaAscpPresalespackageConsignAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_ascp_presalespackage_consign_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 系统自动生成
	Result *ErpPresaleFinalPayResult `json:"result,omitempty" xml:"result,omitempty"`
}

AlibabaAscpPresalespackageConsignAPIResponseModel is 预售预包尾款推单发货 成功返回结果

type AlibabaAscpPurchasePriceCreateAPIRequest added in v1.2.0

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

AlibabaAscpPurchasePriceCreateAPIRequest ascp采购价写入接口 API请求 alibaba.ascp.purchase.price.create

供应链平台采购价创建或修改接口

func NewAlibabaAscpPurchasePriceCreateRequest

func NewAlibabaAscpPurchasePriceCreateRequest() *AlibabaAscpPurchasePriceCreateAPIRequest

NewAlibabaAscpPurchasePriceCreateRequest 初始化AlibabaAscpPurchasePriceCreateAPIRequest对象

func (AlibabaAscpPurchasePriceCreateAPIRequest) GetApiMethodName added in v1.2.0

func (r AlibabaAscpPurchasePriceCreateAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaAscpPurchasePriceCreateAPIRequest) GetApiParams added in v1.2.0

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

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaAscpPurchasePriceCreateAPIRequest) GetCreateRequest added in v1.2.0

GetCreateRequest CreateRequest Getter

func (AlibabaAscpPurchasePriceCreateAPIRequest) GetRawParams added in v1.2.8

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

func (*AlibabaAscpPurchasePriceCreateAPIRequest) SetCreateRequest added in v1.2.0

SetCreateRequest is CreateRequest Setter 采购价创建/更新请求

type AlibabaAscpPurchasePriceCreateAPIResponse

type AlibabaAscpPurchasePriceCreateAPIResponse struct {
	model.CommonResponse
	AlibabaAscpPurchasePriceCreateAPIResponseModel
}

AlibabaAscpPurchasePriceCreateAPIResponse ascp采购价写入接口 API返回值 alibaba.ascp.purchase.price.create

供应链平台采购价创建或修改接口

type AlibabaAscpPurchasePriceCreateAPIResponseModel added in v1.2.0

type AlibabaAscpPurchasePriceCreateAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_ascp_purchase_price_create_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 接口返回model
	Result *ResultWrapper `json:"result,omitempty" xml:"result,omitempty"`
}

AlibabaAscpPurchasePriceCreateAPIResponseModel is ascp采购价写入接口 成功返回结果

type AlibabaAscpPurchasePriceCreateRequest

type AlibabaAscpPurchasePriceCreateRequest struct {
	// 供应链仓code
	StoreCodeSets []string `json:"store_code_sets,omitempty" xml:"store_code_sets>string,omitempty"`
	// 二级供应商id
	SupplierId string `json:"supplier_id,omitempty" xml:"supplier_id,omitempty"`
	// 失效时间(区间采购价必须)
	PriceDeadlineDate string `json:"price_deadline_date,omitempty" xml:"price_deadline_date,omitempty"`
	// 操作人
	OperatorName string `json:"operator_name,omitempty" xml:"operator_name,omitempty"`
	// 生效时间(区间采购价必须)
	PriceStartDate string `json:"price_start_date,omitempty" xml:"price_start_date,omitempty"`
	// 租户ID,请填写商家编码
	TenantId string `json:"tenant_id,omitempty" xml:"tenant_id,omitempty"`
	// 默认根据合同;币种,USD-美元,CNY-人民币,RUB-卢布,JPY-日元,EUR-欧元,GBP-英镑,HKD-港币,NZD-新西兰元,SGD-新加坡元,AUD-澳元,KRW-韩元,THB-泰铢,
	Currency string `json:"currency,omitempty" xml:"currency,omitempty"`
	// 目的港代码
	PortOfDestination string `json:"port_of_destination,omitempty" xml:"port_of_destination,omitempty"`
	// 起运港代码
	PortOfLoading string `json:"port_of_loading,omitempty" xml:"port_of_loading,omitempty"`
	// 价格类型1-基准价,2-区间价
	PriceType int64 `json:"price_type,omitempty" xml:"price_type,omitempty"`
	// 货品id
	ScItemId int64 `json:"sc_item_id,omitempty" xml:"sc_item_id,omitempty"`
	// 采购价(含税)(单位:元)
	PurchasePrice *BigDecimal `json:"purchase_price,omitempty" xml:"purchase_price,omitempty"`
	// 运输方式,1-水路运输,2-航空运输,3-铁路运输,4-公路运输,0-其他
	TransportType int64 `json:"transport_type,omitempty" xml:"transport_type,omitempty"`
	// 贸易类型,1-EXW(跨境工厂交货价交易),2-CIF(跨境到岸价交易),3-FCA(跨境货交承运人交易),4-FOB(跨境离岸价交易),5-CFR(跨境目的港交货价交易),6-DDU(跨境到仓不含税价格交易),7-日本境内贸易,9-国内一般贸易交易,11-FAS,12-CNF,13-CPT,14-CIP,15-DDP,16-DAT,17-DAP
	TradeType int64 `json:"trade_type,omitempty" xml:"trade_type,omitempty"`
}

AlibabaAscpPurchasePriceCreateRequest 结构体

type AlibabaAscpSalecategoryQueryAPIRequest added in v1.2.0

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

AlibabaAscpSalecategoryQueryAPIRequest 货品品类查询 API请求 alibaba.ascp.salecategory.query

根据货品ID查询对应销售品类ID

func NewAlibabaAscpSalecategoryQueryRequest

func NewAlibabaAscpSalecategoryQueryRequest() *AlibabaAscpSalecategoryQueryAPIRequest

NewAlibabaAscpSalecategoryQueryRequest 初始化AlibabaAscpSalecategoryQueryAPIRequest对象

func (AlibabaAscpSalecategoryQueryAPIRequest) GetApiMethodName added in v1.2.0

func (r AlibabaAscpSalecategoryQueryAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaAscpSalecategoryQueryAPIRequest) GetApiParams added in v1.2.0

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

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaAscpSalecategoryQueryAPIRequest) GetItemId added in v1.2.0

GetItemId ItemId Getter

func (AlibabaAscpSalecategoryQueryAPIRequest) GetRawParams added in v1.2.8

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

func (*AlibabaAscpSalecategoryQueryAPIRequest) SetItemId added in v1.2.0

func (r *AlibabaAscpSalecategoryQueryAPIRequest) SetItemId(_itemId []int64) error

SetItemId is ItemId Setter 货品ID

type AlibabaAscpSalecategoryQueryAPIResponse

type AlibabaAscpSalecategoryQueryAPIResponse struct {
	model.CommonResponse
	AlibabaAscpSalecategoryQueryAPIResponseModel
}

AlibabaAscpSalecategoryQueryAPIResponse 货品品类查询 API返回值 alibaba.ascp.salecategory.query

根据货品ID查询对应销售品类ID

type AlibabaAscpSalecategoryQueryAPIResponseModel added in v1.2.0

type AlibabaAscpSalecategoryQueryAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_ascp_salecategory_query_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 货品查询结构化对象
	DataList []SalecategoryQueryResponse `json:"data_list,omitempty" xml:"data_list>salecategory_query_response,omitempty"`
}

AlibabaAscpSalecategoryQueryAPIResponseModel is 货品品类查询 成功返回结果

type AlibabaAscpUopCnReverseWarehouseorderUpdateAPIRequest added in v1.2.0

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

AlibabaAscpUopCnReverseWarehouseorderUpdateAPIRequest 供应链中台逆向入库单修改服务 API请求 alibaba.ascp.uop.cn.reverse.warehouseorder.update

供应链中台逆向入库单修改服务

func NewAlibabaAscpUopCnReverseWarehouseorderUpdateRequest

func NewAlibabaAscpUopCnReverseWarehouseorderUpdateRequest() *AlibabaAscpUopCnReverseWarehouseorderUpdateAPIRequest

NewAlibabaAscpUopCnReverseWarehouseorderUpdateRequest 初始化AlibabaAscpUopCnReverseWarehouseorderUpdateAPIRequest对象

func (AlibabaAscpUopCnReverseWarehouseorderUpdateAPIRequest) GetApiMethodName added in v1.2.0

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaAscpUopCnReverseWarehouseorderUpdateAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaAscpUopCnReverseWarehouseorderUpdateAPIRequest) GetOrderCode added in v1.2.0

GetOrderCode OrderCode Getter

func (AlibabaAscpUopCnReverseWarehouseorderUpdateAPIRequest) GetRawParams added in v1.2.8

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

func (AlibabaAscpUopCnReverseWarehouseorderUpdateAPIRequest) GetRefundReason added in v1.2.0

GetRefundReason RefundReason Getter

func (AlibabaAscpUopCnReverseWarehouseorderUpdateAPIRequest) GetRefunded added in v1.2.0

GetRefunded Refunded Getter

func (*AlibabaAscpUopCnReverseWarehouseorderUpdateAPIRequest) SetOrderCode added in v1.2.0

SetOrderCode is OrderCode Setter 逆向入库单号

func (*AlibabaAscpUopCnReverseWarehouseorderUpdateAPIRequest) SetRefundReason added in v1.2.0

func (r *AlibabaAscpUopCnReverseWarehouseorderUpdateAPIRequest) SetRefundReason(_refundReason string) error

SetRefundReason is RefundReason Setter 退款原因

func (*AlibabaAscpUopCnReverseWarehouseorderUpdateAPIRequest) SetRefunded added in v1.2.0

SetRefunded is Refunded Setter 是否已经退款

type AlibabaAscpUopCnReverseWarehouseorderUpdateAPIResponse

type AlibabaAscpUopCnReverseWarehouseorderUpdateAPIResponse struct {
	model.CommonResponse
	AlibabaAscpUopCnReverseWarehouseorderUpdateAPIResponseModel
}

AlibabaAscpUopCnReverseWarehouseorderUpdateAPIResponse 供应链中台逆向入库单修改服务 API返回值 alibaba.ascp.uop.cn.reverse.warehouseorder.update

供应链中台逆向入库单修改服务

type AlibabaAscpUopCnReverseWarehouseorderUpdateAPIResponseModel added in v1.2.0

type AlibabaAscpUopCnReverseWarehouseorderUpdateAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_ascp_uop_cn_reverse_warehouseorder_update_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 返回值包装,result为返回具体消息内容
	UpdateReverseWarehouseOrderResponse *ResultWrapper `json:"update_reverse_warehouse_order_response,omitempty" xml:"update_reverse_warehouse_order_response,omitempty"`
}

AlibabaAscpUopCnReverseWarehouseorderUpdateAPIResponseModel is 供应链中台逆向入库单修改服务 成功返回结果

type AlibabaAscpUopSelfSupplierWaybillQueryAPIRequest added in v1.2.5

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

AlibabaAscpUopSelfSupplierWaybillQueryAPIRequest 商家仓自营配电子面单取号 API请求 alibaba.ascp.uop.self.supplier.waybill.query

ERP调用打印面单取号接口

func NewAlibabaAscpUopSelfSupplierWaybillQueryRequest added in v1.2.5

func NewAlibabaAscpUopSelfSupplierWaybillQueryRequest() *AlibabaAscpUopSelfSupplierWaybillQueryAPIRequest

NewAlibabaAscpUopSelfSupplierWaybillQueryRequest 初始化AlibabaAscpUopSelfSupplierWaybillQueryAPIRequest对象

func (AlibabaAscpUopSelfSupplierWaybillQueryAPIRequest) GetApiMethodName added in v1.2.5

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaAscpUopSelfSupplierWaybillQueryAPIRequest) GetApiParams added in v1.2.5

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaAscpUopSelfSupplierWaybillQueryAPIRequest) GetRawParams added in v1.2.8

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

func (AlibabaAscpUopSelfSupplierWaybillQueryAPIRequest) GetWaybillQueryRequest added in v1.2.5

GetWaybillQueryRequest WaybillQueryRequest Getter

func (*AlibabaAscpUopSelfSupplierWaybillQueryAPIRequest) SetWaybillQueryRequest added in v1.2.5

func (r *AlibabaAscpUopSelfSupplierWaybillQueryAPIRequest) SetWaybillQueryRequest(_waybillQueryRequest *Waybillqueryrequest) error

SetWaybillQueryRequest is WaybillQueryRequest Setter 查询面单请求参数

type AlibabaAscpUopSelfSupplierWaybillQueryAPIResponse added in v1.2.5

type AlibabaAscpUopSelfSupplierWaybillQueryAPIResponse struct {
	model.CommonResponse
	AlibabaAscpUopSelfSupplierWaybillQueryAPIResponseModel
}

AlibabaAscpUopSelfSupplierWaybillQueryAPIResponse 商家仓自营配电子面单取号 API返回值 alibaba.ascp.uop.self.supplier.waybill.query

ERP调用打印面单取号接口

type AlibabaAscpUopSelfSupplierWaybillQueryAPIResponseModel added in v1.2.5

type AlibabaAscpUopSelfSupplierWaybillQueryAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_ascp_uop_self_supplier_waybill_query_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 返回值包装,result为返回具体消息内容
	WaybillQueryResponse *ResultWrapper `json:"waybill_query_response,omitempty" xml:"waybill_query_response,omitempty"`
}

AlibabaAscpUopSelfSupplierWaybillQueryAPIResponseModel is 商家仓自营配电子面单取号 成功返回结果

type AlibabaAscpUopSupplierConsignorderCancelFeedbackAPIRequest added in v1.2.0

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

AlibabaAscpUopSupplierConsignorderCancelFeedbackAPIRequest 商家仓wms取消发货反馈回告服务 API请求 alibaba.ascp.uop.supplier.consignorder.cancel.feedback

履约单纬度通知商家仓wms取消发货结果反馈回告服务

func NewAlibabaAscpUopSupplierConsignorderCancelFeedbackRequest

func NewAlibabaAscpUopSupplierConsignorderCancelFeedbackRequest() *AlibabaAscpUopSupplierConsignorderCancelFeedbackAPIRequest

NewAlibabaAscpUopSupplierConsignorderCancelFeedbackRequest 初始化AlibabaAscpUopSupplierConsignorderCancelFeedbackAPIRequest对象

func (AlibabaAscpUopSupplierConsignorderCancelFeedbackAPIRequest) GetApiMethodName added in v1.2.0

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaAscpUopSupplierConsignorderCancelFeedbackAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaAscpUopSupplierConsignorderCancelFeedbackAPIRequest) GetConsignorderCancelFeedbackRequest added in v1.2.0

GetConsignorderCancelFeedbackRequest ConsignorderCancelFeedbackRequest Getter

func (AlibabaAscpUopSupplierConsignorderCancelFeedbackAPIRequest) GetRawParams added in v1.2.8

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

func (*AlibabaAscpUopSupplierConsignorderCancelFeedbackAPIRequest) SetConsignorderCancelFeedbackRequest added in v1.2.0

func (r *AlibabaAscpUopSupplierConsignorderCancelFeedbackAPIRequest) SetConsignorderCancelFeedbackRequest(_consignorderCancelFeedbackRequest *Consignordercancelfeedbackrequest) error

SetConsignorderCancelFeedbackRequest is ConsignorderCancelFeedbackRequest Setter 取消发货反馈回告请求

type AlibabaAscpUopSupplierConsignorderCancelFeedbackAPIResponse

type AlibabaAscpUopSupplierConsignorderCancelFeedbackAPIResponse struct {
	model.CommonResponse
	AlibabaAscpUopSupplierConsignorderCancelFeedbackAPIResponseModel
}

AlibabaAscpUopSupplierConsignorderCancelFeedbackAPIResponse 商家仓wms取消发货反馈回告服务 API返回值 alibaba.ascp.uop.supplier.consignorder.cancel.feedback

履约单纬度通知商家仓wms取消发货结果反馈回告服务

type AlibabaAscpUopSupplierConsignorderCancelFeedbackAPIResponseModel added in v1.2.0

type AlibabaAscpUopSupplierConsignorderCancelFeedbackAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_ascp_uop_supplier_consignorder_cancel_feedback_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 返回值包装,result为返回具体消息内容
	ConsignorderCancelFeedbackResponse *ResultWrapper `json:"consignorder_cancel_feedback_response,omitempty" xml:"consignorder_cancel_feedback_response,omitempty"`
}

AlibabaAscpUopSupplierConsignorderCancelFeedbackAPIResponseModel is 商家仓wms取消发货反馈回告服务 成功返回结果

type AlibabaAscpUopSupplierConsignorderNotifyReceivedAPIRequest added in v1.2.0

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

AlibabaAscpUopSupplierConsignorderNotifyReceivedAPIRequest 商家仓物流发货推单接单回告 API请求 alibaba.ascp.uop.supplier.consignorder.notify.received

ASCP通过该接口接收商家仓开始接单生产订单对应的物流订单信息

func NewAlibabaAscpUopSupplierConsignorderNotifyReceivedRequest

func NewAlibabaAscpUopSupplierConsignorderNotifyReceivedRequest() *AlibabaAscpUopSupplierConsignorderNotifyReceivedAPIRequest

NewAlibabaAscpUopSupplierConsignorderNotifyReceivedRequest 初始化AlibabaAscpUopSupplierConsignorderNotifyReceivedAPIRequest对象

func (AlibabaAscpUopSupplierConsignorderNotifyReceivedAPIRequest) GetApiMethodName added in v1.2.0

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaAscpUopSupplierConsignorderNotifyReceivedAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaAscpUopSupplierConsignorderNotifyReceivedAPIRequest) GetBizOrderCode added in v1.2.0

GetBizOrderCode BizOrderCode Getter

func (AlibabaAscpUopSupplierConsignorderNotifyReceivedAPIRequest) GetBizTime added in v1.2.0

GetBizTime BizTime Getter

func (AlibabaAscpUopSupplierConsignorderNotifyReceivedAPIRequest) GetBusinessModel added in v1.2.5

GetBusinessModel BusinessModel Getter

func (AlibabaAscpUopSupplierConsignorderNotifyReceivedAPIRequest) GetRawParams added in v1.2.8

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

func (AlibabaAscpUopSupplierConsignorderNotifyReceivedAPIRequest) GetSupplierId added in v1.2.0

GetSupplierId SupplierId Getter

func (*AlibabaAscpUopSupplierConsignorderNotifyReceivedAPIRequest) SetBizOrderCode added in v1.2.0

SetBizOrderCode is BizOrderCode Setter qimen.alibaba.ascp.uop.consignorder.notify报文中bizOrderCode履约单号

func (*AlibabaAscpUopSupplierConsignorderNotifyReceivedAPIRequest) SetBizTime added in v1.2.0

SetBizTime is BizTime Setter 业务请求时间

func (*AlibabaAscpUopSupplierConsignorderNotifyReceivedAPIRequest) SetBusinessModel added in v1.2.5

func (r *AlibabaAscpUopSupplierConsignorderNotifyReceivedAPIRequest) SetBusinessModel(_businessModel string) error

SetBusinessModel is BusinessModel Setter 一盘货业务模式,默认为0代表商家仓商家配,为1代表商家仓自营配 (为1时会强制校验配CP和单号必须与取号时一致,且多包裹必须一次性发货)

func (*AlibabaAscpUopSupplierConsignorderNotifyReceivedAPIRequest) SetSupplierId added in v1.2.0

SetSupplierId is SupplierId Setter qimen.alibaba.ascp.uop.consignorder.notify报文中的supplierId字段值

type AlibabaAscpUopSupplierConsignorderNotifyReceivedAPIResponse

type AlibabaAscpUopSupplierConsignorderNotifyReceivedAPIResponse struct {
	model.CommonResponse
	AlibabaAscpUopSupplierConsignorderNotifyReceivedAPIResponseModel
}

AlibabaAscpUopSupplierConsignorderNotifyReceivedAPIResponse 商家仓物流发货推单接单回告 API返回值 alibaba.ascp.uop.supplier.consignorder.notify.received

ASCP通过该接口接收商家仓开始接单生产订单对应的物流订单信息

type AlibabaAscpUopSupplierConsignorderNotifyReceivedAPIResponseModel added in v1.2.0

type AlibabaAscpUopSupplierConsignorderNotifyReceivedAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_ascp_uop_supplier_consignorder_notify_received_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 返回值包装,result为返回具体消息内容
	ConsignorderNotifyReceivedResponse *ResultWrapper `json:"consignorder_notify_received_response,omitempty" xml:"consignorder_notify_received_response,omitempty"`
}

AlibabaAscpUopSupplierConsignorderNotifyReceivedAPIResponseModel is 商家仓物流发货推单接单回告 成功返回结果

type AlibabaAscpUopSupplierConsignorderNotifyTmsChangeAPIRequest added in v1.2.0

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

AlibabaAscpUopSupplierConsignorderNotifyTmsChangeAPIRequest 商家修改运单号 API请求 alibaba.ascp.uop.supplier.consignorder.notify.tms.change

供应商可以通过此接口,对出库回告上报的运单号进行修改,目前一次调用只能支持一个运单号的修改

func NewAlibabaAscpUopSupplierConsignorderNotifyTmsChangeRequest

func NewAlibabaAscpUopSupplierConsignorderNotifyTmsChangeRequest() *AlibabaAscpUopSupplierConsignorderNotifyTmsChangeAPIRequest

NewAlibabaAscpUopSupplierConsignorderNotifyTmsChangeRequest 初始化AlibabaAscpUopSupplierConsignorderNotifyTmsChangeAPIRequest对象

func (AlibabaAscpUopSupplierConsignorderNotifyTmsChangeAPIRequest) GetApiMethodName added in v1.2.0

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaAscpUopSupplierConsignorderNotifyTmsChangeAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaAscpUopSupplierConsignorderNotifyTmsChangeAPIRequest) GetModifyMailNoRequest added in v1.2.0

GetModifyMailNoRequest ModifyMailNoRequest Getter

func (AlibabaAscpUopSupplierConsignorderNotifyTmsChangeAPIRequest) GetRawParams added in v1.2.8

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

func (*AlibabaAscpUopSupplierConsignorderNotifyTmsChangeAPIRequest) SetModifyMailNoRequest added in v1.2.0

func (r *AlibabaAscpUopSupplierConsignorderNotifyTmsChangeAPIRequest) SetModifyMailNoRequest(_modifyMailNoRequest *Modifymailnorequest) error

SetModifyMailNoRequest is ModifyMailNoRequest Setter 修改运单号请求模型

type AlibabaAscpUopSupplierConsignorderNotifyTmsChangeAPIResponse

type AlibabaAscpUopSupplierConsignorderNotifyTmsChangeAPIResponse struct {
	model.CommonResponse
	AlibabaAscpUopSupplierConsignorderNotifyTmsChangeAPIResponseModel
}

AlibabaAscpUopSupplierConsignorderNotifyTmsChangeAPIResponse 商家修改运单号 API返回值 alibaba.ascp.uop.supplier.consignorder.notify.tms.change

供应商可以通过此接口,对出库回告上报的运单号进行修改,目前一次调用只能支持一个运单号的修改

type AlibabaAscpUopSupplierConsignorderNotifyTmsChangeAPIResponseModel added in v1.2.0

type AlibabaAscpUopSupplierConsignorderNotifyTmsChangeAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_ascp_uop_supplier_consignorder_notify_tms_change_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 返回值包装,result为返回具体消息内容
	ModifyMailNoResponse *ResultWrapper `json:"modify_mail_no_response,omitempty" xml:"modify_mail_no_response,omitempty"`
}

AlibabaAscpUopSupplierConsignorderNotifyTmsChangeAPIResponseModel is 商家修改运单号 成功返回结果

type AlibabaAscpUopSupplierConsignorderOutofstockCallbackAPIRequest added in v1.2.0

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

AlibabaAscpUopSupplierConsignorderOutofstockCallbackAPIRequest 履约单纬度的仓缺货回告服务 API请求 alibaba.ascp.uop.supplier.consignorder.outofstock.callback

商家仓履约单纬度的仓缺货回告接口

func NewAlibabaAscpUopSupplierConsignorderOutofstockCallbackRequest

func NewAlibabaAscpUopSupplierConsignorderOutofstockCallbackRequest() *AlibabaAscpUopSupplierConsignorderOutofstockCallbackAPIRequest

NewAlibabaAscpUopSupplierConsignorderOutofstockCallbackRequest 初始化AlibabaAscpUopSupplierConsignorderOutofstockCallbackAPIRequest对象

func (AlibabaAscpUopSupplierConsignorderOutofstockCallbackAPIRequest) GetApiMethodName added in v1.2.0

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaAscpUopSupplierConsignorderOutofstockCallbackAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaAscpUopSupplierConsignorderOutofstockCallbackAPIRequest) GetConsignorderOutofstockCallbackRequest added in v1.2.0

GetConsignorderOutofstockCallbackRequest ConsignorderOutofstockCallbackRequest Getter

func (AlibabaAscpUopSupplierConsignorderOutofstockCallbackAPIRequest) GetRawParams added in v1.2.8

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

func (*AlibabaAscpUopSupplierConsignorderOutofstockCallbackAPIRequest) SetConsignorderOutofstockCallbackRequest added in v1.2.0

func (r *AlibabaAscpUopSupplierConsignorderOutofstockCallbackAPIRequest) SetConsignorderOutofstockCallbackRequest(_consignorderOutofstockCallbackRequest *Consignorderoutofstockcallbackrequest) error

SetConsignorderOutofstockCallbackRequest is ConsignorderOutofstockCallbackRequest Setter 缺货回告请求模型

type AlibabaAscpUopSupplierConsignorderOutofstockCallbackAPIResponse

type AlibabaAscpUopSupplierConsignorderOutofstockCallbackAPIResponse struct {
	model.CommonResponse
	AlibabaAscpUopSupplierConsignorderOutofstockCallbackAPIResponseModel
}

AlibabaAscpUopSupplierConsignorderOutofstockCallbackAPIResponse 履约单纬度的仓缺货回告服务 API返回值 alibaba.ascp.uop.supplier.consignorder.outofstock.callback

商家仓履约单纬度的仓缺货回告接口

type AlibabaAscpUopSupplierConsignorderOutofstockCallbackAPIResponseModel added in v1.2.0

type AlibabaAscpUopSupplierConsignorderOutofstockCallbackAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_ascp_uop_supplier_consignorder_outofstock_callback_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 返回值包装,result为返回具体消息内容
	ConsignorderOutofstockCallbackResponse *ResultWrapper `json:"consignorder_outofstock_callback_response,omitempty" xml:"consignorder_outofstock_callback_response,omitempty"`
}

AlibabaAscpUopSupplierConsignorderOutofstockCallbackAPIResponseModel is 履约单纬度的仓缺货回告服务 成功返回结果

type AlibabaAscpUopSupplierConsignorderShipAPIRequest added in v1.2.0

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

AlibabaAscpUopSupplierConsignorderShipAPIRequest 履约单商家仓发货结果回传服务 API请求 alibaba.ascp.uop.supplier.consignorder.ship

ERP通过该接口通知商家仓声明销售订单出库信息,支持履约单纬度全部发货的回传(目前不支持分批回传)

func NewAlibabaAscpUopSupplierConsignorderShipRequest

func NewAlibabaAscpUopSupplierConsignorderShipRequest() *AlibabaAscpUopSupplierConsignorderShipAPIRequest

NewAlibabaAscpUopSupplierConsignorderShipRequest 初始化AlibabaAscpUopSupplierConsignorderShipAPIRequest对象

func (AlibabaAscpUopSupplierConsignorderShipAPIRequest) GetApiMethodName added in v1.2.0

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaAscpUopSupplierConsignorderShipAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaAscpUopSupplierConsignorderShipAPIRequest) GetConsignorderShipRequest added in v1.2.0

GetConsignorderShipRequest ConsignorderShipRequest Getter

func (AlibabaAscpUopSupplierConsignorderShipAPIRequest) GetRawParams added in v1.2.8

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

func (*AlibabaAscpUopSupplierConsignorderShipAPIRequest) SetConsignorderShipRequest added in v1.2.0

func (r *AlibabaAscpUopSupplierConsignorderShipAPIRequest) SetConsignorderShipRequest(_consignorderShipRequest *Consignordershiprequest) error

SetConsignorderShipRequest is ConsignorderShipRequest Setter 发货回传请求模型

type AlibabaAscpUopSupplierConsignorderShipAPIResponse

type AlibabaAscpUopSupplierConsignorderShipAPIResponse struct {
	model.CommonResponse
	AlibabaAscpUopSupplierConsignorderShipAPIResponseModel
}

AlibabaAscpUopSupplierConsignorderShipAPIResponse 履约单商家仓发货结果回传服务 API返回值 alibaba.ascp.uop.supplier.consignorder.ship

ERP通过该接口通知商家仓声明销售订单出库信息,支持履约单纬度全部发货的回传(目前不支持分批回传)

type AlibabaAscpUopSupplierConsignorderShipAPIResponseModel added in v1.2.0

type AlibabaAscpUopSupplierConsignorderShipAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_ascp_uop_supplier_consignorder_ship_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 返回值包装,result为返回具体消息内容
	ConsignorderShipResponse *ResultWrapper `json:"consignorder_ship_response,omitempty" xml:"consignorder_ship_response,omitempty"`
}

AlibabaAscpUopSupplierConsignorderShipAPIResponseModel is 履约单商家仓发货结果回传服务 成功返回结果

type AlibabaAscpUopSupplierReverseorderCreateAPIRequest added in v1.2.0

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

AlibabaAscpUopSupplierReverseorderCreateAPIRequest 商家ERP发起创建销退单服务 API请求 alibaba.ascp.uop.supplier.reverseorder.create

商家在收到消费者实物退货后,在ERP发起创建销退单服务

func NewAlibabaAscpUopSupplierReverseorderCreateRequest

func NewAlibabaAscpUopSupplierReverseorderCreateRequest() *AlibabaAscpUopSupplierReverseorderCreateAPIRequest

NewAlibabaAscpUopSupplierReverseorderCreateRequest 初始化AlibabaAscpUopSupplierReverseorderCreateAPIRequest对象

func (AlibabaAscpUopSupplierReverseorderCreateAPIRequest) GetApiMethodName added in v1.2.0

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaAscpUopSupplierReverseorderCreateAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaAscpUopSupplierReverseorderCreateAPIRequest) GetRawParams added in v1.2.8

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

func (AlibabaAscpUopSupplierReverseorderCreateAPIRequest) GetReverseCreateRequest added in v1.2.0

GetReverseCreateRequest ReverseCreateRequest Getter

func (*AlibabaAscpUopSupplierReverseorderCreateAPIRequest) SetReverseCreateRequest added in v1.2.0

func (r *AlibabaAscpUopSupplierReverseorderCreateAPIRequest) SetReverseCreateRequest(_reverseCreateRequest *ReverseCreateRequest) error

SetReverseCreateRequest is ReverseCreateRequest Setter 逆向销退单创建请求

type AlibabaAscpUopSupplierReverseorderCreateAPIResponse

type AlibabaAscpUopSupplierReverseorderCreateAPIResponse struct {
	model.CommonResponse
	AlibabaAscpUopSupplierReverseorderCreateAPIResponseModel
}

AlibabaAscpUopSupplierReverseorderCreateAPIResponse 商家ERP发起创建销退单服务 API返回值 alibaba.ascp.uop.supplier.reverseorder.create

商家在收到消费者实物退货后,在ERP发起创建销退单服务

type AlibabaAscpUopSupplierReverseorderCreateAPIResponseModel added in v1.2.0

type AlibabaAscpUopSupplierReverseorderCreateAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_ascp_uop_supplier_reverseorder_create_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 返回值包装,result为返回具体消息内容
	ReverseCreateResponse *ResultWrapper `json:"reverse_create_response,omitempty" xml:"reverse_create_response,omitempty"`
}

AlibabaAscpUopSupplierReverseorderCreateAPIResponseModel is 商家ERP发起创建销退单服务 成功返回结果

type AlibabaAscpUopSupplierReverseorderInstorageFeedbackAPIRequest added in v1.2.0

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

AlibabaAscpUopSupplierReverseorderInstorageFeedbackAPIRequest 逆向销退入库单入库结果回告 API请求 alibaba.ascp.uop.supplier.reverseorder.instorage.feedback

ASCP按照逆向履约单纬度,通过该接口接收商家在退货完成时,自动创建销退单做入库回传。

func NewAlibabaAscpUopSupplierReverseorderInstorageFeedbackRequest

func NewAlibabaAscpUopSupplierReverseorderInstorageFeedbackRequest() *AlibabaAscpUopSupplierReverseorderInstorageFeedbackAPIRequest

NewAlibabaAscpUopSupplierReverseorderInstorageFeedbackRequest 初始化AlibabaAscpUopSupplierReverseorderInstorageFeedbackAPIRequest对象

func (AlibabaAscpUopSupplierReverseorderInstorageFeedbackAPIRequest) GetApiMethodName added in v1.2.0

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaAscpUopSupplierReverseorderInstorageFeedbackAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaAscpUopSupplierReverseorderInstorageFeedbackAPIRequest) GetInstorageFeedbackRequest added in v1.2.0

GetInstorageFeedbackRequest InstorageFeedbackRequest Getter

func (AlibabaAscpUopSupplierReverseorderInstorageFeedbackAPIRequest) GetRawParams added in v1.2.8

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

func (*AlibabaAscpUopSupplierReverseorderInstorageFeedbackAPIRequest) SetInstorageFeedbackRequest added in v1.2.0

func (r *AlibabaAscpUopSupplierReverseorderInstorageFeedbackAPIRequest) SetInstorageFeedbackRequest(_instorageFeedbackRequest *Instoragefeedbackrequest) error

SetInstorageFeedbackRequest is InstorageFeedbackRequest Setter 销退单入库结果请求

type AlibabaAscpUopSupplierReverseorderInstorageFeedbackAPIResponse

type AlibabaAscpUopSupplierReverseorderInstorageFeedbackAPIResponse struct {
	model.CommonResponse
	AlibabaAscpUopSupplierReverseorderInstorageFeedbackAPIResponseModel
}

AlibabaAscpUopSupplierReverseorderInstorageFeedbackAPIResponse 逆向销退入库单入库结果回告 API返回值 alibaba.ascp.uop.supplier.reverseorder.instorage.feedback

ASCP按照逆向履约单纬度,通过该接口接收商家在退货完成时,自动创建销退单做入库回传。

type AlibabaAscpUopSupplierReverseorderInstorageFeedbackAPIResponseModel added in v1.2.0

type AlibabaAscpUopSupplierReverseorderInstorageFeedbackAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_ascp_uop_supplier_reverseorder_instorage_feedback_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 返回值包装,result为返回具体消息内容
	InstorageFeedbackResponse *ResultWrapper `json:"instorage_feedback_response,omitempty" xml:"instorage_feedback_response,omitempty"`
}

AlibabaAscpUopSupplierReverseorderInstorageFeedbackAPIResponseModel is 逆向销退入库单入库结果回告 成功返回结果

type AlibabaAscpUopSupplierReverseorderInstorageResultAPIRequest added in v1.2.0

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

AlibabaAscpUopSupplierReverseorderInstorageResultAPIRequest 逆向销退入库单到仓结果回告 API请求 alibaba.ascp.uop.supplier.reverseorder.instorage.result

ERP回告销退入库单到仓信息回告

func NewAlibabaAscpUopSupplierReverseorderInstorageResultRequest

func NewAlibabaAscpUopSupplierReverseorderInstorageResultRequest() *AlibabaAscpUopSupplierReverseorderInstorageResultAPIRequest

NewAlibabaAscpUopSupplierReverseorderInstorageResultRequest 初始化AlibabaAscpUopSupplierReverseorderInstorageResultAPIRequest对象

func (AlibabaAscpUopSupplierReverseorderInstorageResultAPIRequest) GetApiMethodName added in v1.2.0

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaAscpUopSupplierReverseorderInstorageResultAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaAscpUopSupplierReverseorderInstorageResultAPIRequest) GetInstorageResultRequest added in v1.2.0

GetInstorageResultRequest InstorageResultRequest Getter

func (AlibabaAscpUopSupplierReverseorderInstorageResultAPIRequest) GetRawParams added in v1.2.8

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

func (*AlibabaAscpUopSupplierReverseorderInstorageResultAPIRequest) SetInstorageResultRequest added in v1.2.0

func (r *AlibabaAscpUopSupplierReverseorderInstorageResultAPIRequest) SetInstorageResultRequest(_instorageResultRequest *Instorageresultrequest) error

SetInstorageResultRequest is InstorageResultRequest Setter 消退入库单结果请求

type AlibabaAscpUopSupplierReverseorderInstorageResultAPIResponse

type AlibabaAscpUopSupplierReverseorderInstorageResultAPIResponse struct {
	model.CommonResponse
	AlibabaAscpUopSupplierReverseorderInstorageResultAPIResponseModel
}

AlibabaAscpUopSupplierReverseorderInstorageResultAPIResponse 逆向销退入库单到仓结果回告 API返回值 alibaba.ascp.uop.supplier.reverseorder.instorage.result

ERP回告销退入库单到仓信息回告

type AlibabaAscpUopSupplierReverseorderInstorageResultAPIResponseModel added in v1.2.0

type AlibabaAscpUopSupplierReverseorderInstorageResultAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_ascp_uop_supplier_reverseorder_instorage_result_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 返回值包装,result为返回具体消息内容
	InstorageResultResponse *ResultWrapper `json:"instorage_result_response,omitempty" xml:"instorage_result_response,omitempty"`
}

AlibabaAscpUopSupplierReverseorderInstorageResultAPIResponseModel is 逆向销退入库单到仓结果回告 成功返回结果

type AlibabaAscpUopTaobaoPresalesorderConsignconfirmAPIRequest added in v1.2.0

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

AlibabaAscpUopTaobaoPresalesorderConsignconfirmAPIRequest 预售商家仓出库 API请求 alibaba.ascp.uop.taobao.presalesorder.consignconfirm

预售商家仓出库

func NewAlibabaAscpUopTaobaoPresalesorderConsignconfirmRequest

func NewAlibabaAscpUopTaobaoPresalesorderConsignconfirmRequest() *AlibabaAscpUopTaobaoPresalesorderConsignconfirmAPIRequest

NewAlibabaAscpUopTaobaoPresalesorderConsignconfirmRequest 初始化AlibabaAscpUopTaobaoPresalesorderConsignconfirmAPIRequest对象

func (AlibabaAscpUopTaobaoPresalesorderConsignconfirmAPIRequest) GetApiMethodName added in v1.2.0

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaAscpUopTaobaoPresalesorderConsignconfirmAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaAscpUopTaobaoPresalesorderConsignconfirmAPIRequest) GetPresalesOrderConsignConfirmRequest added in v1.2.0

GetPresalesOrderConsignConfirmRequest PresalesOrderConsignConfirmRequest Getter

func (AlibabaAscpUopTaobaoPresalesorderConsignconfirmAPIRequest) GetRawParams added in v1.2.8

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

func (*AlibabaAscpUopTaobaoPresalesorderConsignconfirmAPIRequest) SetPresalesOrderConsignConfirmRequest added in v1.2.0

func (r *AlibabaAscpUopTaobaoPresalesorderConsignconfirmAPIRequest) SetPresalesOrderConsignConfirmRequest(_presalesOrderConsignConfirmRequest *Presalesorderconsignconfirmrequest) error

SetPresalesOrderConsignConfirmRequest is PresalesOrderConsignConfirmRequest Setter 预售订单商家仓出库对象

type AlibabaAscpUopTaobaoPresalesorderConsignconfirmAPIResponse

type AlibabaAscpUopTaobaoPresalesorderConsignconfirmAPIResponse struct {
	model.CommonResponse
	AlibabaAscpUopTaobaoPresalesorderConsignconfirmAPIResponseModel
}

AlibabaAscpUopTaobaoPresalesorderConsignconfirmAPIResponse 预售商家仓出库 API返回值 alibaba.ascp.uop.taobao.presalesorder.consignconfirm

预售商家仓出库

type AlibabaAscpUopTaobaoPresalesorderConsignconfirmAPIResponseModel added in v1.2.0

type AlibabaAscpUopTaobaoPresalesorderConsignconfirmAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_ascp_uop_taobao_presalesorder_consignconfirm_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 返回值包装,result为返回具体消息内容
	PresalesOrderConsignConfirmResponse *ResultWrapper `json:"presales_order_consign_confirm_response,omitempty" xml:"presales_order_consign_confirm_response,omitempty"`
}

AlibabaAscpUopTaobaoPresalesorderConsignconfirmAPIResponseModel is 预售商家仓出库 成功返回结果

type AlibabaAscpUopTaobaoPresalesorderCreateAPIRequest added in v1.2.0

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

AlibabaAscpUopTaobaoPresalesorderCreateAPIRequest 预售商家仓接单 API请求 alibaba.ascp.uop.taobao.presalesorder.create

预售商家仓接单

func NewAlibabaAscpUopTaobaoPresalesorderCreateRequest

func NewAlibabaAscpUopTaobaoPresalesorderCreateRequest() *AlibabaAscpUopTaobaoPresalesorderCreateAPIRequest

NewAlibabaAscpUopTaobaoPresalesorderCreateRequest 初始化AlibabaAscpUopTaobaoPresalesorderCreateAPIRequest对象

func (AlibabaAscpUopTaobaoPresalesorderCreateAPIRequest) GetApiMethodName added in v1.2.0

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaAscpUopTaobaoPresalesorderCreateAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaAscpUopTaobaoPresalesorderCreateAPIRequest) GetPresalesOrderCreateRequest added in v1.2.0

GetPresalesOrderCreateRequest PresalesOrderCreateRequest Getter

func (AlibabaAscpUopTaobaoPresalesorderCreateAPIRequest) GetRawParams added in v1.2.8

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

func (*AlibabaAscpUopTaobaoPresalesorderCreateAPIRequest) SetPresalesOrderCreateRequest added in v1.2.0

func (r *AlibabaAscpUopTaobaoPresalesorderCreateAPIRequest) SetPresalesOrderCreateRequest(_presalesOrderCreateRequest *PresalesordercreaterequestTest) error

SetPresalesOrderCreateRequest is PresalesOrderCreateRequest Setter 预售商家仓接单对象

type AlibabaAscpUopTaobaoPresalesorderCreateAPIResponse

type AlibabaAscpUopTaobaoPresalesorderCreateAPIResponse struct {
	model.CommonResponse
	AlibabaAscpUopTaobaoPresalesorderCreateAPIResponseModel
}

AlibabaAscpUopTaobaoPresalesorderCreateAPIResponse 预售商家仓接单 API返回值 alibaba.ascp.uop.taobao.presalesorder.create

预售商家仓接单

type AlibabaAscpUopTaobaoPresalesorderCreateAPIResponseModel added in v1.2.0

type AlibabaAscpUopTaobaoPresalesorderCreateAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_ascp_uop_taobao_presalesorder_create_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 返回值包装,result为返回具体消息内容
	PresalesOrderCreateResponse *ResultWrapper `json:"presales_order_create_response,omitempty" xml:"presales_order_create_response,omitempty"`
}

AlibabaAscpUopTaobaoPresalesorderCreateAPIResponseModel is 预售商家仓接单 成功返回结果

type AlibabaAscpUopTaobaoPresalesorderCreateData

type AlibabaAscpUopTaobaoPresalesorderCreateData struct {
	// 物流信息
	LogisticsAcceptInfoResList []Logisticsacceptinforeslist `json:"logistics_accept_info_res_list,omitempty" xml:"logistics_accept_info_res_list>logisticsacceptinforeslist,omitempty"`
}

AlibabaAscpUopTaobaoPresalesorderCreateData 结构体

type AlibabaAscpUopTobPackageQueryAPIRequest added in v1.2.0

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

AlibabaAscpUopTobPackageQueryAPIRequest B2B包裹查询接口 API请求 alibaba.ascp.uop.tob.package.query

供应链中台TOB包裹查询接口

func NewAlibabaAscpUopTobPackageQueryRequest

func NewAlibabaAscpUopTobPackageQueryRequest() *AlibabaAscpUopTobPackageQueryAPIRequest

NewAlibabaAscpUopTobPackageQueryRequest 初始化AlibabaAscpUopTobPackageQueryAPIRequest对象

func (AlibabaAscpUopTobPackageQueryAPIRequest) GetApiMethodName added in v1.2.0

func (r AlibabaAscpUopTobPackageQueryAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaAscpUopTobPackageQueryAPIRequest) GetApiParams added in v1.2.0

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

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaAscpUopTobPackageQueryAPIRequest) GetPackageQueryRequest added in v1.2.0

GetPackageQueryRequest PackageQueryRequest Getter

func (AlibabaAscpUopTobPackageQueryAPIRequest) GetRawParams added in v1.2.8

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

func (*AlibabaAscpUopTobPackageQueryAPIRequest) SetPackageQueryRequest added in v1.2.0

func (r *AlibabaAscpUopTobPackageQueryAPIRequest) SetPackageQueryRequest(_packageQueryRequest *Packagequeryrequest) error

SetPackageQueryRequest is PackageQueryRequest Setter 系统自动生成

type AlibabaAscpUopTobPackageQueryAPIResponse

type AlibabaAscpUopTobPackageQueryAPIResponse struct {
	model.CommonResponse
	AlibabaAscpUopTobPackageQueryAPIResponseModel
}

AlibabaAscpUopTobPackageQueryAPIResponse B2B包裹查询接口 API返回值 alibaba.ascp.uop.tob.package.query

供应链中台TOB包裹查询接口

type AlibabaAscpUopTobPackageQueryAPIResponseModel added in v1.2.0

type AlibabaAscpUopTobPackageQueryAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_ascp_uop_tob_package_query_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 返回值包装,result为返回具体消息内容
	PackageQueryResponse *ResultWrapper `json:"package_query_response,omitempty" xml:"package_query_response,omitempty"`
}

AlibabaAscpUopTobPackageQueryAPIResponseModel is B2B包裹查询接口 成功返回结果

type AlibabaAscpUopTobPackageQueryData

type AlibabaAscpUopTobPackageQueryData struct {
	// 包裹明细列表
	PackageItemDtos []Packageitemdtos `json:"package_item_dtos,omitempty" xml:"package_item_dtos>packageitemdtos,omitempty"`
	// 包裹信息
	PackageDto *Packagedto `json:"package_dto,omitempty" xml:"package_dto,omitempty"`
}

AlibabaAscpUopTobPackageQueryData 结构体

type Attribute

type Attribute struct {
	// 供应商id
	SupplierId string `json:"supplier_id,omitempty" xml:"supplier_id,omitempty"`
	// FULLAMOUNT:全量模式;INCREMENT:增量模式
	InvOperateMode string `json:"inv_operate_mode,omitempty" xml:"inv_operate_mode,omitempty"`
}

Attribute 结构体

type BatchChannelInventoryQuery

type BatchChannelInventoryQuery struct {
	// 产品Id
	ProductIds []string `json:"product_ids,omitempty" xml:"product_ids>string,omitempty"`
	// 二级渠道
	SubChannelCode string `json:"sub_channel_code,omitempty" xml:"sub_channel_code,omitempty"`
	// 默认不传
	ProductType string `json:"product_type,omitempty" xml:"product_type,omitempty"`
	// 一级渠道
	ChannelCode string `json:"channel_code,omitempty" xml:"channel_code,omitempty"`
	// 省
	ProvinceName string `json:"province_name,omitempty" xml:"province_name,omitempty"`
	// 市
	CityName string `json:"city_name,omitempty" xml:"city_name,omitempty"`
	// 区
	AreaName string `json:"area_name,omitempty" xml:"area_name,omitempty"`
}

BatchChannelInventoryQuery 结构体

type BigDecimal added in v1.2.5

type BigDecimal struct {
}

BigDecimal 结构体

type BussinessInventoryLog added in v1.2.5

type BussinessInventoryLog struct {
	// 库存类型(包含在仓,不包含在途和物流差异
	InventoryType string `json:"inventory_type,omitempty" xml:"inventory_type,omitempty"`
	// 货品编码
	ScItemCode string `json:"sc_item_code,omitempty" xml:"sc_item_code,omitempty"`
	// 库存出入库数量
	ChangeQuantity string `json:"change_quantity,omitempty" xml:"change_quantity,omitempty"`
	// 货品ID
	ScItemId string `json:"sc_item_id,omitempty" xml:"sc_item_id,omitempty"`
	// ERP单号
	ErpOrderCode string `json:"erp_order_code,omitempty" xml:"erp_order_code,omitempty"`
	// 单据类型
	ActivityType string `json:"activity_type,omitempty" xml:"activity_type,omitempty"`
	// 变动日期(格式YYYY-MM-DD HH:MI:SS)
	GmtCreate string `json:"gmt_create,omitempty" xml:"gmt_create,omitempty"`
	// 业务主单号
	OpOrderId string `json:"op_order_id,omitempty" xml:"op_order_id,omitempty"`
	// 业务子单号
	OpSubOrderId string `json:"op_sub_order_id,omitempty" xml:"op_sub_order_id,omitempty"`
	// 仓编码
	StoreCode string `json:"store_code,omitempty" xml:"store_code,omitempty"`
	// 物流LBX号
	WmsOrderCode string `json:"wms_order_code,omitempty" xml:"wms_order_code,omitempty"`
	// 淘系交易子单
	SubTradeId string `json:"sub_trade_id,omitempty" xml:"sub_trade_id,omitempty"`
	// 淘系交易主单
	TradeId string `json:"trade_id,omitempty" xml:"trade_id,omitempty"`
	// 每日库存结余数量
	DaySurplusQuantity string `json:"day_surplus_quantity,omitempty" xml:"day_surplus_quantity,omitempty"`
}

BussinessInventoryLog 结构体

type Cancelrefundorderrequest added in v1.2.5

type Cancelrefundorderrequest struct {
	// 退款单号
	RefundNo string `json:"refund_no,omitempty" xml:"refund_no,omitempty"`
	// 外部退款单号
	OutRefundNo string `json:"out_refund_no,omitempty" xml:"out_refund_no,omitempty"`
}

Cancelrefundorderrequest 结构体

type ChannelInventoryDto

type ChannelInventoryDto struct {
	// 库存数量
	Quantity string `json:"quantity,omitempty" xml:"quantity,omitempty"`
	// 产品ID
	ProductId string `json:"product_id,omitempty" xml:"product_id,omitempty"`
	// 二级渠道
	SubChannelCode string `json:"sub_channel_code,omitempty" xml:"sub_channel_code,omitempty"`
	// skuId
	SkuId string `json:"sku_id,omitempty" xml:"sku_id,omitempty"`
	// 市场
	ChannelCode string `json:"channel_code,omitempty" xml:"channel_code,omitempty"`
}

ChannelInventoryDto 结构体

type ChannelInventoryQuery

type ChannelInventoryQuery struct {
	// 产品ID
	ProductId string `json:"product_id,omitempty" xml:"product_id,omitempty"`
	// 二级渠道
	SubChannelCode string `json:"sub_channel_code,omitempty" xml:"sub_channel_code,omitempty"`
	// skuId
	SkuId string `json:"sku_id,omitempty" xml:"sku_id,omitempty"`
	// 默认不需传
	ProductType string `json:"product_type,omitempty" xml:"product_type,omitempty"`
	// 一级渠道
	ChannelCode string `json:"channel_code,omitempty" xml:"channel_code,omitempty"`
	// 省
	ProvinceName string `json:"province_name,omitempty" xml:"province_name,omitempty"`
	// 市
	CityName string `json:"city_name,omitempty" xml:"city_name,omitempty"`
	// 区
	AreaName string `json:"area_name,omitempty" xml:"area_name,omitempty"`
}

ChannelInventoryQuery 结构体

type ChannelProductAuthRequest added in v1.2.8

type ChannelProductAuthRequest struct {
	// 分销商名称,指定用户传值
	DistributorNick string `json:"distributor_nick,omitempty" xml:"distributor_nick,omitempty"`
	// 二级渠道编码
	SubChannelCode string `json:"sub_channel_code,omitempty" xml:"sub_channel_code,omitempty"`
	// 渠道编码
	ChannelCode string `json:"channel_code,omitempty" xml:"channel_code,omitempty"`
	// 授权纬度,5:经营模式 + 指定用户/6:经营模式 + 指定渠道
	DimensionType int64 `json:"dimension_type,omitempty" xml:"dimension_type,omitempty"`
	// 渠道产品id
	ProductId int64 `json:"product_id,omitempty" xml:"product_id,omitempty"`
}

ChannelProductAuthRequest 结构体

type Closerefundorderrequest added in v1.2.8

type Closerefundorderrequest struct {
	// 退款单号
	RefundNo string `json:"refund_no,omitempty" xml:"refund_no,omitempty"`
	// 外部退款单号
	OutRefundNo string `json:"out_refund_no,omitempty" xml:"out_refund_no,omitempty"`
}

Closerefundorderrequest 结构体

type Consignordercancelfeedbackrequest

type Consignordercancelfeedbackrequest struct {
	// 供应商id
	SupplierId string `json:"supplier_id,omitempty" xml:"supplier_id,omitempty"`
	// 履约单号
	BizOrderCode string `json:"biz_order_code,omitempty" xml:"biz_order_code,omitempty"`
	// 业务时间
	BizTime string `json:"biz_time,omitempty" xml:"biz_time,omitempty"`
	// 取消失败原因
	CancelReason string `json:"cancel_reason,omitempty" xml:"cancel_reason,omitempty"`
	// 一盘货业务模式,默认为0代表商家仓商家配,为1代表商家仓自营配 (为1时会强制校验配CP和单号必须与取号时一致,且多包裹必须一次性发货)
	BusinessModel string `json:"business_model,omitempty" xml:"business_model,omitempty"`
	// 是否取消成功,true成功/false失败
	CancelResult bool `json:"cancel_result,omitempty" xml:"cancel_result,omitempty"`
}

Consignordercancelfeedbackrequest 结构体

type Consignorderitemlist

type Consignorderitemlist struct {
	// 包件明细( 包件为包裹信息)
	PackageDetailList []Packagedetaillist `json:"package_detail_list,omitempty" xml:"package_detail_list>packagedetaillist,omitempty"`
	// 交易主单号
	OrderSourceCode string `json:"order_source_code,omitempty" xml:"order_source_code,omitempty"`
	// 交易子单号
	SubSourceCode string `json:"sub_source_code,omitempty" xml:"sub_source_code,omitempty"`
	// 货品名称(货品为商家实际发货货品信息)
	GoodsName string `json:"goods_name,omitempty" xml:"goods_name,omitempty"`
	// 货品体积(m3)
	GoodsVolume string `json:"goods_volume,omitempty" xml:"goods_volume,omitempty"`
	// 货品重量(kg)
	GoodsWeight string `json:"goods_weight,omitempty" xml:"goods_weight,omitempty"`
	// 安装类型 1:整装 2:拆装
	InstallType string `json:"install_type,omitempty" xml:"install_type,omitempty"`
	// 商品名称(商品为店铺销售宝贝信息)
	ItemName string `json:"item_name,omitempty" xml:"item_name,omitempty"`
	// 商品编码
	ItemCode string `json:"item_code,omitempty" xml:"item_code,omitempty"`
	// 扩展字段JSON串
	Feature string `json:"feature,omitempty" xml:"feature,omitempty"`
	// 包件数量
	PackageQty int64 `json:"package_qty,omitempty" xml:"package_qty,omitempty"`
	// 货品数量
	GoodsQty int64 `json:"goods_qty,omitempty" xml:"goods_qty,omitempty"`
}

Consignorderitemlist 结构体

type Consignorderoutofstockcallbackrequest

type Consignorderoutofstockcallbackrequest struct {
	// 缺货明细
	OutOfStockItems []Outofstockitems `json:"out_of_stock_items,omitempty" xml:"out_of_stock_items>outofstockitems,omitempty"`
	// 供应商id
	SupplierId string `json:"supplier_id,omitempty" xml:"supplier_id,omitempty"`
	// 外部业务号
	OutBizId string `json:"out_biz_id,omitempty" xml:"out_biz_id,omitempty"`
	// 履约单号
	BizOrderCode string `json:"biz_order_code,omitempty" xml:"biz_order_code,omitempty"`
	// 缺货原因
	OutOfStockReason string `json:"out_of_stock_reason,omitempty" xml:"out_of_stock_reason,omitempty"`
}

Consignorderoutofstockcallbackrequest 结构体

type Consignordershiprequest

type Consignordershiprequest struct {
	// 履约子单明细
	OrderItems []Orderitems `json:"order_items,omitempty" xml:"order_items>orderitems,omitempty"`
	// 包裹列表
	TmsOrders []Tmsorders `json:"tms_orders,omitempty" xml:"tms_orders>tmsorders,omitempty"`
	// 供应商id
	SupplierId string `json:"supplier_id,omitempty" xml:"supplier_id,omitempty"`
	// 外部业务号,幂等控制使用
	OutBizId string `json:"out_biz_id,omitempty" xml:"out_biz_id,omitempty"`
	// 履约单号
	BizOrderCode string `json:"biz_order_code,omitempty" xml:"biz_order_code,omitempty"`
	// 发货仓编码
	StoreCode string `json:"store_code,omitempty" xml:"store_code,omitempty"`
	// 发货仓名称
	StoreName string `json:"store_name,omitempty" xml:"store_name,omitempty"`
	// 一盘货业务模式,默认为0代表商家仓商家配,为1代表商家仓自营配 (为1时会强制校验配CP和单号必须与取号时一致,且多包裹必须一次性发货)
	BusinessModel string `json:"business_model,omitempty" xml:"business_model,omitempty"`
	// 发件人信息
	SenderInfo *Senderinfo `json:"sender_info,omitempty" xml:"sender_info,omitempty"`
	// 是否整单发货,目前只支持履约单整单发货回传
	WholeSheetConsigned bool `json:"whole_sheet_consigned,omitempty" xml:"whole_sheet_consigned,omitempty"`
}

Consignordershiprequest 结构体

type DataMap added in v1.2.5

type DataMap struct {
	// 幂等原因
	IdempotentReason string `json:"idempotent_reason,omitempty" xml:"idempotent_reason,omitempty"`
}

DataMap 结构体

type Datas

type Datas struct {
	// 占用库存
	LockQuantity string `json:"lock_quantity,omitempty" xml:"lock_quantity,omitempty"`
	// 渠道编码
	ChannelCode string `json:"channel_code,omitempty" xml:"channel_code,omitempty"`
	// 总库存
	Quantity string `json:"quantity,omitempty" xml:"quantity,omitempty"`
	// 供应链中台货仓code
	StoreCode string `json:"store_code,omitempty" xml:"store_code,omitempty"`
	// 1-良品 101 -在库残次
	InventoryType int64 `json:"inventory_type,omitempty" xml:"inventory_type,omitempty"`
	// 供应链中台货品ID
	ScItemId int64 `json:"sc_item_id,omitempty" xml:"sc_item_id,omitempty"`
	// 供应链中台货主ID
	SourceUserId int64 `json:"source_user_id,omitempty" xml:"source_user_id,omitempty"`
}

Datas 结构体

type Detailoperationdtos

type Detailoperationdtos struct {
	// 销售市场、IPM:1000
	ChannelCode string `json:"channel_code,omitempty" xml:"channel_code,omitempty"`
	// 库存总量
	Quantity string `json:"quantity,omitempty" xml:"quantity,omitempty"`
	// 协议ID
	TradeInvId string `json:"trade_inv_id,omitempty" xml:"trade_inv_id,omitempty"`
	// 操作子单
	DetailOrderDto *Detailorderdto `json:"detail_order_dto,omitempty" xml:"detail_order_dto,omitempty"`
	// 期货计划信息
	FuturePlanInfoDto *Futureplaninfodto `json:"future_plan_info_dto,omitempty" xml:"future_plan_info_dto,omitempty"`
	// 货品信息
	ItemDto *Itemdto `json:"item_dto,omitempty" xml:"item_dto,omitempty"`
	// 位置信息
	LocationDto *Locationdto `json:"location_dto,omitempty" xml:"location_dto,omitempty"`
	// 货主信息
	OwnerDto *Ownerdto `json:"owner_dto,omitempty" xml:"owner_dto,omitempty"`
	// 策略
	StrategyDto *Strategydto `json:"strategy_dto,omitempty" xml:"strategy_dto,omitempty"`
	// 库存类型
	InventoryType int64 `json:"inventory_type,omitempty" xml:"inventory_type,omitempty"`
	// 附加数据信息
	AdditionalInfoDto *Additionalinfodto `json:"additional_info_dto,omitempty" xml:"additional_info_dto,omitempty"`
}

Detailoperationdtos 结构体

type Detailoperationlist

type Detailoperationlist struct {
	// 库存行操作明细
	InventoryLineList []Inventorylinelist `json:"inventory_line_list,omitempty" xml:"inventory_line_list>inventorylinelist,omitempty"`
	// 位置信息
	Location *Location `json:"location,omitempty" xml:"location,omitempty"`
	// 货品信息
	Item *Item `json:"item,omitempty" xml:"item,omitempty"`
	// 操作子单
	DetailOrder *Detailorder `json:"detail_order,omitempty" xml:"detail_order,omitempty"`
	// 附加信息
	AdditionalInfo *Additionalinfo `json:"additional_info,omitempty" xml:"additional_info,omitempty"`
}

Detailoperationlist 结构体

type Detailorder

type Detailorder struct {
	// 实际操作子单id(例如:ICP子单,,UDP子单)
	OperationDetailOrderId string `json:"operation_detail_order_id,omitempty" xml:"operation_detail_order_id,omitempty"`
}

Detailorder 结构体

type Detailorderdto

type Detailorderdto struct {
	// 业务发生时间
	BizDate string `json:"biz_date,omitempty" xml:"biz_date,omitempty"`
	// 实际操作子单id
	OperationDetailOrderId string `json:"operation_detail_order_id,omitempty" xml:"operation_detail_order_id,omitempty"`
}

Detailorderdto 结构体

type ErpPresaleFinalPayResult

type ErpPresaleFinalPayResult struct {
	// 错误码
	ErrorCode string `json:"error_code,omitempty" xml:"error_code,omitempty"`
	// 错误信息
	ErrorMessage string `json:"error_message,omitempty" xml:"error_message,omitempty"`
	// 服务调用成功
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
}

ErpPresaleFinalPayResult 结构体

type Erpnormalconsignorderrequest

type Erpnormalconsignorderrequest struct {
	// 发货子单信息
	ConsignOrderItemList []Consignorderitemlist `json:"consign_order_item_list,omitempty" xml:"consign_order_item_list>consignorderitemlist,omitempty"`
	// 发货单号(Erp单号)
	DeliveryOrderCode string `json:"delivery_order_code,omitempty" xml:"delivery_order_code,omitempty"`
	// 店铺名称
	ShopNick string `json:"shop_nick,omitempty" xml:"shop_nick,omitempty"`
	// 店铺id
	ShopId string `json:"shop_id,omitempty" xml:"shop_id,omitempty"`
	// 订单来源平台编码,TB= 淘宝 、TM=天猫 、JD=京东、DD=当当、PP=拍拍、YX=易讯、EBAY=ebay、QQ=QQ网购、AMAZON=亚马逊、SN=苏宁、GM=国美、WPH=唯品会、JM=聚美、LF=乐蜂、MGJ=蘑菇街、JS=聚尚、PX=拍鞋、YT=银泰、YHD=1号店、VANCL=凡客、YL=邮乐、YG=优购、1688=阿里巴巴、POS=POS门店、PDD=拼多多、RRSLJ=日日顺乐家、MSJ=美食杰、UGO=优品购、OTHER=其他
	SourcePlatformCode string `json:"source_platform_code,omitempty" xml:"source_platform_code,omitempty"`
	// 物流公司名称
	LogisticsName string `json:"logistics_name,omitempty" xml:"logistics_name,omitempty"`
	// 物流公司编码,SF=顺丰、EMS=标准快递、EYB=经济快件、ZJS=宅急送、YTO=圆通 、ZTO=中通 (ZTO) 、HTKY=百世汇通、UC=优速、STO=申通、TTKDEX=天天快递 、QFKD=全峰、FAST=快捷、POSTB=邮政小包 、GTO=国通、YUNDA=韵达、JD=京东配送、DD=当当宅配、OTHER=其他
	LogisticsCode string `json:"logistics_code,omitempty" xml:"logistics_code,omitempty"`
	// 干线运单号
	ExpressCode string `json:"express_code,omitempty" xml:"express_code,omitempty"`
	// 备注
	Remark string `json:"remark,omitempty" xml:"remark,omitempty"`
	// 发货时间 格式 yyyy-MM-dd HH:mm:ss
	DeliveryTime string `json:"delivery_time,omitempty" xml:"delivery_time,omitempty"`
	// 扩展字段JSON串 twoStageTms:是否二段单 0 否 ,1 是
	Feature string `json:"feature,omitempty" xml:"feature,omitempty"`
	// 操作人
	Operator string `json:"operator,omitempty" xml:"operator,omitempty"`
	// 操作时间 格式 yyyy-MM-dd HH:mm:ss
	OperateTime string `json:"operate_time,omitempty" xml:"operate_time,omitempty"`
	// 物流订单服务类型 1:末端送装/2:干线加送装/3:仓干配
	LpServiceType int64 `json:"lp_service_type,omitempty" xml:"lp_service_type,omitempty"`
	// 末端服务类型 1:配送 2:自提
	EndServiceType int64 `json:"end_service_type,omitempty" xml:"end_service_type,omitempty"`
	// 收件人信息
	ReceiverInfo *Receiverinfo `json:"receiver_info,omitempty" xml:"receiver_info,omitempty"`
	// 发件人信息
	SenderInfo *Senderinfo `json:"sender_info,omitempty" xml:"sender_info,omitempty"`
	// 退货人信息
	RefunderInfo *Refunderinfo `json:"refunder_info,omitempty" xml:"refunder_info,omitempty"`
	// 集货信息
	PickUpInfo *Pickupinfo `json:"pick_up_info,omitempty" xml:"pick_up_info,omitempty"`
}

Erpnormalconsignorderrequest 结构体

type ExtOrderCheckRequest added in v1.2.8

type ExtOrderCheckRequest struct {
	// 子订单列表
	OutSubOrders []ExtSubOrderCheckRequest `json:"out_sub_orders,omitempty" xml:"out_sub_orders>ext_sub_order_check_request,omitempty"`
	// 外部订单号
	OutOrderNo string `json:"out_order_no,omitempty" xml:"out_order_no,omitempty"`
	// 收货人信息
	Receiver *ExtOrderReceiverRequest `json:"receiver,omitempty" xml:"receiver,omitempty"`
}

ExtOrderCheckRequest 结构体

type ExtOrderReceiverRequest added in v1.2.8

type ExtOrderReceiverRequest struct {
	// 收货人名称
	ContactName string `json:"contact_name,omitempty" xml:"contact_name,omitempty"`
	// 收货人地址
	DetailAddress string `json:"detail_address,omitempty" xml:"detail_address,omitempty"`
	// 地址编码
	DivisionId int64 `json:"division_id,omitempty" xml:"division_id,omitempty"`
}

ExtOrderReceiverRequest 结构体

type ExtSubOrderCheckRequest added in v1.2.8

type ExtSubOrderCheckRequest struct {
	// 产品id
	ProductId string `json:"product_id,omitempty" xml:"product_id,omitempty"`
	// 外部子订单号
	OutSubOrderNo string `json:"out_sub_order_no,omitempty" xml:"out_sub_order_no,omitempty"`
	// 购买数量
	Quantity int64 `json:"quantity,omitempty" xml:"quantity,omitempty"`
}

ExtSubOrderCheckRequest 结构体

type ExternalConfirmSalesOrderRequest added in v1.2.8

type ExternalConfirmSalesOrderRequest struct {
	// 渠道主单号
	SaleOrderNo string `json:"sale_order_no,omitempty" xml:"sale_order_no,omitempty"`
}

ExternalConfirmSalesOrderRequest 结构体

type ExternalCreateRefundOrderDetailRequest

type ExternalCreateRefundOrderDetailRequest struct {
	// 退款举证图片列表
	ProofPicUrls []string `json:"proof_pic_urls,omitempty" xml:"proof_pic_urls>string,omitempty"`
	// 币种
	CurrencyType string `json:"currency_type,omitempty" xml:"currency_type,omitempty"`
	// 子销售单号
	SubSaleOrderNo string `json:"sub_sale_order_no,omitempty" xml:"sub_sale_order_no,omitempty"`
	// 销售订单号
	SaleOrderNo string `json:"sale_order_no,omitempty" xml:"sale_order_no,omitempty"`
	// 外部退款单号
	OutRefundNo string `json:"out_refund_no,omitempty" xml:"out_refund_no,omitempty"`
	// 备注
	Remark string `json:"remark,omitempty" xml:"remark,omitempty"`
	// 外部子订单号
	OutSubOrderNo string `json:"out_sub_order_no,omitempty" xml:"out_sub_order_no,omitempty"`
	// 外部订单号
	OutOrderNo string `json:"out_order_no,omitempty" xml:"out_order_no,omitempty"`
	// 退款原因
	RefundReason string `json:"refund_reason,omitempty" xml:"refund_reason,omitempty"`
	// 退款金额
	RefundFee int64 `json:"refund_fee,omitempty" xml:"refund_fee,omitempty"`
	// 退款类型
	RefundType int64 `json:"refund_type,omitempty" xml:"refund_type,omitempty"`
	// 退货数量
	RefundQuantity int64 `json:"refund_quantity,omitempty" xml:"refund_quantity,omitempty"`
}

ExternalCreateRefundOrderDetailRequest 结构体

type ExternalCreateRefundOrderRequest

type ExternalCreateRefundOrderRequest struct {
	// 退款举证图片列表
	ProofPicUrls []string `json:"proof_pic_urls,omitempty" xml:"proof_pic_urls>string,omitempty"`
	// 币种
	CurrencyType string `json:"currency_type,omitempty" xml:"currency_type,omitempty"`
	// 销售订单号
	SaleOrderNo string `json:"sale_order_no,omitempty" xml:"sale_order_no,omitempty"`
	// 外部退款单号
	OutRefundNo string `json:"out_refund_no,omitempty" xml:"out_refund_no,omitempty"`
	// 备注
	Remark string `json:"remark,omitempty" xml:"remark,omitempty"`
	// 外部订单号
	OutOrderNo string `json:"out_order_no,omitempty" xml:"out_order_no,omitempty"`
	// 退款原因
	RefundReason string `json:"refund_reason,omitempty" xml:"refund_reason,omitempty"`
}

ExternalCreateRefundOrderRequest 结构体

type ExternalCreateSalesOrderRequest

type ExternalCreateSalesOrderRequest struct {
	// 子订单列表
	OutSubOrders []ExternalCreateSubSalesOrderRequest `json:"out_sub_orders,omitempty" xml:"out_sub_orders>external_create_sub_sales_order_request,omitempty"`
	// 币种
	CurrencyType string `json:"currency_type,omitempty" xml:"currency_type,omitempty"`
	// 经销、代销、寄售
	SalesMode string `json:"sales_mode,omitempty" xml:"sales_mode,omitempty"`
	// 外部订单号
	OutOrderNo string `json:"out_order_no,omitempty" xml:"out_order_no,omitempty"`
	// 二级渠道
	SubChannelCode string `json:"sub_channel_code,omitempty" xml:"sub_channel_code,omitempty"`
	// 授权渠道(市场)
	ChannelCode string `json:"channel_code,omitempty" xml:"channel_code,omitempty"`
	// 扩展字段
	Attributes string `json:"attributes,omitempty" xml:"attributes,omitempty"`
	// 收货人信息
	Receiver *ExternalReceiverRequest `json:"receiver,omitempty" xml:"receiver,omitempty"`
	// 发货人
	Sender *ExternalSenderRequest `json:"sender,omitempty" xml:"sender,omitempty"`
}

ExternalCreateSalesOrderRequest 结构体

type ExternalCreateSubSalesOrderRequest

type ExternalCreateSubSalesOrderRequest struct {
	// 外部前端sku id
	OutSkuId string `json:"out_sku_id,omitempty" xml:"out_sku_id,omitempty"`
	// 外部前端宝贝id
	OutItemId string `json:"out_item_id,omitempty" xml:"out_item_id,omitempty"`
	// 外部子订单号, 外部一定要设置,如果外部没有,则设置为outOrderNo+productId+productSkuId
	OutSubOrderNo string `json:"out_sub_order_no,omitempty" xml:"out_sub_order_no,omitempty"`
	// 扩展字段
	Attributes string `json:"attributes,omitempty" xml:"attributes,omitempty"`
	// 购买数量
	Quantity int64 `json:"quantity,omitempty" xml:"quantity,omitempty"`
	// 产品skuId
	SkuId int64 `json:"sku_id,omitempty" xml:"sku_id,omitempty"`
	// 产品id
	ProductId int64 `json:"product_id,omitempty" xml:"product_id,omitempty"`
}

ExternalCreateSubSalesOrderRequest 结构体

type ExternalReceiverRequest

type ExternalReceiverRequest struct {
	// 收货人名称
	ContactName string `json:"contact_name,omitempty" xml:"contact_name,omitempty"`
	// 街道对应名称
	StreetName string `json:"street_name,omitempty" xml:"street_name,omitempty"`
	// 收货人手机号
	MobilePhone string `json:"mobile_phone,omitempty" xml:"mobile_phone,omitempty"`
	// 邮编
	Post string `json:"post,omitempty" xml:"post,omitempty"`
	// 市对应的名称
	CityName string `json:"city_name,omitempty" xml:"city_name,omitempty"`
	// 收货人 固定电话
	Phone string `json:"phone,omitempty" xml:"phone,omitempty"`
	// 区对应名称
	AreaName string `json:"area_name,omitempty" xml:"area_name,omitempty"`
	// 收货人地址
	DetailAddress string `json:"detail_address,omitempty" xml:"detail_address,omitempty"`
	// 省对应的名称
	ProvinceName string `json:"province_name,omitempty" xml:"province_name,omitempty"`
	// 省对应编码
	ProvinceCode int64 `json:"province_code,omitempty" xml:"province_code,omitempty"`
	// 市对应编码
	CityCode int64 `json:"city_code,omitempty" xml:"city_code,omitempty"`
	// 街道对应编码
	StreetCode int64 `json:"street_code,omitempty" xml:"street_code,omitempty"`
	// 区对应编码
	AreaCode int64 `json:"area_code,omitempty" xml:"area_code,omitempty"`
	// 区域编码
	DivisionId int64 `json:"division_id,omitempty" xml:"division_id,omitempty"`
}

ExternalReceiverRequest 结构体

type ExternalRefundGoodsWaybillRequest

type ExternalRefundGoodsWaybillRequest struct {
	// 外部退款单号
	OutRefundNo string `json:"out_refund_no,omitempty" xml:"out_refund_no,omitempty"`
	// 退款单号
	RefundNo string `json:"refund_no,omitempty" xml:"refund_no,omitempty"`
	// 物流公司名称
	LogisticsCompanyName string `json:"logistics_company_name,omitempty" xml:"logistics_company_name,omitempty"`
	// 物流公司编码
	LogisticsCompanyCode string `json:"logistics_company_code,omitempty" xml:"logistics_company_code,omitempty"`
	// 物流单号
	LogisticsWaybillNo string `json:"logistics_waybill_no,omitempty" xml:"logistics_waybill_no,omitempty"`
}

ExternalRefundGoodsWaybillRequest 结构体

type ExternalSenderRequest

type ExternalSenderRequest struct {
	// 发货人 手机号
	MobilePhone string `json:"mobile_phone,omitempty" xml:"mobile_phone,omitempty"`
	// 发货人名称
	ContactName string `json:"contact_name,omitempty" xml:"contact_name,omitempty"`
}

ExternalSenderRequest 结构体

type Futureinventorymainoperationquest

type Futureinventorymainoperationquest struct {
	// 子单操作明细列表
	DetailOperationDtos []Detailoperationdtos `json:"detail_operation_dtos,omitempty" xml:"detail_operation_dtos>detailoperationdtos,omitempty"`
	// 操作主单
	MainOrderDto *Mainorderdto `json:"main_order_dto,omitempty" xml:"main_order_dto,omitempty"`
}

Futureinventorymainoperationquest 结构体

type Futureplaninfodto

type Futureplaninfodto struct {
	// 销售结束时间,YYYYMMDDHHMMSS
	EndDate string `json:"end_date,omitempty" xml:"end_date,omitempty"`
	// 销售开始时间,YYYYMMDDHHMMSS
	StartDate string `json:"start_date,omitempty" xml:"start_date,omitempty"`
	// 默认填3
	AicFutureInvPublishType int64 `json:"aic_future_inv_publish_type,omitempty" xml:"aic_future_inv_publish_type,omitempty"`
	// 默认填1
	AicFutureInvTimeStrategy int64 `json:"aic_future_inv_time_strategy,omitempty" xml:"aic_future_inv_time_strategy,omitempty"`
	// 相对时间天数(单位:天 适用于相对计划)
	RelativeTime int64 `json:"relative_time,omitempty" xml:"relative_time,omitempty"`
}

Futureplaninfodto 结构体

type Instoragedetails

type Instoragedetails struct {
	// 库存类型:101=残次品;1=正品
	StorageType string `json:"storage_type,omitempty" xml:"storage_type,omitempty"`
	// 实际收货数量
	ReceivedQuantity int64 `json:"received_quantity,omitempty" xml:"received_quantity,omitempty"`
}

Instoragedetails 结构体

type Instoragefeedbackrequest

type Instoragefeedbackrequest struct {
	// 退回订单货品信息列表
	OrderItems []Orderitems `json:"order_items,omitempty" xml:"order_items>orderitems,omitempty"`
	// 供应商id
	SupplierId string `json:"supplier_id,omitempty" xml:"supplier_id,omitempty"`
	// 逆向履约单号
	BizOrderCode string `json:"biz_order_code,omitempty" xml:"biz_order_code,omitempty"`
	// ERP业务编码
	OutBizId string `json:"out_biz_id,omitempty" xml:"out_biz_id,omitempty"`
	// 逆向入库时间
	InstorageTime string `json:"instorage_time,omitempty" xml:"instorage_time,omitempty"`
	// 物流公司编码
	TmsServiceCode string `json:"tms_service_code,omitempty" xml:"tms_service_code,omitempty"`
	// 快递单号
	TmsOrderCode string `json:"tms_order_code,omitempty" xml:"tms_order_code,omitempty"`
	// 退回仓编码
	StoreCode string `json:"store_code,omitempty" xml:"store_code,omitempty"`
	// 1	一盘货业务模式,默认为0代表商家仓商家配,为1代表商家仓自营配 (为1时会强制校验配CP和单号必须与取号时一致,且多包裹必须一次性发货)
	BusinessModel string `json:"business_model,omitempty" xml:"business_model,omitempty"`
	// 退回收件人信息(商家)
	ReceiverInfo *Receiverinfo `json:"receiver_info,omitempty" xml:"receiver_info,omitempty"`
	// 退回寄件人信息(消费者)
	SenderInfo *Senderinfo `json:"sender_info,omitempty" xml:"sender_info,omitempty"`
}

Instoragefeedbackrequest 结构体

type Instorageresultrequest

type Instorageresultrequest struct {
	// 逆向物流单号
	LgOrderCode string `json:"lg_order_code,omitempty" xml:"lg_order_code,omitempty"`
	// 供应商id
	SupplierId string `json:"supplier_id,omitempty" xml:"supplier_id,omitempty"`
	// 入库时间
	OrderConfirmTime string `json:"order_confirm_time,omitempty" xml:"order_confirm_time,omitempty"`
	// 操作信息
	OperateInfo *Operateinfo `json:"operate_info,omitempty" xml:"operate_info,omitempty"`
}

Instorageresultrequest 结构体

type Inventoryline

type Inventoryline struct {
	// 库存数量
	Quantity int64 `json:"quantity,omitempty" xml:"quantity,omitempty"`
}

Inventoryline 结构体

type Inventorylinelist

type Inventorylinelist struct {
	// 在库库存操作行对象
	InventoryLine *Inventoryline `json:"inventory_line,omitempty" xml:"inventory_line,omitempty"`
}

Inventorylinelist 结构体

type Inventorymainoperation

type Inventorymainoperation struct {
	// 子单操作明细
	DetailOperationList []Detailoperationlist `json:"detail_operation_list,omitempty" xml:"detail_operation_list>detailoperationlist,omitempty"`
	// 操作主单
	MainOrder *Mainorder `json:"main_order,omitempty" xml:"main_order,omitempty"`
}

Inventorymainoperation 结构体

type Item

type Item struct {
	// 商家编码字段
	OuterId string `json:"outer_id,omitempty" xml:"outer_id,omitempty"`
	// 后端货品 ID
	ScItemId int64 `json:"sc_item_id,omitempty" xml:"sc_item_id,omitempty"`
}

Item 结构体

type ItemDistributePublishRequest added in v1.2.8

type ItemDistributePublishRequest struct {
	// 二级渠道编码
	SubChannelCode string `json:"sub_channel_code,omitempty" xml:"sub_channel_code,omitempty"`
	// 渠道编码
	ChannelCode string `json:"channel_code,omitempty" xml:"channel_code,omitempty"`
	// 渠道产品id
	SourceProductId int64 `json:"source_product_id,omitempty" xml:"source_product_id,omitempty"`
}

ItemDistributePublishRequest 结构体

type Itemdolist

type Itemdolist struct {
	// 前端商品 ID
	ItemId string `json:"item_id,omitempty" xml:"item_id,omitempty"`
	// 前端SKU ID
	SkuId string `json:"sku_id,omitempty" xml:"sku_id,omitempty"`
}

Itemdolist 结构体

type Itemdto

type Itemdto struct {
	// 前端商品列表
	ItemDOList []Itemdolist `json:"item_d_o_list,omitempty" xml:"item_d_o_list>itemdolist,omitempty"`
	// 前端商品信息
	ItemDoList []Itemdolist `json:"item_do_list,omitempty" xml:"item_do_list>itemdolist,omitempty"`
	// 货品ID
	ScItemId int64 `json:"sc_item_id,omitempty" xml:"sc_item_id,omitempty"`
}

Itemdto 结构体

type Items

type Items struct {
	// 商品编码
	ItemCode string `json:"item_code,omitempty" xml:"item_code,omitempty"`
	// 商品仓储系统编码
	ItemId int64 `json:"item_id,omitempty" xml:"item_id,omitempty"`
	// 包裹内该商品的数量
	Quantity int64 `json:"quantity,omitempty" xml:"quantity,omitempty"`
}

Items 结构体

type Location

type Location struct {
	// 仓库编码
	StoreCode string `json:"store_code,omitempty" xml:"store_code,omitempty"`
}

Location 结构体

type Locationdto

type Locationdto struct {
	// 仓库编码
	StoreCode string `json:"store_code,omitempty" xml:"store_code,omitempty"`
}

Locationdto 结构体

type Logisticsacceptinforeslist

type Logisticsacceptinforeslist struct {
	// 菜鸟订单编码
	PresalesOrderId string `json:"presales_order_id,omitempty" xml:"presales_order_id,omitempty"`
}

Logisticsacceptinforeslist 结构体

type Mainorder

type Mainorder struct {
	// 操作id
	OperationOrderId string `json:"operation_order_id,omitempty" xml:"operation_order_id,omitempty"`
	// 商家Uic_id
	UserId int64 `json:"user_id,omitempty" xml:"user_id,omitempty"`
}

Mainorder 结构体

type Mainorderdto

type Mainorderdto struct {
	// JIT协议ID
	OperationOrderId string `json:"operation_order_id,omitempty" xml:"operation_order_id,omitempty"`
	// 业务活动代码, 新增:FU010,修改:FU020,停用:FU030
	BizActivityCode string `json:"biz_activity_code,omitempty" xml:"biz_activity_code,omitempty"`
	// 请求唯一号
	OperationCode string `json:"operation_code,omitempty" xml:"operation_code,omitempty"`
	// 供应链原始单据来源平台
	OrderSourceCode string `json:"order_source_code,omitempty" xml:"order_source_code,omitempty"`
	// 物流货主ID
	UserId int64 `json:"user_id,omitempty" xml:"user_id,omitempty"`
}

Mainorderdto 结构体

type MerchantInventoryQuery

type MerchantInventoryQuery struct {
	// 供应链货主id list 单次<=20
	ScItemIds []int64 `json:"sc_item_ids,omitempty" xml:"sc_item_ids>int64,omitempty"`
	// 供应链中台商家仓code
	StoreCode string `json:"store_code,omitempty" xml:"store_code,omitempty"`
	// 供应链中台供应商id
	SupplierId int64 `json:"supplier_id,omitempty" xml:"supplier_id,omitempty"`
	// 供应链中台物流货主id
	UserId int64 `json:"user_id,omitempty" xml:"user_id,omitempty"`
}

MerchantInventoryQuery 结构体

type Modifymailnorequest

type Modifymailnorequest struct {
	// 供应商id
	SupplierId string `json:"supplier_id,omitempty" xml:"supplier_id,omitempty"`
	// 原运单号
	OldTmsOrderCode string `json:"old_tms_order_code,omitempty" xml:"old_tms_order_code,omitempty"`
	// 新运单号
	NewTmsOrderCode string `json:"new_tms_order_code,omitempty" xml:"new_tms_order_code,omitempty"`
	// 原配送公司编码
	OldTmsServiceCode string `json:"old_tms_service_code,omitempty" xml:"old_tms_service_code,omitempty"`
	// 发货LP
	BizOrderCode string `json:"biz_order_code,omitempty" xml:"biz_order_code,omitempty"`
}

Modifymailnorequest 结构体

type OmsLaunchExtraChargeParameter added in v1.2.9

type OmsLaunchExtraChargeParameter struct {
	// BFC单号
	WdsCoordinationOrderId string `json:"wds_coordination_order_id,omitempty" xml:"wds_coordination_order_id,omitempty"`
	// 描述
	Desc string `json:"desc,omitempty" xml:"desc,omitempty"`
	// 扩展字段
	Feature string `json:"feature,omitempty" xml:"feature,omitempty"`
	// 发起调整金额 单位:分
	Price int64 `json:"price,omitempty" xml:"price,omitempty"`
	// 原因类型�: 1为服务费用� 2为二次上门费用� 3为代付费用� 4为配件费用� 5为拆旧费用� 6为维修费用� 7为空跑费用� 8为其它费用�
	Type int64 `json:"type,omitempty" xml:"type,omitempty"`
}

OmsLaunchExtraChargeParameter 结构体

type Operateinfo

type Operateinfo struct {
	// 操作时间Date类型
	OperateTime string `json:"operate_time,omitempty" xml:"operate_time,omitempty"`
	// 操作人
	OperateName string `json:"operate_name,omitempty" xml:"operate_name,omitempty"`
}

Operateinfo 结构体

type Orderitems

type Orderitems struct {
	// 销退回告明细列表
	InstorageDetails []Instoragedetails `json:"instorage_details,omitempty" xml:"instorage_details>instoragedetails,omitempty"`
	// 履约子单号
	SubOrderCode string `json:"sub_order_code,omitempty" xml:"sub_order_code,omitempty"`
	// 货品ID
	ScItemId string `json:"sc_item_id,omitempty" xml:"sc_item_id,omitempty"`
	// erp订单明细行号
	ErpOrderLine string `json:"erp_order_line,omitempty" xml:"erp_order_line,omitempty"`
	// 货品实发数量
	ItemQuantity int64 `json:"item_quantity,omitempty" xml:"item_quantity,omitempty"`
	// 货品缺发数量
	LackQuantity int64 `json:"lack_quantity,omitempty" xml:"lack_quantity,omitempty"`
	// 货品计划退回数量
	PlanReturnQuantity int64 `json:"plan_return_quantity,omitempty" xml:"plan_return_quantity,omitempty"`
	// 货品实际收货总数量
	ActualReceivedQuantity int64 `json:"actual_received_quantity,omitempty" xml:"actual_received_quantity,omitempty"`
	// 货品未收货总数量
	ActualLackQuantity int64 `json:"actual_lack_quantity,omitempty" xml:"actual_lack_quantity,omitempty"`
}

Orderitems 结构体

type Orderlines

type Orderlines struct {
	// 店铺编码
	ShopCode string `json:"shop_code,omitempty" xml:"shop_code,omitempty"`
	// 实际成交价
	ActualPrice string `json:"actual_price,omitempty" xml:"actual_price,omitempty"`
	// 零售价=实际成交价+单件商品折扣金额
	RetailPrice string `json:"retail_price,omitempty" xml:"retail_price,omitempty"`
	// 商品名称
	ItemName string `json:"item_name,omitempty" xml:"item_name,omitempty"`
	// 商品编码
	ItemCode string `json:"item_code,omitempty" xml:"item_code,omitempty"`
	// 商品ID,前端宝贝ID
	ItemId string `json:"item_id,omitempty" xml:"item_id,omitempty"`
	// 交易平台子订单编码
	SubSourceOrderCode string `json:"sub_source_order_code,omitempty" xml:"sub_source_order_code,omitempty"`
	// 交易平台订单
	SourceOrderCode string `json:"source_order_code,omitempty" xml:"source_order_code,omitempty"`
	// 单据行
	OrderLineNo string `json:"order_line_no,omitempty" xml:"order_line_no,omitempty"`
	// 应发商品数量
	PlanQty int64 `json:"plan_qty,omitempty" xml:"plan_qty,omitempty"`
}

Orderlines 结构体

type Outofstockitems

type Outofstockitems struct {
	// 履约子单号
	SubOrderCode string `json:"sub_order_code,omitempty" xml:"sub_order_code,omitempty"`
	// 货品ID
	ScItemId string `json:"sc_item_id,omitempty" xml:"sc_item_id,omitempty"`
	// 货品缺货数量
	LackQuantity int64 `json:"lack_quantity,omitempty" xml:"lack_quantity,omitempty"`
}

Outofstockitems 结构体

type Ownerdto

type Ownerdto struct {
	// 物流货主ID
	UserId int64 `json:"user_id,omitempty" xml:"user_id,omitempty"`
	// 供应商ID
	SupplierId int64 `json:"supplier_id,omitempty" xml:"supplier_id,omitempty"`
}

Ownerdto 结构体

type Packagedetaillist

type Packagedetaillist struct {
	// 包件体积(m3)
	PackageVolume string `json:"package_volume,omitempty" xml:"package_volume,omitempty"`
	// 包件重量(kg)
	PackageWeight string `json:"package_weight,omitempty" xml:"package_weight,omitempty"`
	// 包件名称
	PackageName string `json:"package_name,omitempty" xml:"package_name,omitempty"`
	// 扩展字段JSON串
	Feature string `json:"feature,omitempty" xml:"feature,omitempty"`
}

Packagedetaillist 结构体

type Packagedto

type Packagedto struct {
	// 发货仓code
	StoreCode string `json:"store_code,omitempty" xml:"store_code,omitempty"`
	// 外部订单号
	OutBizId string `json:"out_biz_id,omitempty" xml:"out_biz_id,omitempty"`
	// 订单号
	OrderCode string `json:"order_code,omitempty" xml:"order_code,omitempty"`
	// 发货LP单号
	ConsignLgOrderCode string `json:"consign_lg_order_code,omitempty" xml:"consign_lg_order_code,omitempty"`
	// 配送公司code
	TmsResCode string `json:"tms_res_code,omitempty" xml:"tms_res_code,omitempty"`
	// 包裹号
	PackageCode string `json:"package_code,omitempty" xml:"package_code,omitempty"`
	// 包裹状态
	Status string `json:"status,omitempty" xml:"status,omitempty"`
}

Packagedto 结构体

type Packageitemdtos

type Packageitemdtos struct {
	// 包裹明细签收信息列表
	PackageItemSignInfoDtoList []Packageitemsigninfodtolist `json:"package_item_sign_info_dto_list,omitempty" xml:"package_item_sign_info_dto_list>packageitemsigninfodtolist,omitempty"`
	// 商品名称
	ItemName string `json:"item_name,omitempty" xml:"item_name,omitempty"`
	// 包裹号
	PackageId int64 `json:"package_id,omitempty" xml:"package_id,omitempty"`
	// 货品id
	ScItemId int64 `json:"sc_item_id,omitempty" xml:"sc_item_id,omitempty"`
	// 商品数量
	ItemQuantity int64 `json:"item_quantity,omitempty" xml:"item_quantity,omitempty"`
}

Packageitemdtos 结构体

type Packageitemsigninfodtolist

type Packageitemsigninfodtolist struct {
	// 签收状态
	Status string `json:"status,omitempty" xml:"status,omitempty"`
	// 商品数量
	ItemQuantity int64 `json:"item_quantity,omitempty" xml:"item_quantity,omitempty"`
}

Packageitemsigninfodtolist 结构体

type Packagequeryrequest

type Packagequeryrequest struct {
	// 仓库编码
	WlbOrderCode string `json:"wlb_order_code,omitempty" xml:"wlb_order_code,omitempty"`
}

Packagequeryrequest 结构体

type Packages

type Packages struct {
	// 商品信息
	Items []Items `json:"items,omitempty" xml:"items>items,omitempty"`
	// 物流公司编码
	LogisticsCode string `json:"logistics_code,omitempty" xml:"logistics_code,omitempty"`
	// 运单号
	ExpressCode string `json:"express_code,omitempty" xml:"express_code,omitempty"`
	// 包裹编号
	PackageCode string `json:"package_code,omitempty" xml:"package_code,omitempty"`
	// 包裹长度 (厘米)
	Length string `json:"length,omitempty" xml:"length,omitempty"`
	// 包裹宽度 (厘米)
	Width string `json:"width,omitempty" xml:"width,omitempty"`
	// 包裹高度 (厘米)
	Height string `json:"height,omitempty" xml:"height,omitempty"`
	// 包裹重量 (千克)
	Weight string `json:"weight,omitempty" xml:"weight,omitempty"`
	// 包裹体积 (升, L)
	Volume string `json:"volume,omitempty" xml:"volume,omitempty"`
}

Packages 结构体

type PageData added in v1.2.5

type PageData struct {
	// 供应商名称
	SupplierName string `json:"supplier_name,omitempty" xml:"supplier_name,omitempty"`
	// 供应商id
	SupplierId string `json:"supplier_id,omitempty" xml:"supplier_id,omitempty"`
	// 商品名称
	ScItemName string `json:"sc_item_name,omitempty" xml:"sc_item_name,omitempty"`
	// 外部商家编码
	OuterId string `json:"outer_id,omitempty" xml:"outer_id,omitempty"`
	// 条形码
	Barcode string `json:"barcode,omitempty" xml:"barcode,omitempty"`
	// 创建时间
	CreateDate string `json:"create_date,omitempty" xml:"create_date,omitempty"`
	// 商品id
	ScItemId int64 `json:"sc_item_id,omitempty" xml:"sc_item_id,omitempty"`
}

PageData 结构体

type Pickupinfo

type Pickupinfo struct {
	// 集货是否完成 Y 是,N 否
	IsCompleted string `json:"is_completed,omitempty" xml:"is_completed,omitempty"`
	// 集货是否取消 Y 是,N 否
	IsCanceled string `json:"is_canceled,omitempty" xml:"is_canceled,omitempty"`
	// 集货发货单号列表(用,分隔)
	PickUpNos string `json:"pick_up_nos,omitempty" xml:"pick_up_nos,omitempty"`
}

Pickupinfo 结构体

type Presalesorder

type Presalesorder struct {
	// 包裹信息
	Packages []Packages `json:"packages,omitempty" xml:"packages>packages,omitempty"`
	// 订单完成时间
	OrderConfirmTime string `json:"order_confirm_time,omitempty" xml:"order_confirm_time,omitempty"`
	// 菜鸟订单号
	PresalesOrderId string `json:"presales_order_id,omitempty" xml:"presales_order_id,omitempty"`
	// 出库单号
	PresalesOrderCode string `json:"presales_order_code,omitempty" xml:"presales_order_code,omitempty"`
	// 发货仓code
	StoreCode string `json:"store_code,omitempty" xml:"store_code,omitempty"`
	// 扩展属性(JSON格式)
	ExtendFields string `json:"extend_fields,omitempty" xml:"extend_fields,omitempty"`
}

Presalesorder 结构体

type PresalesorderTest

type PresalesorderTest struct {
	// 订单信息
	OrderLines []Orderlines `json:"order_lines,omitempty" xml:"order_lines>orderlines,omitempty"`
	// 出库单号
	PresalesOrderCode string `json:"presales_order_code,omitempty" xml:"presales_order_code,omitempty"`
	// 前台订单(店铺订单)创建时间(下单时间)
	PlaceOrderTime string `json:"place_order_time,omitempty" xml:"place_order_time,omitempty"`
	// 订单总金额=应收金额+已收金额=商品总金额-订单折扣金额+快递费用
	TotalAmount string `json:"total_amount,omitempty" xml:"total_amount,omitempty"`
	// 仓库
	StoreCode string `json:"store_code,omitempty" xml:"store_code,omitempty"`
	// 备注
	Remark string `json:"remark,omitempty" xml:"remark,omitempty"`
	// 发件人信息
	SenderInfo *Senderinfo `json:"sender_info,omitempty" xml:"sender_info,omitempty"`
	// 收件人信息
	ReceiverInfo *Receiverinfo `json:"receiver_info,omitempty" xml:"receiver_info,omitempty"`
}

PresalesorderTest 结构体

type Presalesorderconsignconfirmrequest

type Presalesorderconsignconfirmrequest struct {
	// 预售订单信息
	PresalesOrder *Presalesorder `json:"presales_order,omitempty" xml:"presales_order,omitempty"`
}

Presalesorderconsignconfirmrequest 结构体

type PresalesordercreaterequestTest

type PresalesordercreaterequestTest struct {
	// 预售单
	PresalesOrder *PresalesorderTest `json:"presales_order,omitempty" xml:"presales_order,omitempty"`
}

PresalesordercreaterequestTest 结构体

type Pricerequest

type Pricerequest struct {
	// 产品ID
	ProductId string `json:"product_id,omitempty" xml:"product_id,omitempty"`
	// 价格类型
	PriceType string `json:"price_type,omitempty" xml:"price_type,omitempty"`
	// 经营模式
	SalesMode string `json:"sales_mode,omitempty" xml:"sales_mode,omitempty"`
	// 二级渠道code
	SubChannelCode string `json:"sub_channel_code,omitempty" xml:"sub_channel_code,omitempty"`
	// 市场code
	ChannelCode string `json:"channel_code,omitempty" xml:"channel_code,omitempty"`
}

Pricerequest 结构体

type ProductDetailDto added in v1.2.0

type ProductDetailDto struct {
	// sku 列表
	ProductSkuDetail []ProductSkuDetailDto `json:"product_sku_detail,omitempty" xml:"product_sku_detail>product_sku_detail_dto,omitempty"`
	// 经营模式
	SalesModes []string `json:"sales_modes,omitempty" xml:"sales_modes>string,omitempty"`
	// 产品图片链接
	Pictures []string `json:"pictures,omitempty" xml:"pictures>string,omitempty"`
	// 产品销售属性
	Properties []string `json:"properties,omitempty" xml:"properties>string,omitempty"`
	// 透明白底图
	WhiteBgPicture string `json:"white_bg_picture,omitempty" xml:"white_bg_picture,omitempty"`
	// 产品 id
	ProductId string `json:"product_id,omitempty" xml:"product_id,omitempty"`
	// 富文本详描
	DescRichText string `json:"desc_rich_text,omitempty" xml:"desc_rich_text,omitempty"`
	// 二级渠道编码
	SubChannelCode string `json:"sub_channel_code,omitempty" xml:"sub_channel_code,omitempty"`
	// 产品标题
	ProductTitle string `json:"product_title,omitempty" xml:"product_title,omitempty"`
	// 类目
	Category string `json:"category,omitempty" xml:"category,omitempty"`
	// 品牌
	Brand string `json:"brand,omitempty" xml:"brand,omitempty"`
	// 渠道编码
	ChannelCode string `json:"channel_code,omitempty" xml:"channel_code,omitempty"`
	// 品牌 id
	BrandId string `json:"brand_id,omitempty" xml:"brand_id,omitempty"`
	// 类目 id
	CategoryId string `json:"category_id,omitempty" xml:"category_id,omitempty"`
	// 素材扩展信息
	MaterialsMap string `json:"materials_map,omitempty" xml:"materials_map,omitempty"`
}

ProductDetailDto 结构体

type ProductDetailQueryRequestForDistributor

type ProductDetailQueryRequestForDistributor struct {
	// 产品 id
	ProductId string `json:"product_id,omitempty" xml:"product_id,omitempty"`
	// 二级渠道编码
	SubChannelCode string `json:"sub_channel_code,omitempty" xml:"sub_channel_code,omitempty"`
	// 渠道编码
	ChannelCode string `json:"channel_code,omitempty" xml:"channel_code,omitempty"`
	// 商家编码
	MerchantCode string `json:"merchant_code,omitempty" xml:"merchant_code,omitempty"`
	// 是否查询sku信息
	IncludeSku bool `json:"include_sku,omitempty" xml:"include_sku,omitempty"`
}

ProductDetailQueryRequestForDistributor 结构体

type ProductDetailQueryRequestForSupplier added in v1.2.5

type ProductDetailQueryRequestForSupplier struct {
	// 二级渠道编码
	SubChannelCode string `json:"sub_channel_code,omitempty" xml:"sub_channel_code,omitempty"`
	// 渠道编码
	ChannelCode string `json:"channel_code,omitempty" xml:"channel_code,omitempty"`
	// 渠道产品 id
	ChannelProductId int64 `json:"channel_product_id,omitempty" xml:"channel_product_id,omitempty"`
	// 是否查询 sku 信息
	IncludeSku bool `json:"include_sku,omitempty" xml:"include_sku,omitempty"`
}

ProductDetailQueryRequestForSupplier 结构体

type ProductDetailQueryResponseForSupplier added in v1.2.5

type ProductDetailQueryResponseForSupplier struct {
	// sku 列表
	SkuList []SkuList `json:"sku_list,omitempty" xml:"sku_list>sku_list,omitempty"`
	// 经营模式,agent:代销,dealer经销
	SalesModeList []string `json:"sales_mode_list,omitempty" xml:"sales_mode_list>string,omitempty"`
	// 图片链接列表
	PictureList []string `json:"picture_list,omitempty" xml:"picture_list>string,omitempty"`
	// 销售属性,格式[k1:v2,k2:v2]
	PropertyList []string `json:"property_list,omitempty" xml:"property_list>string,omitempty"`
	// 二级渠道编码
	SubChannelCode string `json:"sub_channel_code,omitempty" xml:"sub_channel_code,omitempty"`
	// 渠道产品名称
	ProductTitle string `json:"product_title,omitempty" xml:"product_title,omitempty"`
	// 类目
	Category string `json:"category,omitempty" xml:"category,omitempty"`
	// 商家编码
	OutNo string `json:"out_no,omitempty" xml:"out_no,omitempty"`
	// 品牌
	Brand string `json:"brand,omitempty" xml:"brand,omitempty"`
	// 渠道编码
	ChannelCode string `json:"channel_code,omitempty" xml:"channel_code,omitempty"`
	// 产品 id
	ProductId int64 `json:"product_id,omitempty" xml:"product_id,omitempty"`
	// 产品货品 id
	ScItemId int64 `json:"sc_item_id,omitempty" xml:"sc_item_id,omitempty"`
}

ProductDetailQueryResponseForSupplier 结构体

type ProductLinkRequest

type ProductLinkRequest struct {
	// sku 列表
	SkuList []ProductSkuLinkDto `json:"sku_list,omitempty" xml:"sku_list>product_sku_link_dto,omitempty"`
	// 分销商商品 ID
	OutItemId string `json:"out_item_id,omitempty" xml:"out_item_id,omitempty"`
	// 供应商产品 id
	ProductId string `json:"product_id,omitempty" xml:"product_id,omitempty"`
	// 经营模式
	SalesMode string `json:"sales_mode,omitempty" xml:"sales_mode,omitempty"`
	// 二级渠道编码
	SubChannelCode string `json:"sub_channel_code,omitempty" xml:"sub_channel_code,omitempty"`
	// 渠道编码
	ChannelCode string `json:"channel_code,omitempty" xml:"channel_code,omitempty"`
}

ProductLinkRequest 结构体

type ProductList added in v1.2.5

type ProductList struct {
	// 经营模式
	SalesModeList []string `json:"sales_mode_list,omitempty" xml:"sales_mode_list>string,omitempty"`
	// 图片
	PictureList []string `json:"picture_list,omitempty" xml:"picture_list>string,omitempty"`
	// 产品标题名称
	ProductTitle string `json:"product_title,omitempty" xml:"product_title,omitempty"`
	// 外部商家编码
	OutNo string `json:"out_no,omitempty" xml:"out_no,omitempty"`
	// 二级渠道编码
	SubChannelCode string `json:"sub_channel_code,omitempty" xml:"sub_channel_code,omitempty"`
	// 渠道编码
	ChannelCode string `json:"channel_code,omitempty" xml:"channel_code,omitempty"`
	// 产品 id
	ProductId int64 `json:"product_id,omitempty" xml:"product_id,omitempty"`
	// 产品类型
	ProductType int64 `json:"product_type,omitempty" xml:"product_type,omitempty"`
}

ProductList 结构体

type ProductListQueryRequestForSupplier added in v1.2.5

type ProductListQueryRequestForSupplier struct {
	// 经营模式,agent 表示代销,dealer 表示经销
	SalesMode []string `json:"sales_mode,omitempty" xml:"sales_mode>string,omitempty"`
	// 二级渠道编码
	SubChannelCode string `json:"sub_channel_code,omitempty" xml:"sub_channel_code,omitempty"`
	// 渠道编码
	ChannelCode string `json:"channel_code,omitempty" xml:"channel_code,omitempty"`
	// 页号,从1开始
	PageNo int64 `json:"page_no,omitempty" xml:"page_no,omitempty"`
	// 页大小
	PageSize int64 `json:"page_size,omitempty" xml:"page_size,omitempty"`
}

ProductListQueryRequestForSupplier 结构体

type ProductListQueryResponseForSupplier added in v1.2.5

type ProductListQueryResponseForSupplier struct {
	// 产品列表
	ProductList []ProductList `json:"product_list,omitempty" xml:"product_list>product_list,omitempty"`
	// 总数量
	TotalCount int64 `json:"total_count,omitempty" xml:"total_count,omitempty"`
}

ProductListQueryResponseForSupplier 结构体

type ProductSkuDetailDto added in v1.2.0

type ProductSkuDetailDto struct {
	// sku 销售属性
	Properties []string `json:"properties,omitempty" xml:"properties>string,omitempty"`
	// sku图片链接
	Picture []string `json:"picture,omitempty" xml:"picture>string,omitempty"`
	// skuId
	SkuId string `json:"sku_id,omitempty" xml:"sku_id,omitempty"`
}

ProductSkuDetailDto 结构体

type ProductSkuLinkDto added in v1.2.0

type ProductSkuLinkDto struct {
	// 分销商商品 skuid
	OutSkuId string `json:"out_sku_id,omitempty" xml:"out_sku_id,omitempty"`
	// 供应商产品 skuId
	SkuId string `json:"sku_id,omitempty" xml:"sku_id,omitempty"`
}

ProductSkuLinkDto 结构体

type Productlistrequest

type Productlistrequest struct {
	// 经营模式
	SalesMode []string `json:"sales_mode,omitempty" xml:"sales_mode>string,omitempty"`
	// 渠道编码
	ChannelCode string `json:"channel_code,omitempty" xml:"channel_code,omitempty"`
	// 二级渠道编码
	SubChannelCode string `json:"sub_channel_code,omitempty" xml:"sub_channel_code,omitempty"`
	// 商家编码
	MerchantCode string `json:"merchant_code,omitempty" xml:"merchant_code,omitempty"`
	// 页码
	PageNo int64 `json:"page_no,omitempty" xml:"page_no,omitempty"`
	// 分页大小
	PageSize int64 `json:"page_size,omitempty" xml:"page_size,omitempty"`
}

Productlistrequest 结构体

type Products

type Products struct {
	// 经营模式
	SalesModes []string `json:"sales_modes,omitempty" xml:"sales_modes>string,omitempty"`
	// 图片
	Pictures []string `json:"pictures,omitempty" xml:"pictures>string,omitempty"`
	// 产品标题
	ProductTitle string `json:"product_title,omitempty" xml:"product_title,omitempty"`
	// 产品id
	ProductId string `json:"product_id,omitempty" xml:"product_id,omitempty"`
}

Products 结构体

type Receiverinfo

type Receiverinfo struct {
	// 邮编
	ReceiverZipCode string `json:"receiver_zip_code,omitempty" xml:"receiver_zip_code,omitempty"`
	// 国家
	ReceiverCountry string `json:"receiver_country,omitempty" xml:"receiver_country,omitempty"`
	// 省
	ReceiverProvince string `json:"receiver_province,omitempty" xml:"receiver_province,omitempty"`
	// 市
	ReceiverCity string `json:"receiver_city,omitempty" xml:"receiver_city,omitempty"`
	// 区
	ReceiverArea string `json:"receiver_area,omitempty" xml:"receiver_area,omitempty"`
	// 村镇
	ReceiveTown string `json:"receive_town,omitempty" xml:"receive_town,omitempty"`
	// 详细地址
	ReceiverDetailAddress string `json:"receiver_detail_address,omitempty" xml:"receiver_detail_address,omitempty"`
	// 收件人
	ReceiverName string `json:"receiver_name,omitempty" xml:"receiver_name,omitempty"`
	// 手机号
	ReceiverMobile string `json:"receiver_mobile,omitempty" xml:"receiver_mobile,omitempty"`
	// 固定电话
	ReceiverPhone string `json:"receiver_phone,omitempty" xml:"receiver_phone,omitempty"`
	// 公司名称
	ReceiverCompanyName string `json:"receiver_company_name,omitempty" xml:"receiver_company_name,omitempty"`
	// 邮箱
	ReceiverEmail string `json:"receiver_email,omitempty" xml:"receiver_email,omitempty"`
	// 详细地址
	ReceiverAddress string `json:"receiver_address,omitempty" xml:"receiver_address,omitempty"`
	// 城镇
	ReceiverTown string `json:"receiver_town,omitempty" xml:"receiver_town,omitempty"`
	// 姓名
	Name string `json:"name,omitempty" xml:"name,omitempty"`
	// 邮编
	ZipCode string `json:"zip_code,omitempty" xml:"zip_code,omitempty"`
	// 固定电话
	Tel string `json:"tel,omitempty" xml:"tel,omitempty"`
	// 移动电话
	Mobile string `json:"mobile,omitempty" xml:"mobile,omitempty"`
	// 省份
	Province string `json:"province,omitempty" xml:"province,omitempty"`
	// 城市
	City string `json:"city,omitempty" xml:"city,omitempty"`
	// 区域
	Area string `json:"area,omitempty" xml:"area,omitempty"`
	// 村镇
	Town string `json:"town,omitempty" xml:"town,omitempty"`
	// 详细地址
	DetailAddress string `json:"detail_address,omitempty" xml:"detail_address,omitempty"`
	// 收件人地址ID
	Oaid string `json:"oaid,omitempty" xml:"oaid,omitempty"`
}

Receiverinfo 结构体

type Refunderinfo

type Refunderinfo struct {
	// 国家
	RefunderCountry string `json:"refunder_country,omitempty" xml:"refunder_country,omitempty"`
	// 省
	RefunderProvince string `json:"refunder_province,omitempty" xml:"refunder_province,omitempty"`
	// 市
	RefunderCity string `json:"refunder_city,omitempty" xml:"refunder_city,omitempty"`
	// 区
	RefunderArea string `json:"refunder_area,omitempty" xml:"refunder_area,omitempty"`
	// 村镇
	RefunderTown string `json:"refunder_town,omitempty" xml:"refunder_town,omitempty"`
	// 详细地址
	RefunderDetailAddress string `json:"refunder_detail_address,omitempty" xml:"refunder_detail_address,omitempty"`
	// 退货人
	RefunderName string `json:"refunder_name,omitempty" xml:"refunder_name,omitempty"`
	// 手机号
	RefunderMobile string `json:"refunder_mobile,omitempty" xml:"refunder_mobile,omitempty"`
	// 固定电话
	RefunderPhone string `json:"refunder_phone,omitempty" xml:"refunder_phone,omitempty"`
	// 邮编
	RefunderZipCode string `json:"refunder_zip_code,omitempty" xml:"refunder_zip_code,omitempty"`
}

Refunderinfo 结构体

type RemarkPicture added in v1.2.9

type RemarkPicture struct {
	// 备注图片英文逗号分隔
	DownloadUrl string `json:"download_url,omitempty" xml:"download_url,omitempty"`
}

RemarkPicture 结构体

type Requestparams

type Requestparams struct {
	// 备注
	Remark string `json:"remark,omitempty" xml:"remark,omitempty"`
	// 外部订单号
	OrderCode string `json:"order_code,omitempty" xml:"order_code,omitempty"`
	// 支付时间
	PayTime string `json:"pay_time,omitempty" xml:"pay_time,omitempty"`
	// 金额
	TotalAmount int64 `json:"total_amount,omitempty" xml:"total_amount,omitempty"`
}

Requestparams 结构体

type ResultDto added in v1.2.8

type ResultDto struct {
	// 错误信息
	ErrorMessage string `json:"error_message,omitempty" xml:"error_message,omitempty"`
	// 错误码
	ErrorCode string `json:"error_code,omitempty" xml:"error_code,omitempty"`
	// 请求是否成功
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
	// 是否绑定成功
	Module bool `json:"module,omitempty" xml:"module,omitempty"`
}

ResultDto 结构体

type ResultWrapper

type ResultWrapper struct {
	// 响应数据
	Datas []Datas `json:"datas,omitempty" xml:"datas>datas,omitempty"`
	// 系统自动生成
	Data []AlibabaAscpAicSupplierAicinventoryNegativeSaleInvalidateData `json:"data,omitempty" xml:"data>alibaba_ascp_aic_supplier_aicinventory_negative_sale_invalidate_data,omitempty"`
	// 返回内容
	DataList []AlibabaAscpChannelMainRefundCreateData `json:"data_list,omitempty" xml:"data_list>alibaba_ascp_channel_main_refund_create_data,omitempty"`
	// 错误描述
	ErrorMessage string `json:"error_message,omitempty" xml:"error_message,omitempty"`
	// 错误码
	ErrorCode string `json:"error_code,omitempty" xml:"error_code,omitempty"`
	// 错误码
	Error string `json:"error,omitempty" xml:"error,omitempty"`
	// 是否成功
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
	// 执行结果
	ResultSuccess bool `json:"result_success,omitempty" xml:"result_success,omitempty"`
	// 是否需要重试
	Retry bool `json:"retry,omitempty" xml:"retry,omitempty"`
}

ResultWrapper 结构体

type ReverseCreateRequest

type ReverseCreateRequest struct {
	// 退回订单货品信息列表
	OrderItems []Orderitems `json:"order_items,omitempty" xml:"order_items>orderitems,omitempty"`
	// 供应商id
	SupplierId string `json:"supplier_id,omitempty" xml:"supplier_id,omitempty"`
	// ERP业务编码
	OutBizId string `json:"out_biz_id,omitempty" xml:"out_biz_id,omitempty"`
	// 逆向类型:1=客退;2=运配异常;3=拒签退回;4=拦截退回;5=上门取退
	ReverseType string `json:"reverse_type,omitempty" xml:"reverse_type,omitempty"`
	// 原正向发货履约主单号
	BizOrderCode string `json:"biz_order_code,omitempty" xml:"biz_order_code,omitempty"`
	// 快递公司code.调用 taobao.logistics.companies.get 获取
	TmsServiceCode string `json:"tms_service_code,omitempty" xml:"tms_service_code,omitempty"`
	// 运单号
	TmsOrderCode string `json:"tms_order_code,omitempty" xml:"tms_order_code,omitempty"`
	// 退回仓编码
	StoreCode string `json:"store_code,omitempty" xml:"store_code,omitempty"`
	// 退回收件人信息(商家)
	ReceiverInfo *Receiverinfo `json:"receiver_info,omitempty" xml:"receiver_info,omitempty"`
	// 退回寄件人信息(消费者)
	SenderInfo *Senderinfo `json:"sender_info,omitempty" xml:"sender_info,omitempty"`
}

ReverseCreateRequest 结构体

type SalecategoryQueryResponse

type SalecategoryQueryResponse struct {
	// 货品品类名称
	ItemSalecategoryName string `json:"item_salecategory_name,omitempty" xml:"item_salecategory_name,omitempty"`
	// 货品ID
	ItemId int64 `json:"item_id,omitempty" xml:"item_id,omitempty"`
	// 货品品类ID
	ItemSalecategory int64 `json:"item_salecategory,omitempty" xml:"item_salecategory,omitempty"`
}

SalecategoryQueryResponse 结构体

type Senderinfo

type Senderinfo struct {
	// 邮编
	SenderZipCode string `json:"sender_zip_code,omitempty" xml:"sender_zip_code,omitempty"`
	// 国家
	SenderCountry string `json:"sender_country,omitempty" xml:"sender_country,omitempty"`
	// 省
	SenderProvince string `json:"sender_province,omitempty" xml:"sender_province,omitempty"`
	// 市
	SenderCity string `json:"sender_city,omitempty" xml:"sender_city,omitempty"`
	// 区
	SenderArea string `json:"sender_area,omitempty" xml:"sender_area,omitempty"`
	// 村镇
	SenderTown string `json:"sender_town,omitempty" xml:"sender_town,omitempty"`
	// 详细地址
	SenderDetailAddress string `json:"sender_detail_address,omitempty" xml:"sender_detail_address,omitempty"`
	// 发件人
	SenderName string `json:"sender_name,omitempty" xml:"sender_name,omitempty"`
	// 手机号
	SenderMobile string `json:"sender_mobile,omitempty" xml:"sender_mobile,omitempty"`
	// 固定电话
	SenderPhone string `json:"sender_phone,omitempty" xml:"sender_phone,omitempty"`
	// 发件方地址
	SenderAddress string `json:"sender_address,omitempty" xml:"sender_address,omitempty"`
	// 姓名
	Name string `json:"name,omitempty" xml:"name,omitempty"`
	// 邮编
	ZipCode string `json:"zip_code,omitempty" xml:"zip_code,omitempty"`
	// 固定电话
	Tel string `json:"tel,omitempty" xml:"tel,omitempty"`
	// 移动电话
	Mobile string `json:"mobile,omitempty" xml:"mobile,omitempty"`
	// 省份
	Province string `json:"province,omitempty" xml:"province,omitempty"`
	// 城市
	City string `json:"city,omitempty" xml:"city,omitempty"`
	// 区域
	Area string `json:"area,omitempty" xml:"area,omitempty"`
	// 村镇
	Town string `json:"town,omitempty" xml:"town,omitempty"`
	// 详细地址
	DetailAddress string `json:"detail_address,omitempty" xml:"detail_address,omitempty"`
}

Senderinfo 结构体

type SkuList added in v1.2.5

type SkuList struct {
	// 经营模式
	SalesModeList []string `json:"sales_mode_list,omitempty" xml:"sales_mode_list>string,omitempty"`
	// 图片链接
	PictureList []string `json:"picture_list,omitempty" xml:"picture_list>string,omitempty"`
	// 销售属性
	Properties []string `json:"properties,omitempty" xml:"properties>string,omitempty"`
	// sku 对应的货品 id
	ScItemId int64 `json:"sc_item_id,omitempty" xml:"sc_item_id,omitempty"`
	// skuid
	SkuId int64 `json:"sku_id,omitempty" xml:"sku_id,omitempty"`
}

SkuList 结构体

type SkuPrice

type SkuPrice struct {
	// 扩展价格
	ExtendPrice string `json:"extend_price,omitempty" xml:"extend_price,omitempty"`
	// 价格值
	Price string `json:"price,omitempty" xml:"price,omitempty"`
	// 币种
	CurrencyPriceValue string `json:"currency_price_value,omitempty" xml:"currency_price_value,omitempty"`
}

SkuPrice 结构体

type Strategydto

type Strategydto struct {
	// 默认 4销售计划
	AicInventoryStrategyAvailableList []string `json:"aic_inventory_strategy_available_list,omitempty" xml:"aic_inventory_strategy_available_list>string,omitempty"`
	// 渠道出货规则
	ChannelPolicy string `json:"channel_policy,omitempty" xml:"channel_policy,omitempty"`
	// 渠道策略参数
	ChannelPolicyParam string `json:"channel_policy_param,omitempty" xml:"channel_policy_param,omitempty"`
	// 默认 4销售计划
	AicInventoryStrategy int64 `json:"aic_inventory_strategy,omitempty" xml:"aic_inventory_strategy,omitempty"`
}

Strategydto 结构体

type Suborders

type Suborders struct {
	// 外部skuId
	OutSkuId string `json:"out_sku_id,omitempty" xml:"out_sku_id,omitempty"`
	// 外部itemId
	OutItemId string `json:"out_item_id,omitempty" xml:"out_item_id,omitempty"`
	// 外部子订单号
	OutSubOrderNo string `json:"out_sub_order_no,omitempty" xml:"out_sub_order_no,omitempty"`
	// 外部订单号
	SubSaleOrderNo string `json:"sub_sale_order_no,omitempty" xml:"sub_sale_order_no,omitempty"`
	// skuId
	SkuId int64 `json:"sku_id,omitempty" xml:"sku_id,omitempty"`
	// 产品id
	ProductId int64 `json:"product_id,omitempty" xml:"product_id,omitempty"`
}

Suborders 结构体

type TaobaoInvTurnoverQueryAPIRequest added in v1.2.5

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

TaobaoInvTurnoverQueryAPIRequest 业务库存流水查询 API请求 taobao.inv.turnover.query

业务库存流水

func NewTaobaoInvTurnoverQueryRequest added in v1.2.5

func NewTaobaoInvTurnoverQueryRequest() *TaobaoInvTurnoverQueryAPIRequest

NewTaobaoInvTurnoverQueryRequest 初始化TaobaoInvTurnoverQueryAPIRequest对象

func (TaobaoInvTurnoverQueryAPIRequest) GetActivityType added in v1.2.5

func (r TaobaoInvTurnoverQueryAPIRequest) GetActivityType() string

GetActivityType ActivityType Getter

func (TaobaoInvTurnoverQueryAPIRequest) GetApiMethodName added in v1.2.5

func (r TaobaoInvTurnoverQueryAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoInvTurnoverQueryAPIRequest) GetApiParams added in v1.2.5

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

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoInvTurnoverQueryAPIRequest) GetEdate added in v1.2.5

GetEdate Edate Getter

func (TaobaoInvTurnoverQueryAPIRequest) GetInventoryType added in v1.2.5

func (r TaobaoInvTurnoverQueryAPIRequest) GetInventoryType() []string

GetInventoryType InventoryType Getter

func (TaobaoInvTurnoverQueryAPIRequest) GetPageIndex added in v1.2.5

func (r TaobaoInvTurnoverQueryAPIRequest) GetPageIndex() string

GetPageIndex PageIndex Getter

func (TaobaoInvTurnoverQueryAPIRequest) GetPageSize added in v1.2.5

func (r TaobaoInvTurnoverQueryAPIRequest) GetPageSize() string

GetPageSize PageSize Getter

func (TaobaoInvTurnoverQueryAPIRequest) GetRawParams added in v1.2.8

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

func (TaobaoInvTurnoverQueryAPIRequest) GetScItemId added in v1.2.5

func (r TaobaoInvTurnoverQueryAPIRequest) GetScItemId() string

GetScItemId ScItemId Getter

func (TaobaoInvTurnoverQueryAPIRequest) GetSdate added in v1.2.5

GetSdate Sdate Getter

func (TaobaoInvTurnoverQueryAPIRequest) GetStoreCode added in v1.2.5

func (r TaobaoInvTurnoverQueryAPIRequest) GetStoreCode() string

GetStoreCode StoreCode Getter

func (*TaobaoInvTurnoverQueryAPIRequest) SetActivityType added in v1.2.5

func (r *TaobaoInvTurnoverQueryAPIRequest) SetActivityType(_activityType string) error

SetActivityType is ActivityType Setter 单据类型

func (*TaobaoInvTurnoverQueryAPIRequest) SetEdate added in v1.2.5

func (r *TaobaoInvTurnoverQueryAPIRequest) SetEdate(_edate string) error

SetEdate is Edate Setter 结束时间

func (*TaobaoInvTurnoverQueryAPIRequest) SetInventoryType added in v1.2.5

func (r *TaobaoInvTurnoverQueryAPIRequest) SetInventoryType(_inventoryType []string) error

SetInventoryType is InventoryType Setter 库存类型

func (*TaobaoInvTurnoverQueryAPIRequest) SetPageIndex added in v1.2.5

func (r *TaobaoInvTurnoverQueryAPIRequest) SetPageIndex(_pageIndex string) error

SetPageIndex is PageIndex Setter 查询页

func (*TaobaoInvTurnoverQueryAPIRequest) SetPageSize added in v1.2.5

func (r *TaobaoInvTurnoverQueryAPIRequest) SetPageSize(_pageSize string) error

SetPageSize is PageSize Setter 单页记录数

func (*TaobaoInvTurnoverQueryAPIRequest) SetScItemId added in v1.2.5

func (r *TaobaoInvTurnoverQueryAPIRequest) SetScItemId(_scItemId string) error

SetScItemId is ScItemId Setter 货品ID

func (*TaobaoInvTurnoverQueryAPIRequest) SetSdate added in v1.2.5

func (r *TaobaoInvTurnoverQueryAPIRequest) SetSdate(_sdate string) error

SetSdate is Sdate Setter 开始时间

func (*TaobaoInvTurnoverQueryAPIRequest) SetStoreCode added in v1.2.5

func (r *TaobaoInvTurnoverQueryAPIRequest) SetStoreCode(_storeCode string) error

SetStoreCode is StoreCode Setter 仓编码

type TaobaoInvTurnoverQueryAPIResponse added in v1.2.5

type TaobaoInvTurnoverQueryAPIResponse struct {
	model.CommonResponse
	TaobaoInvTurnoverQueryAPIResponseModel
}

TaobaoInvTurnoverQueryAPIResponse 业务库存流水查询 API返回值 taobao.inv.turnover.query

业务库存流水

type TaobaoInvTurnoverQueryAPIResponseModel added in v1.2.5

type TaobaoInvTurnoverQueryAPIResponseModel struct {
	XMLName xml.Name `xml:"inv_turnover_query_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 接口返回model
	Result *TaobaoInvTurnoverQueryResult `json:"result,omitempty" xml:"result,omitempty"`
}

TaobaoInvTurnoverQueryAPIResponseModel is 业务库存流水查询 成功返回结果

type TaobaoInvTurnoverQueryData added in v1.2.5

type TaobaoInvTurnoverQueryData struct {
	// 明细
	BussinessInventoryLog *BussinessInventoryLog `json:"bussiness_inventory_log,omitempty" xml:"bussiness_inventory_log,omitempty"`
}

TaobaoInvTurnoverQueryData 结构体

type TaobaoInvTurnoverQueryResult added in v1.2.5

type TaobaoInvTurnoverQueryResult struct {
	// 流水信息<明细>
	DataList []TaobaoInvTurnoverQueryData `json:"data_list,omitempty" xml:"data_list>taobao_inv_turnover_query_data,omitempty"`
	// 查询页
	PageIndex string `json:"page_index,omitempty" xml:"page_index,omitempty"`
	// 单页记录数
	PageSize string `json:"page_size,omitempty" xml:"page_size,omitempty"`
	// 总记录数
	TotalCount string `json:"total_count,omitempty" xml:"total_count,omitempty"`
	// 当前页数
	CurrentPageCount string `json:"current_page_count,omitempty" xml:"current_page_count,omitempty"`
	// 总页数
	TotalPage string `json:"total_page,omitempty" xml:"total_page,omitempty"`
}

TaobaoInvTurnoverQueryResult 结构体

type Tmsitems

type Tmsitems struct {
	// 履约子单号
	SubOrderCode string `json:"sub_order_code,omitempty" xml:"sub_order_code,omitempty"`
	// 货品ID
	ScItemId string `json:"sc_item_id,omitempty" xml:"sc_item_id,omitempty"`
	// 货品实发数量
	ItemQuantity int64 `json:"item_quantity,omitempty" xml:"item_quantity,omitempty"`
	// 货品缺发数量
	LackQuantity int64 `json:"lack_quantity,omitempty" xml:"lack_quantity,omitempty"`
}

Tmsitems 结构体

type Tmsorders

type Tmsorders struct {
	// 包裹明细列表
	TmsItems []Tmsitems `json:"tms_items,omitempty" xml:"tms_items>tmsitems,omitempty"`
	// 运单号
	TmsOrderCode string `json:"tms_order_code,omitempty" xml:"tms_order_code,omitempty"`
	// 快递公司code.调用 taobao.logistics.companies.get 获取
	TmsServiceCode string `json:"tms_service_code,omitempty" xml:"tms_service_code,omitempty"`
	// 快递公司名称
	TmsServiceName string `json:"tms_service_name,omitempty" xml:"tms_service_name,omitempty"`
}

Tmsorders 结构体

type TopBindProductGoodsRequest added in v1.2.8

type TopBindProductGoodsRequest struct {
	// 二级渠道编码
	SubChannelCode string `json:"sub_channel_code,omitempty" xml:"sub_channel_code,omitempty"`
	// 渠道编码
	ChannelCode string `json:"channel_code,omitempty" xml:"channel_code,omitempty"`
	// 供应商渠道产品id
	ProductId int64 `json:"product_id,omitempty" xml:"product_id,omitempty"`
	// 供应商货品id
	GoodsId int64 `json:"goods_id,omitempty" xml:"goods_id,omitempty"`
	// 供应商渠道产品skuId
	SkuId int64 `json:"sku_id,omitempty" xml:"sku_id,omitempty"`
}

TopBindProductGoodsRequest 结构体

type TopChannelPriceDetail

type TopChannelPriceDetail struct {
	// 币种
	CurrencyPriceValue string `json:"currency_price_value,omitempty" xml:"currency_price_value,omitempty"`
	// 价格值
	Price string `json:"price,omitempty" xml:"price,omitempty"`
	// 扩展价格
	ExtendPrice string `json:"extend_price,omitempty" xml:"extend_price,omitempty"`
}

TopChannelPriceDetail 结构体

type TopChannelSkuPrice

type TopChannelSkuPrice struct {
	// skuId
	SkuId string `json:"sku_id,omitempty" xml:"sku_id,omitempty"`
	// sku价格
	SkuPrice *SkuPrice `json:"sku_price,omitempty" xml:"sku_price,omitempty"`
}

TopChannelSkuPrice 结构体

type TopDistributorPriceResult

type TopDistributorPriceResult struct {
	// sku价格详情
	SkuPrices []TopChannelSkuPrice `json:"sku_prices,omitempty" xml:"sku_prices>top_channel_sku_price,omitempty"`
	// 产品ID
	ProductId string `json:"product_id,omitempty" xml:"product_id,omitempty"`
	// 产品价格详情
	ProductPrice *TopChannelPriceDetail `json:"product_price,omitempty" xml:"product_price,omitempty"`
}

TopDistributorPriceResult 结构体

type TopPriceApplyCreateRequest added in v1.2.8

type TopPriceApplyCreateRequest struct {
	// 操作人名称
	CreatorNick string `json:"creator_nick,omitempty" xml:"creator_nick,omitempty"`
	// 最低限价
	AdviseSalePriceLow string `json:"advise_sale_price_low,omitempty" xml:"advise_sale_price_low,omitempty"`
	// 操作人id
	CreatorId string `json:"creator_id,omitempty" xml:"creator_id,omitempty"`
	// SKU渠道价
	SkuPriceMap string `json:"sku_price_map,omitempty" xml:"sku_price_map,omitempty"`
	// 建议零售价
	AdviseSalePriceHigh string `json:"advise_sale_price_high,omitempty" xml:"advise_sale_price_high,omitempty"`
	// 分销商名称,设置专享价填写
	DistributorNick string `json:"distributor_nick,omitempty" xml:"distributor_nick,omitempty"`
	// 渠道价格(含税)
	DistributePrice string `json:"distribute_price,omitempty" xml:"distribute_price,omitempty"`
	// 二级渠道编码
	SubChannelCode string `json:"sub_channel_code,omitempty" xml:"sub_channel_code,omitempty"`
	// 渠道价格(未税)
	ProductPrice string `json:"product_price,omitempty" xml:"product_price,omitempty"`
	// 渠道编码
	ChannelCode string `json:"channel_code,omitempty" xml:"channel_code,omitempty"`
	// 渠道产品id
	ProductId int64 `json:"product_id,omitempty" xml:"product_id,omitempty"`
}

TopPriceApplyCreateRequest 结构体

type TopRequest added in v1.2.5

type TopRequest struct {
	// 供应商ID
	SupplierId string `json:"supplier_id,omitempty" xml:"supplier_id,omitempty"`
	// 创建供品关系开始时间
	BeginTime string `json:"begin_time,omitempty" xml:"begin_time,omitempty"`
	// 创建供品关系结束时间
	EndTime string `json:"end_time,omitempty" xml:"end_time,omitempty"`
	// 每页条数,最大不超过200
	PageSize int64 `json:"page_size,omitempty" xml:"page_size,omitempty"`
	// 当前页
	CurrentPage int64 `json:"current_page,omitempty" xml:"current_page,omitempty"`
}

TopRequest 结构体

type Transferdetaildtolist

type Transferdetaildtolist struct {
	// 品基本信息
	TransferUnitOrderItemList []Transferunitorderitemdtos `json:"transfer_unit_order_item_list,omitempty" xml:"transfer_unit_order_item_list>transferunitorderitemdtos,omitempty"`
	// 仓code
	StoreCode string `json:"store_code,omitempty" xml:"store_code,omitempty"`
	// LBX订单号
	UnitBizCode string `json:"unit_biz_code,omitempty" xml:"unit_biz_code,omitempty"`
	// 1-出库单;2-入库单
	UnitType string `json:"unit_type,omitempty" xml:"unit_type,omitempty"`
	// 出库lbx-下发仓、仓接单、部分出、全出 	 * 入库lbx-下发仓、仓接单、部分入、全入
	FulfilUniBizStatus string `json:"fulfil_uni_biz_status,omitempty" xml:"fulfil_uni_biz_status,omitempty"`
}

Transferdetaildtolist 结构体

type Transferextendorderitemdtolist

type Transferextendorderitemdtolist struct {
	// 批次号
	BatchCode string `json:"batch_code,omitempty" xml:"batch_code,omitempty"`
	// 库存类型
	InventoryType int64 `json:"inventory_type,omitempty" xml:"inventory_type,omitempty"`
	// 数量
	Quantity int64 `json:"quantity,omitempty" xml:"quantity,omitempty"`
}

Transferextendorderitemdtolist 结构体

type Transferunitorderitemdtos

type Transferunitorderitemdtos struct {
	// 品信息
	TransferExtendOrderItemList []Transferextendorderitemdtolist `` /* 127-byte string literal not displayed */
	// LBX订单号
	UnitBizCode string `json:"unit_biz_code,omitempty" xml:"unit_biz_code,omitempty"`
	// 后端货品名称
	ItemName string `json:"item_name,omitempty" xml:"item_name,omitempty"`
	// 货品条码
	ItemCode string `json:"item_code,omitempty" xml:"item_code,omitempty"`
	// 后端货品id
	ItemId int64 `json:"item_id,omitempty" xml:"item_id,omitempty"`
	// 计划下发数量
	PlanQuantity int64 `json:"plan_quantity,omitempty" xml:"plan_quantity,omitempty"`
	// 实际回传数量
	RealQuantity int64 `json:"real_quantity,omitempty" xml:"real_quantity,omitempty"`
}

Transferunitorderitemdtos 结构体

type WaybillCloudPrintDto added in v1.2.5

type WaybillCloudPrintDto struct {
	// 对应传入的packageCode
	PackageCode string `json:"package_code,omitempty" xml:"package_code,omitempty"`
	// 面单号
	WaybillCode string `json:"waybill_code,omitempty" xml:"waybill_code,omitempty"`
	// 父面单号 本次没有,为子母单预留
	ParentWaybillCode string `json:"parent_waybill_code,omitempty" xml:"parent_waybill_code,omitempty"`
	// 面单信息
	PrintData string `json:"print_data,omitempty" xml:"print_data,omitempty"`
}

WaybillCloudPrintDto 结构体

type WaybillGenInfo added in v1.2.9

type WaybillGenInfo struct {
	// 总体积
	TotalVolume string `json:"total_volume,omitempty" xml:"total_volume,omitempty"`
	// 外部单号
	RelatedOrderCode string `json:"related_order_code,omitempty" xml:"related_order_code,omitempty"`
	// 备注
	Remark string `json:"remark,omitempty" xml:"remark,omitempty"`
	// 交易单号
	MainTradeNo string `json:"main_trade_no,omitempty" xml:"main_trade_no,omitempty"`
	// 商家id
	SellerId string `json:"seller_id,omitempty" xml:"seller_id,omitempty"`
	// 拼单数量
	GatherNum int64 `json:"gather_num,omitempty" xml:"gather_num,omitempty"`
	// 是否拼单:0为否,1为是
	Gather int64 `json:"gather,omitempty" xml:"gather,omitempty"`
	// 总包件数
	TotalPackNum int64 `json:"total_pack_num,omitempty" xml:"total_pack_num,omitempty"`
	// 备注图片
	RemarkPicture *RemarkPicture `json:"remark_picture,omitempty" xml:"remark_picture,omitempty"`
	// 交易渠道:1为淘宝/天猫,2为其它,3为抖音,4为拼多多,5为京东,6为唯品会
	OrderChannel int64 `json:"order_channel,omitempty" xml:"order_channel,omitempty"`
}

WaybillGenInfo 结构体

type WaybillGenItemList added in v1.2.9

type WaybillGenItemList struct {
	// 货品id
	ItemId string `json:"item_id,omitempty" xml:"item_id,omitempty"`
	// 货品数量
	ItemQuantity int64 `json:"item_quantity,omitempty" xml:"item_quantity,omitempty"`
}

WaybillGenItemList 结构体

type WaybillGenReceiver added in v1.2.9

type WaybillGenReceiver struct {
	// 联系人电话
	ContactMobile string `json:"contact_mobile,omitempty" xml:"contact_mobile,omitempty"`
	// 联系人名称
	ContactName string `json:"contact_name,omitempty" xml:"contact_name,omitempty"`
	// 详细地址
	DetailAddress string `json:"detail_address,omitempty" xml:"detail_address,omitempty"`
	// 省
	ReceiverProvince string `json:"receiver_province,omitempty" xml:"receiver_province,omitempty"`
	// 市
	ReceiverCity string `json:"receiver_city,omitempty" xml:"receiver_city,omitempty"`
	// 区
	ReceiverArea string `json:"receiver_area,omitempty" xml:"receiver_area,omitempty"`
}

WaybillGenReceiver 结构体

type WaybillGenRequest added in v1.2.9

type WaybillGenRequest struct {
	// 货品信息
	WaybillGenItemList []WaybillGenItemList `json:"waybill_gen_item_list,omitempty" xml:"waybill_gen_item_list>waybill_gen_item_list,omitempty"`
	// 服务类型
	WaybillGenServ *WaybillGenServ `json:"waybill_gen_serv,omitempty" xml:"waybill_gen_serv,omitempty"`
	// 发货人信息
	WaybillGenSender *WaybillGenSender `json:"waybill_gen_sender,omitempty" xml:"waybill_gen_sender,omitempty"`
	// 收货人信息
	WaybillGenReceiver *WaybillGenReceiver `json:"waybill_gen_receiver,omitempty" xml:"waybill_gen_receiver,omitempty"`
	// 开单信息
	WaybillGenInfo *WaybillGenInfo `json:"waybill_gen_info,omitempty" xml:"waybill_gen_info,omitempty"`
}

WaybillGenRequest 结构体

type WaybillGenSender added in v1.2.9

type WaybillGenSender struct {
	// 详细地址
	DetailAddress string `json:"detail_address,omitempty" xml:"detail_address,omitempty"`
	// 省
	SenderProvince string `json:"sender_province,omitempty" xml:"sender_province,omitempty"`
	// 市
	SenderCity string `json:"sender_city,omitempty" xml:"sender_city,omitempty"`
	// 区
	SenderArea string `json:"sender_area,omitempty" xml:"sender_area,omitempty"`
}

WaybillGenSender 结构体

type WaybillGenServ added in v1.2.9

type WaybillGenServ struct {
	// 服务类型:0为送装一体,1为只送到家不安装,2为只送不装到楼下,3为自提
	DeliveryType string `json:"delivery_type,omitempty" xml:"delivery_type,omitempty"`
}

WaybillGenServ 结构体

type WaybillQueryPackageItem added in v1.2.5

type WaybillQueryPackageItem struct {
	// 商品名称
	ItemName string `json:"item_name,omitempty" xml:"item_name,omitempty"`
	// 商品code
	ItemCode string `json:"item_code,omitempty" xml:"item_code,omitempty"`
	// 商品数量
	ItemCount string `json:"item_count,omitempty" xml:"item_count,omitempty"`
}

WaybillQueryPackageItem 结构体

type WaybillQueryRequestData added in v1.2.5

type WaybillQueryRequestData struct {
	// 商品信息
	Items []WaybillQueryPackageItem `json:"items,omitempty" xml:"items>waybill_query_package_item,omitempty"`
	// 包裹code,同一个订单唯一,同一个lp单号多次或同一次传重复的包裹号会被幂等
	Code string `json:"code,omitempty" xml:"code,omitempty"`
	// 包裹描述信息
	Description string `json:"description,omitempty" xml:"description,omitempty"`
	// 子包裹数,在快运取号场景可能会用到
	TotalPackageCount string `json:"total_package_count,omitempty" xml:"total_package_count,omitempty"`
	// 包裹重量,单位克
	Weight string `json:"weight,omitempty" xml:"weight,omitempty"`
	// 包裹体积,单位立方厘米
	Volume string `json:"volume,omitempty" xml:"volume,omitempty"`
	// 长,单位mm
	Length string `json:"length,omitempty" xml:"length,omitempty"`
	// 宽,单位mm
	Width string `json:"width,omitempty" xml:"width,omitempty"`
	// 高,单位mm
	Height string `json:"height,omitempty" xml:"height,omitempty"`
}

WaybillQueryRequestData 结构体

type WaybillQueryResponseData added in v1.2.5

type WaybillQueryResponseData struct {
	// 电子面单信息
	WaybillCloudPrintDtoList []WaybillCloudPrintDto `json:"waybill_cloud_print_dto_list,omitempty" xml:"waybill_cloud_print_dto_list>waybill_cloud_print_dto,omitempty"`
	// 配资源code
	CpResCode string `json:"cp_res_code,omitempty" xml:"cp_res_code,omitempty"`
	// 配资源名称
	CpResName string `json:"cp_res_name,omitempty" xml:"cp_res_name,omitempty"`
	// 配资源品牌code
	CpBrandCode string `json:"cp_brand_code,omitempty" xml:"cp_brand_code,omitempty"`
	// 物流公司名称
	LogisticsCompany string `json:"logistics_company,omitempty" xml:"logistics_company,omitempty"`
}

WaybillQueryResponseData 结构体

type Waybillqueryrequest

type Waybillqueryrequest struct {
	// 包裹列表
	Packages []WaybillQueryRequestData `json:"packages,omitempty" xml:"packages>waybill_query_request_data,omitempty"`
	// 操作人id
	Operator string `json:"operator,omitempty" xml:"operator,omitempty"`
	// 操作人名称
	OperatorName string `json:"operator_name,omitempty" xml:"operator_name,omitempty"`
	// 供应商id
	SupplierId string `json:"supplier_id,omitempty" xml:"supplier_id,omitempty"`
	// 物流服务编码
	ServiceCode string `json:"service_code,omitempty" xml:"service_code,omitempty"`
	// 发货LP单号
	ConsignLpOrderCode string `json:"consign_lp_order_code,omitempty" xml:"consign_lp_order_code,omitempty"`
	// 自营接口配业务模式,默认为1代表商家仓自营配 (为1时会强制校验发货的配CP和单号必须与取号时一致,且多包裹必须一次性发货)
	BusinessModel string `json:"business_model,omitempty" xml:"business_model,omitempty"`
}

Waybillqueryrequest 结构体

Source Files

Jump to

Keyboard shortcuts

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