lstwarehouse

package
v1.2.2 Latest Latest
Warning

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

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

Documentation

Overview

Package lstwarehouse 包含零售通仓储API相关结构体

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

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AlibabaLstBranddatashareStockdataQueryAPIRequest added in v1.2.0

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

AlibabaLstBranddatashareStockdataQueryAPIRequest 查询品牌商品实仓库存/周转效能 API请求 alibaba.lst.branddatashare.stockdata.query

品牌商查询授权供应商实仓库存数据

func NewAlibabaLstBranddatashareStockdataQueryRequest

func NewAlibabaLstBranddatashareStockdataQueryRequest() *AlibabaLstBranddatashareStockdataQueryAPIRequest

NewAlibabaLstBranddatashareStockdataQueryRequest 初始化AlibabaLstBranddatashareStockdataQueryAPIRequest对象

func (AlibabaLstBranddatashareStockdataQueryAPIRequest) GetApiMethodName added in v1.2.0

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaLstBranddatashareStockdataQueryAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaLstBranddatashareStockdataQueryAPIRequest) GetParam added in v1.2.0

GetParam Param Getter

func (*AlibabaLstBranddatashareStockdataQueryAPIRequest) SetParam added in v1.2.0

SetParam is Param Setter 入参

type AlibabaLstBranddatashareStockdataQueryAPIResponse

type AlibabaLstBranddatashareStockdataQueryAPIResponse struct {
	model.CommonResponse
	AlibabaLstBranddatashareStockdataQueryAPIResponseModel
}

AlibabaLstBranddatashareStockdataQueryAPIResponse 查询品牌商品实仓库存/周转效能 API返回值 alibaba.lst.branddatashare.stockdata.query

品牌商查询授权供应商实仓库存数据

type AlibabaLstBranddatashareStockdataQueryAPIResponseModel added in v1.2.0

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

AlibabaLstBranddatashareStockdataQueryAPIResponseModel is 查询品牌商品实仓库存/周转效能 成功返回结果

type AlibabaLstBranddatashareStockdataQueryResult

type AlibabaLstBranddatashareStockdataQueryResult struct {
	// 返回内容
	ContentList []Content `json:"content_list,omitempty" xml:"content_list>content,omitempty"`
	// 错误描述
	ErrorMessage string `json:"error_message,omitempty" xml:"error_message,omitempty"`
	// 错误码
	ErrorCode string `json:"error_code,omitempty" xml:"error_code,omitempty"`
	// 总记录数
	Total int64 `json:"total,omitempty" xml:"total,omitempty"`
	// 每页记录数
	Size int64 `json:"size,omitempty" xml:"size,omitempty"`
	// 页码
	Page int64 `json:"page,omitempty" xml:"page,omitempty"`
	// 是否成功
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
}

AlibabaLstBranddatashareStockdataQueryResult 结构体

type AlibabaLstBranddatashareSuppliersListQueryAPIRequest added in v1.2.0

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

AlibabaLstBranddatashareSuppliersListQueryAPIRequest 品牌数据授权的供应商列表 API请求 alibaba.lst.branddatashare.suppliers.list.query

品牌商查询品牌数据授权的供应商列表

func NewAlibabaLstBranddatashareSuppliersListQueryRequest

func NewAlibabaLstBranddatashareSuppliersListQueryRequest() *AlibabaLstBranddatashareSuppliersListQueryAPIRequest

NewAlibabaLstBranddatashareSuppliersListQueryRequest 初始化AlibabaLstBranddatashareSuppliersListQueryAPIRequest对象

func (AlibabaLstBranddatashareSuppliersListQueryAPIRequest) GetApiMethodName added in v1.2.0

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaLstBranddatashareSuppliersListQueryAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaLstBranddatashareSuppliersListQueryAPIRequest) GetQuery added in v1.2.0

GetQuery Query Getter

func (*AlibabaLstBranddatashareSuppliersListQueryAPIRequest) SetQuery added in v1.2.0

SetQuery is Query Setter 入参

type AlibabaLstBranddatashareSuppliersListQueryAPIResponse

type AlibabaLstBranddatashareSuppliersListQueryAPIResponse struct {
	model.CommonResponse
	AlibabaLstBranddatashareSuppliersListQueryAPIResponseModel
}

AlibabaLstBranddatashareSuppliersListQueryAPIResponse 品牌数据授权的供应商列表 API返回值 alibaba.lst.branddatashare.suppliers.list.query

品牌商查询品牌数据授权的供应商列表

type AlibabaLstBranddatashareSuppliersListQueryAPIResponseModel added in v1.2.0

type AlibabaLstBranddatashareSuppliersListQueryAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_lst_branddatashare_suppliers_list_query_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 返回值列表
	ContentList []Content `json:"content_list,omitempty" xml:"content_list>content,omitempty"`
}

AlibabaLstBranddatashareSuppliersListQueryAPIResponseModel is 品牌数据授权的供应商列表 成功返回结果

type AlibabaLstIcStockItemsUpdateAPIRequest added in v1.2.0

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

AlibabaLstIcStockItemsUpdateAPIRequest 零售通经销商商品库存设置 API请求 alibaba.lst.ic.stock.items.update

零售通经销商商品库存设置

func NewAlibabaLstIcStockItemsUpdateRequest

func NewAlibabaLstIcStockItemsUpdateRequest() *AlibabaLstIcStockItemsUpdateAPIRequest

NewAlibabaLstIcStockItemsUpdateRequest 初始化AlibabaLstIcStockItemsUpdateAPIRequest对象

func (AlibabaLstIcStockItemsUpdateAPIRequest) GetApiMethodName added in v1.2.0

func (r AlibabaLstIcStockItemsUpdateAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaLstIcStockItemsUpdateAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaLstIcStockItemsUpdateAPIRequest) GetQuery added in v1.2.0

GetQuery Query Getter

func (*AlibabaLstIcStockItemsUpdateAPIRequest) SetQuery added in v1.2.0

SetQuery is Query Setter 零售通经销商商品库存

type AlibabaLstIcStockItemsUpdateAPIResponse

type AlibabaLstIcStockItemsUpdateAPIResponse struct {
	model.CommonResponse
	AlibabaLstIcStockItemsUpdateAPIResponseModel
}

AlibabaLstIcStockItemsUpdateAPIResponse 零售通经销商商品库存设置 API返回值 alibaba.lst.ic.stock.items.update

零售通经销商商品库存设置

type AlibabaLstIcStockItemsUpdateAPIResponseModel added in v1.2.0

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

AlibabaLstIcStockItemsUpdateAPIResponseModel is 零售通经销商商品库存设置 成功返回结果

type AlibabaLstIcStockItemsUpdateResult

type AlibabaLstIcStockItemsUpdateResult struct {
	// 列表
	ContentList []Content `json:"content_list,omitempty" xml:"content_list>content,omitempty"`
	// errorMsg
	ErrorMessage string `json:"error_message,omitempty" xml:"error_message,omitempty"`
	// 错误码
	ErrorCode string `json:"error_code,omitempty" xml:"error_code,omitempty"`
	// 是否成功
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
}

AlibabaLstIcStockItemsUpdateResult 结构体

type AlibabaLstTradeSellerWarehouseQueryAPIRequest added in v1.2.0

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

AlibabaLstTradeSellerWarehouseQueryAPIRequest 供应商-本云商家-仓库查询接口 API请求 alibaba.lst.trade.seller.warehouse.query

查询本地云仓商家的仓库

func NewAlibabaLstTradeSellerWarehouseQueryRequest

func NewAlibabaLstTradeSellerWarehouseQueryRequest() *AlibabaLstTradeSellerWarehouseQueryAPIRequest

NewAlibabaLstTradeSellerWarehouseQueryRequest 初始化AlibabaLstTradeSellerWarehouseQueryAPIRequest对象

func (AlibabaLstTradeSellerWarehouseQueryAPIRequest) GetApiMethodName added in v1.2.0

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaLstTradeSellerWarehouseQueryAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaLstTradeSellerWarehouseQueryAPIRequest) GetWarehouseQueryParam added in v1.2.0

GetWarehouseQueryParam WarehouseQueryParam Getter

func (*AlibabaLstTradeSellerWarehouseQueryAPIRequest) SetWarehouseQueryParam added in v1.2.0

func (r *AlibabaLstTradeSellerWarehouseQueryAPIRequest) SetWarehouseQueryParam(_warehouseQueryParam *WarehouseQueryParam) error

SetWarehouseQueryParam is WarehouseQueryParam Setter 入参

type AlibabaLstTradeSellerWarehouseQueryAPIResponse

type AlibabaLstTradeSellerWarehouseQueryAPIResponse struct {
	model.CommonResponse
	AlibabaLstTradeSellerWarehouseQueryAPIResponseModel
}

AlibabaLstTradeSellerWarehouseQueryAPIResponse 供应商-本云商家-仓库查询接口 API返回值 alibaba.lst.trade.seller.warehouse.query

查询本地云仓商家的仓库

type AlibabaLstTradeSellerWarehouseQueryAPIResponseModel added in v1.2.0

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

AlibabaLstTradeSellerWarehouseQueryAPIResponseModel is 供应商-本云商家-仓库查询接口 成功返回结果

type AlibabaLstTradeSellerWarehouseQueryResult

type AlibabaLstTradeSellerWarehouseQueryResult struct {
	// 记录
	ContentList []Content `json:"content_list,omitempty" xml:"content_list>content,omitempty"`
	// 系统自动生成
	ErrorMessage string `json:"error_message,omitempty" xml:"error_message,omitempty"`
	// 错误码
	ErrorCode string `json:"error_code,omitempty" xml:"error_code,omitempty"`
	// 总数
	Total int64 `json:"total,omitempty" xml:"total,omitempty"`
	// 每页最大记录数
	Size int64 `json:"size,omitempty" xml:"size,omitempty"`
	// 页码
	Page int64 `json:"page,omitempty" xml:"page,omitempty"`
	// 是否成功
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
}

AlibabaLstTradeSellerWarehouseQueryResult 结构体

type BmSupplierStockDataParam

type BmSupplierStockDataParam struct {
	// 供应商memberId
	SupplierMemberId string `json:"supplier_member_id,omitempty" xml:"supplier_member_id,omitempty"`
	// 品牌名称
	BrandName string `json:"brand_name,omitempty" xml:"brand_name,omitempty"`
	// 数据日期,格式:yyyy-MM-dd
	StatDate string `json:"stat_date,omitempty" xml:"stat_date,omitempty"`
	// 页码
	Page int64 `json:"page,omitempty" xml:"page,omitempty"`
	// 每页记录数
	Size int64 `json:"size,omitempty" xml:"size,omitempty"`
}

BmSupplierStockDataParam 结构体

type Content

type Content struct {
	// 品牌名称列表
	BrandNameList []string `json:"brand_name_list,omitempty" xml:"brand_name_list>string,omitempty"`
	// 是否禁止补货
	IsNoRm string `json:"is_no_rm,omitempty" xml:"is_no_rm,omitempty"`
	// 报价状态
	ProductQuoteStatus string `json:"product_quote_status,omitempty" xml:"product_quote_status,omitempty"`
	// 单品编码
	CspuId string `json:"cspu_id,omitempty" xml:"cspu_id,omitempty"`
	// 是否在售
	IsOnline string `json:"is_online,omitempty" xml:"is_online,omitempty"`
	// 销售单位
	SaleUnitDesc string `json:"sale_unit_desc,omitempty" xml:"sale_unit_desc,omitempty"`
	// 当前商品分层
	ItmLevel string `json:"itm_level,omitempty" xml:"itm_level,omitempty"`
	// 补货配送方式
	RmShipType string `json:"rm_ship_type,omitempty" xml:"rm_ship_type,omitempty"`
	// 出清状态
	LiquidationStatus string `json:"liquidation_status,omitempty" xml:"liquidation_status,omitempty"`
	// 仓库名称
	WhName string `json:"wh_name,omitempty" xml:"wh_name,omitempty"`
	// 单品名称
	CspuName string `json:"cspu_name,omitempty" xml:"cspu_name,omitempty"`
	// 仓库类型名称
	SubWhTypeName string `json:"sub_wh_type_name,omitempty" xml:"sub_wh_type_name,omitempty"`
	// 前端商品列表
	ItemsId string `json:"items_id,omitempty" xml:"items_id,omitempty"`
	// 公司名称
	Company string `json:"company,omitempty" xml:"company,omitempty"`
	// 单价
	UnitPrice string `json:"unit_price,omitempty" xml:"unit_price,omitempty"`
	// 数据日期
	StatDate string `json:"stat_date,omitempty" xml:"stat_date,omitempty"`
	// 在途数量
	AllocOpQty string `json:"alloc_op_qty,omitempty" xml:"alloc_op_qty,omitempty"`
	// 品牌名称
	BrandName string `json:"brand_name,omitempty" xml:"brand_name,omitempty"`
	// 条码
	BarCodeList string `json:"bar_code_list,omitempty" xml:"bar_code_list,omitempty"`
	// 是否OB
	IsOb string `json:"is_ob,omitempty" xml:"is_ob,omitempty"`
	// 货品id
	BackOfferId string `json:"back_offer_id,omitempty" xml:"back_offer_id,omitempty"`
	// 箱规数
	CartonPcs string `json:"carton_pcs,omitempty" xml:"carton_pcs,omitempty"`
	// 是否缺货
	IsOos string `json:"is_oos,omitempty" xml:"is_oos,omitempty"`
	// 首次入库时间
	FstInboundTime string `json:"fst_inbound_time,omitempty" xml:"fst_inbound_time,omitempty"`
	// 最小起批量
	MinBuyQty string `json:"min_buy_qty,omitempty" xml:"min_buy_qty,omitempty"`
	// 最小购买倍数
	MinBuyMultiple string `json:"min_buy_multiple,omitempty" xml:"min_buy_multiple,omitempty"`
	// 是否滞销
	IsDull string `json:"is_dull,omitempty" xml:"is_dull,omitempty"`
	// 二级类目名称
	CateLv2Name string `json:"cate_lv2_name,omitempty" xml:"cate_lv2_name,omitempty"`
	// 上级仓名称
	ParentWhName string `json:"parent_wh_name,omitempty" xml:"parent_wh_name,omitempty"`
	// 大区名称
	BigAreaName string `json:"big_area_name,omitempty" xml:"big_area_name,omitempty"`
	// 一级类目名称
	CateLv1Name string `json:"cate_lv1_name,omitempty" xml:"cate_lv1_name,omitempty"`
	// 三级类目名称
	CateLv3Name string `json:"cate_lv3_name,omitempty" xml:"cate_lv3_name,omitempty"`
	// 滞销库存临界天数
	UnsaleInstockDays string `json:"unsale_instock_days,omitempty" xml:"unsale_instock_days,omitempty"`
	// 供应商memberId
	SupplierMemberId string `json:"supplier_member_id,omitempty" xml:"supplier_member_id,omitempty"`
	// 错误code
	Code string `json:"code,omitempty" xml:"code,omitempty"`
	// 错误描述
	Desc string `json:"desc,omitempty" xml:"desc,omitempty"`
	// 实仓:cainiao,商家仓:customer
	WarehouseType string `json:"warehouse_type,omitempty" xml:"warehouse_type,omitempty"`
	// 仓库名称
	WarehouseName string `json:"warehouse_name,omitempty" xml:"warehouse_name,omitempty"`
	// 仓库code
	WarehouseCode string `json:"warehouse_code,omitempty" xml:"warehouse_code,omitempty"`
	// 连续缺货天数
	OssDaysStd001 int64 `json:"oss_days_std001,omitempty" xml:"oss_days_std001,omitempty"`
	// 可售库存
	DeportItmQtyStd008 int64 `json:"deport_itm_qty_std008,omitempty" xml:"deport_itm_qty_std008,omitempty"`
	// 残次品在仓商品件数
	DeportItmQtyStd005 int64 `json:"deport_itm_qty_std005,omitempty" xml:"deport_itm_qty_std005,omitempty"`
	// 首次入库天数
	FstInboundDays int64 `json:"fst_inbound_days,omitempty" xml:"fst_inbound_days,omitempty"`
	// 商品Id
	ItemId int64 `json:"item_id,omitempty" xml:"item_id,omitempty"`
	// 成功/失败
	Result bool `json:"result,omitempty" xml:"result,omitempty"`
}

Content 结构体

type LstBmSupplierQuery

type LstBmSupplierQuery struct {
}

LstBmSupplierQuery 结构体

type LstItemStockParam

type LstItemStockParam struct {
	// 库存参数列表
	StockList []Stocklist `json:"stock_list,omitempty" xml:"stock_list>stocklist,omitempty"`
}

LstItemStockParam 结构体

type Stocklist

type Stocklist struct {
	// 商家仓仓库code
	WarehouseCode string `json:"warehouse_code,omitempty" xml:"warehouse_code,omitempty"`
	// 要设置的库存数量
	Amount int64 `json:"amount,omitempty" xml:"amount,omitempty"`
	// 商品ID
	ItemId int64 `json:"item_id,omitempty" xml:"item_id,omitempty"`
}

Stocklist 结构体

type WarehouseQueryParam

type WarehouseQueryParam struct {
	// 页码
	Page int64 `json:"page,omitempty" xml:"page,omitempty"`
	// 每页最大记录数
	Size int64 `json:"size,omitempty" xml:"size,omitempty"`
}

WarehouseQueryParam 结构体

Jump to

Keyboard shortcuts

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