ascpchannel

package
v1.2.2 Latest Latest
Warning

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

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

Documentation

Overview

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

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

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"`
	// 销售渠道列表
	ChannelCodeList []string `json:"channel_code_list,omitempty" xml:"channel_code_list>string,omitempty"`
	// 库存类型列表
	InventoryTypeList []int64 `json:"inventory_type_list,omitempty" xml:"inventory_type_list>int64,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) 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) 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) 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) 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
	PublishOrderNo string `json:"publish_order_no,omitempty" xml:"publish_order_no,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"`
	// 销售市场中的计划ID,考拉中发布单号=计划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) 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) 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) 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) 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) 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 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) 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) 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) 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 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) 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 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) 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) 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 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

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaAscpIndustryIcpQueryLbxAPIRequest) GetIcpOrderCode added in v1.2.0

GetIcpOrderCode IcpOrderCode Getter

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 AlibabaAscpIndustryLogisticsSyncAPIRequest added in v1.2.0

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

AlibabaAscpIndustryLogisticsSyncAPIRequest 物流状态同步 API请求 alibaba.ascp.industry.logistics.sync

履约物流状态同步

func NewAlibabaAscpIndustryLogisticsSyncRequest

func NewAlibabaAscpIndustryLogisticsSyncRequest() *AlibabaAscpIndustryLogisticsSyncAPIRequest

NewAlibabaAscpIndustryLogisticsSyncRequest 初始化AlibabaAscpIndustryLogisticsSyncAPIRequest对象

func (AlibabaAscpIndustryLogisticsSyncAPIRequest) GetApiMethodName added in v1.2.0

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaAscpIndustryLogisticsSyncAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaAscpIndustryLogisticsSyncAPIRequest) GetParam added in v1.2.0

GetParam Param Getter

func (*AlibabaAscpIndustryLogisticsSyncAPIRequest) SetParam added in v1.2.0

SetParam is Param Setter 参数

type AlibabaAscpIndustryLogisticsSyncAPIResponse

type AlibabaAscpIndustryLogisticsSyncAPIResponse struct {
	model.CommonResponse
	AlibabaAscpIndustryLogisticsSyncAPIResponseModel
}

AlibabaAscpIndustryLogisticsSyncAPIResponse 物流状态同步 API返回值 alibaba.ascp.industry.logistics.sync

履约物流状态同步

type AlibabaAscpIndustryLogisticsSyncAPIResponseModel added in v1.2.0

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

AlibabaAscpIndustryLogisticsSyncAPIResponseModel is 物流状态同步 成功返回结果

type AlibabaAscpIndustryLogisticsSyncResultDto

type AlibabaAscpIndustryLogisticsSyncResultDto struct {
	// 错误描述
	Msg string `json:"msg,omitempty" xml:"msg,omitempty"`
	// 错误编码
	Code string `json:"code,omitempty" xml:"code,omitempty"`
	// 执行结果
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
	// 数据内容
	Module bool `json:"module,omitempty" xml:"module,omitempty"`
}

AlibabaAscpIndustryLogisticsSyncResultDto 结构体

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) 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 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) 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

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaAscpPurchasePriceCreateAPIRequest) GetCreateRequest added in v1.2.0

GetCreateRequest CreateRequest Getter

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"`
	// 采购价(含税)(单位:元)
	PurchasePrice string `json:"purchase_price,omitempty" xml:"purchase_price,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"`
	// 运输方式,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

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaAscpSalecategoryQueryAPIRequest) GetItemId added in v1.2.0

GetItemId ItemId Getter

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) 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 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) 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) 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) 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) 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) 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) 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) 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"`
}

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) 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) 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 AlibabaAscpUopSupplierWaybillQueryAPIRequest added in v1.2.0

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

AlibabaAscpUopSupplierWaybillQueryAPIRequest ERP调用打印面单取号接口 API请求 alibaba.ascp.uop.supplier.waybill.query

ERP调用打印面单取号接口

func NewAlibabaAscpUopSupplierWaybillQueryRequest

func NewAlibabaAscpUopSupplierWaybillQueryRequest() *AlibabaAscpUopSupplierWaybillQueryAPIRequest

NewAlibabaAscpUopSupplierWaybillQueryRequest 初始化AlibabaAscpUopSupplierWaybillQueryAPIRequest对象

func (AlibabaAscpUopSupplierWaybillQueryAPIRequest) GetApiMethodName added in v1.2.0

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaAscpUopSupplierWaybillQueryAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaAscpUopSupplierWaybillQueryAPIRequest) GetWaybillQueryRequest added in v1.2.0

GetWaybillQueryRequest WaybillQueryRequest Getter

func (*AlibabaAscpUopSupplierWaybillQueryAPIRequest) SetWaybillQueryRequest added in v1.2.0

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

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

type AlibabaAscpUopSupplierWaybillQueryAPIResponse

type AlibabaAscpUopSupplierWaybillQueryAPIResponse struct {
	model.CommonResponse
	AlibabaAscpUopSupplierWaybillQueryAPIResponseModel
}

AlibabaAscpUopSupplierWaybillQueryAPIResponse ERP调用打印面单取号接口 API返回值 alibaba.ascp.uop.supplier.waybill.query

ERP调用打印面单取号接口

type AlibabaAscpUopSupplierWaybillQueryAPIResponseModel added in v1.2.0

type AlibabaAscpUopSupplierWaybillQueryAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_ascp_uop_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"`
}

AlibabaAscpUopSupplierWaybillQueryAPIResponseModel is ERP调用打印面单取号接口 成功返回结果

type AlibabaAscpUopSupplierWaybillQueryData

type AlibabaAscpUopSupplierWaybillQueryData struct {
	// 请求唯一id
	InvokeId string `json:"invoke_id,omitempty" xml:"invoke_id,omitempty"`
	// 面单号
	WaybillCode string `json:"waybill_code,omitempty" xml:"waybill_code,omitempty"`
	// 母面单号
	ParentWaybillCode string `json:"parent_waybill_code,omitempty" xml:"parent_waybill_code,omitempty"`
	// 加密面单信息(json字符串)
	PrintData string `json:"print_data,omitempty" xml:"print_data,omitempty"`
	// 模版url
	TemplateURL string `json:"template_u_r_l,omitempty" xml:"template_u_r_l,omitempty"`
	// 签名
	Signature string `json:"signature,omitempty" xml:"signature,omitempty"`
	// 物流单号
	LgOrderCode string `json:"lg_order_code,omitempty" xml:"lg_order_code,omitempty"`
	// 包裹号
	PackageId string `json:"package_id,omitempty" xml:"package_id,omitempty"`
}

AlibabaAscpUopSupplierWaybillQueryData 结构体

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) 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) 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 AlibabaAscpUopTaobaoWaybillQuerycpAPIRequest added in v1.2.0

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

AlibabaAscpUopTaobaoWaybillQuerycpAPIRequest 查询电子面单开放的CP列表 API请求 alibaba.ascp.uop.taobao.waybill.querycp

查询电子面单开放的CP列表

func NewAlibabaAscpUopTaobaoWaybillQuerycpRequest

func NewAlibabaAscpUopTaobaoWaybillQuerycpRequest() *AlibabaAscpUopTaobaoWaybillQuerycpAPIRequest

NewAlibabaAscpUopTaobaoWaybillQuerycpRequest 初始化AlibabaAscpUopTaobaoWaybillQuerycpAPIRequest对象

func (AlibabaAscpUopTaobaoWaybillQuerycpAPIRequest) GetApiMethodName added in v1.2.0

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaAscpUopTaobaoWaybillQuerycpAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaAscpUopTaobaoWaybillQuerycpAPIRequest) GetQueryCpRequest added in v1.2.0

GetQueryCpRequest QueryCpRequest Getter

func (*AlibabaAscpUopTaobaoWaybillQuerycpAPIRequest) SetQueryCpRequest added in v1.2.0

func (r *AlibabaAscpUopTaobaoWaybillQuerycpAPIRequest) SetQueryCpRequest(_queryCpRequest *Querycprequest) error

SetQueryCpRequest is QueryCpRequest Setter 系统自动生成

type AlibabaAscpUopTaobaoWaybillQuerycpAPIResponse

type AlibabaAscpUopTaobaoWaybillQuerycpAPIResponse struct {
	model.CommonResponse
	AlibabaAscpUopTaobaoWaybillQuerycpAPIResponseModel
}

AlibabaAscpUopTaobaoWaybillQuerycpAPIResponse 查询电子面单开放的CP列表 API返回值 alibaba.ascp.uop.taobao.waybill.querycp

查询电子面单开放的CP列表

type AlibabaAscpUopTaobaoWaybillQuerycpAPIResponseModel added in v1.2.0

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

AlibabaAscpUopTaobaoWaybillQuerycpAPIResponseModel is 查询电子面单开放的CP列表 成功返回结果

type AlibabaAscpUopTaobaoWaybillQuerycpData

type AlibabaAscpUopTaobaoWaybillQuerycpData struct {
	// 承运商描述
	Label string `json:"label,omitempty" xml:"label,omitempty"`
	// 承运商code
	Value string `json:"value,omitempty" xml:"value,omitempty"`
}

AlibabaAscpUopTaobaoWaybillQuerycpData 结构体

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

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaAscpUopTobPackageQueryAPIRequest) GetPackageQueryRequest added in v1.2.0

GetPackageQueryRequest PackageQueryRequest Getter

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"`
}

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"`
}

BatchChannelInventoryQuery 结构体

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"`
}

ChannelInventoryQuery 结构体

type Consignlpordercodes

type Consignlpordercodes struct {
	// 发货LP单号
	ConsignLpOrderCode string `json:"consign_lp_order_code,omitempty" xml:"consign_lp_order_code,omitempty"`
}

Consignlpordercodes 结构体

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"`
	// 是否取消成功,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"`
	// 发件人信息
	SenderInfo *Senderinfo `json:"sender_info,omitempty" xml:"sender_info,omitempty"`
	// 是否整单发货,目前只支持履约单整单发货回传
	WholeSheetConsigned bool `json:"whole_sheet_consigned,omitempty" xml:"whole_sheet_consigned,omitempty"`
}

Consignordershiprequest 结构体

type Datas

type Datas struct {
	// 占用库存
	LockQuantity string `json:"lock_quantity,omitempty" xml:"lock_quantity,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,考拉前端 6500
	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"`
	// 货品信息
	Item *Item `json:"item,omitempty" xml:"item,omitempty"`
	// 位置信息
	Location *Location `json:"location,omitempty" xml:"location,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 ExternalCreateRefundOrderDetailRequest

type ExternalCreateRefundOrderDetailRequest struct {
	// 币种
	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"`
	// 退款金额
	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 {
	// 币种
	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"`
}

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"`
	// 收货人信息
	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"`
	// 购买数量
	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"`
	// 退回收件人信息(商家)
	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 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 LogisticsSyncSellerRequest

type LogisticsSyncSellerRequest struct {
	// 快递业务员联系方式,手机号码或电话。
	DeliveryPhone string `json:"delivery_phone,omitempty" xml:"delivery_phone,omitempty"`
	// 流转节点发生时间
	EventCreateTime string `json:"event_create_time,omitempty" xml:"event_create_time,omitempty"`
	// 预计骑手到达时间
	RiderPredictArriveStoreTime string `json:"rider_predict_arrive_store_time,omitempty" xml:"rider_predict_arrive_store_time,omitempty"`
	// 流转节点的当前城市
	City string `json:"city,omitempty" xml:"city,omitempty"`
	// 操作人类型:1寄件人,3客服小二,4快递员,5CP,6收件人,100系统
	MailCp string `json:"mail_cp,omitempty" xml:"mail_cp,omitempty"`
	// 配送日期,周期送业务必传
	PlanDate string `json:"plan_date,omitempty" xml:"plan_date,omitempty"`
	// 快递单号。各个快递公司的运单号格式不同。
	MailNo string `json:"mail_no,omitempty" xml:"mail_no,omitempty"`
	// 快递员的姓名
	DeliveryUserName string `json:"delivery_user_name,omitempty" xml:"delivery_user_name,omitempty"`
	// 取消配送编号
	CancelReasonCode string `json:"cancel_reason_code,omitempty" xml:"cancel_reason_code,omitempty"`
	// 业务类型(oneHour:一小时达,zqs:周期送,dss:定时送,周期送业务:zqs)如果自配送传入:other
	BizIdentity string `json:"biz_identity,omitempty" xml:"biz_identity,omitempty"`
	// 站点名称
	FacilityName string `json:"facility_name,omitempty" xml:"facility_name,omitempty"`
	// 快递公司名称,自配送传入:其他
	MailCpName string `json:"mail_cp_name,omitempty" xml:"mail_cp_name,omitempty"`
	// 流转节点发生时间
	CancelReason string `json:"cancel_reason,omitempty" xml:"cancel_reason,omitempty"`
	// 流转节点的详细地址及操作描述
	Desc string `json:"desc,omitempty" xml:"desc,omitempty"`
	// 主订单号
	MainBizOrderId int64 `json:"main_biz_order_id,omitempty" xml:"main_biz_order_id,omitempty"`
	// 运力类型,0: 第三方快递员, 1:商家自动
	DeliveryUserType int64 `json:"delivery_user_type,omitempty" xml:"delivery_user_type,omitempty"`
	// 配送序号
	SequenceNo int64 `json:"sequence_no,omitempty" xml:"sequence_no,omitempty"`
	// 子订单号
	SubBizOrderId int64 `json:"sub_biz_order_id,omitempty" xml:"sub_biz_order_id,omitempty"`
	// 事件编码,10:已下发等待接单,20:骑手已接单,待提货,40:揽收,999:妥投,50:拒收,-999:取消
	Event int64 `json:"event,omitempty" xml:"event,omitempty"`
	// 操作人类型:1寄件人,3客服小二,4快递员,5CP,6收件人,100系统
	EventOperType int64 `json:"event_oper_type,omitempty" xml:"event_oper_type,omitempty"`
	// 是否为周期送
	ZqsSync bool `json:"zqs_sync,omitempty" xml:"zqs_sync,omitempty"`
}

LogisticsSyncSellerRequest 结构体

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 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 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"`
}

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"`
	// 是否查询sku信息
	IncludeSku bool `json:"include_sku,omitempty" xml:"include_sku,omitempty"`
}

ProductDetailQueryRequestForDistributor 结构体

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 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"`
	// 页码
	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 Querycprequest

type Querycprequest struct {
	// 供应商id
	SupplierId string `json:"supplier_id,omitempty" xml:"supplier_id,omitempty"`
}

Querycprequest 结构体

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"`
	// 收件人
	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"`
	// 详细地址
	ReceiverDetailAddress string `json:"receiver_detail_address,omitempty" xml:"receiver_detail_address,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"`
	// 移动电话
	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"`
	// 固定电话
	Tel string `json:"tel,omitempty" xml:"tel,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"`
	// 退货人
	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"`
	// 详细地址
	RefunderDetailAddress string `json:"refunder_detail_address,omitempty" xml:"refunder_detail_address,omitempty"`
}

Refunderinfo 结构体

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 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
	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"`
	// 发件人
	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"`
	// 详细地址
	SenderDetailAddress string `json:"sender_detail_address,omitempty" xml:"sender_detail_address,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 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 []int64 `json:"aic_inventory_strategy_available_list,omitempty" xml:"aic_inventory_strategy_available_list>int64,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 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 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 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 Waybillqueryrequest

type Waybillqueryrequest struct {
	// 发货LP单号列表
	ConsignLpOrderCodes []Consignlpordercodes `json:"consign_lp_order_codes,omitempty" xml:"consign_lp_order_codes>consignlpordercodes,omitempty"`
	// 操作人id
	Operator string `json:"operator,omitempty" xml:"operator,omitempty"`
	// 操作人名称
	OperatorName string `json:"operator_name,omitempty" xml:"operator_name,omitempty"`
	// 配送公司Code
	CpCode string `json:"cp_code,omitempty" xml:"cp_code,omitempty"`
	// 供应商id
	SupplierId string `json:"supplier_id,omitempty" xml:"supplier_id,omitempty"`
	// 物流服务编码
	ServiceCode string `json:"service_code,omitempty" xml:"service_code,omitempty"`
}

Waybillqueryrequest 结构体

Source Files

Jump to

Keyboard shortcuts

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