wms

package
v1.2.0 Latest Latest
Warning

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

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

Documentation

Overview

菜鸟仓配API model

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

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CainiaoBillQueryOrderinfo

type CainiaoBillQueryOrderinfo struct {
	// 菜鸟订单编码
	CnOrderCode string `json:"cn_order_code,omitempty" xml:"cn_order_code,omitempty"`
	// ERP订单号
	OrderCode string `json:"order_code,omitempty" xml:"order_code,omitempty"`
	// 单据类型 201 销售出库 501 退货入库 502 换货出库 503 补发出库 904 普通入库 903 普通出库单 306 B2B入库单 305 B2B出库单 601 采购入库 901 退供出库单 701 盘点出库 702 盘点入库 711 库存异动单
	OrderType int64 `json:"order_type,omitempty" xml:"order_type,omitempty"`
	// 订单来源(213 天猫,201 淘宝,214 京东,202 1688 阿里中文站 ,203 苏宁在线,204 亚马逊中国,205 当当,208 1号店,207 唯品会,209 国美在线,210 拍拍,206 易贝ebay,211 聚美优品,212 乐蜂网,215 邮乐,216 凡客,217 优购,218 银泰,219 易讯,221 聚尚网,222 蘑菇街,223 POS门店,301 其他)
	OrderSource string `json:"order_source,omitempty" xml:"order_source,omitempty"`
	// 仓库编码
	StoreCode string `json:"store_code,omitempty" xml:"store_code,omitempty"`
	// 单据状态 WMS_ACCEPT 接单成功 WMS_REJECT 接单失败 WMS_CONFIRMED 仓库生产完成,注:此状态表示单据已经在WMS处理完成,可能通过获取单据详情接口获取单据详细信息。 WMS_CANCEL 取消仓库发货  -- WMS_FAILED 订单发货失败 TMS_SIGN 买家签收 TMS_REJECT 买家拒签 TMS_CANCEL 拦截派送
	Status string `json:"status,omitempty" xml:"status,omitempty"`
	// 订单最后修改时间
	ModifiedTime string `json:"modified_time,omitempty" xml:"modified_time,omitempty"`
	// 备注
	Remark string `json:"remark,omitempty" xml:"remark,omitempty"`
	// 交易订单号
	OrderSourceCodes []string `json:"order_source_codes,omitempty" xml:"order_source_codes>string,omitempty"`
}

CainiaoBillQueryOrderinfo

type CainiaoBillQueryOrderinfolist

type CainiaoBillQueryOrderinfolist struct {
	// 订单信息
	OrderInfo *CainiaoBillQueryOrderinfo `json:"order_info,omitempty" xml:"order_info,omitempty"`
}

CainiaoBillQueryOrderinfolist

type CainiaoBimTradeorderConsignAPIRequest

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

驱动保税交易订单发货 API请求 cainiao.bim.tradeorder.consign

驱动保税交易订单发货

func NewCainiaoBimTradeorderConsignRequest

func NewCainiaoBimTradeorderConsignRequest() *CainiaoBimTradeorderConsignAPIRequest

初始化CainiaoBimTradeorderConsignAPIRequest对象

func (CainiaoBimTradeorderConsignAPIRequest) GetApiMethodName

func (r CainiaoBimTradeorderConsignAPIRequest) GetApiMethodName() string

IRequest interface 方法, 获取Api method

func (CainiaoBimTradeorderConsignAPIRequest) GetApiParams

IRequest interface 方法, 获取API参数

func (CainiaoBimTradeorderConsignAPIRequest) GetResId

ResId Getter

func (CainiaoBimTradeorderConsignAPIRequest) GetStoreCode

StoreCode Getter

func (CainiaoBimTradeorderConsignAPIRequest) GetTradeId

TradeId Getter

func (*CainiaoBimTradeorderConsignAPIRequest) SetResId

ResId Setter 选择的线路ID非必填字段

func (*CainiaoBimTradeorderConsignAPIRequest) SetStoreCode

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

StoreCode Setter 仓储编码,ERP指定仓库发货时需要传值,编码由菜鸟提供

func (*CainiaoBimTradeorderConsignAPIRequest) SetTradeId

func (r *CainiaoBimTradeorderConsignAPIRequest) SetTradeId(_tradeId string) error

TradeId Setter 交易单号

type CainiaoBimTradeorderConsignAPIResponse

type CainiaoBimTradeorderConsignAPIResponse struct {
	model.CommonResponse
	CainiaoBimTradeorderConsignAPIResponseModel
}

驱动保税交易订单发货 API返回值 cainiao.bim.tradeorder.consign

驱动保税交易订单发货

type CainiaoBimTradeorderConsignAPIResponseModel

type CainiaoBimTradeorderConsignAPIResponseModel struct {
	XMLName xml.Name `xml:"cainiao_bim_tradeorder_consign_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 菜鸟仓库作业单据号
	StoreOrderCode string `json:"store_order_code,omitempty" xml:"store_order_code,omitempty"`
	// 菜鸟物流订单号,格式为LP开头
	LgOrderCode string `json:"lg_order_code,omitempty" xml:"lg_order_code,omitempty"`
}

驱动保税交易订单发货 成功返回结果

type CainiaoCrmOmsRuleSyncAPIRequest

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

商家ERP订单处理规则同步 API请求 cainiao.crm.oms.rule.sync

将商家ERP订单处理规则同步到菜鸟CRM系统

func NewCainiaoCrmOmsRuleSyncRequest

func NewCainiaoCrmOmsRuleSyncRequest() *CainiaoCrmOmsRuleSyncAPIRequest

初始化CainiaoCrmOmsRuleSyncAPIRequest对象

func (CainiaoCrmOmsRuleSyncAPIRequest) GetApiMethodName

func (r CainiaoCrmOmsRuleSyncAPIRequest) GetApiMethodName() string

IRequest interface 方法, 获取Api method

func (CainiaoCrmOmsRuleSyncAPIRequest) GetApiParams

func (r CainiaoCrmOmsRuleSyncAPIRequest) GetApiParams() url.Values

IRequest interface 方法, 获取API参数

func (CainiaoCrmOmsRuleSyncAPIRequest) GetCheckRuleMsg

func (r CainiaoCrmOmsRuleSyncAPIRequest) GetCheckRuleMsg() string

CheckRuleMsg Getter

func (CainiaoCrmOmsRuleSyncAPIRequest) GetIsAutoCheck

func (r CainiaoCrmOmsRuleSyncAPIRequest) GetIsAutoCheck() bool

IsAutoCheck Getter

func (CainiaoCrmOmsRuleSyncAPIRequest) GetIsOpenCnauto

func (r CainiaoCrmOmsRuleSyncAPIRequest) GetIsOpenCnauto() bool

IsOpenCnauto Getter

func (CainiaoCrmOmsRuleSyncAPIRequest) GetIsSysMergeOrder

func (r CainiaoCrmOmsRuleSyncAPIRequest) GetIsSysMergeOrder() bool

IsSysMergeOrder Getter

func (CainiaoCrmOmsRuleSyncAPIRequest) GetMergeOrderCycle

func (r CainiaoCrmOmsRuleSyncAPIRequest) GetMergeOrderCycle() int64

MergeOrderCycle Getter

func (CainiaoCrmOmsRuleSyncAPIRequest) GetOtherRule

func (r CainiaoCrmOmsRuleSyncAPIRequest) GetOtherRule() string

OtherRule Getter

func (CainiaoCrmOmsRuleSyncAPIRequest) GetShopCode

func (r CainiaoCrmOmsRuleSyncAPIRequest) GetShopCode() string

ShopCode Getter

func (*CainiaoCrmOmsRuleSyncAPIRequest) SetCheckRuleMsg

func (r *CainiaoCrmOmsRuleSyncAPIRequest) SetCheckRuleMsg(_checkRuleMsg string) error

CheckRuleMsg Setter 人工审单规则描述

func (*CainiaoCrmOmsRuleSyncAPIRequest) SetIsAutoCheck

func (r *CainiaoCrmOmsRuleSyncAPIRequest) SetIsAutoCheck(_isAutoCheck bool) error

IsAutoCheck Setter 是否系统智能处理订单(无人工介入)

func (*CainiaoCrmOmsRuleSyncAPIRequest) SetIsOpenCnauto

func (r *CainiaoCrmOmsRuleSyncAPIRequest) SetIsOpenCnauto(_isOpenCnauto bool) error

IsOpenCnauto Setter 是否开启菜鸟自动流转规则

func (*CainiaoCrmOmsRuleSyncAPIRequest) SetIsSysMergeOrder

func (r *CainiaoCrmOmsRuleSyncAPIRequest) SetIsSysMergeOrder(_isSysMergeOrder bool) error

IsSysMergeOrder Setter 是否开启了订单合单

func (*CainiaoCrmOmsRuleSyncAPIRequest) SetMergeOrderCycle

func (r *CainiaoCrmOmsRuleSyncAPIRequest) SetMergeOrderCycle(_mergeOrderCycle int64) error

MergeOrderCycle Setter 订单合单周期(单位:分钟)

func (*CainiaoCrmOmsRuleSyncAPIRequest) SetOtherRule

func (r *CainiaoCrmOmsRuleSyncAPIRequest) SetOtherRule(_otherRule string) error

OtherRule Setter 其他未定义订单处理规则,格式{name;stauts;cycle;}

func (*CainiaoCrmOmsRuleSyncAPIRequest) SetShopCode

func (r *CainiaoCrmOmsRuleSyncAPIRequest) SetShopCode(_shopCode string) error

ShopCode Setter 店铺nick

type CainiaoCrmOmsRuleSyncAPIResponse

type CainiaoCrmOmsRuleSyncAPIResponse struct {
	model.CommonResponse
	CainiaoCrmOmsRuleSyncAPIResponseModel
}

商家ERP订单处理规则同步 API返回值 cainiao.crm.oms.rule.sync

将商家ERP订单处理规则同步到菜鸟CRM系统

type CainiaoCrmOmsRuleSyncAPIResponseModel

type CainiaoCrmOmsRuleSyncAPIResponseModel struct {
	XMLName xml.Name `xml:"cainiao_crm_oms_rule_sync_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// success
	WlSuccess bool `json:"wl_success,omitempty" xml:"wl_success,omitempty"`
	// errorCode
	WlErrorCode string `json:"wl_error_code,omitempty" xml:"wl_error_code,omitempty"`
	// errorMsg
	WlErrorMsg string `json:"wl_error_msg,omitempty" xml:"wl_error_msg,omitempty"`
}

商家ERP订单处理规则同步 成功返回结果

type CainiaoInventoryProfitlossOrderitem

type CainiaoInventoryProfitlossOrderitem struct {
	// 商品ID
	ItemId string `json:"item_id,omitempty" xml:"item_id,omitempty"`
	// 商家对商品的编码
	ItemCode string `json:"item_code,omitempty" xml:"item_code,omitempty"`
	// 库存类型 1 可销售库存(正品)  101 残次
	InventoryType string `json:"inventory_type,omitempty" xml:"inventory_type,omitempty"`
	// 商品数量
	ItemQty string `json:"item_qty,omitempty" xml:"item_qty,omitempty"`
	// 商品保质期信息,失效日期
	DueDate string `json:"due_date,omitempty" xml:"due_date,omitempty"`
	// 商品保质期信息,生产日期
	ProduceDate string `json:"produce_date,omitempty" xml:"produce_date,omitempty"`
	// 生产编码,同一商品可能因商家不同有不同编码
	ProduceCode string `json:"produce_code,omitempty" xml:"produce_code,omitempty"`
	// 生产地区
	ProduceArea string `json:"produce_area,omitempty" xml:"produce_area,omitempty"`
	// 批次号
	BatchCode string `json:"batch_code,omitempty" xml:"batch_code,omitempty"`
}

CainiaoInventoryProfitlossOrderitem

type CainiaoInventoryProfitlossOrderitemlist

type CainiaoInventoryProfitlossOrderitemlist struct {
	// 损益详情
	OrderItem *CainiaoInventoryProfitlossOrderitem `json:"order_item,omitempty" xml:"order_item,omitempty"`
}

CainiaoInventoryProfitlossOrderitemlist

type CainiaoInventoryProfitlossProfitlossinfo

type CainiaoInventoryProfitlossProfitlossinfo struct {
	// 仓库编码
	StoreCode string `json:"store_code,omitempty" xml:"store_code,omitempty"`
	// 仓库订单编码
	CnOrderCode string `json:"cn_order_code,omitempty" xml:"cn_order_code,omitempty"`
	// 订单类型: 701 盘点出库 702 盘点入库
	OrderType int64 `json:"order_type,omitempty" xml:"order_type,omitempty"`
	// 商品信息列表
	OrderItemList []CainiaoInventoryProfitlossOrderitemlist `json:"order_item_list,omitempty" xml:"order_item_list>cainiao_inventory_profitloss_orderitemlist,omitempty"`
	// 备注
	Remark string `json:"remark,omitempty" xml:"remark,omitempty"`
	// 单据生成时间
	CreatedTime string `json:"created_time,omitempty" xml:"created_time,omitempty"`
}

CainiaoInventoryProfitlossProfitlossinfo

type CainiaoReturnBillInventoryitem

type CainiaoReturnBillInventoryitem struct {
	// 库存类型1 可销售库存 101残次品
	InventoryType int64 `json:"inventory_type,omitempty" xml:"inventory_type,omitempty"`
	// 数量
	ItemQty int64 `json:"item_qty,omitempty" xml:"item_qty,omitempty"`
	// 失效日期,保质期商品使用
	DueDate string `json:"due_date,omitempty" xml:"due_date,omitempty"`
	// 生产日期,保质期商品使用
	ProduceDate string `json:"produce_date,omitempty" xml:"produce_date,omitempty"`
	// 生产编码,同一商品可能因商家不同有不同编码,仓库采集的商品信息,可供保质期商品使用
	ProduceCode string `json:"produce_code,omitempty" xml:"produce_code,omitempty"`
	// 生产地区,仓库采集的商品
	ProduceArea string `json:"produce_area,omitempty" xml:"produce_area,omitempty"`
	// 批次号
	BatchCode string `json:"batch_code,omitempty" xml:"batch_code,omitempty"`
}

CainiaoReturnBillInventoryitem

type CainiaoReturnBillInventoryitemlist

type CainiaoReturnBillInventoryitemlist struct {
	// 订单详情
	InventoryItem *CainiaoReturnBillInventoryitem `json:"inventory_item,omitempty" xml:"inventory_item,omitempty"`
}

CainiaoReturnBillInventoryitemlist

type CainiaoReturnBillOrderitem

type CainiaoReturnBillOrderitem struct {
	// 商品ID
	OrderItemId string `json:"order_item_id,omitempty" xml:"order_item_id,omitempty"`
	// 商品ID
	ItemId string `json:"item_id,omitempty" xml:"item_id,omitempty"`
	// 商家编码
	ItemCode string `json:"item_code,omitempty" xml:"item_code,omitempty"`
	// 商品信息
	InventoryItemList []CainiaoReturnBillInventoryitemlist `json:"inventory_item_list,omitempty" xml:"inventory_item_list>cainiao_return_bill_inventoryitemlist,omitempty"`
}

CainiaoReturnBillOrderitem

type CainiaoReturnBillOrderitemlist

type CainiaoReturnBillOrderitemlist struct {
	// 订单商品信息
	OrderItem *CainiaoReturnBillOrderitem `json:"order_item,omitempty" xml:"order_item,omitempty"`
}

CainiaoReturnBillOrderitemlist

type CainiaoReturnBillReturnorderinfo

type CainiaoReturnBillReturnorderinfo struct {
	// ERP订单号
	OrderCode string `json:"order_code,omitempty" xml:"order_code,omitempty"`
	// 仓库订单编码,LBX号
	CnOrderCode string `json:"cn_order_code,omitempty" xml:"cn_order_code,omitempty"`
	// 单据类型: 501 退货入库
	OrderType int64 `json:"order_type,omitempty" xml:"order_type,omitempty"`
	// 仓库订单完成时间
	ConfirmTime string `json:"confirm_time,omitempty" xml:"confirm_time,omitempty"`
	// 订单商品信息列表
	OrderItemList []CainiaoReturnBillOrderitemlist `json:"order_item_list,omitempty" xml:"order_item_list>cainiao_return_bill_orderitemlist,omitempty"`
	// 此销退订单对应原销售订单的菜鸟订单号
	PreCnOrderCode string `json:"pre_cn_order_code,omitempty" xml:"pre_cn_order_code,omitempty"`
}

CainiaoReturnBillReturnorderinfo

type CainiaoStockInBillInventoryitem

type CainiaoStockInBillInventoryitem struct {
	// 库存类型1 可销售库存 101残次品
	InventoryType int64 `json:"inventory_type,omitempty" xml:"inventory_type,omitempty"`
	// 数量
	ItemQty int64 `json:"item_qty,omitempty" xml:"item_qty,omitempty"`
	// 商品保质期信息,失效日期
	DueDate string `json:"due_date,omitempty" xml:"due_date,omitempty"`
	// 商品保质期信息,生产日期
	ProduceDate string `json:"produce_date,omitempty" xml:"produce_date,omitempty"`
	// 生产编码,同一商品可能因商家不同有不同编码
	ProduceCode string `json:"produce_code,omitempty" xml:"produce_code,omitempty"`
	// 生产地区,仓库采集的商品信息,供记录参考
	ProduceArea string `json:"produce_area,omitempty" xml:"produce_area,omitempty"`
	// 批次号
	BatchCode string `json:"batch_code,omitempty" xml:"batch_code,omitempty"`
}

CainiaoStockInBillInventoryitem

type CainiaoStockInBillInventoryitemlist

type CainiaoStockInBillInventoryitemlist struct {
	// 仓库收货商品信息
	InventoryItem *CainiaoStockInBillInventoryitem `json:"inventory_item,omitempty" xml:"inventory_item,omitempty"`
}

CainiaoStockInBillInventoryitemlist

type CainiaoStockInBillOrderitem

type CainiaoStockInBillOrderitem struct {
	// ERP订单明细ID
	OrderItemId string `json:"order_item_id,omitempty" xml:"order_item_id,omitempty"`
	// 商品ID
	ItemId string `json:"item_id,omitempty" xml:"item_id,omitempty"`
	// 商家编码
	ItemCode string `json:"item_code,omitempty" xml:"item_code,omitempty"`
	// 通知数量
	ApplyQty int64 `json:"apply_qty,omitempty" xml:"apply_qty,omitempty"`
	// 仓库收货商品信息
	InventoryItemList []CainiaoStockInBillInventoryitemlist `json:"inventory_item_list,omitempty" xml:"inventory_item_list>cainiao_stock_in_bill_inventoryitemlist,omitempty"`
}

CainiaoStockInBillOrderitem

type CainiaoStockInBillOrderitemlist

type CainiaoStockInBillOrderitemlist struct {
	// 入库单信息
	OrderItem *CainiaoStockInBillOrderitem `json:"order_item,omitempty" xml:"order_item,omitempty"`
}

CainiaoStockInBillOrderitemlist

type CainiaoStockInBillStockininfo

type CainiaoStockInBillStockininfo struct {
	// ERP订单号
	OrderCode string `json:"order_code,omitempty" xml:"order_code,omitempty"`
	// 菜鸟订单编码
	CnOrderCode string `json:"cn_order_code,omitempty" xml:"cn_order_code,omitempty"`
	// 单据类型:  904 普通入库 306 B2B入库单 601 采购入库
	OrderType int64 `json:"order_type,omitempty" xml:"order_type,omitempty"`
	// 仓库订单完成时间
	ConfirmTime string `json:"confirm_time,omitempty" xml:"confirm_time,omitempty"`
	// 入库单状态 WMS_ACCEPT 接单成功 WMS_REJECT 接单失败WMS_CONFIRMED 仓库生产完成
	Status string `json:"status,omitempty" xml:"status,omitempty"`
	// 入库单信息
	OrderItemList []CainiaoStockInBillOrderitemlist `json:"order_item_list,omitempty" xml:"order_item_list>cainiao_stock_in_bill_orderitemlist,omitempty"`
}

CainiaoStockInBillStockininfo

type CainiaoStockOutBillInventoryitem

type CainiaoStockOutBillInventoryitem struct {
	// 库存类型1 可销售库存 101 类型用来定义残次品 201 冻结类型库存301 在途库存
	InventoryType int64 `json:"inventory_type,omitempty" xml:"inventory_type,omitempty"`
	// 数量
	ItemQty int64 `json:"item_qty,omitempty" xml:"item_qty,omitempty"`
	// 商品保质期信息,失效日期
	DueDate string `json:"due_date,omitempty" xml:"due_date,omitempty"`
	// 商品保质期信息,生产日期
	ProduceDate string `json:"produce_date,omitempty" xml:"produce_date,omitempty"`
	// 生产编码,同一商品可能因商家不同有不同编码
	ProduceCode string `json:"produce_code,omitempty" xml:"produce_code,omitempty"`
	// 生产地区
	ProduceArea string `json:"produce_area,omitempty" xml:"produce_area,omitempty"`
	// 批次号
	BatchCode string `json:"batch_code,omitempty" xml:"batch_code,omitempty"`
}

CainiaoStockOutBillInventoryitem

type CainiaoStockOutBillInventoryitemlist

type CainiaoStockOutBillInventoryitemlist struct {
	// 商品属性
	InventoryItem *CainiaoStockOutBillInventoryitem `json:"inventory_item,omitempty" xml:"inventory_item,omitempty"`
}

CainiaoStockOutBillInventoryitemlist

type CainiaoStockOutBillOrderitem

type CainiaoStockOutBillOrderitem struct {
	// order_item_id
	OrderItemId string `json:"order_item_id,omitempty" xml:"order_item_id,omitempty"`
	// 商品ID
	ItemId string `json:"item_id,omitempty" xml:"item_id,omitempty"`
	// 商家编码
	ItemCode string `json:"item_code,omitempty" xml:"item_code,omitempty"`
	// 通知数量
	ApplyQty int64 `json:"apply_qty,omitempty" xml:"apply_qty,omitempty"`
	// 商品属性列表
	InventoryItemList []CainiaoStockOutBillInventoryitemlist `json:"inventory_item_list,omitempty" xml:"inventory_item_list>cainiao_stock_out_bill_inventoryitemlist,omitempty"`
}

CainiaoStockOutBillOrderitem

type CainiaoStockOutBillOrderitemlist

type CainiaoStockOutBillOrderitemlist struct {
	// 订单商品信息
	OrderItem *CainiaoStockOutBillOrderitem `json:"order_item,omitempty" xml:"order_item,omitempty"`
}

CainiaoStockOutBillOrderitemlist

type CainiaoStockOutBillPackageinfo

type CainiaoStockOutBillPackageinfo struct {
	// 快递公司服务编码
	TmsCode string `json:"tms_code,omitempty" xml:"tms_code,omitempty"`
	// 运单编码
	TmsOrderCode string `json:"tms_order_code,omitempty" xml:"tms_order_code,omitempty"`
	// 包裹号
	PackageCode string `json:"package_code,omitempty" xml:"package_code,omitempty"`
	// 包裹质量,单位:克
	PackageWeight int64 `json:"package_weight,omitempty" xml:"package_weight,omitempty"`
	// 包裹长度,单位:毫米
	PackageLength int64 `json:"package_length,omitempty" xml:"package_length,omitempty"`
	// 包裹宽度,单位:毫米
	PackageWidth int64 `json:"package_width,omitempty" xml:"package_width,omitempty"`
	// 包裹高度,单位:毫米
	PackageHeight int64 `json:"package_height,omitempty" xml:"package_height,omitempty"`
	// 包裹里面的商品信息列表
	PackageItemList []CainiaoStockOutBillPackageitemlist `json:"package_item_list,omitempty" xml:"package_item_list>cainiao_stock_out_bill_packageitemlist,omitempty"`
}

CainiaoStockOutBillPackageinfo

type CainiaoStockOutBillPackageinfolist

type CainiaoStockOutBillPackageinfolist struct {
	// 包裹信息
	PackageInfo *CainiaoStockOutBillPackageinfo `json:"package_info,omitempty" xml:"package_info,omitempty"`
}

CainiaoStockOutBillPackageinfolist

type CainiaoStockOutBillPackageitem

type CainiaoStockOutBillPackageitem struct {
	// ERP订单明细ID
	OrderItemId string `json:"order_item_id,omitempty" xml:"order_item_id,omitempty"`
	// 菜鸟商品编码
	ItemId string `json:"item_id,omitempty" xml:"item_id,omitempty"`
	// ERP商品编码
	ItemCode string `json:"item_code,omitempty" xml:"item_code,omitempty"`
	// 库存类型1 可销售库存 101残次品
	InventoryType int64 `json:"inventory_type,omitempty" xml:"inventory_type,omitempty"`
	// 数量
	ItemQty int64 `json:"item_qty,omitempty" xml:"item_qty,omitempty"`
}

CainiaoStockOutBillPackageitem

type CainiaoStockOutBillPackageitemlist

type CainiaoStockOutBillPackageitemlist struct {
	// 1
	PackageItem *CainiaoStockOutBillPackageitem `json:"package_item,omitempty" xml:"package_item,omitempty"`
}

CainiaoStockOutBillPackageitemlist

type CainiaoStockOutBillStockoutinfo

type CainiaoStockOutBillStockoutinfo struct {
	// ERP订单号
	OrderCode string `json:"order_code,omitempty" xml:"order_code,omitempty"`
	// 仓库订单编码,LBX号
	CnOrderCode string `json:"cn_order_code,omitempty" xml:"cn_order_code,omitempty"`
	// 单据类型 903 普通出库单 305 B2B出库单 901 退供出库单
	OrderType int64 `json:"order_type,omitempty" xml:"order_type,omitempty"`
	// 仓库订单完成时间
	ConfirmTime string `json:"confirm_time,omitempty" xml:"confirm_time,omitempty"`
	// 入库单状态
	Status string `json:"status,omitempty" xml:"status,omitempty"`
	// 包裹信息列表,包含每个包裹使用的快递信息
	PackageInfoList []CainiaoStockOutBillPackageinfolist `json:"package_info_list,omitempty" xml:"package_info_list>cainiao_stock_out_bill_packageinfolist,omitempty"`
	// 订单商品列表
	OrderItemList []CainiaoStockOutBillOrderitemlist `json:"order_item_list,omitempty" xml:"order_item_list>cainiao_stock_out_bill_orderitemlist,omitempty"`
}

CainiaoStockOutBillStockoutinfo

type Consignorder

type Consignorder struct {
	// 仓库物流订单信息列表
	ConsignOrderItemList []Consignorderitemlist `json:"consign_order_item_list,omitempty" xml:"consign_order_item_list>consignorderitemlist,omitempty"`
	// 仓库订单编码
	StoreOrderCode string `json:"store_order_code,omitempty" xml:"store_order_code,omitempty"`
	// 错误编码
	ErrorCode string `json:"error_code,omitempty" xml:"error_code,omitempty"`
	// 配送编码
	TmsCode string `json:"tms_code,omitempty" xml:"tms_code,omitempty"`
	// 错误信息
	ErrorMsg string `json:"error_msg,omitempty" xml:"error_msg,omitempty"`
	// 是否成功
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
	// 仓库编码
	StoreCode string `json:"store_code,omitempty" xml:"store_code,omitempty"`
}

Consignorder

type Consignorderitem

type Consignorderitem struct {
	// 商品数量
	ItemQuantity int64 `json:"item_quantity,omitempty" xml:"item_quantity,omitempty"`
	// ERP订单明细行号ID
	OrderItemId string `json:"order_item_id,omitempty" xml:"order_item_id,omitempty"`
	// 商品ID
	ItemId string `json:"item_id,omitempty" xml:"item_id,omitempty"`
	// 商品编码
	ItemCode string `json:"item_code,omitempty" xml:"item_code,omitempty"`
}

Consignorderitem

type Consignorderitemlist

type Consignorderitemlist struct {
	// 仓库物流订单信息列表
	ConsignOrderItem *Consignorderitem `json:"consign_order_item,omitempty" xml:"consign_order_item,omitempty"`
}

Consignorderitemlist

type Consignorderlist

type Consignorderlist struct {
	// 发货订单信息
	ConsignOrder *Consignorder `json:"consign_order,omitempty" xml:"consign_order,omitempty"`
}

Consignorderlist

type Consignsendinfo

type Consignsendinfo struct {
	// 订单信息
	OrderItemList []Orderitemlist `json:"order_item_list,omitempty" xml:"order_item_list>orderitemlist,omitempty"`
	// 运单信息
	TmsOrderList []Tmsorderlist `json:"tms_order_list,omitempty" xml:"tms_order_list>tmsorderlist,omitempty"`
	// 菜鸟订单编码
	CnOrderCode string `json:"cn_order_code,omitempty" xml:"cn_order_code,omitempty"`
	// ERP订单编码
	OrderCode string `json:"order_code,omitempty" xml:"order_code,omitempty"`
	// 订单类型 201 销售出库 502 换货出库 503 补发出库
	OrderType int64 `json:"order_type,omitempty" xml:"order_type,omitempty"`
	// 仓储编码
	StoreCode string `json:"store_code,omitempty" xml:"store_code,omitempty"`
	// 订单状态 WMS_ACCEPT 接单成功 WMS_REJECT 接单失败 WMS_CONFIRMED 仓库生产完成
	Status string `json:"status,omitempty" xml:"status,omitempty"`
	// 仓库订单完成时间
	ConfirmTime string `json:"confirm_time,omitempty" xml:"confirm_time,omitempty"`
	// 发票确认信息列表
	InvoinceConfirmList []Invoinceconfirmlist `json:"invoince_confirm_list,omitempty" xml:"invoince_confirm_list>invoinceconfirmlist,omitempty"`
}

Consignsendinfo

type Consignsendinfolist

type Consignsendinfolist struct {
	// 物流订单发货信息
	ConsignSendInfo *Consignsendinfo `json:"consign_send_info,omitempty" xml:"consign_send_info,omitempty"`
}

Consignsendinfolist

type Deliverrequirementswlbwmsconsignordernotify

type Deliverrequirementswlbwmsconsignordernotify struct {
	// 投递时延要求:  1-工作日 2-节假日 101,当日达102次晨达103次日达 111 活动标  104 预约达
	ScheduleType int64 `json:"schedule_type,omitempty" xml:"schedule_type,omitempty"`
	// 送达日期
	ScheduleDay string `json:"schedule_day,omitempty" xml:"schedule_day,omitempty"`
	// 送达开始时间
	ScheduleStart string `json:"schedule_start,omitempty" xml:"schedule_start,omitempty"`
	// 送达结束时间
	ScheduleEnd string `json:"schedule_end,omitempty" xml:"schedule_end,omitempty"`
	// 配送类型: PTPS-常温配送 LLPS-冷链配送
	DeliveryType string `json:"delivery_type,omitempty" xml:"delivery_type,omitempty"`
}

Deliverrequirementswlbwmsconsignordernotify

type Detaillistwlbwmsconsignordernotify

type Detaillistwlbwmsconsignordernotify struct {
	// 发票信息
	ItemDetail *Itemdetailwlbwmsconsignordernotify `json:"item_detail,omitempty" xml:"item_detail,omitempty"`
}

Detaillistwlbwmsconsignordernotify

type Inventoryitem

type Inventoryitem struct {
	// 库存类型:1 可销售库存 (正品) 101 类型用来定义残次品 201 冻结类型库存 301 在途库存
	InventoryType int64 `json:"inventory_type,omitempty" xml:"inventory_type,omitempty"`
	// 数量
	ItemQty int64 `json:"item_qty,omitempty" xml:"item_qty,omitempty"`
	// 商品保质期信息,失效日期
	DueDate string `json:"due_date,omitempty" xml:"due_date,omitempty"`
	// 商品保质期信息,生产日期
	ProduceDate string `json:"produce_date,omitempty" xml:"produce_date,omitempty"`
	// 生产编码,同一商品可能因商家不同有不同编码
	ProduceCode string `json:"produce_code,omitempty" xml:"produce_code,omitempty"`
	// 生产地区
	ProduceArea string `json:"produce_area,omitempty" xml:"produce_area,omitempty"`
	// 批次号
	BatchCode string `json:"batch_code,omitempty" xml:"batch_code,omitempty"`
}

Inventoryitem

type Inventoryitemlist

type Inventoryitemlist struct {
	// 商品属性列表
	InventoryItem *Inventoryitem `json:"inventory_item,omitempty" xml:"inventory_item,omitempty"`
}

Inventoryitemlist

type Invoicelistwlbwmsconsignordernotify

type Invoicelistwlbwmsconsignordernotify struct {
	// 发票信息
	InvoiceInfo *Invoicewlbwmsconsignordernotify `json:"invoice_info,omitempty" xml:"invoice_info,omitempty"`
}

Invoicelistwlbwmsconsignordernotify

type Invoicewlbwmsconsignordernotify

type Invoicewlbwmsconsignordernotify struct {
	// Erp发票ID
	BillId int64 `json:"bill_id,omitempty" xml:"bill_id,omitempty"`
	// 发票类型(VINVOICE - 增值税普通发票, EVINVOICE - 电子增票,电子发票仓库不打印)
	BillType string `json:"bill_type,omitempty" xml:"bill_type,omitempty"`
	// 发票抬头
	BillTitle string `json:"bill_title,omitempty" xml:"bill_title,omitempty"`
	// 发票金额
	BillAccount string `json:"bill_account,omitempty" xml:"bill_account,omitempty"`
	// 发票内容
	BillContent string `json:"bill_content,omitempty" xml:"bill_content,omitempty"`
	// 发票明细列表
	DetailList []Detaillistwlbwmsconsignordernotify `json:"detail_list,omitempty" xml:"detail_list>detaillistwlbwmsconsignordernotify,omitempty"`
}

Invoicewlbwmsconsignordernotify

type Invoinceconfirm

type Invoinceconfirm struct {
	// Erp发票ID
	BillId string `json:"bill_id,omitempty" xml:"bill_id,omitempty"`
	// 发票号
	InvoiceNumber string `json:"invoice_number,omitempty" xml:"invoice_number,omitempty"`
	// 发票代码
	InvoiceCode string `json:"invoice_code,omitempty" xml:"invoice_code,omitempty"`
}

Invoinceconfirm

type Invoinceconfirmlist

type Invoinceconfirmlist struct {
	// 发票确认信息
	InvoinceConfirm *Invoinceconfirm `json:"invoince_confirm,omitempty" xml:"invoince_confirm,omitempty"`
}

Invoinceconfirmlist

type Itemdetailwlbwmsconsignordernotify

type Itemdetailwlbwmsconsignordernotify struct {
	// 金额
	Amount string `json:"amount,omitempty" xml:"amount,omitempty"`
	// 单位
	Unit string `json:"unit,omitempty" xml:"unit,omitempty"`
	// 商品名称
	ItemName string `json:"item_name,omitempty" xml:"item_name,omitempty"`
	// 商品价格
	Price string `json:"price,omitempty" xml:"price,omitempty"`
	// 商品数量
	Quantity int64 `json:"quantity,omitempty" xml:"quantity,omitempty"`
}

Itemdetailwlbwmsconsignordernotify

type Orderitem

type Orderitem struct {
	// 订单明细行编码
	OrderItemId string `json:"order_item_id,omitempty" xml:"order_item_id,omitempty"`
	// 交易单号
	OrderSourceCode string `json:"order_source_code,omitempty" xml:"order_source_code,omitempty"`
	// 商品ID
	ItemId string `json:"item_id,omitempty" xml:"item_id,omitempty"`
	// 商家编码
	ItemCode string `json:"item_code,omitempty" xml:"item_code,omitempty"`
	// 商品属性列表
	InventoryItemList []Inventoryitemlist `json:"inventory_item_list,omitempty" xml:"inventory_item_list>inventoryitemlist,omitempty"`
}

Orderitem

type Orderitemlist

type Orderitemlist struct {
	// 订单商品信息
	OrderItem *Orderitem `json:"order_item,omitempty" xml:"order_item,omitempty"`
}

Orderitemlist

type Orderitemlistwlbwmsconsignordernotify

type Orderitemlistwlbwmsconsignordernotify struct {
	// 订单商品信息
	OrderItem *Orderitemwlbwmsconsignordernotify `json:"order_item,omitempty" xml:"order_item,omitempty"`
}

Orderitemlistwlbwmsconsignordernotify

type Orderitemlistwlbwmsreturnordernotify

type Orderitemlistwlbwmsreturnordernotify struct {
	// 1
	OrderItem *Orderitemwlbwmsreturnordernotify `json:"order_item,omitempty" xml:"order_item,omitempty"`
}

Orderitemlistwlbwmsreturnordernotify

type Orderitemlistwlbwmsstockinordernotifywl

type Orderitemlistwlbwmsstockinordernotifywl struct {
	// 订单商品
	OrderItem *Orderitemwlbwmsstockinordernotifywl `json:"order_item,omitempty" xml:"order_item,omitempty"`
}

Orderitemlistwlbwmsstockinordernotifywl

type Orderitemlistwlbwmsstockoutordernotify

type Orderitemlistwlbwmsstockoutordernotify struct {
	// 订单商品信息
	OrderItem *Orderitemwlbwmsstockoutordernotify `json:"order_item,omitempty" xml:"order_item,omitempty"`
}

Orderitemlistwlbwmsstockoutordernotify

type Orderitemwlbwmsconsignordernotify

type Orderitemwlbwmsconsignordernotify struct {
	// ERP订单明细行号ID,数字类型
	OrderItemId string `json:"order_item_id,omitempty" xml:"order_item_id,omitempty"`
	// 货主ID
	OwnerUserId string `json:"owner_user_id,omitempty" xml:"owner_user_id,omitempty"`
	// 货主名称
	OwnerUserName string `json:"owner_user_name,omitempty" xml:"owner_user_name,omitempty"`
	// 店铺ID
	UserId string `json:"user_id,omitempty" xml:"user_id,omitempty"`
	// 店铺名称
	UserName string `json:"user_name,omitempty" xml:"user_name,omitempty"`
	// 平台子交易编码
	SubSourceCode string `json:"sub_source_code,omitempty" xml:"sub_source_code,omitempty"`
	// 平台交易订单编码,如果不传入淘系交易订单,子订单系统自动标示此商品为赠品;
	OrderSourceCode string `json:"order_source_code,omitempty" xml:"order_source_code,omitempty"`
	// ERP商品ID
	ItemId string `json:"item_id,omitempty" xml:"item_id,omitempty"`
	// 商品名称
	ItemName string `json:"item_name,omitempty" xml:"item_name,omitempty"`
	// 商品数量
	ItemQuantity int64 `json:"item_quantity,omitempty" xml:"item_quantity,omitempty"`
	// 库存类型
	InventoryType int64 `json:"inventory_type,omitempty" xml:"inventory_type,omitempty"`
	// 销售价格
	ItemPrice int64 `json:"item_price,omitempty" xml:"item_price,omitempty"`
	// 商品优惠金额
	DiscountAmount int64 `json:"discount_amount,omitempty" xml:"discount_amount,omitempty"`
	// 商品成交价格=销售价格-优惠金额
	ActualPrice int64 `json:"actual_price,omitempty" xml:"actual_price,omitempty"`
	// 订单商品拓展属性数据
	ExtendFields string `json:"extend_fields,omitempty" xml:"extend_fields,omitempty"`
	// ERP店铺编码
	ShopCode string `json:"shop_code,omitempty" xml:"shop_code,omitempty"`
}

Orderitemwlbwmsconsignordernotify

type Orderitemwlbwmsreturnordernotify

type Orderitemwlbwmsreturnordernotify struct {
	// 平台交易订单编码,淘系交易请传入交易单号
	OrderItemId string `json:"order_item_id,omitempty" xml:"order_item_id,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"`
	// 后端商品ID
	ItemId string `json:"item_id,omitempty" xml:"item_id,omitempty"`
	// 商品数量
	ItemQuantity int64 `json:"item_quantity,omitempty" xml:"item_quantity,omitempty"`
	// 扩展属性, key-value结构,格式要求: 以英文分号“;”分隔每组key-value,以英文冒号“:”分隔key与value。如果value中带有分号,需要转成下划线“_”,如果带有冒号,需要转成中划线“-”
	ExtendFields string `json:"extend_fields,omitempty" xml:"extend_fields,omitempty"`
	// 商品名称
	ItemName string `json:"item_name,omitempty" xml:"item_name,omitempty"`
}

Orderitemwlbwmsreturnordernotify

type Orderitemwlbwmsstockinordernotifywl

type Orderitemwlbwmsstockinordernotifywl struct {
	// 生产批号
	ProduceCode string `json:"produce_code,omitempty" xml:"produce_code,omitempty"`
	// 商品数量
	ItemQuantity int64 `json:"item_quantity,omitempty" xml:"item_quantity,omitempty"`
	// 批次编号
	BatchCode string `json:"batch_code,omitempty" xml:"batch_code,omitempty"`
	// 单据明细ID
	OrderItemId string `json:"order_item_id,omitempty" xml:"order_item_id,omitempty"`
	// 订单商品拓展属性
	ExtendFields string `json:"extend_fields,omitempty" xml:"extend_fields,omitempty"`
	// 库存类型 1 正品 101 残次 102 机损 103 箱损 201 冻结库存 301 在途库存
	InventoryType int64 `json:"inventory_type,omitempty" xml:"inventory_type,omitempty"`
	// 后端商品ID
	ItemId string `json:"item_id,omitempty" xml:"item_id,omitempty"`
	// 失效日期
	DueDate string `json:"due_date,omitempty" xml:"due_date,omitempty"`
	// 采购价格
	PurchasePrice int64 `json:"purchase_price,omitempty" xml:"purchase_price,omitempty"`
	// 生产日期
	ProduceDate string `json:"produce_date,omitempty" xml:"produce_date,omitempty"`
}

Orderitemwlbwmsstockinordernotifywl

type Orderitemwlbwmsstockoutordernotify

type Orderitemwlbwmsstockoutordernotify struct {
	// 生产日期
	ProduceDate string `json:"produce_date,omitempty" xml:"produce_date,omitempty"`
	// 商品数量
	ItemQuantity int64 `json:"item_quantity,omitempty" xml:"item_quantity,omitempty"`
	// 批次号
	BatchCode string `json:"batch_code,omitempty" xml:"batch_code,omitempty"`
	// ERP主键ID
	OrderItemId string `json:"order_item_id,omitempty" xml:"order_item_id,omitempty"`
	// ERP商品ID
	ItemId string `json:"item_id,omitempty" xml:"item_id,omitempty"`
	// 生产编码,同一商品可能因商家不同有不同编码
	ProduceCode string `json:"produce_code,omitempty" xml:"produce_code,omitempty"`
	// 订单商品拓展属性数据
	ExtendFields string `json:"extend_fields,omitempty" xml:"extend_fields,omitempty"`
	// 库存类型
	InventoryType int64 `json:"inventory_type,omitempty" xml:"inventory_type,omitempty"`
	// 到货日期
	DueDate string `json:"due_date,omitempty" xml:"due_date,omitempty"`
}

Orderitemwlbwmsstockoutordernotify

type Packagematerial

type Packagematerial struct {
	// 淘宝指定的包材型号
	MaterialType string `json:"material_type,omitempty" xml:"material_type,omitempty"`
	// 包材的数量
	MaterialQuantity string `json:"material_quantity,omitempty" xml:"material_quantity,omitempty"`
}

Packagematerial

type Packagemateriallist

type Packagemateriallist struct {
	// 包裹包材信息
	PackageMaterial *Packagematerial `json:"package_material,omitempty" xml:"package_material,omitempty"`
}

Packagemateriallist

type Receiverinfowlbwmsreturnordernotify

type Receiverinfowlbwmsreturnordernotify struct {
	// 收件人邮编
	ReceiverZipCode string `json:"receiver_zip_code,omitempty" xml:"receiver_zip_code,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"`
	// 收件人镇村
	ReceiverTown string `json:"receiver_town,omitempty" xml:"receiver_town,omitempty"`
	// 收件人地址
	ReceiverAddress string `json:"receiver_address,omitempty" xml:"receiver_address,omitempty"`
	// 收件人姓名
	ReceiverName string `json:"receiver_name,omitempty" xml:"receiver_name,omitempty"`
	// 收件人手机,手机与电话二选一传入
	ReceiverMobile string `json:"receiver_mobile,omitempty" xml:"receiver_mobile,omitempty"`
	// 收件人电话
	ReceiverPhone string `json:"receiver_phone,omitempty" xml:"receiver_phone,omitempty"`
	// 收件人名称
	ReceiverNick string `json:"receiver_nick,omitempty" xml:"receiver_nick,omitempty"`
}

Receiverinfowlbwmsreturnordernotify

type Receiverinfowlbwmsstockinordernotifywl

type Receiverinfowlbwmsstockinordernotifywl struct {
	// 收件人城市
	ReceiverCity string `json:"receiver_city,omitempty" xml:"receiver_city,omitempty"`
	// 收件人区县
	ReceiverArea string `json:"receiver_area,omitempty" xml:"receiver_area,omitempty"`
	// 收件人手机
	ReceiverMobile string `json:"receiver_mobile,omitempty" xml:"receiver_mobile,omitempty"`
	// 收件人省份
	ReceiverProvince string `json:"receiver_province,omitempty" xml:"receiver_province,omitempty"`
	// 收件人名称
	ReceiverName string `json:"receiver_name,omitempty" xml:"receiver_name,omitempty"`
	// 收件人邮编
	ReceiverZipCode string `json:"receiver_zip_code,omitempty" xml:"receiver_zip_code,omitempty"`
	// 收件方地址
	ReceiverAddress string `json:"receiver_address,omitempty" xml:"receiver_address,omitempty"`
	// 收件人手机
	ReceiverPhone string `json:"receiver_phone,omitempty" xml:"receiver_phone,omitempty"`
	// 收件人镇
	ReceiverTown string `json:"receiver_town,omitempty" xml:"receiver_town,omitempty"`
}

Receiverinfowlbwmsstockinordernotifywl

type Receiverwlbwmsconsignordernotify

type Receiverwlbwmsconsignordernotify struct {
	// 收件方省份
	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"`
	// 收件方街道
	ReceiverTown string `json:"receiver_town,omitempty" xml:"receiver_town,omitempty"`
	// 收件方地址
	ReceiverAddress string `json:"receiver_address,omitempty" xml:"receiver_address,omitempty"`
	// 收件方邮编
	ReceiverZipCode string `json:"receiver_zip_code,omitempty" xml:"receiver_zip_code,omitempty"`
	// 收件人名称
	ReceiverName string `json:"receiver_name,omitempty" xml:"receiver_name,omitempty"`
	// 收件人Nick
	ReceiverNick string `json:"receiver_nick,omitempty" xml:"receiver_nick,omitempty"`
	// 收件人手机
	ReceiverMobile string `json:"receiver_mobile,omitempty" xml:"receiver_mobile,omitempty"`
	// 收件人电话
	ReceiverPhone string `json:"receiver_phone,omitempty" xml:"receiver_phone,omitempty"`
}

Receiverwlbwmsconsignordernotify

type Receiverwlbwmsstockoutordernotify

type Receiverwlbwmsstockoutordernotify struct {
	// 收件方城市
	ReceiverCity string `json:"receiver_city,omitempty" xml:"receiver_city,omitempty"`
	// 收件方区县
	ReceiverArea string `json:"receiver_area,omitempty" xml:"receiver_area,omitempty"`
	// 收件方手机
	ReceiverMobile string `json:"receiver_mobile,omitempty" xml:"receiver_mobile,omitempty"`
	// 收件方省份
	ReceiverProvince string `json:"receiver_province,omitempty" xml:"receiver_province,omitempty"`
	// 收件方名称
	ReceiverName string `json:"receiver_name,omitempty" xml:"receiver_name,omitempty"`
	// 退供场景ECP填充供应商编码,调拨出库单ECP填充调拨入仓库编码, B2B出库单填写分销商ID(无分销ID的null)
	ReceiverCode string `json:"receiver_code,omitempty" xml:"receiver_code,omitempty"`
	// 收件方邮编
	ReceiverZipCode string `json:"receiver_zip_code,omitempty" xml:"receiver_zip_code,omitempty"`
	// 收件方地址
	ReceiverAddress string `json:"receiver_address,omitempty" xml:"receiver_address,omitempty"`
	// 收件方电话
	ReceiverPhone string `json:"receiver_phone,omitempty" xml:"receiver_phone,omitempty"`
}

Receiverwlbwmsstockoutordernotify

type Senderinfowlbwmsreturnordernotify

type Senderinfowlbwmsreturnordernotify struct {
	// 发件人邮编
	SenderZipCode string `json:"sender_zip_code,omitempty" xml:"sender_zip_code,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"`
	// 发件人地址
	SenderAddress string `json:"sender_address,omitempty" xml:"sender_address,omitempty"`
	// 发件人姓名
	SenderName string `json:"sender_name,omitempty" xml:"sender_name,omitempty"`
	// 发件人手机,手机与电话二选一传入
	SenderMobile string `json:"sender_mobile,omitempty" xml:"sender_mobile,omitempty"`
	// 发件人电话
	SenderPhone string `json:"sender_phone,omitempty" xml:"sender_phone,omitempty"`
}

Senderinfowlbwmsreturnordernotify

type Senderinfowlbwmsstockinordernotifywl

type Senderinfowlbwmsstockinordernotifywl struct {
	// 发件方邮编
	SenderZipCode string `json:"sender_zip_code,omitempty" xml:"sender_zip_code,omitempty"`
	// 发件方镇
	SenderTown string `json:"sender_town,omitempty" xml:"sender_town,omitempty"`
	// 发件方地址
	SenderAddress string `json:"sender_address,omitempty" xml:"sender_address,omitempty"`
	// 发件方名称,销退场景下填写买家名称; 调拨场景下填写调拨出仓库名称;
	SenderName string `json:"sender_name,omitempty" xml:"sender_name,omitempty"`
	// 发件方省份
	SenderProvince string `json:"sender_province,omitempty" xml:"sender_province,omitempty"`
	// 发件方区县
	SenderArea string `json:"sender_area,omitempty" xml:"sender_area,omitempty"`
	// 发件方编码,销退场景下填写买家nick,旺旺号等; 调拨场景下填写调拨出仓库编码;
	SenderCode string `json:"sender_code,omitempty" xml:"sender_code,omitempty"`
	// 发件方城市
	SenderCity string `json:"sender_city,omitempty" xml:"sender_city,omitempty"`
	// 发件方手机
	SenderMobile string `json:"sender_mobile,omitempty" xml:"sender_mobile,omitempty"`
	// 发件方电话
	SenderPhone string `json:"sender_phone,omitempty" xml:"sender_phone,omitempty"`
}

Senderinfowlbwmsstockinordernotifywl

type Senderwlbwmsconsignordernotify

type Senderwlbwmsconsignordernotify struct {
	// 发件方省份
	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"`
	// 发件方地址
	SenderAddress string `json:"sender_address,omitempty" xml:"sender_address,omitempty"`
	// 发件方邮编
	SenderZipCode string `json:"sender_zip_code,omitempty" xml:"sender_zip_code,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"`
}

Senderwlbwmsconsignordernotify

type Senderwlbwmsstockoutordernotify

type Senderwlbwmsstockoutordernotify struct {
	// 发件方镇
	SenderTown string `json:"sender_town,omitempty" xml:"sender_town,omitempty"`
	// 发件方邮编
	SenderZipCode string `json:"sender_zip_code,omitempty" xml:"sender_zip_code,omitempty"`
	// 发件方地址
	SenderAddress string `json:"sender_address,omitempty" xml:"sender_address,omitempty"`
	// 发件方名称
	SenderName string `json:"sender_name,omitempty" xml:"sender_name,omitempty"`
	// 发件方省份
	SenderProvince string `json:"sender_province,omitempty" xml:"sender_province,omitempty"`
	// 发件方区县
	SenderArea string `json:"sender_area,omitempty" xml:"sender_area,omitempty"`
	// 发件方城市
	SenderCity string `json:"sender_city,omitempty" xml:"sender_city,omitempty"`
	// 发件方手机
	SenderMobile string `json:"sender_mobile,omitempty" xml:"sender_mobile,omitempty"`
	// 发件方电话
	SenderPhone string `json:"sender_phone,omitempty" xml:"sender_phone,omitempty"`
}

Senderwlbwmsstockoutordernotify

type Sninfo

type Sninfo struct {
	// 商品ID
	ItemId string `json:"item_id,omitempty" xml:"item_id,omitempty"`
	// 商家对商品的编码
	ItemCode string `json:"item_code,omitempty" xml:"item_code,omitempty"`
	// 库存类型(1 可销售库存(正品) 101 残次 102 机损 103 箱损201 冻结库存)
	InventoryType int64 `json:"inventory_type,omitempty" xml:"inventory_type,omitempty"`
	// sn编码
	SnCode string `json:"sn_code,omitempty" xml:"sn_code,omitempty"`
}

Sninfo

type Sninfolist

type Sninfolist struct {
	// SN信息
	SnInfo *Sninfo `json:"sn_info,omitempty" xml:"sn_info,omitempty"`
}

Sninfolist

type SubItem

type SubItem struct {
	// 子货品ID
	ScItemId int64 `json:"sc_item_id,omitempty" xml:"sc_item_id,omitempty"`
	// 子货品数量
	Count int64 `json:"count,omitempty" xml:"count,omitempty"`
}

SubItem

type SubItemList

type SubItemList struct {
	// 子货品
	SubItem *SubItem `json:"sub_item,omitempty" xml:"sub_item,omitempty"`
}

SubItemList

type TaobaoWlbWmsCainiaoBillQueryAPIRequest

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

查询单据列表 API请求 taobao.wlb.wms.cainiao.bill.query

查询单据列表

func NewTaobaoWlbWmsCainiaoBillQueryRequest

func NewTaobaoWlbWmsCainiaoBillQueryRequest() *TaobaoWlbWmsCainiaoBillQueryAPIRequest

初始化TaobaoWlbWmsCainiaoBillQueryAPIRequest对象

func (TaobaoWlbWmsCainiaoBillQueryAPIRequest) GetApiMethodName

func (r TaobaoWlbWmsCainiaoBillQueryAPIRequest) GetApiMethodName() string

IRequest interface 方法, 获取Api method

func (TaobaoWlbWmsCainiaoBillQueryAPIRequest) GetApiParams

IRequest interface 方法, 获取API参数

func (TaobaoWlbWmsCainiaoBillQueryAPIRequest) GetEndModifiedTime

func (r TaobaoWlbWmsCainiaoBillQueryAPIRequest) GetEndModifiedTime() string

EndModifiedTime Getter

func (TaobaoWlbWmsCainiaoBillQueryAPIRequest) GetOrderType

OrderType Getter

func (TaobaoWlbWmsCainiaoBillQueryAPIRequest) GetPageNo

PageNo Getter

func (TaobaoWlbWmsCainiaoBillQueryAPIRequest) GetPageSize

PageSize Getter

func (TaobaoWlbWmsCainiaoBillQueryAPIRequest) GetStartModifiedTime

func (r TaobaoWlbWmsCainiaoBillQueryAPIRequest) GetStartModifiedTime() string

StartModifiedTime Getter

func (*TaobaoWlbWmsCainiaoBillQueryAPIRequest) SetEndModifiedTime

func (r *TaobaoWlbWmsCainiaoBillQueryAPIRequest) SetEndModifiedTime(_endModifiedTime string) error

EndModifiedTime Setter 起始时间,此字段检索订单最后修改时间, 格式 yyyy-MM-dd HH:mm:ss。

func (*TaobaoWlbWmsCainiaoBillQueryAPIRequest) SetOrderType

func (r *TaobaoWlbWmsCainiaoBillQueryAPIRequest) SetOrderType(_orderType string) error

OrderType Setter 订单类型 201 销售出库 501 退货入库 502 换货出库 503 补发出库904 普通入库 903 普通出库单 306 B2B入库单 305 B2B出库单 601 采购入库 901 退供出库单 701 盘点出库 702 盘点入库 711 库存异动单

func (*TaobaoWlbWmsCainiaoBillQueryAPIRequest) SetPageNo

func (r *TaobaoWlbWmsCainiaoBillQueryAPIRequest) SetPageNo(_pageNo int64) error

PageNo Setter 页码。(大于0的整数。默认为1)

func (*TaobaoWlbWmsCainiaoBillQueryAPIRequest) SetPageSize

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

PageSize Setter 每页条数。(每页条数不超过50条。默认为50)

func (*TaobaoWlbWmsCainiaoBillQueryAPIRequest) SetStartModifiedTime

func (r *TaobaoWlbWmsCainiaoBillQueryAPIRequest) SetStartModifiedTime(_startModifiedTime string) error

StartModifiedTime Setter 结束时间,此字段检索订单最后修改时间, 格式 yyyy-MM-dd HH:mm:ss。

type TaobaoWlbWmsCainiaoBillQueryAPIResponse

type TaobaoWlbWmsCainiaoBillQueryAPIResponse struct {
	model.CommonResponse
	TaobaoWlbWmsCainiaoBillQueryAPIResponseModel
}

查询单据列表 API返回值 taobao.wlb.wms.cainiao.bill.query

查询单据列表

type TaobaoWlbWmsCainiaoBillQueryAPIResponseModel

type TaobaoWlbWmsCainiaoBillQueryAPIResponseModel struct {
	XMLName xml.Name `xml:"wlb_wms_cainiao_bill_query_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 总条数
	TotalCount int64 `json:"total_count,omitempty" xml:"total_count,omitempty"`
	// 订单列表信息
	OrderInfoList []CainiaoBillQueryOrderinfolist `json:"order_info_list,omitempty" xml:"order_info_list>cainiao_bill_query_orderinfolist,omitempty"`
}

查询单据列表 成功返回结果

type TaobaoWlbWmsConsignBillGetAPIRequest

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

获取销售订单发货信息 API请求 taobao.wlb.wms.consign.bill.get

获取销售订单发货信息

func NewTaobaoWlbWmsConsignBillGetRequest

func NewTaobaoWlbWmsConsignBillGetRequest() *TaobaoWlbWmsConsignBillGetAPIRequest

初始化TaobaoWlbWmsConsignBillGetAPIRequest对象

func (TaobaoWlbWmsConsignBillGetAPIRequest) GetApiMethodName

func (r TaobaoWlbWmsConsignBillGetAPIRequest) GetApiMethodName() string

IRequest interface 方法, 获取Api method

func (TaobaoWlbWmsConsignBillGetAPIRequest) GetApiParams

IRequest interface 方法, 获取API参数

func (TaobaoWlbWmsConsignBillGetAPIRequest) GetCnOrderCode

func (r TaobaoWlbWmsConsignBillGetAPIRequest) GetCnOrderCode() string

CnOrderCode Getter

func (TaobaoWlbWmsConsignBillGetAPIRequest) GetOrderCode

OrderCode Getter

func (*TaobaoWlbWmsConsignBillGetAPIRequest) SetCnOrderCode

func (r *TaobaoWlbWmsConsignBillGetAPIRequest) SetCnOrderCode(_cnOrderCode string) error

CnOrderCode Setter 菜鸟订单编码,cnOrderCode与orderCode必须有一个值不可为空

func (*TaobaoWlbWmsConsignBillGetAPIRequest) SetOrderCode

func (r *TaobaoWlbWmsConsignBillGetAPIRequest) SetOrderCode(_orderCode string) error

OrderCode Setter ERP订单编码,cnOrderCode与orderCode必须有一个值不可为空

type TaobaoWlbWmsConsignBillGetAPIResponse

type TaobaoWlbWmsConsignBillGetAPIResponse struct {
	model.CommonResponse
	TaobaoWlbWmsConsignBillGetAPIResponseModel
}

获取销售订单发货信息 API返回值 taobao.wlb.wms.consign.bill.get

获取销售订单发货信息

type TaobaoWlbWmsConsignBillGetAPIResponseModel

type TaobaoWlbWmsConsignBillGetAPIResponseModel struct {
	XMLName xml.Name `xml:"wlb_wms_consign_bill_get_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 商品信息列表
	ConsignSendInfoList []Consignsendinfolist `json:"consign_send_info_list,omitempty" xml:"consign_send_info_list>consignsendinfolist,omitempty"`
}

获取销售订单发货信息 成功返回结果

type TaobaoWlbWmsConsignOrderNotifyAPIRequest

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

发货订单通知 API请求 taobao.wlb.wms.consign.order.notify

发货订单通知

func NewTaobaoWlbWmsConsignOrderNotifyRequest

func NewTaobaoWlbWmsConsignOrderNotifyRequest() *TaobaoWlbWmsConsignOrderNotifyAPIRequest

初始化TaobaoWlbWmsConsignOrderNotifyAPIRequest对象

func (TaobaoWlbWmsConsignOrderNotifyAPIRequest) GetApiMethodName

func (r TaobaoWlbWmsConsignOrderNotifyAPIRequest) GetApiMethodName() string

IRequest interface 方法, 获取Api method

func (TaobaoWlbWmsConsignOrderNotifyAPIRequest) GetApiParams

IRequest interface 方法, 获取API参数

func (TaobaoWlbWmsConsignOrderNotifyAPIRequest) GetArAmount

ArAmount Getter

func (TaobaoWlbWmsConsignOrderNotifyAPIRequest) GetDeliverRequirements

DeliverRequirements Getter

func (TaobaoWlbWmsConsignOrderNotifyAPIRequest) GetDiscountAmount

func (r TaobaoWlbWmsConsignOrderNotifyAPIRequest) GetDiscountAmount() int64

DiscountAmount Getter

func (TaobaoWlbWmsConsignOrderNotifyAPIRequest) GetExtendFields

ExtendFields Getter

func (TaobaoWlbWmsConsignOrderNotifyAPIRequest) GetGotAmount

GotAmount Getter

func (TaobaoWlbWmsConsignOrderNotifyAPIRequest) GetInvoiceInfoList

InvoiceInfoList Getter

func (TaobaoWlbWmsConsignOrderNotifyAPIRequest) GetOrderAmount

OrderAmount Getter

func (TaobaoWlbWmsConsignOrderNotifyAPIRequest) GetOrderCode

OrderCode Getter

func (TaobaoWlbWmsConsignOrderNotifyAPIRequest) GetOrderCreateTime

func (r TaobaoWlbWmsConsignOrderNotifyAPIRequest) GetOrderCreateTime() string

OrderCreateTime Getter

func (TaobaoWlbWmsConsignOrderNotifyAPIRequest) GetOrderExaminationTime

func (r TaobaoWlbWmsConsignOrderNotifyAPIRequest) GetOrderExaminationTime() string

OrderExaminationTime Getter

func (TaobaoWlbWmsConsignOrderNotifyAPIRequest) GetOrderFlag

OrderFlag Getter

func (TaobaoWlbWmsConsignOrderNotifyAPIRequest) GetOrderItemList

OrderItemList Getter

func (TaobaoWlbWmsConsignOrderNotifyAPIRequest) GetOrderPayTime

OrderPayTime Getter

func (TaobaoWlbWmsConsignOrderNotifyAPIRequest) GetOrderShopCreateTime

func (r TaobaoWlbWmsConsignOrderNotifyAPIRequest) GetOrderShopCreateTime() string

OrderShopCreateTime Getter

func (TaobaoWlbWmsConsignOrderNotifyAPIRequest) GetOrderSource

OrderSource Getter

func (TaobaoWlbWmsConsignOrderNotifyAPIRequest) GetOrderType

OrderType Getter

func (TaobaoWlbWmsConsignOrderNotifyAPIRequest) GetPostfee

Postfee Getter

func (TaobaoWlbWmsConsignOrderNotifyAPIRequest) GetPrevOrderCode

func (r TaobaoWlbWmsConsignOrderNotifyAPIRequest) GetPrevOrderCode() string

PrevOrderCode Getter

func (TaobaoWlbWmsConsignOrderNotifyAPIRequest) GetReceiverInfo

ReceiverInfo Getter

func (TaobaoWlbWmsConsignOrderNotifyAPIRequest) GetRemark

Remark Getter

func (TaobaoWlbWmsConsignOrderNotifyAPIRequest) GetSenderInfo

SenderInfo Getter

func (TaobaoWlbWmsConsignOrderNotifyAPIRequest) GetServiceFee

ServiceFee Getter

func (TaobaoWlbWmsConsignOrderNotifyAPIRequest) GetStoreCode

StoreCode Getter

func (TaobaoWlbWmsConsignOrderNotifyAPIRequest) GetTmsServiceCode

func (r TaobaoWlbWmsConsignOrderNotifyAPIRequest) GetTmsServiceCode() string

TmsServiceCode Getter

func (TaobaoWlbWmsConsignOrderNotifyAPIRequest) GetTmsServiceName

func (r TaobaoWlbWmsConsignOrderNotifyAPIRequest) GetTmsServiceName() string

TmsServiceName Getter

func (*TaobaoWlbWmsConsignOrderNotifyAPIRequest) SetArAmount

func (r *TaobaoWlbWmsConsignOrderNotifyAPIRequest) SetArAmount(_arAmount int64) error

ArAmount Setter 订单应收金额,消费者还需要付的金额,单位分

func (*TaobaoWlbWmsConsignOrderNotifyAPIRequest) SetDeliverRequirements

func (r *TaobaoWlbWmsConsignOrderNotifyAPIRequest) SetDeliverRequirements(_deliverRequirements *Deliverrequirementswlbwmsconsignordernotify) error

DeliverRequirements Setter 配送要求

func (*TaobaoWlbWmsConsignOrderNotifyAPIRequest) SetDiscountAmount

func (r *TaobaoWlbWmsConsignOrderNotifyAPIRequest) SetDiscountAmount(_discountAmount int64) error

DiscountAmount Setter 订单优惠金额,整单优惠金额,单位分

func (*TaobaoWlbWmsConsignOrderNotifyAPIRequest) SetExtendFields

func (r *TaobaoWlbWmsConsignOrderNotifyAPIRequest) SetExtendFields(_extendFields string) error

ExtendFields Setter 拓展属性

func (*TaobaoWlbWmsConsignOrderNotifyAPIRequest) SetGotAmount

func (r *TaobaoWlbWmsConsignOrderNotifyAPIRequest) SetGotAmount(_gotAmount int64) error

GotAmount Setter 订单已付金额,消费者已经支付的金额,单位分

func (*TaobaoWlbWmsConsignOrderNotifyAPIRequest) SetInvoiceInfoList

InvoiceInfoList Setter 发票信息列表

func (*TaobaoWlbWmsConsignOrderNotifyAPIRequest) SetOrderAmount

func (r *TaobaoWlbWmsConsignOrderNotifyAPIRequest) SetOrderAmount(_orderAmount int64) error

OrderAmount Setter 订单总金额,=总商品金额-订单优惠金额+快递费用,单位分

func (*TaobaoWlbWmsConsignOrderNotifyAPIRequest) SetOrderCode

func (r *TaobaoWlbWmsConsignOrderNotifyAPIRequest) SetOrderCode(_orderCode string) error

OrderCode Setter ERP订单号

func (*TaobaoWlbWmsConsignOrderNotifyAPIRequest) SetOrderCreateTime

func (r *TaobaoWlbWmsConsignOrderNotifyAPIRequest) SetOrderCreateTime(_orderCreateTime string) error

OrderCreateTime Setter 订单创建时间,ERP创建订单时间

func (*TaobaoWlbWmsConsignOrderNotifyAPIRequest) SetOrderExaminationTime

func (r *TaobaoWlbWmsConsignOrderNotifyAPIRequest) SetOrderExaminationTime(_orderExaminationTime string) error

OrderExaminationTime Setter 订单审核时间,ERP创建支付时间

func (*TaobaoWlbWmsConsignOrderNotifyAPIRequest) SetOrderFlag

func (r *TaobaoWlbWmsConsignOrderNotifyAPIRequest) SetOrderFlag(_orderFlag string) error

OrderFlag Setter 订单标识 (1: cod –货到付款,4:invoiceinfo-需要发票)

func (*TaobaoWlbWmsConsignOrderNotifyAPIRequest) SetOrderItemList

OrderItemList Setter 订单商品信息列表

func (*TaobaoWlbWmsConsignOrderNotifyAPIRequest) SetOrderPayTime

func (r *TaobaoWlbWmsConsignOrderNotifyAPIRequest) SetOrderPayTime(_orderPayTime string) error

OrderPayTime Setter 订单支付时间

func (*TaobaoWlbWmsConsignOrderNotifyAPIRequest) SetOrderShopCreateTime

func (r *TaobaoWlbWmsConsignOrderNotifyAPIRequest) SetOrderShopCreateTime(_orderShopCreateTime string) error

OrderShopCreateTime Setter 下单时间,订单在交易平台创建时间

func (*TaobaoWlbWmsConsignOrderNotifyAPIRequest) SetOrderSource

func (r *TaobaoWlbWmsConsignOrderNotifyAPIRequest) SetOrderSource(_orderSource int64) error

OrderSource Setter 订单来源(213 天猫,201 淘宝,214 京东,202 1688 阿里中文站 ,203 苏宁在线,204 亚马逊中国,205 当当,208 1号店,207 唯品会,209 国美在线,210 拍拍,206 易贝ebay,211 聚美优品,212 乐蜂网,215 邮乐,216 凡客,217 优购,218 银泰,219 易讯,221 聚尚网,222 蘑菇街,223 POS门店,301 其他)

func (*TaobaoWlbWmsConsignOrderNotifyAPIRequest) SetOrderType

func (r *TaobaoWlbWmsConsignOrderNotifyAPIRequest) SetOrderType(_orderType int64) error

OrderType Setter 单据类型 201 一般交易出库单 202 B2B交易出库单 502 换货出库单 503 补发出库单

func (*TaobaoWlbWmsConsignOrderNotifyAPIRequest) SetPostfee

func (r *TaobaoWlbWmsConsignOrderNotifyAPIRequest) SetPostfee(_postfee int64) error

Postfee Setter 快递费用,单位分

func (*TaobaoWlbWmsConsignOrderNotifyAPIRequest) SetPrevOrderCode

func (r *TaobaoWlbWmsConsignOrderNotifyAPIRequest) SetPrevOrderCode(_prevOrderCode string) error

PrevOrderCode Setter 前物流订单号,订单类型为502 换货出库单 503 补发出库单时,需求传入此内容

func (*TaobaoWlbWmsConsignOrderNotifyAPIRequest) SetReceiverInfo

ReceiverInfo Setter 收件人信息

func (*TaobaoWlbWmsConsignOrderNotifyAPIRequest) SetRemark

Remark Setter 备注

func (*TaobaoWlbWmsConsignOrderNotifyAPIRequest) SetSenderInfo

SenderInfo Setter 发货方信息

func (*TaobaoWlbWmsConsignOrderNotifyAPIRequest) SetServiceFee

func (r *TaobaoWlbWmsConsignOrderNotifyAPIRequest) SetServiceFee(_serviceFee int64) error

ServiceFee Setter COD服务费,单位分

func (*TaobaoWlbWmsConsignOrderNotifyAPIRequest) SetStoreCode

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

StoreCode Setter 仓库编码,此字段为空时,由菜鸟路由仓库发货

func (*TaobaoWlbWmsConsignOrderNotifyAPIRequest) SetTmsServiceCode

func (r *TaobaoWlbWmsConsignOrderNotifyAPIRequest) SetTmsServiceCode(_tmsServiceCode string) error

TmsServiceCode Setter 快递公司编码,此字段为空时,由菜鸟选择快递配送

func (*TaobaoWlbWmsConsignOrderNotifyAPIRequest) SetTmsServiceName

func (r *TaobaoWlbWmsConsignOrderNotifyAPIRequest) SetTmsServiceName(_tmsServiceName string) error

TmsServiceName Setter 快递公司名称

type TaobaoWlbWmsConsignOrderNotifyAPIResponse

type TaobaoWlbWmsConsignOrderNotifyAPIResponse struct {
	model.CommonResponse
	TaobaoWlbWmsConsignOrderNotifyAPIResponseModel
}

发货订单通知 API返回值 taobao.wlb.wms.consign.order.notify

发货订单通知

type TaobaoWlbWmsConsignOrderNotifyAPIResponseModel

type TaobaoWlbWmsConsignOrderNotifyAPIResponseModel struct {
	XMLName xml.Name `xml:"wlb_wms_consign_order_notify_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 是否成功
	WlSuccess bool `json:"wl_success,omitempty" xml:"wl_success,omitempty"`
	// 错误编码
	WlErrorCode string `json:"wl_error_code,omitempty" xml:"wl_error_code,omitempty"`
	// 错误详细
	WlErrorMsg string `json:"wl_error_msg,omitempty" xml:"wl_error_msg,omitempty"`
	// 订单编码
	OrderCode string `json:"order_code,omitempty" xml:"order_code,omitempty"`
	// 系统自动生成
	ConsignOrderList []Consignorderlist `json:"consign_order_list,omitempty" xml:"consign_order_list>consignorderlist,omitempty"`
}

发货订单通知 成功返回结果

type TaobaoWlbWmsInventoryProfitlossGetAPIRequest

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

通过订单列表批量获取库存损益单信息 API请求 taobao.wlb.wms.inventory.profitloss.get

通过订单列表批量获取库存损益单信息

func NewTaobaoWlbWmsInventoryProfitlossGetRequest

func NewTaobaoWlbWmsInventoryProfitlossGetRequest() *TaobaoWlbWmsInventoryProfitlossGetAPIRequest

初始化TaobaoWlbWmsInventoryProfitlossGetAPIRequest对象

func (TaobaoWlbWmsInventoryProfitlossGetAPIRequest) GetApiMethodName

IRequest interface 方法, 获取Api method

func (TaobaoWlbWmsInventoryProfitlossGetAPIRequest) GetApiParams

IRequest interface 方法, 获取API参数

func (TaobaoWlbWmsInventoryProfitlossGetAPIRequest) GetCnOrderCode

CnOrderCode Getter

func (*TaobaoWlbWmsInventoryProfitlossGetAPIRequest) SetCnOrderCode

func (r *TaobaoWlbWmsInventoryProfitlossGetAPIRequest) SetCnOrderCode(_cnOrderCode string) error

CnOrderCode Setter 菜鸟订单编码

type TaobaoWlbWmsInventoryProfitlossGetAPIResponse

type TaobaoWlbWmsInventoryProfitlossGetAPIResponse struct {
	model.CommonResponse
	TaobaoWlbWmsInventoryProfitlossGetAPIResponseModel
}

通过订单列表批量获取库存损益单信息 API返回值 taobao.wlb.wms.inventory.profitloss.get

通过订单列表批量获取库存损益单信息

type TaobaoWlbWmsInventoryProfitlossGetAPIResponseModel

type TaobaoWlbWmsInventoryProfitlossGetAPIResponseModel struct {
	XMLName xml.Name `xml:"wlb_wms_inventory_profitloss_get_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 损益信息
	ProfitLossInfo *CainiaoInventoryProfitlossProfitlossinfo `json:"profit_loss_info,omitempty" xml:"profit_loss_info,omitempty"`
}

通过订单列表批量获取库存损益单信息 成功返回结果

type TaobaoWlbWmsInventoryQueryAPIRequest

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

菜鸟商品库存查询 API请求 taobao.wlb.wms.inventory.query

支持按汇总(不分批次和渠道的总的库存数量)、渠道、批次三类方式查询商品实时库存

func NewTaobaoWlbWmsInventoryQueryRequest

func NewTaobaoWlbWmsInventoryQueryRequest() *TaobaoWlbWmsInventoryQueryAPIRequest

初始化TaobaoWlbWmsInventoryQueryAPIRequest对象

func (TaobaoWlbWmsInventoryQueryAPIRequest) GetApiMethodName

func (r TaobaoWlbWmsInventoryQueryAPIRequest) GetApiMethodName() string

IRequest interface 方法, 获取Api method

func (TaobaoWlbWmsInventoryQueryAPIRequest) GetApiParams

IRequest interface 方法, 获取API参数

func (TaobaoWlbWmsInventoryQueryAPIRequest) GetBatchCode

BatchCode Getter

func (TaobaoWlbWmsInventoryQueryAPIRequest) GetChannelCode

func (r TaobaoWlbWmsInventoryQueryAPIRequest) GetChannelCode() string

ChannelCode Getter

func (TaobaoWlbWmsInventoryQueryAPIRequest) GetDueDate

DueDate Getter

func (TaobaoWlbWmsInventoryQueryAPIRequest) GetInventoryType

func (r TaobaoWlbWmsInventoryQueryAPIRequest) GetInventoryType() int64

InventoryType Getter

func (TaobaoWlbWmsInventoryQueryAPIRequest) GetItemId

ItemId Getter

func (TaobaoWlbWmsInventoryQueryAPIRequest) GetPageNo

PageNo Getter

func (TaobaoWlbWmsInventoryQueryAPIRequest) GetPageSize

PageSize Getter

func (TaobaoWlbWmsInventoryQueryAPIRequest) GetProduceDate

func (r TaobaoWlbWmsInventoryQueryAPIRequest) GetProduceDate() string

ProduceDate Getter

func (TaobaoWlbWmsInventoryQueryAPIRequest) GetStoreCode

StoreCode Getter

func (TaobaoWlbWmsInventoryQueryAPIRequest) GetType

Type Getter

func (*TaobaoWlbWmsInventoryQueryAPIRequest) SetBatchCode

func (r *TaobaoWlbWmsInventoryQueryAPIRequest) SetBatchCode(_batchCode string) error

BatchCode Setter 库存批次号,type=2时字段传值有效。 商品设置为批次管理时,商品产生批次库存。当商品为批次管理时,此字段不传值,返回所有批次库存信息。

func (*TaobaoWlbWmsInventoryQueryAPIRequest) SetChannelCode

func (r *TaobaoWlbWmsInventoryQueryAPIRequest) SetChannelCode(_channelCode string) error

ChannelCode Setter 渠道编码,type=3时字段传值有效。(TB 淘系, OTHERS 其他)

func (*TaobaoWlbWmsInventoryQueryAPIRequest) SetDueDate

func (r *TaobaoWlbWmsInventoryQueryAPIRequest) SetDueDate(_dueDate string) error

DueDate Setter 失效日期,type=2时字段传值有效。

func (*TaobaoWlbWmsInventoryQueryAPIRequest) SetInventoryType

func (r *TaobaoWlbWmsInventoryQueryAPIRequest) SetInventoryType(_inventoryType int64) error

InventoryType Setter 库存类型。 (1 正品 101 残次 102 机损 103 箱损 201 冻结库存 301 在途库存 )

func (*TaobaoWlbWmsInventoryQueryAPIRequest) SetItemId

func (r *TaobaoWlbWmsInventoryQueryAPIRequest) SetItemId(_itemId string) error

ItemId Setter 菜鸟商品ID

func (*TaobaoWlbWmsInventoryQueryAPIRequest) SetPageNo

func (r *TaobaoWlbWmsInventoryQueryAPIRequest) SetPageNo(_pageNo int64) error

PageNo Setter 分页的第几页

func (*TaobaoWlbWmsInventoryQueryAPIRequest) SetPageSize

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

PageSize Setter 每页多少条,最大50条

func (*TaobaoWlbWmsInventoryQueryAPIRequest) SetProduceDate

func (r *TaobaoWlbWmsInventoryQueryAPIRequest) SetProduceDate(_produceDate string) error

ProduceDate Setter 生产日期,type=2时字段传值有效。

func (*TaobaoWlbWmsInventoryQueryAPIRequest) SetStoreCode

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

StoreCode Setter 仓库编码

func (*TaobaoWlbWmsInventoryQueryAPIRequest) SetType

Type Setter 库存查询类型 1- 汇总库存,不区分批次和渠道 2- 批次库存,库存按商品批次维度划分 3- 渠道库存,库存按渠道维度划分 (当前业务不支持批次库存和渠道库存共存,批次库存无渠道属性,渠道库存无批次属性)

type TaobaoWlbWmsInventoryQueryAPIResponse

type TaobaoWlbWmsInventoryQueryAPIResponse struct {
	model.CommonResponse
	TaobaoWlbWmsInventoryQueryAPIResponseModel
}

菜鸟商品库存查询 API返回值 taobao.wlb.wms.inventory.query

支持按汇总(不分批次和渠道的总的库存数量)、渠道、批次三类方式查询商品实时库存

type TaobaoWlbWmsInventoryQueryAPIResponseModel

type TaobaoWlbWmsInventoryQueryAPIResponseModel struct {
	XMLName xml.Name `xml:"wlb_wms_inventory_query_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 是否成功
	WlSuccess bool `json:"wl_success,omitempty" xml:"wl_success,omitempty"`
	// 错误代码
	WlErrorCode string `json:"wl_error_code,omitempty" xml:"wl_error_code,omitempty"`
	// 错误信息
	WlErrorMsg string `json:"wl_error_msg,omitempty" xml:"wl_error_msg,omitempty"`
	// 总数
	TotalCount int64 `json:"total_count,omitempty" xml:"total_count,omitempty"`
	// 商品详情列表
	ItemList []WmsInventoryQueryItemlist `json:"item_list,omitempty" xml:"item_list>wms_inventory_query_itemlist,omitempty"`
}

菜鸟商品库存查询 成功返回结果

type TaobaoWlbWmsItemCombinationGetAPIRequest

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

查询组合商品的组合关系 API请求 taobao.wlb.wms.item.combination.get

查询组合商品的组合关系

func NewTaobaoWlbWmsItemCombinationGetRequest

func NewTaobaoWlbWmsItemCombinationGetRequest() *TaobaoWlbWmsItemCombinationGetAPIRequest

初始化TaobaoWlbWmsItemCombinationGetAPIRequest对象

func (TaobaoWlbWmsItemCombinationGetAPIRequest) GetApiMethodName

func (r TaobaoWlbWmsItemCombinationGetAPIRequest) GetApiMethodName() string

IRequest interface 方法, 获取Api method

func (TaobaoWlbWmsItemCombinationGetAPIRequest) GetApiParams

IRequest interface 方法, 获取API参数

func (TaobaoWlbWmsItemCombinationGetAPIRequest) GetItemid

Itemid Getter

func (*TaobaoWlbWmsItemCombinationGetAPIRequest) SetItemid

Itemid Setter 货品Id

type TaobaoWlbWmsItemCombinationGetAPIResponse

type TaobaoWlbWmsItemCombinationGetAPIResponse struct {
	model.CommonResponse
	TaobaoWlbWmsItemCombinationGetAPIResponseModel
}

查询组合商品的组合关系 API返回值 taobao.wlb.wms.item.combination.get

查询组合商品的组合关系

type TaobaoWlbWmsItemCombinationGetAPIResponseModel

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

查询组合商品的组合关系 成功返回结果

type TaobaoWlbWmsItemCombinationGetResult

type TaobaoWlbWmsItemCombinationGetResult struct {
	// 是否成功
	WlSuccess bool `json:"wl_success,omitempty" xml:"wl_success,omitempty"`
	// 错误编码
	WlErrorCode string `json:"wl_error_code,omitempty" xml:"wl_error_code,omitempty"`
	// 错误信息
	WlErrorMsg string `json:"wl_error_msg,omitempty" xml:"wl_error_msg,omitempty"`
	// 子货品列表
	SubItemList []SubItemList `json:"sub_item_list,omitempty" xml:"sub_item_list>sub_item_list,omitempty"`
}

TaobaoWlbWmsItemCombinationGetResult

type TaobaoWlbWmsOrderCancelNotifyAPIRequest

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

单据取消接口 API请求 taobao.wlb.wms.order.cancel.notify

单据取消接口

func NewTaobaoWlbWmsOrderCancelNotifyRequest

func NewTaobaoWlbWmsOrderCancelNotifyRequest() *TaobaoWlbWmsOrderCancelNotifyAPIRequest

初始化TaobaoWlbWmsOrderCancelNotifyAPIRequest对象

func (TaobaoWlbWmsOrderCancelNotifyAPIRequest) GetApiMethodName

func (r TaobaoWlbWmsOrderCancelNotifyAPIRequest) GetApiMethodName() string

IRequest interface 方法, 获取Api method

func (TaobaoWlbWmsOrderCancelNotifyAPIRequest) GetApiParams

IRequest interface 方法, 获取API参数

func (TaobaoWlbWmsOrderCancelNotifyAPIRequest) GetOrderCode

OrderCode Getter

func (TaobaoWlbWmsOrderCancelNotifyAPIRequest) GetOrderType

OrderType Getter

func (TaobaoWlbWmsOrderCancelNotifyAPIRequest) GetStoreCode

StoreCode Getter

func (*TaobaoWlbWmsOrderCancelNotifyAPIRequest) SetOrderCode

func (r *TaobaoWlbWmsOrderCancelNotifyAPIRequest) SetOrderCode(_orderCode string) error

OrderCode Setter 订单类型

func (*TaobaoWlbWmsOrderCancelNotifyAPIRequest) SetOrderType

func (r *TaobaoWlbWmsOrderCancelNotifyAPIRequest) SetOrderType(_orderType string) error

OrderType Setter 单据类型 601普通入库单、501销退入库单、302 调拨入库单、904其他入库单、301 调拨出库单、901普通出库单、903 其他出库单、201 一般交易出库单 202 B2B交易出库单 502 换货出库单 503 补发出库单、1102 仓内加工作业单、 701 盘亏单、702盘盈单、711 库存状态调整单

func (*TaobaoWlbWmsOrderCancelNotifyAPIRequest) SetStoreCode

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

StoreCode Setter 仓库编码

type TaobaoWlbWmsOrderCancelNotifyAPIResponse

type TaobaoWlbWmsOrderCancelNotifyAPIResponse struct {
	model.CommonResponse
	TaobaoWlbWmsOrderCancelNotifyAPIResponseModel
}

单据取消接口 API返回值 taobao.wlb.wms.order.cancel.notify

单据取消接口

type TaobaoWlbWmsOrderCancelNotifyAPIResponseModel

type TaobaoWlbWmsOrderCancelNotifyAPIResponseModel struct {
	XMLName xml.Name `xml:"wlb_wms_order_cancel_notify_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 是否成功
	WlSuccess bool `json:"wl_success,omitempty" xml:"wl_success,omitempty"`
	// 错误编码
	WlErrorCode string `json:"wl_error_code,omitempty" xml:"wl_error_code,omitempty"`
	// 错误详细
	WlErrorMsg string `json:"wl_error_msg,omitempty" xml:"wl_error_msg,omitempty"`
}

单据取消接口 成功返回结果

type TaobaoWlbWmsReturnBillGetAPIRequest

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

获取销退收货信息 API请求 taobao.wlb.wms.return.bill.get

通过订单号获取单个销退单收货信息。

func NewTaobaoWlbWmsReturnBillGetRequest

func NewTaobaoWlbWmsReturnBillGetRequest() *TaobaoWlbWmsReturnBillGetAPIRequest

初始化TaobaoWlbWmsReturnBillGetAPIRequest对象

func (TaobaoWlbWmsReturnBillGetAPIRequest) GetApiMethodName

func (r TaobaoWlbWmsReturnBillGetAPIRequest) GetApiMethodName() string

IRequest interface 方法, 获取Api method

func (TaobaoWlbWmsReturnBillGetAPIRequest) GetApiParams

IRequest interface 方法, 获取API参数

func (TaobaoWlbWmsReturnBillGetAPIRequest) GetCnOrderCode

func (r TaobaoWlbWmsReturnBillGetAPIRequest) GetCnOrderCode() string

CnOrderCode Getter

func (TaobaoWlbWmsReturnBillGetAPIRequest) GetOrderCode

OrderCode Getter

func (*TaobaoWlbWmsReturnBillGetAPIRequest) SetCnOrderCode

func (r *TaobaoWlbWmsReturnBillGetAPIRequest) SetCnOrderCode(_cnOrderCode string) error

CnOrderCode Setter 菜鸟订单编码,查询单个订单时orderCode与cnOrderCode必须有一个参数值不为空,两个参数都赋值时,以cnOrderCode值检索数据

func (*TaobaoWlbWmsReturnBillGetAPIRequest) SetOrderCode

func (r *TaobaoWlbWmsReturnBillGetAPIRequest) SetOrderCode(_orderCode string) error

OrderCode Setter ERP订单编码,查询单个订单时orderCode与cnOrderCode必须有一个参数值不为空,两个参数都赋值时,以cnOrderCode值检索数据

type TaobaoWlbWmsReturnBillGetAPIResponse

type TaobaoWlbWmsReturnBillGetAPIResponse struct {
	model.CommonResponse
	TaobaoWlbWmsReturnBillGetAPIResponseModel
}

获取销退收货信息 API返回值 taobao.wlb.wms.return.bill.get

通过订单号获取单个销退单收货信息。

type TaobaoWlbWmsReturnBillGetAPIResponseModel

type TaobaoWlbWmsReturnBillGetAPIResponseModel struct {
	XMLName xml.Name `xml:"wlb_wms_return_bill_get_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 回退订单信息
	ReturnOrderInfo *CainiaoReturnBillReturnorderinfo `json:"return_order_info,omitempty" xml:"return_order_info,omitempty"`
}

获取销退收货信息 成功返回结果

type TaobaoWlbWmsReturnOrderNotifyAPIRequest

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

销售退货通知 API请求 taobao.wlb.wms.return.order.notify

销售退货通知

func NewTaobaoWlbWmsReturnOrderNotifyRequest

func NewTaobaoWlbWmsReturnOrderNotifyRequest() *TaobaoWlbWmsReturnOrderNotifyAPIRequest

初始化TaobaoWlbWmsReturnOrderNotifyAPIRequest对象

func (TaobaoWlbWmsReturnOrderNotifyAPIRequest) GetApiMethodName

func (r TaobaoWlbWmsReturnOrderNotifyAPIRequest) GetApiMethodName() string

IRequest interface 方法, 获取Api method

func (TaobaoWlbWmsReturnOrderNotifyAPIRequest) GetApiParams

IRequest interface 方法, 获取API参数

func (TaobaoWlbWmsReturnOrderNotifyAPIRequest) GetBuyerNick

BuyerNick Getter

func (TaobaoWlbWmsReturnOrderNotifyAPIRequest) GetExtendFields

func (r TaobaoWlbWmsReturnOrderNotifyAPIRequest) GetExtendFields() string

ExtendFields Getter

func (TaobaoWlbWmsReturnOrderNotifyAPIRequest) GetOrderCode

OrderCode Getter

func (TaobaoWlbWmsReturnOrderNotifyAPIRequest) GetOrderCreateTime

func (r TaobaoWlbWmsReturnOrderNotifyAPIRequest) GetOrderCreateTime() string

OrderCreateTime Getter

func (TaobaoWlbWmsReturnOrderNotifyAPIRequest) GetOrderFlag

OrderFlag Getter

func (TaobaoWlbWmsReturnOrderNotifyAPIRequest) GetOrderItemList

OrderItemList Getter

func (TaobaoWlbWmsReturnOrderNotifyAPIRequest) GetOrderSource

OrderSource Getter

func (TaobaoWlbWmsReturnOrderNotifyAPIRequest) GetOrderType

OrderType Getter

func (TaobaoWlbWmsReturnOrderNotifyAPIRequest) GetOwnerUserId

OwnerUserId Getter

func (TaobaoWlbWmsReturnOrderNotifyAPIRequest) GetPrevOrderCode

func (r TaobaoWlbWmsReturnOrderNotifyAPIRequest) GetPrevOrderCode() string

PrevOrderCode Getter

func (TaobaoWlbWmsReturnOrderNotifyAPIRequest) GetReceiverInfo

ReceiverInfo Getter

func (TaobaoWlbWmsReturnOrderNotifyAPIRequest) GetRemark

Remark Getter

func (TaobaoWlbWmsReturnOrderNotifyAPIRequest) GetReturnReason

func (r TaobaoWlbWmsReturnOrderNotifyAPIRequest) GetReturnReason() string

ReturnReason Getter

func (TaobaoWlbWmsReturnOrderNotifyAPIRequest) GetSenderInfo

SenderInfo Getter

func (TaobaoWlbWmsReturnOrderNotifyAPIRequest) GetStoreCode

StoreCode Getter

func (TaobaoWlbWmsReturnOrderNotifyAPIRequest) GetTmsOrderCode

func (r TaobaoWlbWmsReturnOrderNotifyAPIRequest) GetTmsOrderCode() string

TmsOrderCode Getter

func (TaobaoWlbWmsReturnOrderNotifyAPIRequest) GetTmsServiceCode

func (r TaobaoWlbWmsReturnOrderNotifyAPIRequest) GetTmsServiceCode() string

TmsServiceCode Getter

func (TaobaoWlbWmsReturnOrderNotifyAPIRequest) GetTmsServiceName

func (r TaobaoWlbWmsReturnOrderNotifyAPIRequest) GetTmsServiceName() string

TmsServiceName Getter

func (*TaobaoWlbWmsReturnOrderNotifyAPIRequest) SetBuyerNick

func (r *TaobaoWlbWmsReturnOrderNotifyAPIRequest) SetBuyerNick(_buyerNick string) error

BuyerNick Setter 买家昵称

func (*TaobaoWlbWmsReturnOrderNotifyAPIRequest) SetExtendFields

func (r *TaobaoWlbWmsReturnOrderNotifyAPIRequest) SetExtendFields(_extendFields string) error

ExtendFields Setter 扩展属性, key-value结构,格式要求: 以英文分号“;”分隔每组key-value,以英文冒号“:”分隔key与value。如果value中带有分号,需要转成下划线“_”,如果带有冒号,需要转成中划线“-”

func (*TaobaoWlbWmsReturnOrderNotifyAPIRequest) SetOrderCode

func (r *TaobaoWlbWmsReturnOrderNotifyAPIRequest) SetOrderCode(_orderCode string) error

OrderCode Setter ERP单据编码

func (*TaobaoWlbWmsReturnOrderNotifyAPIRequest) SetOrderCreateTime

func (r *TaobaoWlbWmsReturnOrderNotifyAPIRequest) SetOrderCreateTime(_orderCreateTime string) error

OrderCreateTime Setter ERP订单创建时间

func (*TaobaoWlbWmsReturnOrderNotifyAPIRequest) SetOrderFlag

func (r *TaobaoWlbWmsReturnOrderNotifyAPIRequest) SetOrderFlag(_orderFlag string) error

OrderFlag Setter 用字符串格式来表示订单标记列表:比如VISIT^ SELLER_AFFORD^SYNC_RETURN_BILL 等,中间用“^”来隔开 ---------------------------------------- 订单标记list(所有字母全部大写): 9:VISIT-上门12: SELLER_AFFORD 是否卖家承担运费 默认是,即没 13: SYNC_RETURN_BILL,同时退回发票

func (*TaobaoWlbWmsReturnOrderNotifyAPIRequest) SetOrderItemList

OrderItemList Setter 商品信息列表

func (*TaobaoWlbWmsReturnOrderNotifyAPIRequest) SetOrderSource

func (r *TaobaoWlbWmsReturnOrderNotifyAPIRequest) SetOrderSource(_orderSource string) error

OrderSource Setter 订单来源 201 淘宝,202 1688,203 苏宁,204 亚马逊中国,205 当当,206 ebay,207 唯品会,208 1号店,209 国美,210 拍拍,211 聚美优品,212 乐峰,214 京东,301 其他

func (*TaobaoWlbWmsReturnOrderNotifyAPIRequest) SetOrderType

func (r *TaobaoWlbWmsReturnOrderNotifyAPIRequest) SetOrderType(_orderType string) error

OrderType Setter 订单类型 501 销退入库

func (*TaobaoWlbWmsReturnOrderNotifyAPIRequest) SetOwnerUserId

func (r *TaobaoWlbWmsReturnOrderNotifyAPIRequest) SetOwnerUserId(_ownerUserId string) error

OwnerUserId Setter 货主ID

func (*TaobaoWlbWmsReturnOrderNotifyAPIRequest) SetPrevOrderCode

func (r *TaobaoWlbWmsReturnOrderNotifyAPIRequest) SetPrevOrderCode(_prevOrderCode string) error

PrevOrderCode Setter 来源单据号,销售退货时填充原发货的LBX号

func (*TaobaoWlbWmsReturnOrderNotifyAPIRequest) SetReceiverInfo

ReceiverInfo Setter 收件人信息

func (*TaobaoWlbWmsReturnOrderNotifyAPIRequest) SetRemark

Remark Setter 备注

func (*TaobaoWlbWmsReturnOrderNotifyAPIRequest) SetReturnReason

func (r *TaobaoWlbWmsReturnOrderNotifyAPIRequest) SetReturnReason(_returnReason string) error

ReturnReason Setter 销退时请提供退货的原因

func (*TaobaoWlbWmsReturnOrderNotifyAPIRequest) SetSenderInfo

SenderInfo Setter 发件人信息

func (*TaobaoWlbWmsReturnOrderNotifyAPIRequest) SetStoreCode

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

StoreCode Setter 仓库编码

func (*TaobaoWlbWmsReturnOrderNotifyAPIRequest) SetTmsOrderCode

func (r *TaobaoWlbWmsReturnOrderNotifyAPIRequest) SetTmsOrderCode(_tmsOrderCode string) error

TmsOrderCode Setter 运单号

func (*TaobaoWlbWmsReturnOrderNotifyAPIRequest) SetTmsServiceCode

func (r *TaobaoWlbWmsReturnOrderNotifyAPIRequest) SetTmsServiceCode(_tmsServiceCode string) error

TmsServiceCode Setter 快递公司编码

func (*TaobaoWlbWmsReturnOrderNotifyAPIRequest) SetTmsServiceName

func (r *TaobaoWlbWmsReturnOrderNotifyAPIRequest) SetTmsServiceName(_tmsServiceName string) error

TmsServiceName Setter 快递公司名称

type TaobaoWlbWmsReturnOrderNotifyAPIResponse

type TaobaoWlbWmsReturnOrderNotifyAPIResponse struct {
	model.CommonResponse
	TaobaoWlbWmsReturnOrderNotifyAPIResponseModel
}

销售退货通知 API返回值 taobao.wlb.wms.return.order.notify

销售退货通知

type TaobaoWlbWmsReturnOrderNotifyAPIResponseModel

type TaobaoWlbWmsReturnOrderNotifyAPIResponseModel struct {
	XMLName xml.Name `xml:"wlb_wms_return_order_notify_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 订单创建时间
	CreateTime string `json:"create_time,omitempty" xml:"create_time,omitempty"`
	// LBX929829111
	StoreOrderCode string `json:"store_order_code,omitempty" xml:"store_order_code,omitempty"`
	// 是否成功
	WlSuccess bool `json:"wl_success,omitempty" xml:"wl_success,omitempty"`
	// 错误编码
	WlErrorCode string `json:"wl_error_code,omitempty" xml:"wl_error_code,omitempty"`
	// 错误信息
	WlErrorMsg string `json:"wl_error_msg,omitempty" xml:"wl_error_msg,omitempty"`
}

销售退货通知 成功返回结果

type TaobaoWlbWmsSkuCreateAPIRequest

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

商品同步 API请求 taobao.wlb.wms.sku.create

商品同步

func NewTaobaoWlbWmsSkuCreateRequest

func NewTaobaoWlbWmsSkuCreateRequest() *TaobaoWlbWmsSkuCreateAPIRequest

初始化TaobaoWlbWmsSkuCreateAPIRequest对象

func (TaobaoWlbWmsSkuCreateAPIRequest) GetAdventLifecycle

func (r TaobaoWlbWmsSkuCreateAPIRequest) GetAdventLifecycle() int64

AdventLifecycle Getter

func (TaobaoWlbWmsSkuCreateAPIRequest) GetApiMethodName

func (r TaobaoWlbWmsSkuCreateAPIRequest) GetApiMethodName() string

IRequest interface 方法, 获取Api method

func (TaobaoWlbWmsSkuCreateAPIRequest) GetApiParams

func (r TaobaoWlbWmsSkuCreateAPIRequest) GetApiParams() url.Values

IRequest interface 方法, 获取API参数

func (TaobaoWlbWmsSkuCreateAPIRequest) GetApprovalNumber

func (r TaobaoWlbWmsSkuCreateAPIRequest) GetApprovalNumber() string

ApprovalNumber Getter

func (TaobaoWlbWmsSkuCreateAPIRequest) GetBarCode

func (r TaobaoWlbWmsSkuCreateAPIRequest) GetBarCode() string

BarCode Getter

func (TaobaoWlbWmsSkuCreateAPIRequest) GetBrand

Brand Getter

func (TaobaoWlbWmsSkuCreateAPIRequest) GetBrandName

func (r TaobaoWlbWmsSkuCreateAPIRequest) GetBrandName() string

BrandName Getter

func (TaobaoWlbWmsSkuCreateAPIRequest) GetCategory

func (r TaobaoWlbWmsSkuCreateAPIRequest) GetCategory() string

Category Getter

func (TaobaoWlbWmsSkuCreateAPIRequest) GetCategoryName

func (r TaobaoWlbWmsSkuCreateAPIRequest) GetCategoryName() string

CategoryName Getter

func (TaobaoWlbWmsSkuCreateAPIRequest) GetColor

Color Getter

func (TaobaoWlbWmsSkuCreateAPIRequest) GetCostPrice

func (r TaobaoWlbWmsSkuCreateAPIRequest) GetCostPrice() int64

CostPrice Getter

func (TaobaoWlbWmsSkuCreateAPIRequest) GetExtendFields

func (r TaobaoWlbWmsSkuCreateAPIRequest) GetExtendFields() string

ExtendFields Getter

func (TaobaoWlbWmsSkuCreateAPIRequest) GetGrossWeight

func (r TaobaoWlbWmsSkuCreateAPIRequest) GetGrossWeight() int64

GrossWeight Getter

func (TaobaoWlbWmsSkuCreateAPIRequest) GetHeight

func (r TaobaoWlbWmsSkuCreateAPIRequest) GetHeight() int64

Height Getter

func (TaobaoWlbWmsSkuCreateAPIRequest) GetIsAreaSale

func (r TaobaoWlbWmsSkuCreateAPIRequest) GetIsAreaSale() bool

IsAreaSale Getter

func (TaobaoWlbWmsSkuCreateAPIRequest) GetIsBatchMgt

func (r TaobaoWlbWmsSkuCreateAPIRequest) GetIsBatchMgt() bool

IsBatchMgt Getter

func (TaobaoWlbWmsSkuCreateAPIRequest) GetIsDanger

func (r TaobaoWlbWmsSkuCreateAPIRequest) GetIsDanger() bool

IsDanger Getter

func (TaobaoWlbWmsSkuCreateAPIRequest) GetIsHygroscopic

func (r TaobaoWlbWmsSkuCreateAPIRequest) GetIsHygroscopic() bool

IsHygroscopic Getter

func (TaobaoWlbWmsSkuCreateAPIRequest) GetIsShelflife

func (r TaobaoWlbWmsSkuCreateAPIRequest) GetIsShelflife() bool

IsShelflife Getter

func (TaobaoWlbWmsSkuCreateAPIRequest) GetIsSnMgt

func (r TaobaoWlbWmsSkuCreateAPIRequest) GetIsSnMgt() bool

IsSnMgt Getter

func (TaobaoWlbWmsSkuCreateAPIRequest) GetItemCode

func (r TaobaoWlbWmsSkuCreateAPIRequest) GetItemCode() string

ItemCode Getter

func (TaobaoWlbWmsSkuCreateAPIRequest) GetItemId

ItemId Getter

func (TaobaoWlbWmsSkuCreateAPIRequest) GetItemPrice

func (r TaobaoWlbWmsSkuCreateAPIRequest) GetItemPrice() int64

ItemPrice Getter

func (TaobaoWlbWmsSkuCreateAPIRequest) GetLength

func (r TaobaoWlbWmsSkuCreateAPIRequest) GetLength() int64

Length Getter

func (TaobaoWlbWmsSkuCreateAPIRequest) GetLifecycle

func (r TaobaoWlbWmsSkuCreateAPIRequest) GetLifecycle() int64

Lifecycle Getter

func (TaobaoWlbWmsSkuCreateAPIRequest) GetLockupLifecycle

func (r TaobaoWlbWmsSkuCreateAPIRequest) GetLockupLifecycle() int64

LockupLifecycle Getter

func (TaobaoWlbWmsSkuCreateAPIRequest) GetName

Name Getter

func (TaobaoWlbWmsSkuCreateAPIRequest) GetNetWeight

func (r TaobaoWlbWmsSkuCreateAPIRequest) GetNetWeight() int64

NetWeight Getter

func (TaobaoWlbWmsSkuCreateAPIRequest) GetOriginAddress

func (r TaobaoWlbWmsSkuCreateAPIRequest) GetOriginAddress() int64

OriginAddress Getter

func (TaobaoWlbWmsSkuCreateAPIRequest) GetPcs

Pcs Getter

func (TaobaoWlbWmsSkuCreateAPIRequest) GetRejectLifecycle

func (r TaobaoWlbWmsSkuCreateAPIRequest) GetRejectLifecycle() int64

RejectLifecycle Getter

func (TaobaoWlbWmsSkuCreateAPIRequest) GetSize

Size Getter

func (TaobaoWlbWmsSkuCreateAPIRequest) GetSpecification

func (r TaobaoWlbWmsSkuCreateAPIRequest) GetSpecification() string

Specification Getter

func (TaobaoWlbWmsSkuCreateAPIRequest) GetStoreCode

func (r TaobaoWlbWmsSkuCreateAPIRequest) GetStoreCode() string

StoreCode Getter

func (TaobaoWlbWmsSkuCreateAPIRequest) GetTagPrice

func (r TaobaoWlbWmsSkuCreateAPIRequest) GetTagPrice() int64

TagPrice Getter

func (TaobaoWlbWmsSkuCreateAPIRequest) GetTitle

Title Getter

func (TaobaoWlbWmsSkuCreateAPIRequest) GetType

Type Getter

func (TaobaoWlbWmsSkuCreateAPIRequest) GetUseYn

UseYn Getter

func (TaobaoWlbWmsSkuCreateAPIRequest) GetVolume

func (r TaobaoWlbWmsSkuCreateAPIRequest) GetVolume() int64

Volume Getter

func (TaobaoWlbWmsSkuCreateAPIRequest) GetWidth

Width Getter

func (*TaobaoWlbWmsSkuCreateAPIRequest) SetAdventLifecycle

func (r *TaobaoWlbWmsSkuCreateAPIRequest) SetAdventLifecycle(_adventLifecycle int64) error

AdventLifecycle Setter 保质期预警天数

func (*TaobaoWlbWmsSkuCreateAPIRequest) SetApprovalNumber

func (r *TaobaoWlbWmsSkuCreateAPIRequest) SetApprovalNumber(_approvalNumber string) error

ApprovalNumber Setter 批准文号

func (*TaobaoWlbWmsSkuCreateAPIRequest) SetBarCode

func (r *TaobaoWlbWmsSkuCreateAPIRequest) SetBarCode(_barCode string) error

BarCode Setter 条形码,多条码请用”;”分隔;

func (*TaobaoWlbWmsSkuCreateAPIRequest) SetBrand

func (r *TaobaoWlbWmsSkuCreateAPIRequest) SetBrand(_brand string) error

Brand Setter 品牌编码

func (*TaobaoWlbWmsSkuCreateAPIRequest) SetBrandName

func (r *TaobaoWlbWmsSkuCreateAPIRequest) SetBrandName(_brandName string) error

BrandName Setter 品牌名称

func (*TaobaoWlbWmsSkuCreateAPIRequest) SetCategory

func (r *TaobaoWlbWmsSkuCreateAPIRequest) SetCategory(_category string) error

Category Setter 商品类别编码(外部系统类别)

func (*TaobaoWlbWmsSkuCreateAPIRequest) SetCategoryName

func (r *TaobaoWlbWmsSkuCreateAPIRequest) SetCategoryName(_categoryName string) error

CategoryName Setter 商品类别名称

func (*TaobaoWlbWmsSkuCreateAPIRequest) SetColor

func (r *TaobaoWlbWmsSkuCreateAPIRequest) SetColor(_color string) error

Color Setter 颜色

func (*TaobaoWlbWmsSkuCreateAPIRequest) SetCostPrice

func (r *TaobaoWlbWmsSkuCreateAPIRequest) SetCostPrice(_costPrice int64) error

CostPrice Setter 成本价,单位分

func (*TaobaoWlbWmsSkuCreateAPIRequest) SetExtendFields

func (r *TaobaoWlbWmsSkuCreateAPIRequest) SetExtendFields(_extendFields string) error

ExtendFields Setter 拓展属性

func (*TaobaoWlbWmsSkuCreateAPIRequest) SetGrossWeight

func (r *TaobaoWlbWmsSkuCreateAPIRequest) SetGrossWeight(_grossWeight int64) error

GrossWeight Setter 毛重,单位克

func (*TaobaoWlbWmsSkuCreateAPIRequest) SetHeight

func (r *TaobaoWlbWmsSkuCreateAPIRequest) SetHeight(_height int64) error

Height Setter 高度,单位毫米

func (*TaobaoWlbWmsSkuCreateAPIRequest) SetIsAreaSale

func (r *TaobaoWlbWmsSkuCreateAPIRequest) SetIsAreaSale(_isAreaSale bool) error

IsAreaSale Setter 是否区域销售

func (*TaobaoWlbWmsSkuCreateAPIRequest) SetIsBatchMgt

func (r *TaobaoWlbWmsSkuCreateAPIRequest) SetIsBatchMgt(_isBatchMgt bool) error

IsBatchMgt Setter 是否启用批次管理

func (*TaobaoWlbWmsSkuCreateAPIRequest) SetIsDanger

func (r *TaobaoWlbWmsSkuCreateAPIRequest) SetIsDanger(_isDanger bool) error

IsDanger Setter 是否危险品

func (*TaobaoWlbWmsSkuCreateAPIRequest) SetIsHygroscopic

func (r *TaobaoWlbWmsSkuCreateAPIRequest) SetIsHygroscopic(_isHygroscopic bool) error

IsHygroscopic Setter 是否易碎品

func (*TaobaoWlbWmsSkuCreateAPIRequest) SetIsShelflife

func (r *TaobaoWlbWmsSkuCreateAPIRequest) SetIsShelflife(_isShelflife bool) error

IsShelflife Setter 是否启用保质期管理

func (*TaobaoWlbWmsSkuCreateAPIRequest) SetIsSnMgt

func (r *TaobaoWlbWmsSkuCreateAPIRequest) SetIsSnMgt(_isSnMgt bool) error

IsSnMgt Setter 是否启用序列号管理

func (*TaobaoWlbWmsSkuCreateAPIRequest) SetItemCode

func (r *TaobaoWlbWmsSkuCreateAPIRequest) SetItemCode(_itemCode string) error

ItemCode Setter 商家商品编码

func (*TaobaoWlbWmsSkuCreateAPIRequest) SetItemId

func (r *TaobaoWlbWmsSkuCreateAPIRequest) SetItemId(_itemId string) error

ItemId Setter 商家商品ID

func (*TaobaoWlbWmsSkuCreateAPIRequest) SetItemPrice

func (r *TaobaoWlbWmsSkuCreateAPIRequest) SetItemPrice(_itemPrice int64) error

ItemPrice Setter 零售价,单位分

func (*TaobaoWlbWmsSkuCreateAPIRequest) SetLength

func (r *TaobaoWlbWmsSkuCreateAPIRequest) SetLength(_length int64) error

Length Setter 长度,单位毫米

func (*TaobaoWlbWmsSkuCreateAPIRequest) SetLifecycle

func (r *TaobaoWlbWmsSkuCreateAPIRequest) SetLifecycle(_lifecycle int64) error

Lifecycle Setter 商品保质期天数

func (*TaobaoWlbWmsSkuCreateAPIRequest) SetLockupLifecycle

func (r *TaobaoWlbWmsSkuCreateAPIRequest) SetLockupLifecycle(_lockupLifecycle int64) error

LockupLifecycle Setter 保质期禁售天数

func (*TaobaoWlbWmsSkuCreateAPIRequest) SetName

func (r *TaobaoWlbWmsSkuCreateAPIRequest) SetName(_name string) error

Name Setter 商品名称

func (*TaobaoWlbWmsSkuCreateAPIRequest) SetNetWeight

func (r *TaobaoWlbWmsSkuCreateAPIRequest) SetNetWeight(_netWeight int64) error

NetWeight Setter 净重,单位克

func (*TaobaoWlbWmsSkuCreateAPIRequest) SetOriginAddress

func (r *TaobaoWlbWmsSkuCreateAPIRequest) SetOriginAddress(_originAddress int64) error

OriginAddress Setter 产地

func (*TaobaoWlbWmsSkuCreateAPIRequest) SetPcs

Pcs Setter 箱规

func (*TaobaoWlbWmsSkuCreateAPIRequest) SetRejectLifecycle

func (r *TaobaoWlbWmsSkuCreateAPIRequest) SetRejectLifecycle(_rejectLifecycle int64) error

RejectLifecycle Setter 保质期禁收天数

func (*TaobaoWlbWmsSkuCreateAPIRequest) SetSize

func (r *TaobaoWlbWmsSkuCreateAPIRequest) SetSize(_size string) error

Size Setter 尺码

func (*TaobaoWlbWmsSkuCreateAPIRequest) SetSpecification

func (r *TaobaoWlbWmsSkuCreateAPIRequest) SetSpecification(_specification string) error

Specification Setter 规格

func (*TaobaoWlbWmsSkuCreateAPIRequest) SetStoreCode

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

StoreCode Setter 仓库编码

func (*TaobaoWlbWmsSkuCreateAPIRequest) SetTagPrice

func (r *TaobaoWlbWmsSkuCreateAPIRequest) SetTagPrice(_tagPrice int64) error

TagPrice Setter 吊牌价,单位分

func (*TaobaoWlbWmsSkuCreateAPIRequest) SetTitle

func (r *TaobaoWlbWmsSkuCreateAPIRequest) SetTitle(_title string) error

Title Setter 商品标题

func (*TaobaoWlbWmsSkuCreateAPIRequest) SetType

func (r *TaobaoWlbWmsSkuCreateAPIRequest) SetType(_type string) error

Type Setter 商品类别NORMAL:普通商品、COMBINE:组合商品、DISTRIBUTION:分销商品、HAOCAI耗材、FUSHUPIN附属品、BAOCAI 包材、XUNI虚拟商品、QITA其他)

func (*TaobaoWlbWmsSkuCreateAPIRequest) SetUseYn

func (r *TaobaoWlbWmsSkuCreateAPIRequest) SetUseYn(_useYn bool) error

UseYn Setter 启用标识

func (*TaobaoWlbWmsSkuCreateAPIRequest) SetVolume

func (r *TaobaoWlbWmsSkuCreateAPIRequest) SetVolume(_volume int64) error

Volume Setter 体积,单位立方厘米

func (*TaobaoWlbWmsSkuCreateAPIRequest) SetWidth

func (r *TaobaoWlbWmsSkuCreateAPIRequest) SetWidth(_width int64) error

Width Setter 宽度,单位毫米

type TaobaoWlbWmsSkuCreateAPIResponse

type TaobaoWlbWmsSkuCreateAPIResponse struct {
	model.CommonResponse
	TaobaoWlbWmsSkuCreateAPIResponseModel
}

商品同步 API返回值 taobao.wlb.wms.sku.create

商品同步

type TaobaoWlbWmsSkuCreateAPIResponseModel

type TaobaoWlbWmsSkuCreateAPIResponseModel struct {
	XMLName xml.Name `xml:"wlb_wms_sku_create_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 系统自动生成
	ItemId int64 `json:"item_id,omitempty" xml:"item_id,omitempty"`
	// 错误信息
	WlErrorMsg string `json:"wl_error_msg,omitempty" xml:"wl_error_msg,omitempty"`
	// 是否成功
	WlSuccess bool `json:"wl_success,omitempty" xml:"wl_success,omitempty"`
	// 错误码
	WlErrorCode string `json:"wl_error_code,omitempty" xml:"wl_error_code,omitempty"`
}

商品同步 成功返回结果

type TaobaoWlbWmsSkuGetAPIRequest

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

商品信息查询 API请求 taobao.wlb.wms.sku.get

商品信息查询

func NewTaobaoWlbWmsSkuGetRequest

func NewTaobaoWlbWmsSkuGetRequest() *TaobaoWlbWmsSkuGetAPIRequest

初始化TaobaoWlbWmsSkuGetAPIRequest对象

func (TaobaoWlbWmsSkuGetAPIRequest) GetApiMethodName

func (r TaobaoWlbWmsSkuGetAPIRequest) GetApiMethodName() string

IRequest interface 方法, 获取Api method

func (TaobaoWlbWmsSkuGetAPIRequest) GetApiParams

func (r TaobaoWlbWmsSkuGetAPIRequest) GetApiParams() url.Values

IRequest interface 方法, 获取API参数

func (TaobaoWlbWmsSkuGetAPIRequest) GetItemCode

func (r TaobaoWlbWmsSkuGetAPIRequest) GetItemCode() string

ItemCode Getter

func (TaobaoWlbWmsSkuGetAPIRequest) GetItemId

func (r TaobaoWlbWmsSkuGetAPIRequest) GetItemId() string

ItemId Getter

func (TaobaoWlbWmsSkuGetAPIRequest) GetOwnerUserId

func (r TaobaoWlbWmsSkuGetAPIRequest) GetOwnerUserId() string

OwnerUserId Getter

func (*TaobaoWlbWmsSkuGetAPIRequest) SetItemCode

func (r *TaobaoWlbWmsSkuGetAPIRequest) SetItemCode(_itemCode string) error

ItemCode Setter 菜鸟商品ID,与itemcode必须有一个值不为空

func (*TaobaoWlbWmsSkuGetAPIRequest) SetItemId

func (r *TaobaoWlbWmsSkuGetAPIRequest) SetItemId(_itemId string) error

ItemId Setter 商家商品编码,与itemid必须有一个值不为空

func (*TaobaoWlbWmsSkuGetAPIRequest) SetOwnerUserId

func (r *TaobaoWlbWmsSkuGetAPIRequest) SetOwnerUserId(_ownerUserId string) error

OwnerUserId Setter 货主ID

type TaobaoWlbWmsSkuGetAPIResponse

type TaobaoWlbWmsSkuGetAPIResponse struct {
	model.CommonResponse
	TaobaoWlbWmsSkuGetAPIResponseModel
}

商品信息查询 API返回值 taobao.wlb.wms.sku.get

商品信息查询

type TaobaoWlbWmsSkuGetAPIResponseModel

type TaobaoWlbWmsSkuGetAPIResponseModel struct {
	XMLName xml.Name `xml:"wlb_wms_sku_get_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 拓展属性, key-value结构,格式要求: 以英文分号“;”分隔每组key-value,以英文冒号“:”分隔key与value。如果value中带有分号,需要转成下划线“_”,如果带有冒号,需要转成中划线“-”
	ExtendFields string `json:"extend_fields,omitempty" xml:"extend_fields,omitempty"`
	// 是否启用批次管理
	IsBatchMgt bool `json:"is_batch_mgt,omitempty" xml:"is_batch_mgt,omitempty"`
	// 启用标识
	UseYn bool `json:"use_yn,omitempty" xml:"use_yn,omitempty"`
	// 成本价,单位分
	CostPrice int64 `json:"cost_price,omitempty" xml:"cost_price,omitempty"`
	// 零售价,单位分
	ItemPrice int64 `json:"item_price,omitempty" xml:"item_price,omitempty"`
	// 吊牌价,单位分
	TagPrice int64 `json:"tag_price,omitempty" xml:"tag_price,omitempty"`
	// 是否危险品
	IsDanger bool `json:"is_danger,omitempty" xml:"is_danger,omitempty"`
	// 是否易碎品
	IsHygroscopic bool `json:"is_hygroscopic,omitempty" xml:"is_hygroscopic,omitempty"`
	// 是否启用序列号管理
	IsSnMgt bool `json:"is_sn_mgt,omitempty" xml:"is_sn_mgt,omitempty"`
	// 保质期预警天数
	AdventLifecycle int64 `json:"advent_lifecycle,omitempty" xml:"advent_lifecycle,omitempty"`
	// 保质期禁售天数
	LockupLifecycle int64 `json:"lockup_lifecycle,omitempty" xml:"lockup_lifecycle,omitempty"`
	// 保质期禁收天数
	RejectLifecycle int64 `json:"reject_lifecycle,omitempty" xml:"reject_lifecycle,omitempty"`
	// 保质期天数
	Lifecycle int64 `json:"lifecycle,omitempty" xml:"lifecycle,omitempty"`
	// 是否启用保质期管理
	IsShelflife bool `json:"is_shelflife,omitempty" xml:"is_shelflife,omitempty"`
	// 批准文号
	ApprovalNumber string `json:"approval_number,omitempty" xml:"approval_number,omitempty"`
	// 场地
	OriginAddress int64 `json:"origin_address,omitempty" xml:"origin_address,omitempty"`
	// 箱规
	Pcs int64 `json:"pcs,omitempty" xml:"pcs,omitempty"`
	// 体积,单位立方厘米
	Volume int64 `json:"volume,omitempty" xml:"volume,omitempty"`
	// 高度,单位毫米
	Height int64 `json:"height,omitempty" xml:"height,omitempty"`
	// 宽度,单位毫米
	Width int64 `json:"width,omitempty" xml:"width,omitempty"`
	// 长度,单位毫米
	Length int64 `json:"length,omitempty" xml:"length,omitempty"`
	// 净重,单位克
	NetWeight int64 `json:"net_weight,omitempty" xml:"net_weight,omitempty"`
	// 毛重,单位克
	GrossWeight int64 `json:"gross_weight,omitempty" xml:"gross_weight,omitempty"`
	// 尺寸
	Size string `json:"size,omitempty" xml:"size,omitempty"`
	// 颜色
	Color string `json:"color,omitempty" xml:"color,omitempty"`
	// 规格
	Specification string `json:"specification,omitempty" xml:"specification,omitempty"`
	// 品牌名称
	BrandName string `json:"brand_name,omitempty" xml:"brand_name,omitempty"`
	// 品牌编码
	Brand string `json:"brand,omitempty" xml:"brand,omitempty"`
	// 商品类别名称
	CategoryName string `json:"category_name,omitempty" xml:"category_name,omitempty"`
	// 商品类别编码(外部系统类别)
	Category string `json:"category,omitempty" xml:"category,omitempty"`
	// 商品类别 NORMAL:普通商品、 COMBINE:组合商品、 DISTRIBUTION:分销商品
	Type string `json:"type,omitempty" xml:"type,omitempty"`
	// 商品标题
	Title string `json:"title,omitempty" xml:"title,omitempty"`
	// 商品名称
	Name string `json:"name,omitempty" xml:"name,omitempty"`
	// 条形码,多条码请用”;”分隔;
	BarCode string `json:"bar_code,omitempty" xml:"bar_code,omitempty"`
	// 商家商品编码,与itemid必须有一个值不为空
	IitemCode string `json:"iitem_code,omitempty" xml:"iitem_code,omitempty"`
	// 菜鸟商品ID,与itemcode必须有一个值不为空
	ItemId string `json:"item_id,omitempty" xml:"item_id,omitempty"`
	// 错误信息
	WlErrorMsg string `json:"wl_error_msg,omitempty" xml:"wl_error_msg,omitempty"`
	// 错误编码
	WlErrorCode string `json:"wl_error_code,omitempty" xml:"wl_error_code,omitempty"`
	// 是否成功
	WlSuccess bool `json:"wl_success,omitempty" xml:"wl_success,omitempty"`
	// 是否区域销售
	IsAreaSale bool `json:"is_area_sale,omitempty" xml:"is_area_sale,omitempty"`
}

商品信息查询 成功返回结果

type TaobaoWlbWmsSkuUpdateAPIRequest

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

商品信息的更新 API请求 taobao.wlb.wms.sku.update

商品信息的更新

func NewTaobaoWlbWmsSkuUpdateRequest

func NewTaobaoWlbWmsSkuUpdateRequest() *TaobaoWlbWmsSkuUpdateAPIRequest

初始化TaobaoWlbWmsSkuUpdateAPIRequest对象

func (TaobaoWlbWmsSkuUpdateAPIRequest) GetAdventLifecycle

func (r TaobaoWlbWmsSkuUpdateAPIRequest) GetAdventLifecycle() int64

AdventLifecycle Getter

func (TaobaoWlbWmsSkuUpdateAPIRequest) GetApiMethodName

func (r TaobaoWlbWmsSkuUpdateAPIRequest) GetApiMethodName() string

IRequest interface 方法, 获取Api method

func (TaobaoWlbWmsSkuUpdateAPIRequest) GetApiParams

func (r TaobaoWlbWmsSkuUpdateAPIRequest) GetApiParams() url.Values

IRequest interface 方法, 获取API参数

func (TaobaoWlbWmsSkuUpdateAPIRequest) GetApprovalNumber

func (r TaobaoWlbWmsSkuUpdateAPIRequest) GetApprovalNumber() string

ApprovalNumber Getter

func (TaobaoWlbWmsSkuUpdateAPIRequest) GetAttribute

func (r TaobaoWlbWmsSkuUpdateAPIRequest) GetAttribute() string

Attribute Getter

func (TaobaoWlbWmsSkuUpdateAPIRequest) GetBarCode

func (r TaobaoWlbWmsSkuUpdateAPIRequest) GetBarCode() string

BarCode Getter

func (TaobaoWlbWmsSkuUpdateAPIRequest) GetBrand

Brand Getter

func (TaobaoWlbWmsSkuUpdateAPIRequest) GetBrandName

func (r TaobaoWlbWmsSkuUpdateAPIRequest) GetBrandName() string

BrandName Getter

func (TaobaoWlbWmsSkuUpdateAPIRequest) GetCategory

func (r TaobaoWlbWmsSkuUpdateAPIRequest) GetCategory() string

Category Getter

func (TaobaoWlbWmsSkuUpdateAPIRequest) GetCategoryName

func (r TaobaoWlbWmsSkuUpdateAPIRequest) GetCategoryName() string

CategoryName Getter

func (TaobaoWlbWmsSkuUpdateAPIRequest) GetColor

Color Getter

func (TaobaoWlbWmsSkuUpdateAPIRequest) GetCostPrice

func (r TaobaoWlbWmsSkuUpdateAPIRequest) GetCostPrice() int64

CostPrice Getter

func (TaobaoWlbWmsSkuUpdateAPIRequest) GetExtendFields

func (r TaobaoWlbWmsSkuUpdateAPIRequest) GetExtendFields() string

ExtendFields Getter

func (TaobaoWlbWmsSkuUpdateAPIRequest) GetGrossWeight

func (r TaobaoWlbWmsSkuUpdateAPIRequest) GetGrossWeight() int64

GrossWeight Getter

func (TaobaoWlbWmsSkuUpdateAPIRequest) GetHeight

func (r TaobaoWlbWmsSkuUpdateAPIRequest) GetHeight() int64

Height Getter

func (TaobaoWlbWmsSkuUpdateAPIRequest) GetIsAreaSale

func (r TaobaoWlbWmsSkuUpdateAPIRequest) GetIsAreaSale() bool

IsAreaSale Getter

func (TaobaoWlbWmsSkuUpdateAPIRequest) GetIsBatchMgt

func (r TaobaoWlbWmsSkuUpdateAPIRequest) GetIsBatchMgt() bool

IsBatchMgt Getter

func (TaobaoWlbWmsSkuUpdateAPIRequest) GetIsDanger

func (r TaobaoWlbWmsSkuUpdateAPIRequest) GetIsDanger() bool

IsDanger Getter

func (TaobaoWlbWmsSkuUpdateAPIRequest) GetIsHygroscopic

func (r TaobaoWlbWmsSkuUpdateAPIRequest) GetIsHygroscopic() bool

IsHygroscopic Getter

func (TaobaoWlbWmsSkuUpdateAPIRequest) GetIsShelflife

func (r TaobaoWlbWmsSkuUpdateAPIRequest) GetIsShelflife() bool

IsShelflife Getter

func (TaobaoWlbWmsSkuUpdateAPIRequest) GetIsSnMgt

func (r TaobaoWlbWmsSkuUpdateAPIRequest) GetIsSnMgt() bool

IsSnMgt Getter

func (TaobaoWlbWmsSkuUpdateAPIRequest) GetItemId

ItemId Getter

func (TaobaoWlbWmsSkuUpdateAPIRequest) GetItemPrice

func (r TaobaoWlbWmsSkuUpdateAPIRequest) GetItemPrice() int64

ItemPrice Getter

func (TaobaoWlbWmsSkuUpdateAPIRequest) GetLength

func (r TaobaoWlbWmsSkuUpdateAPIRequest) GetLength() int64

Length Getter

func (TaobaoWlbWmsSkuUpdateAPIRequest) GetLifecycle

func (r TaobaoWlbWmsSkuUpdateAPIRequest) GetLifecycle() int64

Lifecycle Getter

func (TaobaoWlbWmsSkuUpdateAPIRequest) GetLockupLifecycle

func (r TaobaoWlbWmsSkuUpdateAPIRequest) GetLockupLifecycle() int64

LockupLifecycle Getter

func (TaobaoWlbWmsSkuUpdateAPIRequest) GetName

Name Getter

func (TaobaoWlbWmsSkuUpdateAPIRequest) GetNetWeight

func (r TaobaoWlbWmsSkuUpdateAPIRequest) GetNetWeight() int64

NetWeight Getter

func (TaobaoWlbWmsSkuUpdateAPIRequest) GetOriginAddress

func (r TaobaoWlbWmsSkuUpdateAPIRequest) GetOriginAddress() int64

OriginAddress Getter

func (TaobaoWlbWmsSkuUpdateAPIRequest) GetPcs

Pcs Getter

func (TaobaoWlbWmsSkuUpdateAPIRequest) GetRejectLifecycle

func (r TaobaoWlbWmsSkuUpdateAPIRequest) GetRejectLifecycle() int64

RejectLifecycle Getter

func (TaobaoWlbWmsSkuUpdateAPIRequest) GetSize

Size Getter

func (TaobaoWlbWmsSkuUpdateAPIRequest) GetSpecification

func (r TaobaoWlbWmsSkuUpdateAPIRequest) GetSpecification() string

Specification Getter

func (TaobaoWlbWmsSkuUpdateAPIRequest) GetStoreCode

func (r TaobaoWlbWmsSkuUpdateAPIRequest) GetStoreCode() string

StoreCode Getter

func (TaobaoWlbWmsSkuUpdateAPIRequest) GetTagPrice

func (r TaobaoWlbWmsSkuUpdateAPIRequest) GetTagPrice() int64

TagPrice Getter

func (TaobaoWlbWmsSkuUpdateAPIRequest) GetTitle

Title Getter

func (TaobaoWlbWmsSkuUpdateAPIRequest) GetType

Type Getter

func (TaobaoWlbWmsSkuUpdateAPIRequest) GetUseYn

UseYn Getter

func (TaobaoWlbWmsSkuUpdateAPIRequest) GetVolume

func (r TaobaoWlbWmsSkuUpdateAPIRequest) GetVolume() int64

Volume Getter

func (TaobaoWlbWmsSkuUpdateAPIRequest) GetWidth

Width Getter

func (*TaobaoWlbWmsSkuUpdateAPIRequest) SetAdventLifecycle

func (r *TaobaoWlbWmsSkuUpdateAPIRequest) SetAdventLifecycle(_adventLifecycle int64) error

AdventLifecycle Setter 保质期预警天数

func (*TaobaoWlbWmsSkuUpdateAPIRequest) SetApprovalNumber

func (r *TaobaoWlbWmsSkuUpdateAPIRequest) SetApprovalNumber(_approvalNumber string) error

ApprovalNumber Setter 批准文号

func (*TaobaoWlbWmsSkuUpdateAPIRequest) SetAttribute

func (r *TaobaoWlbWmsSkuUpdateAPIRequest) SetAttribute(_attribute string) error

Attribute Setter 商品属性编码

func (*TaobaoWlbWmsSkuUpdateAPIRequest) SetBarCode

func (r *TaobaoWlbWmsSkuUpdateAPIRequest) SetBarCode(_barCode string) error

BarCode Setter 条形码,多条码请用”;”分隔;条码更新只技术增量更新,已有条码无法修改,只能在原条码基础上增加新的条码。例:原商品条码为:BAR001,要增加一条新条码BAR002时,此字段内容应填写为:BAR001;BAR002

func (*TaobaoWlbWmsSkuUpdateAPIRequest) SetBrand

func (r *TaobaoWlbWmsSkuUpdateAPIRequest) SetBrand(_brand string) error

Brand Setter 品牌编码

func (*TaobaoWlbWmsSkuUpdateAPIRequest) SetBrandName

func (r *TaobaoWlbWmsSkuUpdateAPIRequest) SetBrandName(_brandName string) error

BrandName Setter 品牌名称

func (*TaobaoWlbWmsSkuUpdateAPIRequest) SetCategory

func (r *TaobaoWlbWmsSkuUpdateAPIRequest) SetCategory(_category string) error

Category Setter 商品类别编码(外部系统类别)

func (*TaobaoWlbWmsSkuUpdateAPIRequest) SetCategoryName

func (r *TaobaoWlbWmsSkuUpdateAPIRequest) SetCategoryName(_categoryName string) error

CategoryName Setter 商品类别名称

func (*TaobaoWlbWmsSkuUpdateAPIRequest) SetColor

func (r *TaobaoWlbWmsSkuUpdateAPIRequest) SetColor(_color string) error

Color Setter 颜色

func (*TaobaoWlbWmsSkuUpdateAPIRequest) SetCostPrice

func (r *TaobaoWlbWmsSkuUpdateAPIRequest) SetCostPrice(_costPrice int64) error

CostPrice Setter 成本价,单位分

func (*TaobaoWlbWmsSkuUpdateAPIRequest) SetExtendFields

func (r *TaobaoWlbWmsSkuUpdateAPIRequest) SetExtendFields(_extendFields string) error

ExtendFields Setter 拓展属性

func (*TaobaoWlbWmsSkuUpdateAPIRequest) SetGrossWeight

func (r *TaobaoWlbWmsSkuUpdateAPIRequest) SetGrossWeight(_grossWeight int64) error

GrossWeight Setter 毛重,单位克

func (*TaobaoWlbWmsSkuUpdateAPIRequest) SetHeight

func (r *TaobaoWlbWmsSkuUpdateAPIRequest) SetHeight(_height int64) error

Height Setter 高度,单位毫米

func (*TaobaoWlbWmsSkuUpdateAPIRequest) SetIsAreaSale

func (r *TaobaoWlbWmsSkuUpdateAPIRequest) SetIsAreaSale(_isAreaSale bool) error

IsAreaSale Setter 是否区域销售属性

func (*TaobaoWlbWmsSkuUpdateAPIRequest) SetIsBatchMgt

func (r *TaobaoWlbWmsSkuUpdateAPIRequest) SetIsBatchMgt(_isBatchMgt bool) error

IsBatchMgt Setter 是否启用批次管理

func (*TaobaoWlbWmsSkuUpdateAPIRequest) SetIsDanger

func (r *TaobaoWlbWmsSkuUpdateAPIRequest) SetIsDanger(_isDanger bool) error

IsDanger Setter 是否危险品

func (*TaobaoWlbWmsSkuUpdateAPIRequest) SetIsHygroscopic

func (r *TaobaoWlbWmsSkuUpdateAPIRequest) SetIsHygroscopic(_isHygroscopic bool) error

IsHygroscopic Setter 是否易碎品

func (*TaobaoWlbWmsSkuUpdateAPIRequest) SetIsShelflife

func (r *TaobaoWlbWmsSkuUpdateAPIRequest) SetIsShelflife(_isShelflife bool) error

IsShelflife Setter 是否启用保质期管理

func (*TaobaoWlbWmsSkuUpdateAPIRequest) SetIsSnMgt

func (r *TaobaoWlbWmsSkuUpdateAPIRequest) SetIsSnMgt(_isSnMgt bool) error

IsSnMgt Setter 是否启用序列号管理

func (*TaobaoWlbWmsSkuUpdateAPIRequest) SetItemId

func (r *TaobaoWlbWmsSkuUpdateAPIRequest) SetItemId(_itemId string) error

ItemId Setter 外部系统ID

func (*TaobaoWlbWmsSkuUpdateAPIRequest) SetItemPrice

func (r *TaobaoWlbWmsSkuUpdateAPIRequest) SetItemPrice(_itemPrice int64) error

ItemPrice Setter 零售价,单位分

func (*TaobaoWlbWmsSkuUpdateAPIRequest) SetLength

func (r *TaobaoWlbWmsSkuUpdateAPIRequest) SetLength(_length int64) error

Length Setter 长度,单位毫米

func (*TaobaoWlbWmsSkuUpdateAPIRequest) SetLifecycle

func (r *TaobaoWlbWmsSkuUpdateAPIRequest) SetLifecycle(_lifecycle int64) error

Lifecycle Setter 商品保质期天数

func (*TaobaoWlbWmsSkuUpdateAPIRequest) SetLockupLifecycle

func (r *TaobaoWlbWmsSkuUpdateAPIRequest) SetLockupLifecycle(_lockupLifecycle int64) error

LockupLifecycle Setter 保质期禁售天数

func (*TaobaoWlbWmsSkuUpdateAPIRequest) SetName

func (r *TaobaoWlbWmsSkuUpdateAPIRequest) SetName(_name string) error

Name Setter 商品名称

func (*TaobaoWlbWmsSkuUpdateAPIRequest) SetNetWeight

func (r *TaobaoWlbWmsSkuUpdateAPIRequest) SetNetWeight(_netWeight int64) error

NetWeight Setter 净重,单位克

func (*TaobaoWlbWmsSkuUpdateAPIRequest) SetOriginAddress

func (r *TaobaoWlbWmsSkuUpdateAPIRequest) SetOriginAddress(_originAddress int64) error

OriginAddress Setter 产地

func (*TaobaoWlbWmsSkuUpdateAPIRequest) SetPcs

Pcs Setter 箱规

func (*TaobaoWlbWmsSkuUpdateAPIRequest) SetRejectLifecycle

func (r *TaobaoWlbWmsSkuUpdateAPIRequest) SetRejectLifecycle(_rejectLifecycle int64) error

RejectLifecycle Setter 保质期禁收天数

func (*TaobaoWlbWmsSkuUpdateAPIRequest) SetSize

func (r *TaobaoWlbWmsSkuUpdateAPIRequest) SetSize(_size string) error

Size Setter 尺码

func (*TaobaoWlbWmsSkuUpdateAPIRequest) SetSpecification

func (r *TaobaoWlbWmsSkuUpdateAPIRequest) SetSpecification(_specification string) error

Specification Setter 规格

func (*TaobaoWlbWmsSkuUpdateAPIRequest) SetStoreCode

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

StoreCode Setter 仓库编码

func (*TaobaoWlbWmsSkuUpdateAPIRequest) SetTagPrice

func (r *TaobaoWlbWmsSkuUpdateAPIRequest) SetTagPrice(_tagPrice int64) error

TagPrice Setter 吊牌价,单位分

func (*TaobaoWlbWmsSkuUpdateAPIRequest) SetTitle

func (r *TaobaoWlbWmsSkuUpdateAPIRequest) SetTitle(_title string) error

Title Setter 商品标题

func (*TaobaoWlbWmsSkuUpdateAPIRequest) SetType

func (r *TaobaoWlbWmsSkuUpdateAPIRequest) SetType(_type string) error

Type Setter 商品类型:NORMAL-普通商品、 COMBINE-组合商品、 DISTRIBUTION-分销商品

func (*TaobaoWlbWmsSkuUpdateAPIRequest) SetUseYn

func (r *TaobaoWlbWmsSkuUpdateAPIRequest) SetUseYn(_useYn bool) error

UseYn Setter 启用标识

func (*TaobaoWlbWmsSkuUpdateAPIRequest) SetVolume

func (r *TaobaoWlbWmsSkuUpdateAPIRequest) SetVolume(_volume int64) error

Volume Setter 体积,单位立方厘米

func (*TaobaoWlbWmsSkuUpdateAPIRequest) SetWidth

func (r *TaobaoWlbWmsSkuUpdateAPIRequest) SetWidth(_width int64) error

Width Setter 宽度,单位毫米

type TaobaoWlbWmsSkuUpdateAPIResponse

type TaobaoWlbWmsSkuUpdateAPIResponse struct {
	model.CommonResponse
	TaobaoWlbWmsSkuUpdateAPIResponseModel
}

商品信息的更新 API返回值 taobao.wlb.wms.sku.update

商品信息的更新

type TaobaoWlbWmsSkuUpdateAPIResponseModel

type TaobaoWlbWmsSkuUpdateAPIResponseModel struct {
	XMLName xml.Name `xml:"wlb_wms_sku_update_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 错误信息
	WlErrorMsg string `json:"wl_error_msg,omitempty" xml:"wl_error_msg,omitempty"`
	// 错误编码
	WlErrorCode string `json:"wl_error_code,omitempty" xml:"wl_error_code,omitempty"`
	// 是否成功
	WlSuccess bool `json:"wl_success,omitempty" xml:"wl_success,omitempty"`
}

商品信息的更新 成功返回结果

type TaobaoWlbWmsSnInfoQueryAPIRequest

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

查询单据序列号信息 API请求 taobao.wlb.wms.sn.info.query

查询仓库作业的各类单据记录的Sn信息

func NewTaobaoWlbWmsSnInfoQueryRequest

func NewTaobaoWlbWmsSnInfoQueryRequest() *TaobaoWlbWmsSnInfoQueryAPIRequest

初始化TaobaoWlbWmsSnInfoQueryAPIRequest对象

func (TaobaoWlbWmsSnInfoQueryAPIRequest) GetApiMethodName

func (r TaobaoWlbWmsSnInfoQueryAPIRequest) GetApiMethodName() string

IRequest interface 方法, 获取Api method

func (TaobaoWlbWmsSnInfoQueryAPIRequest) GetApiParams

func (r TaobaoWlbWmsSnInfoQueryAPIRequest) GetApiParams() url.Values

IRequest interface 方法, 获取API参数

func (TaobaoWlbWmsSnInfoQueryAPIRequest) GetOrderCode

func (r TaobaoWlbWmsSnInfoQueryAPIRequest) GetOrderCode() string

OrderCode Getter

func (TaobaoWlbWmsSnInfoQueryAPIRequest) GetOrderCodeType

func (r TaobaoWlbWmsSnInfoQueryAPIRequest) GetOrderCodeType() int64

OrderCodeType Getter

func (TaobaoWlbWmsSnInfoQueryAPIRequest) GetPageIndex

func (r TaobaoWlbWmsSnInfoQueryAPIRequest) GetPageIndex() int64

PageIndex Getter

func (*TaobaoWlbWmsSnInfoQueryAPIRequest) SetOrderCode

func (r *TaobaoWlbWmsSnInfoQueryAPIRequest) SetOrderCode(_orderCode string) error

OrderCode Setter 订单编码

func (*TaobaoWlbWmsSnInfoQueryAPIRequest) SetOrderCodeType

func (r *TaobaoWlbWmsSnInfoQueryAPIRequest) SetOrderCodeType(_orderCodeType int64) error

OrderCodeType Setter 订单类型(1:仓配订单 10:配送扫码 20:增值扫码 40:ERP单号; 50:交易订单 )

func (*TaobaoWlbWmsSnInfoQueryAPIRequest) SetPageIndex

func (r *TaobaoWlbWmsSnInfoQueryAPIRequest) SetPageIndex(_pageIndex int64) error

PageIndex Setter 页数,默认每页50条

type TaobaoWlbWmsSnInfoQueryAPIResponse

type TaobaoWlbWmsSnInfoQueryAPIResponse struct {
	model.CommonResponse
	TaobaoWlbWmsSnInfoQueryAPIResponseModel
}

查询单据序列号信息 API返回值 taobao.wlb.wms.sn.info.query

查询仓库作业的各类单据记录的Sn信息

type TaobaoWlbWmsSnInfoQueryAPIResponseModel

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

查询单据序列号信息 成功返回结果

type TaobaoWlbWmsSnInfoQueryResult

type TaobaoWlbWmsSnInfoQueryResult struct {
	// 是否成功
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
	// 错误码
	ErrorCode string `json:"error_code,omitempty" xml:"error_code,omitempty"`
	// 错误信息
	ErrorMsg string `json:"error_msg,omitempty" xml:"error_msg,omitempty"`
	// SN信息列表
	SnInfoList []Sninfolist `json:"sn_info_list,omitempty" xml:"sn_info_list>sninfolist,omitempty"`
	// 总条数
	TotalCount int64 `json:"total_count,omitempty" xml:"total_count,omitempty"`
}

TaobaoWlbWmsSnInfoQueryResult

type TaobaoWlbWmsStockInBillGetAPIRequest

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

获取入库单信息 API请求 taobao.wlb.wms.stock.in.bill.get

获取入库单信息

func NewTaobaoWlbWmsStockInBillGetRequest

func NewTaobaoWlbWmsStockInBillGetRequest() *TaobaoWlbWmsStockInBillGetAPIRequest

初始化TaobaoWlbWmsStockInBillGetAPIRequest对象

func (TaobaoWlbWmsStockInBillGetAPIRequest) GetApiMethodName

func (r TaobaoWlbWmsStockInBillGetAPIRequest) GetApiMethodName() string

IRequest interface 方法, 获取Api method

func (TaobaoWlbWmsStockInBillGetAPIRequest) GetApiParams

IRequest interface 方法, 获取API参数

func (TaobaoWlbWmsStockInBillGetAPIRequest) GetCnOrderCode

func (r TaobaoWlbWmsStockInBillGetAPIRequest) GetCnOrderCode() string

CnOrderCode Getter

func (TaobaoWlbWmsStockInBillGetAPIRequest) GetOrderCode

OrderCode Getter

func (*TaobaoWlbWmsStockInBillGetAPIRequest) SetCnOrderCode

func (r *TaobaoWlbWmsStockInBillGetAPIRequest) SetCnOrderCode(_cnOrderCode string) error

CnOrderCode Setter 菜鸟订单编码,查询单个订单时orderCode与cnOrderCode必须有一个参数值不为空,两个参数都赋值时,以cnOrderCode值检索数据

func (*TaobaoWlbWmsStockInBillGetAPIRequest) SetOrderCode

func (r *TaobaoWlbWmsStockInBillGetAPIRequest) SetOrderCode(_orderCode string) error

OrderCode Setter ERP订单编码,查询单个订单时orderCode与cnOrderCode必须有一个参数值不为空,两个参数都赋值时,以cnOrderCode值检索数据

type TaobaoWlbWmsStockInBillGetAPIResponse

type TaobaoWlbWmsStockInBillGetAPIResponse struct {
	model.CommonResponse
	TaobaoWlbWmsStockInBillGetAPIResponseModel
}

获取入库单信息 API返回值 taobao.wlb.wms.stock.in.bill.get

获取入库单信息

type TaobaoWlbWmsStockInBillGetAPIResponseModel

type TaobaoWlbWmsStockInBillGetAPIResponseModel struct {
	XMLName xml.Name `xml:"wlb_wms_stock_in_bill_get_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 入库单信息
	StockInInfo *CainiaoStockInBillStockininfo `json:"stock_in_info,omitempty" xml:"stock_in_info,omitempty"`
}

获取入库单信息 成功返回结果

type TaobaoWlbWmsStockInOrderNotifyAPIRequest

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

入库通知单 API请求 taobao.wlb.wms.stock.in.order.notify

入库通知单

func NewTaobaoWlbWmsStockInOrderNotifyRequest

func NewTaobaoWlbWmsStockInOrderNotifyRequest() *TaobaoWlbWmsStockInOrderNotifyAPIRequest

初始化TaobaoWlbWmsStockInOrderNotifyAPIRequest对象

func (TaobaoWlbWmsStockInOrderNotifyAPIRequest) GetApiMethodName

func (r TaobaoWlbWmsStockInOrderNotifyAPIRequest) GetApiMethodName() string

IRequest interface 方法, 获取Api method

func (TaobaoWlbWmsStockInOrderNotifyAPIRequest) GetApiParams

IRequest interface 方法, 获取API参数

func (TaobaoWlbWmsStockInOrderNotifyAPIRequest) GetExpectEndTime

func (r TaobaoWlbWmsStockInOrderNotifyAPIRequest) GetExpectEndTime() string

ExpectEndTime Getter

func (TaobaoWlbWmsStockInOrderNotifyAPIRequest) GetExpectStartTime

func (r TaobaoWlbWmsStockInOrderNotifyAPIRequest) GetExpectStartTime() string

ExpectStartTime Getter

func (TaobaoWlbWmsStockInOrderNotifyAPIRequest) GetExtendFields

ExtendFields Getter

func (TaobaoWlbWmsStockInOrderNotifyAPIRequest) GetInboundTypeDesc

func (r TaobaoWlbWmsStockInOrderNotifyAPIRequest) GetInboundTypeDesc() string

InboundTypeDesc Getter

func (TaobaoWlbWmsStockInOrderNotifyAPIRequest) GetOrderCode

OrderCode Getter

func (TaobaoWlbWmsStockInOrderNotifyAPIRequest) GetOrderCreateTime

func (r TaobaoWlbWmsStockInOrderNotifyAPIRequest) GetOrderCreateTime() string

OrderCreateTime Getter

func (TaobaoWlbWmsStockInOrderNotifyAPIRequest) GetOrderFlag

OrderFlag Getter

func (TaobaoWlbWmsStockInOrderNotifyAPIRequest) GetOrderItemList

OrderItemList Getter

func (TaobaoWlbWmsStockInOrderNotifyAPIRequest) GetOrderType

OrderType Getter

func (TaobaoWlbWmsStockInOrderNotifyAPIRequest) GetPrevOrderCode

func (r TaobaoWlbWmsStockInOrderNotifyAPIRequest) GetPrevOrderCode() string

PrevOrderCode Getter

func (TaobaoWlbWmsStockInOrderNotifyAPIRequest) GetReceiverInfo

ReceiverInfo Getter

func (TaobaoWlbWmsStockInOrderNotifyAPIRequest) GetRemark

Remark Getter

func (TaobaoWlbWmsStockInOrderNotifyAPIRequest) GetReturnReason

ReturnReason Getter

func (TaobaoWlbWmsStockInOrderNotifyAPIRequest) GetSenderInfo

SenderInfo Getter

func (TaobaoWlbWmsStockInOrderNotifyAPIRequest) GetStoreCode

StoreCode Getter

func (TaobaoWlbWmsStockInOrderNotifyAPIRequest) GetSupplierCode

SupplierCode Getter

func (TaobaoWlbWmsStockInOrderNotifyAPIRequest) GetSupplierName

SupplierName Getter

func (TaobaoWlbWmsStockInOrderNotifyAPIRequest) GetTmsOrderCode

TmsOrderCode Getter

func (TaobaoWlbWmsStockInOrderNotifyAPIRequest) GetTmsServiceCode

func (r TaobaoWlbWmsStockInOrderNotifyAPIRequest) GetTmsServiceCode() string

TmsServiceCode Getter

func (TaobaoWlbWmsStockInOrderNotifyAPIRequest) GetTmsServiceName

func (r TaobaoWlbWmsStockInOrderNotifyAPIRequest) GetTmsServiceName() string

TmsServiceName Getter

func (*TaobaoWlbWmsStockInOrderNotifyAPIRequest) SetExpectEndTime

func (r *TaobaoWlbWmsStockInOrderNotifyAPIRequest) SetExpectEndTime(_expectEndTime string) error

ExpectEndTime Setter 预期送达结束时间

func (*TaobaoWlbWmsStockInOrderNotifyAPIRequest) SetExpectStartTime

func (r *TaobaoWlbWmsStockInOrderNotifyAPIRequest) SetExpectStartTime(_expectStartTime string) error

ExpectStartTime Setter 预期送达开始时间

func (*TaobaoWlbWmsStockInOrderNotifyAPIRequest) SetExtendFields

func (r *TaobaoWlbWmsStockInOrderNotifyAPIRequest) SetExtendFields(_extendFields string) error

ExtendFields Setter 扩展属性, key-value结构,格式要求: 以英文分号“;”分隔每组key-value,以英文冒号“:”分隔key与value。如果value中带有分号,需要转成下划线“_”,如果带有冒号,需要转成中划线“-”

func (*TaobaoWlbWmsStockInOrderNotifyAPIRequest) SetInboundTypeDesc

func (r *TaobaoWlbWmsStockInOrderNotifyAPIRequest) SetInboundTypeDesc(_inboundTypeDesc string) error

InboundTypeDesc Setter 可选择性文本透传至WMS,比如加工归还、委外归还、借出归还、内部归还等

func (*TaobaoWlbWmsStockInOrderNotifyAPIRequest) SetOrderCode

func (r *TaobaoWlbWmsStockInOrderNotifyAPIRequest) SetOrderCode(_orderCode string) error

OrderCode Setter 入库单据编码

func (*TaobaoWlbWmsStockInOrderNotifyAPIRequest) SetOrderCreateTime

func (r *TaobaoWlbWmsStockInOrderNotifyAPIRequest) SetOrderCreateTime(_orderCreateTime string) error

OrderCreateTime Setter 单据创建时间

func (*TaobaoWlbWmsStockInOrderNotifyAPIRequest) SetOrderFlag

func (r *TaobaoWlbWmsStockInOrderNotifyAPIRequest) SetOrderFlag(_orderFlag string) error

OrderFlag Setter 订单标记以逗号分隔: 9:上门退货入库 13: 退货时是否收取发票,默认不收取(即没13为多选项,如1,2,8,9)

func (*TaobaoWlbWmsStockInOrderNotifyAPIRequest) SetOrderItemList

OrderItemList Setter 系统自动生成

func (*TaobaoWlbWmsStockInOrderNotifyAPIRequest) SetOrderType

func (r *TaobaoWlbWmsStockInOrderNotifyAPIRequest) SetOrderType(_orderType int64) error

OrderType Setter 单据类型 601普通入库单、501销退入库单、302 调拨入库单、904其他入库单、306 B2B入库

func (*TaobaoWlbWmsStockInOrderNotifyAPIRequest) SetPrevOrderCode

func (r *TaobaoWlbWmsStockInOrderNotifyAPIRequest) SetPrevOrderCode(_prevOrderCode string) error

PrevOrderCode Setter 来源单据号,如销售退货时填充原销售订单号

func (*TaobaoWlbWmsStockInOrderNotifyAPIRequest) SetReceiverInfo

ReceiverInfo Setter 系统自动生成

func (*TaobaoWlbWmsStockInOrderNotifyAPIRequest) SetRemark

Remark Setter 备注,销退入库订单需要留言备注填充到此字段

func (*TaobaoWlbWmsStockInOrderNotifyAPIRequest) SetReturnReason

func (r *TaobaoWlbWmsStockInOrderNotifyAPIRequest) SetReturnReason(_returnReason string) error

ReturnReason Setter 销退时请提供退货的原因

func (*TaobaoWlbWmsStockInOrderNotifyAPIRequest) SetSenderInfo

SenderInfo Setter 系统自动生成

func (*TaobaoWlbWmsStockInOrderNotifyAPIRequest) SetStoreCode

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

StoreCode Setter 仓库编码

func (*TaobaoWlbWmsStockInOrderNotifyAPIRequest) SetSupplierCode

func (r *TaobaoWlbWmsStockInOrderNotifyAPIRequest) SetSupplierCode(_supplierCode string) error

SupplierCode Setter 供应商编码,往来单位编码

func (*TaobaoWlbWmsStockInOrderNotifyAPIRequest) SetSupplierName

func (r *TaobaoWlbWmsStockInOrderNotifyAPIRequest) SetSupplierName(_supplierName string) error

SupplierName Setter 供应商名称 ,往来单位名称

func (*TaobaoWlbWmsStockInOrderNotifyAPIRequest) SetTmsOrderCode

func (r *TaobaoWlbWmsStockInOrderNotifyAPIRequest) SetTmsOrderCode(_tmsOrderCode string) error

TmsOrderCode Setter 运单号&托运单号 1) 入库单支持多运单号录入 2) 销退场景下如果是拒收(非妥投运单)由ERP填充原运单号

func (*TaobaoWlbWmsStockInOrderNotifyAPIRequest) SetTmsServiceCode

func (r *TaobaoWlbWmsStockInOrderNotifyAPIRequest) SetTmsServiceCode(_tmsServiceCode string) error

TmsServiceCode Setter 配送公司编码,拒收(非妥投)的销退订单,由ERP填充原单配送公司编码

func (*TaobaoWlbWmsStockInOrderNotifyAPIRequest) SetTmsServiceName

func (r *TaobaoWlbWmsStockInOrderNotifyAPIRequest) SetTmsServiceName(_tmsServiceName string) error

TmsServiceName Setter 快递公司名称

type TaobaoWlbWmsStockInOrderNotifyAPIResponse

type TaobaoWlbWmsStockInOrderNotifyAPIResponse struct {
	model.CommonResponse
	TaobaoWlbWmsStockInOrderNotifyAPIResponseModel
}

入库通知单 API返回值 taobao.wlb.wms.stock.in.order.notify

入库通知单

type TaobaoWlbWmsStockInOrderNotifyAPIResponseModel

type TaobaoWlbWmsStockInOrderNotifyAPIResponseModel struct {
	XMLName xml.Name `xml:"wlb_wms_stock_in_order_notify_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 是否成功
	WlSuccess bool `json:"wl_success,omitempty" xml:"wl_success,omitempty"`
	// 错误编码
	WlErrorCode string `json:"wl_error_code,omitempty" xml:"wl_error_code,omitempty"`
	// 错误详细
	WlErrorMsg string `json:"wl_error_msg,omitempty" xml:"wl_error_msg,omitempty"`
	// 仓储订单编码
	OrderCode string `json:"order_code,omitempty" xml:"order_code,omitempty"`
}

入库通知单 成功返回结果

type TaobaoWlbWmsStockOutBillGetAPIRequest

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

通过订单号获取单个出库单发货信息 API请求 taobao.wlb.wms.stock.out.bill.get

通过订单号获取单个出库单发货信息

func NewTaobaoWlbWmsStockOutBillGetRequest

func NewTaobaoWlbWmsStockOutBillGetRequest() *TaobaoWlbWmsStockOutBillGetAPIRequest

初始化TaobaoWlbWmsStockOutBillGetAPIRequest对象

func (TaobaoWlbWmsStockOutBillGetAPIRequest) GetApiMethodName

func (r TaobaoWlbWmsStockOutBillGetAPIRequest) GetApiMethodName() string

IRequest interface 方法, 获取Api method

func (TaobaoWlbWmsStockOutBillGetAPIRequest) GetApiParams

IRequest interface 方法, 获取API参数

func (TaobaoWlbWmsStockOutBillGetAPIRequest) GetCnOrderCode

func (r TaobaoWlbWmsStockOutBillGetAPIRequest) GetCnOrderCode() string

CnOrderCode Getter

func (TaobaoWlbWmsStockOutBillGetAPIRequest) GetOrderCode

OrderCode Getter

func (*TaobaoWlbWmsStockOutBillGetAPIRequest) SetCnOrderCode

func (r *TaobaoWlbWmsStockOutBillGetAPIRequest) SetCnOrderCode(_cnOrderCode string) error

CnOrderCode Setter 菜鸟订单编码,查询单个订单时orderCode与cnOrderCode必须有一个参数值不为空,两个参数都赋值时,以cnOrderCode值检索数据

func (*TaobaoWlbWmsStockOutBillGetAPIRequest) SetOrderCode

func (r *TaobaoWlbWmsStockOutBillGetAPIRequest) SetOrderCode(_orderCode string) error

OrderCode Setter ERP订单编码,查询单个订单时orderCode与cnOrderCode必须有一个参数值不为空,两个参数都赋值时,以cnOrderCode值检索数据

type TaobaoWlbWmsStockOutBillGetAPIResponse

type TaobaoWlbWmsStockOutBillGetAPIResponse struct {
	model.CommonResponse
	TaobaoWlbWmsStockOutBillGetAPIResponseModel
}

通过订单号获取单个出库单发货信息 API返回值 taobao.wlb.wms.stock.out.bill.get

通过订单号获取单个出库单发货信息

type TaobaoWlbWmsStockOutBillGetAPIResponseModel

type TaobaoWlbWmsStockOutBillGetAPIResponseModel struct {
	XMLName xml.Name `xml:"wlb_wms_stock_out_bill_get_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 出库信息
	StockOutInfo *CainiaoStockOutBillStockoutinfo `json:"stock_out_info,omitempty" xml:"stock_out_info,omitempty"`
}

通过订单号获取单个出库单发货信息 成功返回结果

type TaobaoWlbWmsStockOutOrderNotifyAPIRequest

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

出库单通知 API请求 taobao.wlb.wms.stock.out.order.notify

出库单通知

func NewTaobaoWlbWmsStockOutOrderNotifyRequest

func NewTaobaoWlbWmsStockOutOrderNotifyRequest() *TaobaoWlbWmsStockOutOrderNotifyAPIRequest

初始化TaobaoWlbWmsStockOutOrderNotifyAPIRequest对象

func (TaobaoWlbWmsStockOutOrderNotifyAPIRequest) GetApiMethodName

IRequest interface 方法, 获取Api method

func (TaobaoWlbWmsStockOutOrderNotifyAPIRequest) GetApiParams

IRequest interface 方法, 获取API参数

func (TaobaoWlbWmsStockOutOrderNotifyAPIRequest) GetCarNo

CarNo Getter

func (TaobaoWlbWmsStockOutOrderNotifyAPIRequest) GetCarriersName

CarriersName Getter

func (TaobaoWlbWmsStockOutOrderNotifyAPIRequest) GetExtendFields

ExtendFields Getter

func (TaobaoWlbWmsStockOutOrderNotifyAPIRequest) GetOrderCode

OrderCode Getter

func (TaobaoWlbWmsStockOutOrderNotifyAPIRequest) GetOrderCreateTime

func (r TaobaoWlbWmsStockOutOrderNotifyAPIRequest) GetOrderCreateTime() string

OrderCreateTime Getter

func (TaobaoWlbWmsStockOutOrderNotifyAPIRequest) GetOrderItemList

OrderItemList Getter

func (TaobaoWlbWmsStockOutOrderNotifyAPIRequest) GetOrderType

OrderType Getter

func (TaobaoWlbWmsStockOutOrderNotifyAPIRequest) GetOutboundTypeDesc

func (r TaobaoWlbWmsStockOutOrderNotifyAPIRequest) GetOutboundTypeDesc() string

OutboundTypeDesc Getter

func (TaobaoWlbWmsStockOutOrderNotifyAPIRequest) GetPickCall

PickCall Getter

func (TaobaoWlbWmsStockOutOrderNotifyAPIRequest) GetPickId

PickId Getter

func (TaobaoWlbWmsStockOutOrderNotifyAPIRequest) GetPickName

PickName Getter

func (TaobaoWlbWmsStockOutOrderNotifyAPIRequest) GetPrevOrderCode

PrevOrderCode Getter

func (TaobaoWlbWmsStockOutOrderNotifyAPIRequest) GetReceiverInfo

ReceiverInfo Getter

func (TaobaoWlbWmsStockOutOrderNotifyAPIRequest) GetRemark

Remark Getter

func (TaobaoWlbWmsStockOutOrderNotifyAPIRequest) GetSendTime

SendTime Getter

func (TaobaoWlbWmsStockOutOrderNotifyAPIRequest) GetSenderInfo

SenderInfo Getter

func (TaobaoWlbWmsStockOutOrderNotifyAPIRequest) GetStoreCode

StoreCode Getter

func (TaobaoWlbWmsStockOutOrderNotifyAPIRequest) GetTransportMode

TransportMode Getter

func (*TaobaoWlbWmsStockOutOrderNotifyAPIRequest) SetCarNo

CarNo Setter 车牌号

func (*TaobaoWlbWmsStockOutOrderNotifyAPIRequest) SetCarriersName

func (r *TaobaoWlbWmsStockOutOrderNotifyAPIRequest) SetCarriersName(_carriersName string) error

CarriersName Setter 承运商名称

func (*TaobaoWlbWmsStockOutOrderNotifyAPIRequest) SetExtendFields

func (r *TaobaoWlbWmsStockOutOrderNotifyAPIRequest) SetExtendFields(_extendFields string) error

ExtendFields Setter 拓展属性

func (*TaobaoWlbWmsStockOutOrderNotifyAPIRequest) SetOrderCode

func (r *TaobaoWlbWmsStockOutOrderNotifyAPIRequest) SetOrderCode(_orderCode string) error

OrderCode Setter ERP单据ID

func (*TaobaoWlbWmsStockOutOrderNotifyAPIRequest) SetOrderCreateTime

func (r *TaobaoWlbWmsStockOutOrderNotifyAPIRequest) SetOrderCreateTime(_orderCreateTime string) error

OrderCreateTime Setter 订单创建时间

func (*TaobaoWlbWmsStockOutOrderNotifyAPIRequest) SetOrderItemList

OrderItemList Setter 订单商品信息列表

func (*TaobaoWlbWmsStockOutOrderNotifyAPIRequest) SetOrderType

func (r *TaobaoWlbWmsStockOutOrderNotifyAPIRequest) SetOrderType(_orderType int64) error

OrderType Setter 单据类型 301 调拨出库单、901普通出库单、903 其他出库单 305 B2B出库

func (*TaobaoWlbWmsStockOutOrderNotifyAPIRequest) SetOutboundTypeDesc

func (r *TaobaoWlbWmsStockOutOrderNotifyAPIRequest) SetOutboundTypeDesc(_outboundTypeDesc string) error

OutboundTypeDesc Setter ERP可选择性文本透传至WMS

func (*TaobaoWlbWmsStockOutOrderNotifyAPIRequest) SetPickCall

func (r *TaobaoWlbWmsStockOutOrderNotifyAPIRequest) SetPickCall(_pickCall string) error

PickCall Setter 取件人电话

func (*TaobaoWlbWmsStockOutOrderNotifyAPIRequest) SetPickId

PickId Setter 取件人身份证ID

func (*TaobaoWlbWmsStockOutOrderNotifyAPIRequest) SetPickName

func (r *TaobaoWlbWmsStockOutOrderNotifyAPIRequest) SetPickName(_pickName string) error

PickName Setter 取件人姓名

func (*TaobaoWlbWmsStockOutOrderNotifyAPIRequest) SetPrevOrderCode

func (r *TaobaoWlbWmsStockOutOrderNotifyAPIRequest) SetPrevOrderCode(_prevOrderCode string) error

PrevOrderCode Setter 前物流订单号,如退货入库单可能会用到

func (*TaobaoWlbWmsStockOutOrderNotifyAPIRequest) SetReceiverInfo

ReceiverInfo Setter 收件人信息

func (*TaobaoWlbWmsStockOutOrderNotifyAPIRequest) SetRemark

Remark Setter 备注

func (*TaobaoWlbWmsStockOutOrderNotifyAPIRequest) SetSendTime

func (r *TaobaoWlbWmsStockOutOrderNotifyAPIRequest) SetSendTime(_sendTime string) error

SendTime Setter 要求出库日期

func (*TaobaoWlbWmsStockOutOrderNotifyAPIRequest) SetSenderInfo

SenderInfo Setter 发货方信息

func (*TaobaoWlbWmsStockOutOrderNotifyAPIRequest) SetStoreCode

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

StoreCode Setter 仓储编码

func (*TaobaoWlbWmsStockOutOrderNotifyAPIRequest) SetTransportMode

func (r *TaobaoWlbWmsStockOutOrderNotifyAPIRequest) SetTransportMode(_transportMode string) error

TransportMode Setter 出库方式

type TaobaoWlbWmsStockOutOrderNotifyAPIResponse

type TaobaoWlbWmsStockOutOrderNotifyAPIResponse struct {
	model.CommonResponse
	TaobaoWlbWmsStockOutOrderNotifyAPIResponseModel
}

出库单通知 API返回值 taobao.wlb.wms.stock.out.order.notify

出库单通知

type TaobaoWlbWmsStockOutOrderNotifyAPIResponseModel

type TaobaoWlbWmsStockOutOrderNotifyAPIResponseModel struct {
	XMLName xml.Name `xml:"wlb_wms_stock_out_order_notify_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 错误编码
	WlErrorCode string `json:"wl_error_code,omitempty" xml:"wl_error_code,omitempty"`
	// 是否成功
	WlSuccess bool `json:"wl_success,omitempty" xml:"wl_success,omitempty"`
	// 错误详细
	WlErrorMsg string `json:"wl_error_msg,omitempty" xml:"wl_error_msg,omitempty"`
	// 仓储订单编码
	OrderCode string `json:"order_code,omitempty" xml:"order_code,omitempty"`
}

出库单通知 成功返回结果

type Tmsitem

type Tmsitem struct {
	// ERP商品ID
	ItemId string `json:"item_id,omitempty" xml:"item_id,omitempty"`
	// 商家编码
	ItemCode string `json:"item_code,omitempty" xml:"item_code,omitempty"`
	// 此运单里该商品的数量
	ItemQty int64 `json:"item_qty,omitempty" xml:"item_qty,omitempty"`
}

Tmsitem

type Tmsitemlist

type Tmsitemlist struct {
	// 包裹里面商品
	TmsItem *Tmsitem `json:"tms_item,omitempty" xml:"tms_item,omitempty"`
}

Tmsitemlist

type Tmsorder

type Tmsorder struct {
	// 包材信息
	PackageMaterialList []Packagemateriallist `json:"package_material_list,omitempty" xml:"package_material_list>packagemateriallist,omitempty"`
	// 快递公司服务编码
	TmsCode string `json:"tms_code,omitempty" xml:"tms_code,omitempty"`
	// 运单编码
	TmsOrderCode string `json:"tms_order_code,omitempty" xml:"tms_order_code,omitempty"`
	// 包裹号
	PackageCode string `json:"package_code,omitempty" xml:"package_code,omitempty"`
	// 包裹重量,单位:克
	PackageWeight int64 `json:"package_weight,omitempty" xml:"package_weight,omitempty"`
	// 包裹长度,单位:毫米
	PackageLength int64 `json:"package_length,omitempty" xml:"package_length,omitempty"`
	// 包裹宽度,单位:毫米
	PackageWidth int64 `json:"package_width,omitempty" xml:"package_width,omitempty"`
	// 包裹高度,单位:毫米
	PackageHeight int64 `json:"package_height,omitempty" xml:"package_height,omitempty"`
	// 包裹里面的商品信息列表
	TmsItemList []Tmsitemlist `json:"tms_item_list,omitempty" xml:"tms_item_list>tmsitemlist,omitempty"`
}

Tmsorder

type Tmsorderlist

type Tmsorderlist struct {
	// 运单信息列表
	TmsOrder *Tmsorder `json:"tms_order,omitempty" xml:"tms_order,omitempty"`
}

Tmsorderlist

type WmsInventoryQueryItem

type WmsInventoryQueryItem struct {
	// 仓库编码
	StoreCode string `json:"store_code,omitempty" xml:"store_code,omitempty"`
	// 商品ID
	ItemId string `json:"item_id,omitempty" xml:"item_id,omitempty"`
	// 库存类型(1 正品 101 残次 102 机损 103 箱损 201 冻结库存 301 在途库存 )
	InventoryType int64 `json:"inventory_type,omitempty" xml:"inventory_type,omitempty"`
	// 渠道编码,type=3时字段有返回值。(TB 淘系,OTHERS 其他)
	ChannelCode string `json:"channel_code,omitempty" xml:"channel_code,omitempty"`
	// 库存批次号,type=2时字段有返回值。
	BatchCode string `json:"batch_code,omitempty" xml:"batch_code,omitempty"`
	// 生产日期,type=2时字段有返回值
	ProduceDate string `json:"produce_date,omitempty" xml:"produce_date,omitempty"`
	// 失效日期,type=2时字段有返回值。
	DueDate string `json:"due_date,omitempty" xml:"due_date,omitempty"`
	// 库存数量
	Quantity int64 `json:"quantity,omitempty" xml:"quantity,omitempty"`
	// 锁库存数量
	LockQuantity int64 `json:"lock_quantity,omitempty" xml:"lock_quantity,omitempty"`
}

WmsInventoryQueryItem

type WmsInventoryQueryItemlist

type WmsInventoryQueryItemlist struct {
	// 商品详情
	Item *WmsInventoryQueryItem `json:"item,omitempty" xml:"item,omitempty"`
}

WmsInventoryQueryItemlist

Source Files

Jump to

Keyboard shortcuts

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