Documentation ¶
Overview ¶
Package lstwarehouse 包含零售通仓储API相关结构体
Index ¶
- type AlibabalstbranddatasharestockdataqueryAPIRequest
- func (r AlibabalstbranddatasharestockdataqueryAPIRequest) GetApiMethodName() string
- func (r AlibabalstbranddatasharestockdataqueryAPIRequest) GetApiParams(params url.Values)
- func (r AlibabalstbranddatasharestockdataqueryAPIRequest) GetParam() *BmSupplierStockDataParam
- func (r AlibabalstbranddatasharestockdataqueryAPIRequest) GetRawParams() model.Params
- func (r *AlibabalstbranddatasharestockdataqueryAPIRequest) SetParam(_param *BmSupplierStockDataParam) error
- type AlibabalstbranddatasharestockdataqueryAPIResponse
- type AlibabalstbranddatasharestockdataqueryAPIResponseModel
- type AlibabalstbranddatasharestockdataqueryResult
- type AlibabalstbranddatasharesupplierslistqueryAPIRequest
- type AlibabalstbranddatasharesupplierslistqueryAPIResponse
- type AlibabalstbranddatasharesupplierslistqueryAPIResponseModel
- type AlibabalsticstockitemsupdateAPIRequest
- func (r AlibabalsticstockitemsupdateAPIRequest) GetApiMethodName() string
- func (r AlibabalsticstockitemsupdateAPIRequest) GetApiParams(params url.Values)
- func (r AlibabalsticstockitemsupdateAPIRequest) GetQuery() *LstItemStockParam
- func (r AlibabalsticstockitemsupdateAPIRequest) GetRawParams() model.Params
- func (r *AlibabalsticstockitemsupdateAPIRequest) SetQuery(_query *LstItemStockParam) error
- type AlibabalsticstockitemsupdateAPIResponse
- type AlibabalsticstockitemsupdateAPIResponseModel
- type AlibabalsticstockitemsupdateResult
- type AlibabalsttradesellerwarehousequeryAPIRequest
- func (r AlibabalsttradesellerwarehousequeryAPIRequest) GetApiMethodName() string
- func (r AlibabalsttradesellerwarehousequeryAPIRequest) GetApiParams(params url.Values)
- func (r AlibabalsttradesellerwarehousequeryAPIRequest) GetRawParams() model.Params
- func (r AlibabalsttradesellerwarehousequeryAPIRequest) GetWarehouseQueryParam() *WarehouseQueryParam
- func (r *AlibabalsttradesellerwarehousequeryAPIRequest) SetWarehouseQueryParam(_warehouseQueryParam *WarehouseQueryParam) error
- type AlibabalsttradesellerwarehousequeryAPIResponse
- type AlibabalsttradesellerwarehousequeryAPIResponseModel
- type AlibabalsttradesellerwarehousequeryResult
- type BmSupplierStockDataParam
- type Content
- type LstItemStockParam
- type Stocklist
- type WarehouseQueryParam
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AlibabalstbranddatasharestockdataqueryAPIRequest ¶ added in v1.3.1
type AlibabalstbranddatasharestockdataqueryAPIRequest struct { // contains filtered or unexported fields }
AlibabalstbranddatasharestockdataqueryAPIRequest 查询品牌商品实仓库存/周转效能 API请求 alibaba.lst.branddatashare.stockdata.query
品牌商查询授权供应商实仓库存数据
func NewAlibabalstbranddatasharestockdataqueryRequest ¶ added in v1.3.1
func NewAlibabalstbranddatasharestockdataqueryRequest() *AlibabalstbranddatasharestockdataqueryAPIRequest
NewAlibabalstbranddatasharestockdataqueryRequest 初始化AlibabalstbranddatasharestockdataqueryAPIRequest对象
func (AlibabalstbranddatasharestockdataqueryAPIRequest) GetApiMethodName ¶ added in v1.3.1
func (r AlibabalstbranddatasharestockdataqueryAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (AlibabalstbranddatasharestockdataqueryAPIRequest) GetApiParams ¶ added in v1.3.1
func (r AlibabalstbranddatasharestockdataqueryAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (AlibabalstbranddatasharestockdataqueryAPIRequest) GetParam ¶ added in v1.3.1
func (r AlibabalstbranddatasharestockdataqueryAPIRequest) GetParam() *BmSupplierStockDataParam
GetParam Param Getter
func (AlibabalstbranddatasharestockdataqueryAPIRequest) GetRawParams ¶ added in v1.3.1
func (r AlibabalstbranddatasharestockdataqueryAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (*AlibabalstbranddatasharestockdataqueryAPIRequest) SetParam ¶ added in v1.3.1
func (r *AlibabalstbranddatasharestockdataqueryAPIRequest) SetParam(_param *BmSupplierStockDataParam) error
SetParam is Param Setter 入参
type AlibabalstbranddatasharestockdataqueryAPIResponse ¶ added in v1.3.1
type AlibabalstbranddatasharestockdataqueryAPIResponse struct {}
AlibabalstbranddatasharestockdataqueryAPIResponse 查询品牌商品实仓库存/周转效能 API返回值 alibaba.lst.branddatashare.stockdata.query
品牌商查询授权供应商实仓库存数据
type AlibabalstbranddatasharestockdataqueryAPIResponseModel ¶ added in v1.3.1
type AlibabalstbranddatasharestockdataqueryAPIResponseModel struct { string `json:"request_id,omitempty" xml:"request_id,omitempty"` Result *AlibabalstbranddatasharestockdataqueryResult `json:"result,omitempty" xml:"result,omitempty"` }RequestId
AlibabalstbranddatasharestockdataqueryAPIResponseModel is 查询品牌商品实仓库存/周转效能 成功返回结果
type AlibabalstbranddatasharestockdataqueryResult ¶ added in v1.3.1
type AlibabalstbranddatasharestockdataqueryResult struct { 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"` }ContentList []
AlibabalstbranddatasharestockdataqueryResult 结构体
type AlibabalstbranddatasharesupplierslistqueryAPIRequest ¶ added in v1.3.1
type AlibabalstbranddatasharesupplierslistqueryAPIRequest struct {
}AlibabalstbranddatasharesupplierslistqueryAPIRequest 品牌数据授权的供应商列表 API请求 alibaba.lst.branddatashare.suppliers.list.query
品牌商查询品牌数据授权的供应商列表
func NewAlibabalstbranddatasharesupplierslistqueryRequest ¶ added in v1.3.1
func NewAlibabalstbranddatasharesupplierslistqueryRequest() *AlibabalstbranddatasharesupplierslistqueryAPIRequest
NewAlibabalstbranddatasharesupplierslistqueryRequest 初始化AlibabalstbranddatasharesupplierslistqueryAPIRequest对象
func (AlibabalstbranddatasharesupplierslistqueryAPIRequest) GetApiMethodName ¶ added in v1.3.1
func (r AlibabalstbranddatasharesupplierslistqueryAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (AlibabalstbranddatasharesupplierslistqueryAPIRequest) GetApiParams ¶ added in v1.3.1
func (r AlibabalstbranddatasharesupplierslistqueryAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (AlibabalstbranddatasharesupplierslistqueryAPIRequest) GetRawParams ¶ added in v1.3.1
func (r AlibabalstbranddatasharesupplierslistqueryAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
type AlibabalstbranddatasharesupplierslistqueryAPIResponse ¶ added in v1.3.1
type AlibabalstbranddatasharesupplierslistqueryAPIResponse struct {}
AlibabalstbranddatasharesupplierslistqueryAPIResponse 品牌数据授权的供应商列表 API返回值 alibaba.lst.branddatashare.suppliers.list.query
品牌商查询品牌数据授权的供应商列表
type AlibabalstbranddatasharesupplierslistqueryAPIResponseModel ¶ added in v1.3.1
type AlibabalstbranddatasharesupplierslistqueryAPIResponseModel struct { string `json:"request_id,omitempty" xml:"request_id,omitempty"` ContentList []Content `json:"content_list,omitempty" xml:"content_list>content,omitempty"` }RequestId
AlibabalstbranddatasharesupplierslistqueryAPIResponseModel is 品牌数据授权的供应商列表 成功返回结果
type AlibabalsticstockitemsupdateAPIRequest ¶ added in v1.3.1
type AlibabalsticstockitemsupdateAPIRequest struct { model.Params // contains filtered or unexported fields }
AlibabalsticstockitemsupdateAPIRequest 零售通经销商商品库存设置 API请求 alibaba.lst.ic.stock.items.update
零售通经销商商品库存设置
func NewAlibabalsticstockitemsupdateRequest ¶ added in v1.3.1
func NewAlibabalsticstockitemsupdateRequest() *AlibabalsticstockitemsupdateAPIRequest
NewAlibabalsticstockitemsupdateRequest 初始化AlibabalsticstockitemsupdateAPIRequest对象
func (AlibabalsticstockitemsupdateAPIRequest) GetApiMethodName ¶ added in v1.3.1
func (r AlibabalsticstockitemsupdateAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (AlibabalsticstockitemsupdateAPIRequest) GetApiParams ¶ added in v1.3.1
func (r AlibabalsticstockitemsupdateAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (AlibabalsticstockitemsupdateAPIRequest) GetQuery ¶ added in v1.3.1
func (r AlibabalsticstockitemsupdateAPIRequest) GetQuery() *LstItemStockParam
GetQuery Query Getter
func (AlibabalsticstockitemsupdateAPIRequest) GetRawParams ¶ added in v1.3.1
func (r AlibabalsticstockitemsupdateAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (*AlibabalsticstockitemsupdateAPIRequest) SetQuery ¶ added in v1.3.1
func (r *AlibabalsticstockitemsupdateAPIRequest) SetQuery(_query *LstItemStockParam) error
SetQuery is Query Setter 零售通经销商商品库存
type AlibabalsticstockitemsupdateAPIResponse ¶ added in v1.3.1
type AlibabalsticstockitemsupdateAPIResponse struct { model.CommonResponse AlibabalsticstockitemsupdateAPIResponseModel }
AlibabalsticstockitemsupdateAPIResponse 零售通经销商商品库存设置 API返回值 alibaba.lst.ic.stock.items.update
零售通经销商商品库存设置
type AlibabalsticstockitemsupdateAPIResponseModel ¶ added in v1.3.1
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 ¶ added in v1.3.1
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.3.1
type AlibabalsttradesellerwarehousequeryAPIRequest struct { model.Params // contains filtered or unexported fields }
AlibabalsttradesellerwarehousequeryAPIRequest 供应商-本云商家-仓库查询接口 API请求 alibaba.lst.trade.seller.warehouse.query
查询本地云仓商家的仓库
func NewAlibabalsttradesellerwarehousequeryRequest ¶ added in v1.3.1
func NewAlibabalsttradesellerwarehousequeryRequest() *AlibabalsttradesellerwarehousequeryAPIRequest
NewAlibabalsttradesellerwarehousequeryRequest 初始化AlibabalsttradesellerwarehousequeryAPIRequest对象
func (AlibabalsttradesellerwarehousequeryAPIRequest) GetApiMethodName ¶ added in v1.3.1
func (r AlibabalsttradesellerwarehousequeryAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (AlibabalsttradesellerwarehousequeryAPIRequest) GetApiParams ¶ added in v1.3.1
func (r AlibabalsttradesellerwarehousequeryAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (AlibabalsttradesellerwarehousequeryAPIRequest) GetRawParams ¶ added in v1.3.1
func (r AlibabalsttradesellerwarehousequeryAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (AlibabalsttradesellerwarehousequeryAPIRequest) GetWarehouseQueryParam ¶ added in v1.3.1
func (r AlibabalsttradesellerwarehousequeryAPIRequest) GetWarehouseQueryParam() *WarehouseQueryParam
GetWarehouseQueryParam WarehouseQueryParam Getter
func (*AlibabalsttradesellerwarehousequeryAPIRequest) SetWarehouseQueryParam ¶ added in v1.3.1
func (r *AlibabalsttradesellerwarehousequeryAPIRequest) SetWarehouseQueryParam(_warehouseQueryParam *WarehouseQueryParam) error
SetWarehouseQueryParam is WarehouseQueryParam Setter 入参
type AlibabalsttradesellerwarehousequeryAPIResponse ¶ added in v1.3.1
type AlibabalsttradesellerwarehousequeryAPIResponse struct { model.CommonResponse AlibabalsttradesellerwarehousequeryAPIResponseModel }
AlibabalsttradesellerwarehousequeryAPIResponse 供应商-本云商家-仓库查询接口 API返回值 alibaba.lst.trade.seller.warehouse.query
查询本地云仓商家的仓库
type AlibabalsttradesellerwarehousequeryAPIResponseModel ¶ added in v1.3.1
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 ¶ added in v1.3.1
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 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 结构体
Source Files ¶
- AlibabaLstBranddatashareStockdataQueryAPIRequest.go
- AlibabaLstBranddatashareStockdataQueryAPIResponse.go
- AlibabaLstBranddatashareStockdataQueryResult.go
- AlibabaLstBranddatashareSuppliersListQueryAPIRequest.go
- AlibabaLstBranddatashareSuppliersListQueryAPIResponse.go
- AlibabaLstIcStockItemsUpdateAPIRequest.go
- AlibabaLstIcStockItemsUpdateAPIResponse.go
- AlibabaLstIcStockItemsUpdateResult.go
- AlibabaLstTradeSellerWarehouseQueryAPIRequest.go
- AlibabaLstTradeSellerWarehouseQueryAPIResponse.go
- AlibabaLstTradeSellerWarehouseQueryResult.go
- BmSupplierStockDataParam.go
- Content.go
- LstItemStockParam.go
- Stocklist.go
- WarehouseQueryParam.go
- doc.go