batchupdateshopskustock

package
v0.0.0-...-905ac7b Latest Latest
Warning

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

Go to latest
Published: Apr 29, 2024 License: GPL-3.0 Imports: 4 Imported by: 0

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

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

Jump to

Keyboard shortcuts

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