Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BatchUpdateShopSkuStockRequest ¶
type BatchUpdateShopSkuStockRequest struct { /** * SKU 库存 最多传 50 个,要求所有 vendorShopId 都在美团侧存在映射,若存在无映射 vendorShopId,失败并在错误信息中返回无映射 vendorShopId */ VendorSkuStockList []VendorSkuStockDTO `json:"vendorSkuStockList"` }
func (*BatchUpdateShopSkuStockRequest) DoInvoke ¶
func (req *BatchUpdateShopSkuStockRequest) DoInvoke(client mtclient.MeituanClient, appAuthToken string) (*BatchUpdateShopSkuStockResponse, error)
type BatchUpdateShopSkuStockResponse ¶
type BatchUpdateShopSkuStockResponse struct { Code string `json:"code"` Msg string `json:"msg"` /** * key:vendorShopId-vendorSpuId-vendorSkuId value:同步结果,成功返回 “成功”,失败则返回相应的异常信息 */ Data ResultData `json:"data"` TraceId string `json:"traceId"` }
func (*BatchUpdateShopSkuStockResponse) IsSuccess ¶
func (response *BatchUpdateShopSkuStockResponse) IsSuccess() bool
type ResultData ¶
type ResultData struct { }
type VendorSkuStockDTO ¶
type VendorSkuStockDTO struct { /** * 门店 id */ VendorShopId string `json:"vendorShopId"` /** * 商品 spuId */ VendorSpuId string `json:"vendorSpuId"` /** * 商品 skuId */ VendorSkuId string `json:"vendorSkuId"` /** * 库存数量 */ Stock int32 `json:"stock"` /** * 0:品牌商品 1:门店商品 默认品牌商品 */ ProductScope int32 `json:"productScope"` }
Click to show internal directories.
Click to hide internal directories.