moscm

package
v1.2.9 Latest Latest
Warning

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

Go to latest
Published: Oct 11, 2023 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Package moscm 包含银泰scm-openapi相关结构体

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

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AlibabaMosDeliverySendAPIRequest added in v1.2.0

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

AlibabaMosDeliverySendAPIRequest 发货 API请求 alibaba.mos.delivery.send

订单发货填写快递单

func NewAlibabaMosDeliverySendRequest

func NewAlibabaMosDeliverySendRequest() *AlibabaMosDeliverySendAPIRequest

NewAlibabaMosDeliverySendRequest 初始化AlibabaMosDeliverySendAPIRequest对象

func (AlibabaMosDeliverySendAPIRequest) GetApiMethodName added in v1.2.0

func (r AlibabaMosDeliverySendAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaMosDeliverySendAPIRequest) GetApiParams added in v1.2.0

func (r AlibabaMosDeliverySendAPIRequest) GetApiParams(params url.Values)

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaMosDeliverySendAPIRequest) GetDeliveryDto added in v1.2.0

func (r AlibabaMosDeliverySendAPIRequest) GetDeliveryDto() *DeliveryDto

GetDeliveryDto DeliveryDto Getter

func (AlibabaMosDeliverySendAPIRequest) GetRawParams added in v1.2.8

GetRawParams IRequest interface 方法, 获取API原始参数

func (*AlibabaMosDeliverySendAPIRequest) SetDeliveryDto added in v1.2.0

func (r *AlibabaMosDeliverySendAPIRequest) SetDeliveryDto(_deliveryDto *DeliveryDto) error

SetDeliveryDto is DeliveryDto Setter 发货信息

type AlibabaMosDeliverySendAPIResponse

type AlibabaMosDeliverySendAPIResponse struct {
	model.CommonResponse
	AlibabaMosDeliverySendAPIResponseModel
}

AlibabaMosDeliverySendAPIResponse 发货 API返回值 alibaba.mos.delivery.send

订单发货填写快递单

type AlibabaMosDeliverySendAPIResponseModel added in v1.2.0

type AlibabaMosDeliverySendAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_mos_delivery_send_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 返回结果
	Result *AlibabaMosDeliverySendResultDo `json:"result,omitempty" xml:"result,omitempty"`
}

AlibabaMosDeliverySendAPIResponseModel is 发货 成功返回结果

type AlibabaMosDeliverySendResultDo

type AlibabaMosDeliverySendResultDo struct {
	// 异常信息
	SubMsg string `json:"sub_msg,omitempty" xml:"sub_msg,omitempty"`
	// 编码
	SubCode string `json:"sub_code,omitempty" xml:"sub_code,omitempty"`
	// 调用是否成功
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
}

AlibabaMosDeliverySendResultDo 结构体

type AlibabaMosGoodsAdjustAPIRequest added in v1.2.0

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

AlibabaMosGoodsAdjustAPIRequest 调整库存 API请求 alibaba.mos.goods.adjust

库存调整接口

func NewAlibabaMosGoodsAdjustRequest

func NewAlibabaMosGoodsAdjustRequest() *AlibabaMosGoodsAdjustAPIRequest

NewAlibabaMosGoodsAdjustRequest 初始化AlibabaMosGoodsAdjustAPIRequest对象

func (AlibabaMosGoodsAdjustAPIRequest) GetApiMethodName added in v1.2.0

func (r AlibabaMosGoodsAdjustAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaMosGoodsAdjustAPIRequest) GetApiParams added in v1.2.0

func (r AlibabaMosGoodsAdjustAPIRequest) GetApiParams(params url.Values)

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaMosGoodsAdjustAPIRequest) GetParamIsvStockAdjustRequestDTO added in v1.2.0

func (r AlibabaMosGoodsAdjustAPIRequest) GetParamIsvStockAdjustRequestDTO() *IsvStockAdjustRequestDto

GetParamIsvStockAdjustRequestDTO ParamIsvStockAdjustRequestDTO Getter

func (AlibabaMosGoodsAdjustAPIRequest) GetRawParams added in v1.2.8

func (r AlibabaMosGoodsAdjustAPIRequest) GetRawParams() model.Params

GetRawParams IRequest interface 方法, 获取API原始参数

func (*AlibabaMosGoodsAdjustAPIRequest) SetParamIsvStockAdjustRequestDTO added in v1.2.0

func (r *AlibabaMosGoodsAdjustAPIRequest) SetParamIsvStockAdjustRequestDTO(_paramIsvStockAdjustRequestDTO *IsvStockAdjustRequestDto) error

SetParamIsvStockAdjustRequestDTO is ParamIsvStockAdjustRequestDTO Setter 库存调整入参

type AlibabaMosGoodsAdjustAPIResponse

type AlibabaMosGoodsAdjustAPIResponse struct {
	model.CommonResponse
	AlibabaMosGoodsAdjustAPIResponseModel
}

AlibabaMosGoodsAdjustAPIResponse 调整库存 API返回值 alibaba.mos.goods.adjust

库存调整接口

type AlibabaMosGoodsAdjustAPIResponseModel added in v1.2.0

type AlibabaMosGoodsAdjustAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_mos_goods_adjust_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 库存调整单号
	Result *AlibabaMosGoodsAdjustResultDo `json:"result,omitempty" xml:"result,omitempty"`
}

AlibabaMosGoodsAdjustAPIResponseModel is 调整库存 成功返回结果

type AlibabaMosGoodsAdjustResultDo

type AlibabaMosGoodsAdjustResultDo struct {
	// 返回生成的单据号
	Data string `json:"data,omitempty" xml:"data,omitempty"`
}

AlibabaMosGoodsAdjustResultDo 结构体

type AlibabaMosGoodsBulkinputcspuAPIRequest added in v1.2.0

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

AlibabaMosGoodsBulkinputcspuAPIRequest 批量录入商品信息 API请求 alibaba.mos.goods.bulkinputcspu

用于商品信息的批量导入到银泰商品中台

func NewAlibabaMosGoodsBulkinputcspuRequest

func NewAlibabaMosGoodsBulkinputcspuRequest() *AlibabaMosGoodsBulkinputcspuAPIRequest

NewAlibabaMosGoodsBulkinputcspuRequest 初始化AlibabaMosGoodsBulkinputcspuAPIRequest对象

func (AlibabaMosGoodsBulkinputcspuAPIRequest) GetApiMethodName added in v1.2.0

func (r AlibabaMosGoodsBulkinputcspuAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaMosGoodsBulkinputcspuAPIRequest) GetApiParams added in v1.2.0

func (r AlibabaMosGoodsBulkinputcspuAPIRequest) GetApiParams(params url.Values)

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaMosGoodsBulkinputcspuAPIRequest) GetCspuInputDtoList added in v1.2.0

func (r AlibabaMosGoodsBulkinputcspuAPIRequest) GetCspuInputDtoList() []CspuInputDto

GetCspuInputDtoList CspuInputDtoList Getter

func (AlibabaMosGoodsBulkinputcspuAPIRequest) GetRawParams added in v1.2.8

GetRawParams IRequest interface 方法, 获取API原始参数

func (*AlibabaMosGoodsBulkinputcspuAPIRequest) SetCspuInputDtoList added in v1.2.0

func (r *AlibabaMosGoodsBulkinputcspuAPIRequest) SetCspuInputDtoList(_cspuInputDtoList []CspuInputDto) error

SetCspuInputDtoList is CspuInputDtoList Setter 录入商品信息列表(最大列表长度:20)

type AlibabaMosGoodsBulkinputcspuAPIResponse

type AlibabaMosGoodsBulkinputcspuAPIResponse struct {
	model.CommonResponse
	AlibabaMosGoodsBulkinputcspuAPIResponseModel
}

AlibabaMosGoodsBulkinputcspuAPIResponse 批量录入商品信息 API返回值 alibaba.mos.goods.bulkinputcspu

用于商品信息的批量导入到银泰商品中台

type AlibabaMosGoodsBulkinputcspuAPIResponseModel added in v1.2.0

type AlibabaMosGoodsBulkinputcspuAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_mos_goods_bulkinputcspu_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 返回数据
	Data *BulkInputCspuResult `json:"data,omitempty" xml:"data,omitempty"`
}

AlibabaMosGoodsBulkinputcspuAPIResponseModel is 批量录入商品信息 成功返回结果

type AlibabaMosGoodsInventoryGetinventorysAPIRequest added in v1.2.0

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

AlibabaMosGoodsInventoryGetinventorysAPIRequest 可售库存查询 API请求 alibaba.mos.goods.inventory.getinventorys

查询商品的可售、在库和占库数量

func NewAlibabaMosGoodsInventoryGetinventorysRequest

func NewAlibabaMosGoodsInventoryGetinventorysRequest() *AlibabaMosGoodsInventoryGetinventorysAPIRequest

NewAlibabaMosGoodsInventoryGetinventorysRequest 初始化AlibabaMosGoodsInventoryGetinventorysAPIRequest对象

func (AlibabaMosGoodsInventoryGetinventorysAPIRequest) GetApiMethodName added in v1.2.0

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaMosGoodsInventoryGetinventorysAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaMosGoodsInventoryGetinventorysAPIRequest) GetParamVirtualInventoryQueryDto added in v1.2.0

func (r AlibabaMosGoodsInventoryGetinventorysAPIRequest) GetParamVirtualInventoryQueryDto() *VirtualInventoryQueryDto

GetParamVirtualInventoryQueryDto ParamVirtualInventoryQueryDto Getter

func (AlibabaMosGoodsInventoryGetinventorysAPIRequest) GetRawParams added in v1.2.8

GetRawParams IRequest interface 方法, 获取API原始参数

func (*AlibabaMosGoodsInventoryGetinventorysAPIRequest) SetParamVirtualInventoryQueryDto added in v1.2.0

func (r *AlibabaMosGoodsInventoryGetinventorysAPIRequest) SetParamVirtualInventoryQueryDto(_paramVirtualInventoryQueryDto *VirtualInventoryQueryDto) error

SetParamVirtualInventoryQueryDto is ParamVirtualInventoryQueryDto Setter 查询对象

type AlibabaMosGoodsInventoryGetinventorysAPIResponse

type AlibabaMosGoodsInventoryGetinventorysAPIResponse struct {
	model.CommonResponse
	AlibabaMosGoodsInventoryGetinventorysAPIResponseModel
}

AlibabaMosGoodsInventoryGetinventorysAPIResponse 可售库存查询 API返回值 alibaba.mos.goods.inventory.getinventorys

查询商品的可售、在库和占库数量

type AlibabaMosGoodsInventoryGetinventorysAPIResponseModel added in v1.2.0

type AlibabaMosGoodsInventoryGetinventorysAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_mos_goods_inventory_getinventorys_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 返回的数据
	Datas []VirtualInventoryDto `json:"datas,omitempty" xml:"datas>virtual_inventory_dto,omitempty"`
}

AlibabaMosGoodsInventoryGetinventorysAPIResponseModel is 可售库存查询 成功返回结果

type AlibabaMosGoodsSearchcspuAPIRequest added in v1.2.0

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

AlibabaMosGoodsSearchcspuAPIRequest cspu查询 API请求 alibaba.mos.goods.searchcspu

商品信息查询(仅用于商品上传数据验证,不能用于商品下载,有限流)

func NewAlibabaMosGoodsSearchcspuRequest

func NewAlibabaMosGoodsSearchcspuRequest() *AlibabaMosGoodsSearchcspuAPIRequest

NewAlibabaMosGoodsSearchcspuRequest 初始化AlibabaMosGoodsSearchcspuAPIRequest对象

func (AlibabaMosGoodsSearchcspuAPIRequest) GetApiMethodName added in v1.2.0

func (r AlibabaMosGoodsSearchcspuAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaMosGoodsSearchcspuAPIRequest) GetApiParams added in v1.2.0

func (r AlibabaMosGoodsSearchcspuAPIRequest) GetApiParams(params url.Values)

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaMosGoodsSearchcspuAPIRequest) GetParamCspuCriteria added in v1.2.0

func (r AlibabaMosGoodsSearchcspuAPIRequest) GetParamCspuCriteria() *CspuCriteria

GetParamCspuCriteria ParamCspuCriteria Getter

func (AlibabaMosGoodsSearchcspuAPIRequest) GetParamPaginator added in v1.2.0

func (r AlibabaMosGoodsSearchcspuAPIRequest) GetParamPaginator() *Paginator

GetParamPaginator ParamPaginator Getter

func (AlibabaMosGoodsSearchcspuAPIRequest) GetRawParams added in v1.2.8

GetRawParams IRequest interface 方法, 获取API原始参数

func (*AlibabaMosGoodsSearchcspuAPIRequest) SetParamCspuCriteria added in v1.2.0

func (r *AlibabaMosGoodsSearchcspuAPIRequest) SetParamCspuCriteria(_paramCspuCriteria *CspuCriteria) error

SetParamCspuCriteria is ParamCspuCriteria Setter 组合查询对象

func (*AlibabaMosGoodsSearchcspuAPIRequest) SetParamPaginator added in v1.2.0

func (r *AlibabaMosGoodsSearchcspuAPIRequest) SetParamPaginator(_paramPaginator *Paginator) error

SetParamPaginator is ParamPaginator Setter 分页参数

type AlibabaMosGoodsSearchcspuAPIResponse

type AlibabaMosGoodsSearchcspuAPIResponse struct {
	model.CommonResponse
	AlibabaMosGoodsSearchcspuAPIResponseModel
}

AlibabaMosGoodsSearchcspuAPIResponse cspu查询 API返回值 alibaba.mos.goods.searchcspu

商品信息查询(仅用于商品上传数据验证,不能用于商品下载,有限流)

type AlibabaMosGoodsSearchcspuAPIResponseModel added in v1.2.0

type AlibabaMosGoodsSearchcspuAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_mos_goods_searchcspu_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// data
	Data *PagedList `json:"data,omitempty" xml:"data,omitempty"`
}

AlibabaMosGoodsSearchcspuAPIResponseModel is cspu查询 成功返回结果

type AlibabaMosGoodsSetpriceAPIRequest added in v1.2.0

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

AlibabaMosGoodsSetpriceAPIRequest 价格变更接口 API请求 alibaba.mos.goods.setprice

价格变更接口,供供应商修改价格时使用。

func NewAlibabaMosGoodsSetpriceRequest

func NewAlibabaMosGoodsSetpriceRequest() *AlibabaMosGoodsSetpriceAPIRequest

NewAlibabaMosGoodsSetpriceRequest 初始化AlibabaMosGoodsSetpriceAPIRequest对象

func (AlibabaMosGoodsSetpriceAPIRequest) GetApiMethodName added in v1.2.0

func (r AlibabaMosGoodsSetpriceAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaMosGoodsSetpriceAPIRequest) GetApiParams added in v1.2.0

func (r AlibabaMosGoodsSetpriceAPIRequest) GetApiParams(params url.Values)

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaMosGoodsSetpriceAPIRequest) GetPriceDtoList added in v1.2.0

func (r AlibabaMosGoodsSetpriceAPIRequest) GetPriceDtoList() []PriceDto

GetPriceDtoList PriceDtoList Getter

func (AlibabaMosGoodsSetpriceAPIRequest) GetRawParams added in v1.2.8

GetRawParams IRequest interface 方法, 获取API原始参数

func (*AlibabaMosGoodsSetpriceAPIRequest) SetPriceDtoList added in v1.2.0

func (r *AlibabaMosGoodsSetpriceAPIRequest) SetPriceDtoList(_priceDtoList []PriceDto) error

SetPriceDtoList is PriceDtoList Setter 价格变更对象列表

type AlibabaMosGoodsSetpriceAPIResponse

type AlibabaMosGoodsSetpriceAPIResponse struct {
	model.CommonResponse
	AlibabaMosGoodsSetpriceAPIResponseModel
}

AlibabaMosGoodsSetpriceAPIResponse 价格变更接口 API返回值 alibaba.mos.goods.setprice

价格变更接口,供供应商修改价格时使用。

type AlibabaMosGoodsSetpriceAPIResponseModel added in v1.2.0

type AlibabaMosGoodsSetpriceAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_mos_goods_setprice_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 返回数据
	DataS []PriceResult `json:"data_s,omitempty" xml:"data_s>price_result,omitempty"`
}

AlibabaMosGoodsSetpriceAPIResponseModel is 价格变更接口 成功返回结果

type AlibabaMosGoodsSynchinventorybycountingAPIRequest added in v1.2.0

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

AlibabaMosGoodsSynchinventorybycountingAPIRequest 以盘点方式调整库存:传入商品实际库存 API请求 alibaba.mos.goods.synchinventorybycounting

以盘点方式调整库存:传入商品实际库存 盘点单自动判断数量增减

func NewAlibabaMosGoodsSynchinventorybycountingRequest

func NewAlibabaMosGoodsSynchinventorybycountingRequest() *AlibabaMosGoodsSynchinventorybycountingAPIRequest

NewAlibabaMosGoodsSynchinventorybycountingRequest 初始化AlibabaMosGoodsSynchinventorybycountingAPIRequest对象

func (AlibabaMosGoodsSynchinventorybycountingAPIRequest) GetApiMethodName added in v1.2.0

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaMosGoodsSynchinventorybycountingAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaMosGoodsSynchinventorybycountingAPIRequest) GetCountingItemDto added in v1.2.0

GetCountingItemDto CountingItemDto Getter

func (AlibabaMosGoodsSynchinventorybycountingAPIRequest) GetParamCountingInfoDto added in v1.2.0

GetParamCountingInfoDto ParamCountingInfoDto Getter

func (AlibabaMosGoodsSynchinventorybycountingAPIRequest) GetRawParams added in v1.2.8

GetRawParams IRequest interface 方法, 获取API原始参数

func (*AlibabaMosGoodsSynchinventorybycountingAPIRequest) SetCountingItemDto added in v1.2.0

func (r *AlibabaMosGoodsSynchinventorybycountingAPIRequest) SetCountingItemDto(_countingItemDto []CountingItemDto) error

SetCountingItemDto is CountingItemDto Setter 盘点库存项(最大列表长度:20)

func (*AlibabaMosGoodsSynchinventorybycountingAPIRequest) SetParamCountingInfoDto added in v1.2.0

func (r *AlibabaMosGoodsSynchinventorybycountingAPIRequest) SetParamCountingInfoDto(_paramCountingInfoDto *CountingInfoDto) error

SetParamCountingInfoDto is ParamCountingInfoDto Setter 专柜信息

type AlibabaMosGoodsSynchinventorybycountingAPIResponse

type AlibabaMosGoodsSynchinventorybycountingAPIResponse struct {
	model.CommonResponse
	AlibabaMosGoodsSynchinventorybycountingAPIResponseModel
}

AlibabaMosGoodsSynchinventorybycountingAPIResponse 以盘点方式调整库存:传入商品实际库存 API返回值 alibaba.mos.goods.synchinventorybycounting

以盘点方式调整库存:传入商品实际库存 盘点单自动判断数量增减

type AlibabaMosGoodsSynchinventorybycountingAPIResponseModel added in v1.2.0

type AlibabaMosGoodsSynchinventorybycountingAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_mos_goods_synchinventorybycounting_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 返回盘点单号
	Result *AlibabaMosGoodsSynchinventorybycountingResultDo `json:"result,omitempty" xml:"result,omitempty"`
}

AlibabaMosGoodsSynchinventorybycountingAPIResponseModel is 以盘点方式调整库存:传入商品实际库存 成功返回结果

type AlibabaMosGoodsSynchinventorybycountingResultDo

type AlibabaMosGoodsSynchinventorybycountingResultDo struct {
	// 返回数据
	Data string `json:"data,omitempty" xml:"data,omitempty"`
}

AlibabaMosGoodsSynchinventorybycountingResultDo 结构体

type AlibabaMosIsvInventoryScrollqueryAPIRequest added in v1.2.5

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

AlibabaMosIsvInventoryScrollqueryAPIRequest 滚动查询库存数据 API请求 alibaba.mos.isv.inventory.scrollquery

按专柜滚动查询有库存商品

func NewAlibabaMosIsvInventoryScrollqueryRequest added in v1.2.5

func NewAlibabaMosIsvInventoryScrollqueryRequest() *AlibabaMosIsvInventoryScrollqueryAPIRequest

NewAlibabaMosIsvInventoryScrollqueryRequest 初始化AlibabaMosIsvInventoryScrollqueryAPIRequest对象

func (AlibabaMosIsvInventoryScrollqueryAPIRequest) GetApiMethodName added in v1.2.5

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaMosIsvInventoryScrollqueryAPIRequest) GetApiParams added in v1.2.5

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaMosIsvInventoryScrollqueryAPIRequest) GetCounterId added in v1.2.5

GetCounterId CounterId Getter

func (AlibabaMosIsvInventoryScrollqueryAPIRequest) GetRawParams added in v1.2.8

GetRawParams IRequest interface 方法, 获取API原始参数

func (AlibabaMosIsvInventoryScrollqueryAPIRequest) GetScrollId added in v1.2.5

GetScrollId ScrollId Getter

func (*AlibabaMosIsvInventoryScrollqueryAPIRequest) SetCounterId added in v1.2.5

func (r *AlibabaMosIsvInventoryScrollqueryAPIRequest) SetCounterId(_counterId string) error

SetCounterId is CounterId Setter 专柜ID

func (*AlibabaMosIsvInventoryScrollqueryAPIRequest) SetScrollId added in v1.2.5

func (r *AlibabaMosIsvInventoryScrollqueryAPIRequest) SetScrollId(_scrollId string) error

SetScrollId is ScrollId Setter 滚动查询ID号

type AlibabaMosIsvInventoryScrollqueryAPIResponse added in v1.2.5

type AlibabaMosIsvInventoryScrollqueryAPIResponse struct {
	model.CommonResponse
	AlibabaMosIsvInventoryScrollqueryAPIResponseModel
}

AlibabaMosIsvInventoryScrollqueryAPIResponse 滚动查询库存数据 API返回值 alibaba.mos.isv.inventory.scrollquery

按专柜滚动查询有库存商品

type AlibabaMosIsvInventoryScrollqueryAPIResponseModel added in v1.2.5

type AlibabaMosIsvInventoryScrollqueryAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_mos_isv_inventory_scrollquery_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 返回结果
	Result *MosScrollQueryResult `json:"result,omitempty" xml:"result,omitempty"`
}

AlibabaMosIsvInventoryScrollqueryAPIResponseModel is 滚动查询库存数据 成功返回结果

type AlibabaMosOrderListGetAPIRequest added in v1.2.0

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

AlibabaMosOrderListGetAPIRequest 批量查询订单交易 API请求 alibaba.mos.order.list.get

批量查询交易信息

func NewAlibabaMosOrderListGetRequest

func NewAlibabaMosOrderListGetRequest() *AlibabaMosOrderListGetAPIRequest

NewAlibabaMosOrderListGetRequest 初始化AlibabaMosOrderListGetAPIRequest对象

func (AlibabaMosOrderListGetAPIRequest) GetApiMethodName added in v1.2.0

func (r AlibabaMosOrderListGetAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaMosOrderListGetAPIRequest) GetApiParams added in v1.2.0

func (r AlibabaMosOrderListGetAPIRequest) GetApiParams(params url.Values)

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaMosOrderListGetAPIRequest) GetOrderCriteria added in v1.2.0

func (r AlibabaMosOrderListGetAPIRequest) GetOrderCriteria() *OrderCriteria

GetOrderCriteria OrderCriteria Getter

func (AlibabaMosOrderListGetAPIRequest) GetPaginator added in v1.2.0

func (r AlibabaMosOrderListGetAPIRequest) GetPaginator() *Paginator

GetPaginator Paginator Getter

func (AlibabaMosOrderListGetAPIRequest) GetRawParams added in v1.2.8

GetRawParams IRequest interface 方法, 获取API原始参数

func (*AlibabaMosOrderListGetAPIRequest) SetOrderCriteria added in v1.2.0

func (r *AlibabaMosOrderListGetAPIRequest) SetOrderCriteria(_orderCriteria *OrderCriteria) error

SetOrderCriteria is OrderCriteria Setter 订单查询条件

func (*AlibabaMosOrderListGetAPIRequest) SetPaginator added in v1.2.0

func (r *AlibabaMosOrderListGetAPIRequest) SetPaginator(_paginator *Paginator) error

SetPaginator is Paginator Setter 分页信息

type AlibabaMosOrderListGetAPIResponse

type AlibabaMosOrderListGetAPIResponse struct {
	model.CommonResponse
	AlibabaMosOrderListGetAPIResponseModel
}

AlibabaMosOrderListGetAPIResponse 批量查询订单交易 API返回值 alibaba.mos.order.list.get

批量查询交易信息

type AlibabaMosOrderListGetAPIResponseModel added in v1.2.0

type AlibabaMosOrderListGetAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_mos_order_list_get_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 结果
	Result *AlibabaMosOrderListGetResultDo `json:"result,omitempty" xml:"result,omitempty"`
}

AlibabaMosOrderListGetAPIResponseModel is 批量查询订单交易 成功返回结果

type AlibabaMosOrderListGetResultDo

type AlibabaMosOrderListGetResultDo struct {
	// 消息
	SubMsg string `json:"sub_msg,omitempty" xml:"sub_msg,omitempty"`
	// 状态码
	SubCode string `json:"sub_code,omitempty" xml:"sub_code,omitempty"`
	// 结果集
	Data *PagedList `json:"data,omitempty" xml:"data,omitempty"`
	// 成功标志
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
}

AlibabaMosOrderListGetResultDo 结构体

type AlibabaMosOrderQueryAPIRequest added in v1.2.0

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

AlibabaMosOrderQueryAPIRequest 批量查询订单信息 API请求 alibaba.mos.order.query

查询多笔交易信息

func NewAlibabaMosOrderQueryRequest

func NewAlibabaMosOrderQueryRequest() *AlibabaMosOrderQueryAPIRequest

NewAlibabaMosOrderQueryRequest 初始化AlibabaMosOrderQueryAPIRequest对象

func (AlibabaMosOrderQueryAPIRequest) GetApiMethodName added in v1.2.0

func (r AlibabaMosOrderQueryAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaMosOrderQueryAPIRequest) GetApiParams added in v1.2.0

func (r AlibabaMosOrderQueryAPIRequest) GetApiParams(params url.Values)

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaMosOrderQueryAPIRequest) GetOrderCriteria added in v1.2.0

func (r AlibabaMosOrderQueryAPIRequest) GetOrderCriteria() *OrderCriteria

GetOrderCriteria OrderCriteria Getter

func (AlibabaMosOrderQueryAPIRequest) GetPaginator added in v1.2.0

func (r AlibabaMosOrderQueryAPIRequest) GetPaginator() *Paginator

GetPaginator Paginator Getter

func (AlibabaMosOrderQueryAPIRequest) GetRawParams added in v1.2.8

func (r AlibabaMosOrderQueryAPIRequest) GetRawParams() model.Params

GetRawParams IRequest interface 方法, 获取API原始参数

func (*AlibabaMosOrderQueryAPIRequest) SetOrderCriteria added in v1.2.0

func (r *AlibabaMosOrderQueryAPIRequest) SetOrderCriteria(_orderCriteria *OrderCriteria) error

SetOrderCriteria is OrderCriteria Setter 订单查询

func (*AlibabaMosOrderQueryAPIRequest) SetPaginator added in v1.2.0

func (r *AlibabaMosOrderQueryAPIRequest) SetPaginator(_paginator *Paginator) error

SetPaginator is Paginator Setter 分页信息

type AlibabaMosOrderQueryAPIResponse

type AlibabaMosOrderQueryAPIResponse struct {
	model.CommonResponse
	AlibabaMosOrderQueryAPIResponseModel
}

AlibabaMosOrderQueryAPIResponse 批量查询订单信息 API返回值 alibaba.mos.order.query

查询多笔交易信息

type AlibabaMosOrderQueryAPIResponseModel added in v1.2.0

type AlibabaMosOrderQueryAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_mos_order_query_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 返回结果
	Result *AlibabaMosOrderQueryResultDo `json:"result,omitempty" xml:"result,omitempty"`
}

AlibabaMosOrderQueryAPIResponseModel is 批量查询订单信息 成功返回结果

type AlibabaMosOrderQueryResultDo

type AlibabaMosOrderQueryResultDo struct {
	// 异常信息
	SubMsg string `json:"sub_msg,omitempty" xml:"sub_msg,omitempty"`
	// 等于200代表成功
	SubCode string `json:"sub_code,omitempty" xml:"sub_code,omitempty"`
	// 订单数据
	Data *PagedList `json:"data,omitempty" xml:"data,omitempty"`
	// 调用是否成功
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
}

AlibabaMosOrderQueryResultDo 结构体

type AlibabaMosOrderRefundListGetAPIRequest added in v1.2.0

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

AlibabaMosOrderRefundListGetAPIRequest 批量查询交易退货信息 API请求 alibaba.mos.order.refund.list.get

批量查询多个退货单的退货明细

func NewAlibabaMosOrderRefundListGetRequest

func NewAlibabaMosOrderRefundListGetRequest() *AlibabaMosOrderRefundListGetAPIRequest

NewAlibabaMosOrderRefundListGetRequest 初始化AlibabaMosOrderRefundListGetAPIRequest对象

func (AlibabaMosOrderRefundListGetAPIRequest) GetApiMethodName added in v1.2.0

func (r AlibabaMosOrderRefundListGetAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaMosOrderRefundListGetAPIRequest) GetApiParams added in v1.2.0

func (r AlibabaMosOrderRefundListGetAPIRequest) GetApiParams(params url.Values)

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaMosOrderRefundListGetAPIRequest) GetPaginator added in v1.2.0

GetPaginator Paginator Getter

func (AlibabaMosOrderRefundListGetAPIRequest) GetRawParams added in v1.2.8

GetRawParams IRequest interface 方法, 获取API原始参数

func (AlibabaMosOrderRefundListGetAPIRequest) GetRmaCriteria added in v1.2.0

GetRmaCriteria RmaCriteria Getter

func (*AlibabaMosOrderRefundListGetAPIRequest) SetPaginator added in v1.2.0

func (r *AlibabaMosOrderRefundListGetAPIRequest) SetPaginator(_paginator *Paginator) error

SetPaginator is Paginator Setter 分页信息

func (*AlibabaMosOrderRefundListGetAPIRequest) SetRmaCriteria added in v1.2.0

func (r *AlibabaMosOrderRefundListGetAPIRequest) SetRmaCriteria(_rmaCriteria *RmaCriteria) error

SetRmaCriteria is RmaCriteria Setter 退换货查询条件

type AlibabaMosOrderRefundListGetAPIResponse

type AlibabaMosOrderRefundListGetAPIResponse struct {
	model.CommonResponse
	AlibabaMosOrderRefundListGetAPIResponseModel
}

AlibabaMosOrderRefundListGetAPIResponse 批量查询交易退货信息 API返回值 alibaba.mos.order.refund.list.get

批量查询多个退货单的退货明细

type AlibabaMosOrderRefundListGetAPIResponseModel added in v1.2.0

type AlibabaMosOrderRefundListGetAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_mos_order_refund_list_get_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 结果
	Result *AlibabaMosOrderRefundListGetResultDto `json:"result,omitempty" xml:"result,omitempty"`
}

AlibabaMosOrderRefundListGetAPIResponseModel is 批量查询交易退货信息 成功返回结果

type AlibabaMosOrderRefundListGetResultDto

type AlibabaMosOrderRefundListGetResultDto struct {
	// 状态码
	SubCode string `json:"sub_code,omitempty" xml:"sub_code,omitempty"`
	// 信息
	SubMsg string `json:"sub_msg,omitempty" xml:"sub_msg,omitempty"`
	// 成功标志
	Success string `json:"success,omitempty" xml:"success,omitempty"`
	// 结果集
	Data *PagedList `json:"data,omitempty" xml:"data,omitempty"`
}

AlibabaMosOrderRefundListGetResultDto 结构体

type BigDecimal added in v1.2.5

type BigDecimal struct {
}

BigDecimal 结构体

type BulkInputCspuResult

type BulkInputCspuResult struct {
	// 录入结果对象
	CspuResultList []InputCspuResult `json:"cspu_result_list,omitempty" xml:"cspu_result_list>input_cspu_result,omitempty"`
}

BulkInputCspuResult 结构体

type CountingInfoDto

type CountingInfoDto struct {
	// 专柜id
	CounterId string `json:"counter_id,omitempty" xml:"counter_id,omitempty"`
	// 外部专柜id(两个专柜号至少填写一个。如果同时填写,以counterId为准)
	OutCounterId string `json:"out_counter_id,omitempty" xml:"out_counter_id,omitempty"`
	// 备注信息(必填)
	Remarks string `json:"remarks,omitempty" xml:"remarks,omitempty"`
}

CountingInfoDto 结构体

type CountingItemDto

type CountingItemDto struct {
	// 外部商品编码
	OutId string `json:"out_id,omitempty" xml:"out_id,omitempty"`
	// 商品名称
	ProductName string `json:"product_name,omitempty" xml:"product_name,omitempty"`
	// 库存数量
	Quantity string `json:"quantity,omitempty" xml:"quantity,omitempty"`
	// 计量单位
	Unit string `json:"unit,omitempty" xml:"unit,omitempty"`
}

CountingItemDto 结构体

type CspuCriteria

type CspuCriteria struct {
	// 货号
	ArtNos []string `json:"art_nos,omitempty" xml:"art_nos>string,omitempty"`
	// 条码列表
	Barcodes []string `json:"barcodes,omitempty" xml:"barcodes>string,omitempty"`
	// 品牌id列表
	BrandIds []string `json:"brand_ids,omitempty" xml:"brand_ids>string,omitempty"`
	// 类目
	CatIds []string `json:"cat_ids,omitempty" xml:"cat_ids>string,omitempty"`
	// cspu编码
	CspuIds []string `json:"cspu_ids,omitempty" xml:"cspu_ids>string,omitempty"`
	// 属性值id列表
	PropertyValueIds []string `json:"property_value_ids,omitempty" xml:"property_value_ids>string,omitempty"`
	// spuId列表
	SpuIds []string `json:"spu_ids,omitempty" xml:"spu_ids>string,omitempty"`
	// 按创建时间查询结束条件
	CreateDateEnd string `json:"create_date_end,omitempty" xml:"create_date_end,omitempty"`
	// 按创建时间查询开始条件
	CreateDateStart string `json:"create_date_start,omitempty" xml:"create_date_start,omitempty"`
	// 模糊查询
	Keyword string `json:"keyword,omitempty" xml:"keyword,omitempty"`
	// 款号
	StyleNo string `json:"style_no,omitempty" xml:"style_no,omitempty"`
}

CspuCriteria 结构体

type CspuInputDto

type CspuInputDto struct {
	// 销售属性
	Properties []PropertyDto `json:"properties,omitempty" xml:"properties>property_dto,omitempty"`
	// 货号
	ArtNo string `json:"art_no,omitempty" xml:"art_no,omitempty"`
	// 商品条码
	Barcode string `json:"barcode,omitempty" xml:"barcode,omitempty"`
	// 源id(供应商自己的唯一标识)
	OuterId string `json:"outer_id,omitempty" xml:"outer_id,omitempty"`
	// 子标题
	SubTitle string `json:"sub_title,omitempty" xml:"sub_title,omitempty"`
	// 吊牌价
	TagPrice string `json:"tag_price,omitempty" xml:"tag_price,omitempty"`
	// brand是银泰品牌Id,colorName(颜色名称)、colorCode(颜色编码)、sizeCode(尺码编码)、sizeName(尺码名称):商品销售属性,标签一些在属性里找不到id的属性存放在这里
	Tags string `json:"tags,omitempty" xml:"tags,omitempty"`
	// 产品名称
	Title string `json:"title,omitempty" xml:"title,omitempty"`
	// 标准商品信息(款)
	SpuInputDto *SpuInputDto `json:"spu_input_dto,omitempty" xml:"spu_input_dto,omitempty"`
	// 天猫Sku
	TmallSkuId int64 `json:"tmall_sku_id,omitempty" xml:"tmall_sku_id,omitempty"`
}

CspuInputDto 结构体

type Cspudto

type Cspudto struct {
	// 商品属性
	Properties []PropertyDto `json:"properties,omitempty" xml:"properties>property_dto,omitempty"`
	// 货号
	ArtNo string `json:"art_no,omitempty" xml:"art_no,omitempty"`
	// 条码
	Barcode string `json:"barcode,omitempty" xml:"barcode,omitempty"`
	// 创建时间
	Created string `json:"created,omitempty" xml:"created,omitempty"`
	// 创建人唯一标识
	CreatorId string `json:"creator_id,omitempty" xml:"creator_id,omitempty"`
	// 唯一标识
	Id string `json:"id,omitempty" xml:"id,omitempty"`
	// 修改时间
	Modified string `json:"modified,omitempty" xml:"modified,omitempty"`
	// 修改人唯一标识
	ModifierId string `json:"modifier_id,omitempty" xml:"modifier_id,omitempty"`
	// 外部商品Id
	OutId string `json:"out_id,omitempty" xml:"out_id,omitempty"`
	// 款号
	StyleNo string `json:"style_no,omitempty" xml:"style_no,omitempty"`
	// 子标题
	SubTitle string `json:"sub_title,omitempty" xml:"sub_title,omitempty"`
	// 吊牌价,单位:元
	TagPrice string `json:"tag_price,omitempty" xml:"tag_price,omitempty"`
	// 标题
	Title string `json:"title,omitempty" xml:"title,omitempty"`
	// userType
	UserType string `json:"user_type,omitempty" xml:"user_type,omitempty"`
	// 商品级别
	Level int64 `json:"level,omitempty" xml:"level,omitempty"`
	// spu
	Spu *Spudto `json:"spu,omitempty" xml:"spu,omitempty"`
	// 当前状态:删除(-1),正常(1)
	Status int64 `json:"status,omitempty" xml:"status,omitempty"`
	// 是否标准产品
	Standard bool `json:"standard,omitempty" xml:"standard,omitempty"`
}

Cspudto 结构体

type DeliveryDto

type DeliveryDto struct {
	// 商品明细
	ShipItems []ShipItemDto `json:"ship_items,omitempty" xml:"ship_items>ship_item_dto,omitempty"`
	// 承运公司名称
	CompanyName string `json:"company_name,omitempty" xml:"company_name,omitempty"`
	// 订单号
	OrderNumber string `json:"order_number,omitempty" xml:"order_number,omitempty"`
	// 承运公司编码
	CompanyCode string `json:"company_code,omitempty" xml:"company_code,omitempty"`
	// 出库时间
	OutboundDate string `json:"outbound_date,omitempty" xml:"outbound_date,omitempty"`
	// 运单号
	WaybillNumber string `json:"waybill_number,omitempty" xml:"waybill_number,omitempty"`
	// 备注
	Remark string `json:"remark,omitempty" xml:"remark,omitempty"`
}

DeliveryDto 结构体

type InputCspuResult

type InputCspuResult struct {
	// 中台商品id
	CspuId string `json:"cspu_id,omitempty" xml:"cspu_id,omitempty"`
	// 错误信息
	Message string `json:"message,omitempty" xml:"message,omitempty"`
	// 供应商商品id
	OuterId string `json:"outer_id,omitempty" xml:"outer_id,omitempty"`
	// 是否录入成功,true:成功 false:失败
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
}

InputCspuResult 结构体

type InventoryDetailDto added in v1.2.5

type InventoryDetailDto struct {
	// 专柜号
	CounterNo string `json:"counter_no,omitempty" xml:"counter_no,omitempty"`
	// 专柜名
	CounterName string `json:"counter_name,omitempty" xml:"counter_name,omitempty"`
	// 门店号
	StoreNo string `json:"store_no,omitempty" xml:"store_no,omitempty"`
	// 门店名称
	StoreName string `json:"store_name,omitempty" xml:"store_name,omitempty"`
	// outer id
	OuterId string `json:"outer_id,omitempty" xml:"outer_id,omitempty"`
	// sku id
	SkuId string `json:"sku_id,omitempty" xml:"sku_id,omitempty"`
	// 条码
	Barcode string `json:"barcode,omitempty" xml:"barcode,omitempty"`
	// 颜色/尺码/规格
	SaleProperty string `json:"sale_property,omitempty" xml:"sale_property,omitempty"`
	// 商品名称
	SkuName string `json:"sku_name,omitempty" xml:"sku_name,omitempty"`
	// 款号
	StyleNo string `json:"style_no,omitempty" xml:"style_no,omitempty"`
	// 仓号
	WarehouseNumber string `json:"warehouse_number,omitempty" xml:"warehouse_number,omitempty"`
	// 仓库名称
	WarehouseName string `json:"warehouse_name,omitempty" xml:"warehouse_name,omitempty"`
	// 占库数量
	OccupyQty string `json:"occupy_qty,omitempty" xml:"occupy_qty,omitempty"`
	// 在库数量
	Quantity string `json:"quantity,omitempty" xml:"quantity,omitempty"`
	// 残次品数量
	DefectiveQty string `json:"defective_qty,omitempty" xml:"defective_qty,omitempty"`
	// 商品状态
	GoodsStatus string `json:"goods_status,omitempty" xml:"goods_status,omitempty"`
	// 商品类型
	GoodsType string `json:"goods_type,omitempty" xml:"goods_type,omitempty"`
	// 货号
	ArtNo string `json:"art_no,omitempty" xml:"art_no,omitempty"`
}

InventoryDetailDto 结构体

type InvoiceDto

type InvoiceDto struct {
	// 发票类型:普通发票、电子发票、增值税发票
	Kind string `json:"kind,omitempty" xml:"kind,omitempty"`
	// 名称
	Title string `json:"title,omitempty" xml:"title,omitempty"`
	// 发票内容:日用品
	Content string `json:"content,omitempty" xml:"content,omitempty"`
	// 发票抬头类型:个人、单位
	TitleType string `json:"title_type,omitempty" xml:"title_type,omitempty"`
	// 税号
	TaxNumber string `json:"tax_number,omitempty" xml:"tax_number,omitempty"`
}

InvoiceDto 结构体

type IsvInboundRequestItemDto

type IsvInboundRequestItemDto struct {
	// 库位编号
	LocationId string `json:"location_id,omitempty" xml:"location_id,omitempty"`
	// 外部id
	OutId string `json:"out_id,omitempty" xml:"out_id,omitempty"`
	// 单位
	Unit string `json:"unit,omitempty" xml:"unit,omitempty"`
	// 获取或设置货物数量计量单位
	Quantity *BigDecimal `json:"quantity,omitempty" xml:"quantity,omitempty"`
	// 单价
	UnitPrice *BigDecimal `json:"unit_price,omitempty" xml:"unit_price,omitempty"`
}

IsvInboundRequestItemDto 结构体

type IsvOutboundRequestItemDto

type IsvOutboundRequestItemDto struct {
	// 外部id
	OutId string `json:"out_id,omitempty" xml:"out_id,omitempty"`
	// 数量
	Quantity *BigDecimal `json:"quantity,omitempty" xml:"quantity,omitempty"`
}

IsvOutboundRequestItemDto 结构体

type IsvStockAdjustRequestDto

type IsvStockAdjustRequestDto struct {
	// 入库项(最大列表长度:20)
	InboundItems []IsvInboundRequestItemDto `json:"inbound_items,omitempty" xml:"inbound_items>isv_inbound_request_item_dto,omitempty"`
	// 出库项(最大列表长度:20)
	OutboundItems []IsvOutboundRequestItemDto `json:"outbound_items,omitempty" xml:"outbound_items>isv_outbound_request_item_dto,omitempty"`
	// 专柜Id
	CounterId string `json:"counter_id,omitempty" xml:"counter_id,omitempty"`
	// 外部专柜Id(两个专柜id字段至少填写一个,如果同时填写,已counter_id为准)
	OutCounterId string `json:"out_counter_id,omitempty" xml:"out_counter_id,omitempty"`
	// 外部单号
	OutId string `json:"out_id,omitempty" xml:"out_id,omitempty"`
	// 备注
	Remarks string `json:"remarks,omitempty" xml:"remarks,omitempty"`
}

IsvStockAdjustRequestDto 结构体

type MosScrollQueryResult added in v1.2.5

type MosScrollQueryResult struct {
	// 返回数据
	Data []InventoryDetailDto `json:"data,omitempty" xml:"data>inventory_detail_dto,omitempty"`
	// 滚动查询id号
	ScrollId string `json:"scroll_id,omitempty" xml:"scroll_id,omitempty"`
	// 总条数
	Total int64 `json:"total,omitempty" xml:"total,omitempty"`
}

MosScrollQueryResult 结构体

type OrderCriteria

type OrderCriteria struct {
	// 订单号
	OrderNumbers []string `json:"order_numbers,omitempty" xml:"order_numbers>string,omitempty"`
	// 未支付(“UNPAID”),已支付("PAID"),部分发货("PARTDISTRIBUTION"),全部发货("ALLDISTRIBUTION"),取消("CANCEL")
	Status []string `json:"status,omitempty" xml:"status>string,omitempty"`
	// 银泰专柜Id
	CounterId string `json:"counter_id,omitempty" xml:"counter_id,omitempty"`
	// 订单创建时间
	StartDate string `json:"start_date,omitempty" xml:"start_date,omitempty"`
	// 订单创建时间
	EndDate string `json:"end_date,omitempty" xml:"end_date,omitempty"`
	// 供应商专柜Id
	OutCounterId string `json:"out_counter_id,omitempty" xml:"out_counter_id,omitempty"`
	// 订单修改时间范围,开始时间
	ModifyEndDate string `json:"modify_end_date,omitempty" xml:"modify_end_date,omitempty"`
	// 订单修改时间范围,结束时间
	ModifyStartDate string `json:"modify_start_date,omitempty" xml:"modify_start_date,omitempty"`
}

OrderCriteria 结构体

type PagedList

type PagedList struct {
	// 数据结果集
	List []Cspudto `json:"list,omitempty" xml:"list>cspudto,omitempty"`
	// 当前页
	CurrentPage int64 `json:"current_page,omitempty" xml:"current_page,omitempty"`
	// 每页获取多少条记录
	PageSize int64 `json:"page_size,omitempty" xml:"page_size,omitempty"`
	// 总记录数
	TotalCount int64 `json:"total_count,omitempty" xml:"total_count,omitempty"`
	// 总页数
	TotalPage int64 `json:"total_page,omitempty" xml:"total_page,omitempty"`
}

PagedList 结构体

type Paginator

type Paginator struct {
	// 当前页码
	Page int64 `json:"page,omitempty" xml:"page,omitempty"`
	// 每页显示多少条记录
	PageSize int64 `json:"page_size,omitempty" xml:"page_size,omitempty"`
}

Paginator 结构体

type PriceDto

type PriceDto struct {
	// 专柜id(counter_id和out_counter_id必填一个,如果都填以counter_id为准)
	CounterId string `json:"counter_id,omitempty" xml:"counter_id,omitempty"`
	// 外部专柜id(经过配置后,可以传供应自己的专柜id)
	OutCounterId string `json:"out_counter_id,omitempty" xml:"out_counter_id,omitempty"`
	// 供应商商品Id
	OutId string `json:"out_id,omitempty" xml:"out_id,omitempty"`
	// 商品标准价
	StandardPrice string `json:"standard_price,omitempty" xml:"standard_price,omitempty"`
}

PriceDto 结构体

type PriceResult

type PriceResult struct {
	// 如果出错,返回错误信息
	Message string `json:"message,omitempty" xml:"message,omitempty"`
	// 价格对象
	PriceDto *PriceDto `json:"price_dto,omitempty" xml:"price_dto,omitempty"`
	// 单挑成功与否
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
}

PriceResult 结构体

type ProductImgDto

type ProductImgDto struct {
	// url地址(以http或https开头的绝对路径)
	Url string `json:"url,omitempty" xml:"url,omitempty"`
	// 图片ID
	Id int64 `json:"id,omitempty" xml:"id,omitempty"`
	// 排序
	Position int64 `json:"position,omitempty" xml:"position,omitempty"`
}

ProductImgDto 结构体

type PropertyDto

type PropertyDto struct {
	// 属性别名
	PAlias string `json:"p_alias,omitempty" xml:"p_alias,omitempty"`
	// 自定义属性名称
	PCustomName string `json:"p_custom_name,omitempty" xml:"p_custom_name,omitempty"`
	// 对应天猫属性Id
	PId string `json:"p_id,omitempty" xml:"p_id,omitempty"`
	// 对应天猫属性名称
	PName string `json:"p_name,omitempty" xml:"p_name,omitempty"`
	// 属性值别名
	VAlias string `json:"v_alias,omitempty" xml:"v_alias,omitempty"`
	// 自定义value名称(优先展示此字段)
	VCustomName string `json:"v_custom_name,omitempty" xml:"v_custom_name,omitempty"`
	// 对应天猫属性Id
	VId string `json:"v_id,omitempty" xml:"v_id,omitempty"`
	// 对应天猫属性值名称(v_custom_name不传时展示此字段)
	VName string `json:"v_name,omitempty" xml:"v_name,omitempty"`
	// 花色图片
	ImgUrl string `json:"img_url,omitempty" xml:"img_url,omitempty"`
	// 属性类型(sale, nonCritical, critical, tmallItem)
	PropertyType string `json:"property_type,omitempty" xml:"property_type,omitempty"`
	// 顺序
	Order int64 `json:"order,omitempty" xml:"order,omitempty"`
}

PropertyDto 结构体

type RmaCriteria

type RmaCriteria struct {
	// 退换货单据号
	RmaNumbers []string `json:"rma_numbers,omitempty" xml:"rma_numbers>string,omitempty"`
	// 单据状态,可选值:已创建("CREATED"),已收货同意退款("INBOUND"),已收货不同意退款("NOTINBOUND"),已退款("REFUNDED"),已完成("COMPLETED),已作废("Obsolete")
	Status []string `json:"status,omitempty" xml:"status>string,omitempty"`
	// 订单号
	OrderNumber string `json:"order_number,omitempty" xml:"order_number,omitempty"`
	// 单据创建时间范围:结束时间
	EndDate string `json:"end_date,omitempty" xml:"end_date,omitempty"`
	// 单据创建时间范围:开始时间
	StartDate string `json:"start_date,omitempty" xml:"start_date,omitempty"`
	// 单据类型,可选值:退货("GOODRETURN"),换货("GOODEXCHANGE"),仅退款("RETURN")
	Type string `json:"type,omitempty" xml:"type,omitempty"`
	// 供应商专柜Id
	OutCounterId string `json:"out_counter_id,omitempty" xml:"out_counter_id,omitempty"`
	// 银泰专柜Id
	CounterId string `json:"counter_id,omitempty" xml:"counter_id,omitempty"`
}

RmaCriteria 结构体

type RmaDto added in v1.2.0

type RmaDto struct {
	// 商品明细
	RmaItems []RmaItemDto `json:"rma_items,omitempty" xml:"rma_items>rma_item_dto,omitempty"`
	// 快递单号
	ExpressNo string `json:"express_no,omitempty" xml:"express_no,omitempty"`
	// 快递公司名称
	ExpressName string `json:"express_name,omitempty" xml:"express_name,omitempty"`
	// 单据类型,可选值:GOODRETURN(退货), GOODEXCHANGE(换货),仅退款("RETURN");
	Type string `json:"type,omitempty" xml:"type,omitempty"`
	// 单据状态,可选值:CREATED("已创建"),  INBOUND("已收货同意退款"),  NOTINBOUND("已收货不同意退款"),REFUNDED("已退款"),COMPLETED("已完成"),Obsolete("已作废");
	Status string `json:"status,omitempty" xml:"status,omitempty"`
	// 最后更新时间
	LastUpdated string `json:"last_updated,omitempty" xml:"last_updated,omitempty"`
	// 退款时间
	RefundDate string `json:"refund_date,omitempty" xml:"refund_date,omitempty"`
	// 创建时间
	DateCreated string `json:"date_created,omitempty" xml:"date_created,omitempty"`
	// 退/换货原因详情
	Desc string `json:"desc,omitempty" xml:"desc,omitempty"`
	// 退/换货原因
	Reason string `json:"reason,omitempty" xml:"reason,omitempty"`
	// 商品寄回方式,可选值:RETURNTOSTORE(到店退), EXPRESSDELIVERY(邮寄退)
	ReturnTheWay string `json:"return_the_way,omitempty" xml:"return_the_way,omitempty"`
	// 运费,单位:元
	Freight string `json:"freight,omitempty" xml:"freight,omitempty"`
	// 金额,单位:元
	Amount string `json:"amount,omitempty" xml:"amount,omitempty"`
	// 订单号
	OrderNumber string `json:"order_number,omitempty" xml:"order_number,omitempty"`
	// 单据号
	RmaNumber string `json:"rma_number,omitempty" xml:"rma_number,omitempty"`
	// 退款资金信息
	Refunds string `json:"refunds,omitempty" xml:"refunds,omitempty"`
	// 供应商专柜Id
	OutCounterId string `json:"out_counter_id,omitempty" xml:"out_counter_id,omitempty"`
	// 银泰专柜Id
	CounterId string `json:"counter_id,omitempty" xml:"counter_id,omitempty"`
}

RmaDto 结构体

type RmaItemDto

type RmaItemDto struct {
	// 商品类型,可选值:普通商品(NORMAL),赠品(GIFT)
	ProductType string `json:"product_type,omitempty" xml:"product_type,omitempty"`
	// 退/换货原因详情
	Desc string `json:"desc,omitempty" xml:"desc,omitempty"`
	// 退/换货原因
	Reason string `json:"reason,omitempty" xml:"reason,omitempty"`
	// 折扣金额,单位:元
	Discount string `json:"discount,omitempty" xml:"discount,omitempty"`
	// 售价,单位:元
	Price string `json:"price,omitempty" xml:"price,omitempty"`
	// 数量
	Quantity string `json:"quantity,omitempty" xml:"quantity,omitempty"`
	// 商品属性
	Properties string `json:"properties,omitempty" xml:"properties,omitempty"`
	// 商品标题
	Title string `json:"title,omitempty" xml:"title,omitempty"`
	// 外部商品Id
	OutId string `json:"out_id,omitempty" xml:"out_id,omitempty"`
	// 商品Id
	SkuId string `json:"sku_id,omitempty" xml:"sku_id,omitempty"`
	// 实付金额,单位:元
	ActualAmount string `json:"actual_amount,omitempty" xml:"actual_amount,omitempty"`
	// 唯一码(仅限西有使用)
	DiscCode string `json:"disc_code,omitempty" xml:"disc_code,omitempty"`
	// 商品编码
	SettlementCode string `json:"settlement_code,omitempty" xml:"settlement_code,omitempty"`
}

RmaItemDto 结构体

type SalesOrderDto

type SalesOrderDto struct {
	// 订单商品明细
	OrderItems []SalesOrderItemDto `json:"order_items,omitempty" xml:"order_items>sales_order_item_dto,omitempty"`
	// 门店名称
	StoreName string `json:"store_name,omitempty" xml:"store_name,omitempty"`
	// 销售类型:STORE(门店销售)、ONLINE(线上销售)
	SaleType string `json:"sale_type,omitempty" xml:"sale_type,omitempty"`
	// 最后更新时间
	LastUpdated string `json:"last_updated,omitempty" xml:"last_updated,omitempty"`
	// 订单创建时间
	DateCreated string `json:"date_created,omitempty" xml:"date_created,omitempty"`
	// 支付时间
	PaidTime string `json:"paid_time,omitempty" xml:"paid_time,omitempty"`
	// 运费,单位:元
	Freight string `json:"freight,omitempty" xml:"freight,omitempty"`
	// 订单商品金额,单位:元
	Amount string `json:"amount,omitempty" xml:"amount,omitempty"`
	// 订单号
	OrderNumber string `json:"order_number,omitempty" xml:"order_number,omitempty"`
	// 专柜ID
	CounterId string `json:"counter_id,omitempty" xml:"counter_id,omitempty"`
	// 专柜名称
	CounterName string `json:"counter_name,omitempty" xml:"counter_name,omitempty"`
	// 订单状态,可选值:UNPAID(未支付)、PAID(已支付)、PARTDISTRIBUTION(部分发货)、ALLDISTRIBUTION(全部发货)、CANCEL(取消)、BUYER_REFUND_GOODS(买家退货)
	Status string `json:"status,omitempty" xml:"status,omitempty"`
	// 买家备注
	BuyerMemo string `json:"buyer_memo,omitempty" xml:"buyer_memo,omitempty"`
	// 支付信息
	Payments string `json:"payments,omitempty" xml:"payments,omitempty"`
	// 供应商专柜Id
	OutCounterId string `json:"out_counter_id,omitempty" xml:"out_counter_id,omitempty"`
	// 发货方:INTIME(银泰)、THIRD(第三方)
	Shipper string `json:"shipper,omitempty" xml:"shipper,omitempty"`
	// 配送方式:TOSTORE(门店自提)、APPOINTTIME(定时达)、EXPRESS(普通快递)、NEXTDAY(次日定时达)、TOSTORESERVICE(到店服务)、OFFLINESALE(现场销售)、NOT_REQUIRED(无需配送(虚拟商品))
	DeliveryType string `json:"delivery_type,omitempty" xml:"delivery_type,omitempty"`
	// 收货人姓名
	ReceiverName string `json:"receiver_name,omitempty" xml:"receiver_name,omitempty"`
	// 收货人详细地址
	ReceiverAddress string `json:"receiver_address,omitempty" xml:"receiver_address,omitempty"`
	// 收货人省份
	ReceiverState string `json:"receiver_state,omitempty" xml:"receiver_state,omitempty"`
	// 收货地址邮编
	ReceiverZip string `json:"receiver_zip,omitempty" xml:"receiver_zip,omitempty"`
	// 收货人移动电话
	ReceiverMobile string `json:"receiver_mobile,omitempty" xml:"receiver_mobile,omitempty"`
	// 收货人固话
	ReceiverPhone string `json:"receiver_phone,omitempty" xml:"receiver_phone,omitempty"`
	// 预约送达时间范围,开始时间
	AppointmentStartTime string `json:"appointment_start_time,omitempty" xml:"appointment_start_time,omitempty"`
	// 收货人所在区域
	ReceiverArea string `json:"receiver_area,omitempty" xml:"receiver_area,omitempty"`
	// 收货人所在市
	ReceiverCity string `json:"receiver_city,omitempty" xml:"receiver_city,omitempty"`
	// 预约送达时间范围,结束时间
	AppointmentEndTime string `json:"appointment_end_time,omitempty" xml:"appointment_end_time,omitempty"`
	// 预售订单,最晚发货时间
	LatestDeliveryTime string `json:"latest_delivery_time,omitempty" xml:"latest_delivery_time,omitempty"`
	// 订单标签,PRE_ORDER(预购),PRE_SALE(预售),DUTCH_ACTION(东东抢)
	Tag string `json:"tag,omitempty" xml:"tag,omitempty"`
	// 发票信息(已废弃)
	Invoice *InvoiceDto `json:"invoice,omitempty" xml:"invoice,omitempty"`
}

SalesOrderDto 结构体

type SalesOrderItemDto

type SalesOrderItemDto struct {
	// 外部商品Id
	OutId string `json:"out_id,omitempty" xml:"out_id,omitempty"`
	// 商品Id
	SkuId string `json:"sku_id,omitempty" xml:"sku_id,omitempty"`
	// 商品名称
	Title string `json:"title,omitempty" xml:"title,omitempty"`
	// 商品类型:普通商品(NORMAL)
	ProductType string `json:"product_type,omitempty" xml:"product_type,omitempty"`
	// 销售属性:颜色:15#/规格:3.5g,用/分隔
	SaleProperty string `json:"sale_property,omitempty" xml:"sale_property,omitempty"`
	// 数量
	Quantity string `json:"quantity,omitempty" xml:"quantity,omitempty"`
	// 价格,单位:元
	Price string `json:"price,omitempty" xml:"price,omitempty"`
	// 折扣金额,单位:元
	Discount string `json:"discount,omitempty" xml:"discount,omitempty"`
	// 吊牌价,单位:元
	TagPrice string `json:"tag_price,omitempty" xml:"tag_price,omitempty"`
	// 支付信息
	Payments string `json:"payments,omitempty" xml:"payments,omitempty"`
	// 唯一码(仅西有用)
	DiscCode string `json:"disc_code,omitempty" xml:"disc_code,omitempty"`
	// 分摊金额(仅西有用)
	DiscAmount string `json:"disc_amount,omitempty" xml:"disc_amount,omitempty"`
	// 发货拦截标识( NORMAL 正常 ;INTERCEPTION 拦截 )
	ShipmentInterception string `json:"shipment_interception,omitempty" xml:"shipment_interception,omitempty"`
	// 导购Id
	GuiderId string `json:"guider_id,omitempty" xml:"guider_id,omitempty"`
	// 条码
	Barcode string `json:"barcode,omitempty" xml:"barcode,omitempty"`
	// 货号
	ArtNo string `json:"art_no,omitempty" xml:"art_no,omitempty"`
	// 唯一标识
	Id string `json:"id,omitempty" xml:"id,omitempty"`
	// E2分摊金额
	E2PartDiscount string `json:"e2_part_discount,omitempty" xml:"e2_part_discount,omitempty"`
	// 商品编码
	SettlementCode string `json:"settlement_code,omitempty" xml:"settlement_code,omitempty"`
}

SalesOrderItemDto 结构体

type ShipItemDto

type ShipItemDto struct {
	// 数量
	Quantity string `json:"quantity,omitempty" xml:"quantity,omitempty"`
	// 商品sku
	SkuId string `json:"sku_id,omitempty" xml:"sku_id,omitempty"`
	// 唯一标识
	Id string `json:"id,omitempty" xml:"id,omitempty"`
}

ShipItemDto 结构体

type SpuInputDto

type SpuInputDto struct {
	// 产品的子图片.目前最多支持50张。
	ProductImgs []ProductImgDto `json:"product_imgs,omitempty" xml:"product_imgs>product_img_dto,omitempty"`
	// 产品参数描述,如:材质成分、裙长、年份季节等信息,最多50个属性
	Props []PropertyDto `json:"props,omitempty" xml:"props>property_dto,omitempty"`
	// 详情图(最大列表长度:60)
	DescPicList []string `json:"desc_pic_list,omitempty" xml:"desc_pic_list>string,omitempty"`
	// 产品条码信息
	BarcodeStr string `json:"barcode_str,omitempty" xml:"barcode_str,omitempty"`
	// 银泰品牌Id
	BrandId string `json:"brand_id,omitempty" xml:"brand_id,omitempty"`
	// 品牌名称
	BrandName string `json:"brand_name,omitempty" xml:"brand_name,omitempty"`
	// 商品类目名称
	CatName string `json:"cat_name,omitempty" xml:"cat_name,omitempty"`
	// 商品类目ID.必须是叶子类目ID
	Cid string `json:"cid,omitempty" xml:"cid,omitempty"`
	// SPU ID
	Id string `json:"id,omitempty" xml:"id,omitempty"`
	// 透明素材图
	Material string `json:"material,omitempty" xml:"material,omitempty"`
	// 已废弃
	Mdesc string `json:"mdesc,omitempty" xml:"mdesc,omitempty"`
	// 已废弃
	PcDesc string `json:"pc_desc,omitempty" xml:"pc_desc,omitempty"`
	// 产品的主图片地址.(绝对地址,格式:http://host/image_path)
	PicUrl string `json:"pic_url,omitempty" xml:"pic_url,omitempty"`
	// 吊牌价.单位为元.
	Price string `json:"price,omitempty" xml:"price,omitempty"`
	// 产品ID
	ProductId string `json:"product_id,omitempty" xml:"product_id,omitempty"`
	// 产品卖点描述,长度限制20个汉字
	SellPt string `json:"sell_pt,omitempty" xml:"sell_pt,omitempty"`
	// 款号
	StyleNo string `json:"style_no,omitempty" xml:"style_no,omitempty"`
	// 子标题
	SubTitle string `json:"sub_title,omitempty" xml:"sub_title,omitempty"`
	// brand是银泰品牌Id,colorName(颜色名称)、colorCode(颜色编码)、sizeCode(尺码编码)、sizeName(尺码名称):商品销售属性,标签一些在属性里找不到id的属性存放在这里
	Tags string `json:"tags,omitempty" xml:"tags,omitempty"`
	// 产品名称
	Title string `json:"title,omitempty" xml:"title,omitempty"`
	// 天猫品牌Id
	TmallBrandId string `json:"tmall_brand_id,omitempty" xml:"tmall_brand_id,omitempty"`
	// 天猫ItemId
	TmallItemId int64 `json:"tmall_item_id,omitempty" xml:"tmall_item_id,omitempty"`
	// 是否新品默认是true
	IsNew bool `json:"is_new,omitempty" xml:"is_new,omitempty"`
}

SpuInputDto 结构体

type Spudto

type Spudto struct {
	// 商品图片集合
	ProductImgs []ProductImgDto `json:"product_imgs,omitempty" xml:"product_imgs>product_img_dto,omitempty"`
	// 属性
	Props []PropertyDto `json:"props,omitempty" xml:"props>property_dto,omitempty"`
	// 条码信息
	BarcodeStr string `json:"barcode_str,omitempty" xml:"barcode_str,omitempty"`
	// 品牌唯一标识
	BrandId string `json:"brand_id,omitempty" xml:"brand_id,omitempty"`
	// 品牌名称
	BrandName string `json:"brand_name,omitempty" xml:"brand_name,omitempty"`
	// 类目名称
	CatName string `json:"cat_name,omitempty" xml:"cat_name,omitempty"`
	// 类目唯一标识
	Cid string `json:"cid,omitempty" xml:"cid,omitempty"`
	// 创建时间
	Created string `json:"created,omitempty" xml:"created,omitempty"`
	// 唯一标识
	Id string `json:"id,omitempty" xml:"id,omitempty"`
	// 透明素材图
	Material string `json:"material,omitempty" xml:"material,omitempty"`
	// m站产品描述
	Mdesc string `json:"mdesc,omitempty" xml:"mdesc,omitempty"`
	// 修改时间
	Modified string `json:"modified,omitempty" xml:"modified,omitempty"`
	// pc端产品描述
	PcDesc string `json:"pc_desc,omitempty" xml:"pc_desc,omitempty"`
	// 图片地址
	PicUrl string `json:"pic_url,omitempty" xml:"pic_url,omitempty"`
	// 吊牌价,单位:元
	Price string `json:"price,omitempty" xml:"price,omitempty"`
	// 产品唯一标识
	ProductId string `json:"product_id,omitempty" xml:"product_id,omitempty"`
	// 产品卖点描述,长度限制在20个汉字
	SellPt string `json:"sell_pt,omitempty" xml:"sell_pt,omitempty"`
	// 款号
	StyleNo string `json:"style_no,omitempty" xml:"style_no,omitempty"`
	// 子标题
	SubTitle string `json:"sub_title,omitempty" xml:"sub_title,omitempty"`
	// 扩展属性
	Tags string `json:"tags,omitempty" xml:"tags,omitempty"`
	// 产品名称
	Title string `json:"title,omitempty" xml:"title,omitempty"`
	// 商品级别:1.天猫,2.线上,3.单品,4.原始
	Level int64 `json:"level,omitempty" xml:"level,omitempty"`
	// 产品评分次数
	RateNum int64 `json:"rate_num,omitempty" xml:"rate_num,omitempty"`
	// 产品状态:删除(-1),正常(1)
	Status int64 `json:"status,omitempty" xml:"status,omitempty"`
	// 是否新品,默认true
	IsNew bool `json:"is_new,omitempty" xml:"is_new,omitempty"`
}

Spudto 结构体

type VirtualInventoryDto

type VirtualInventoryDto struct {
	// 可售库存数量
	AvailableQuantity string `json:"available_quantity,omitempty" xml:"available_quantity,omitempty"`
	// 银泰专柜号
	CounterId string `json:"counter_id,omitempty" xml:"counter_id,omitempty"`
	// 占库数量
	OccupyQty string `json:"occupy_qty,omitempty" xml:"occupy_qty,omitempty"`
	// 外部专柜号
	OutCounterId string `json:"out_counter_id,omitempty" xml:"out_counter_id,omitempty"`
	// 外部商品id
	OutId string `json:"out_id,omitempty" xml:"out_id,omitempty"`
	// 在库数量
	Quantity string `json:"quantity,omitempty" xml:"quantity,omitempty"`
}

VirtualInventoryDto 结构体

type VirtualInventoryQueryDto

type VirtualInventoryQueryDto struct {
	// 外部商品id(最大列表长度:50)
	OutIds []string `json:"out_ids,omitempty" xml:"out_ids>string,omitempty"`
	// 银泰专柜号
	CounterId string `json:"counter_id,omitempty" xml:"counter_id,omitempty"`
	// 外部专柜号(在供应商系统中的专柜号,两个专柜号必须至少传一个,如果都传一counter_id为准)
	OutCounterId string `json:"out_counter_id,omitempty" xml:"out_counter_id,omitempty"`
}

VirtualInventoryQueryDto 结构体

Source Files

Jump to

Keyboard shortcuts

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