updatespushelfstatus

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 ResultData

type ResultData struct {
}

type UpdateSpuShelfStatusRequest

type UpdateSpuShelfStatusRequest struct {
	/**
	 *  更新范围 0:全国 1:门店
	 */
	Scope int32 `json:"scope"`
	/**
	 *  门店 id 列表 spuScope == 1 时必传vendorShopIdList.get(0)是 门店商品对应门店 spuScope == 0 scope == 1 时必传 最多 30 个,所有 vendorShopId 都在美团侧存在映射,若存在无映射 vendorShopId,失败并在错误信息中返回无映射 vendorShopId
	 */
	VendorShopIdList []string `json:"vendorShopIdList"`
	/**
	 *  上下架状态 0:下架 1:上架
	 */
	ShelfStatus int32 `json:"shelfStatus"`
	/**
	 *  商品 spuId 列表 每次最多 50 个
	 */
	VendorSpuIdList []string `json:"vendorSpuIdList"`
	/**
	 *  商品类型 0:品牌商品 1:门店商品 默认品牌纬度
	 */
	SpuScope int32 `json:"spuScope"`
}

func (*UpdateSpuShelfStatusRequest) DoInvoke

type UpdateSpuShelfStatusResponse

type UpdateSpuShelfStatusResponse struct {
	Code string `json:"code"`
	Msg  string `json:"msg"`
	/**
	 * key:vendorSpuId value:同步结果,成功返回 “成功”,失败则返回相应的异常信息
	 */
	Data    ResultData `json:"data"`
	TraceId string     `json:"traceId"`
}

func (*UpdateSpuShelfStatusResponse) IsSuccess

func (response *UpdateSpuShelfStatusResponse) IsSuccess() bool

Jump to

Keyboard shortcuts

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