Documentation ¶
Overview ¶
Package moscm 包含银泰scm-openapi相关结构体
Index ¶
- type AlibabamosdeliverysendAPIRequest
- func (r AlibabamosdeliverysendAPIRequest) GetApiMethodName() string
- func (r AlibabamosdeliverysendAPIRequest) GetApiParams(params url.Values)
- func (r AlibabamosdeliverysendAPIRequest) GetDeliveryDto() *DeliveryDto
- func (r AlibabamosdeliverysendAPIRequest) GetRawParams() model.Params
- func (r *AlibabamosdeliverysendAPIRequest) SetDeliveryDto(_deliveryDto *DeliveryDto) error
- type AlibabamosdeliverysendAPIResponse
- type AlibabamosdeliverysendAPIResponseModel
- type AlibabamosdeliverysendResultDo
- type AlibabamosgoodsadjustAPIRequest
- func (r AlibabamosgoodsadjustAPIRequest) GetApiMethodName() string
- func (r AlibabamosgoodsadjustAPIRequest) GetApiParams(params url.Values)
- func (r AlibabamosgoodsadjustAPIRequest) GetParamIsvStockAdjustRequestDTO() *IsvStockAdjustRequestDto
- func (r AlibabamosgoodsadjustAPIRequest) GetRawParams() model.Params
- func (r *AlibabamosgoodsadjustAPIRequest) SetParamIsvStockAdjustRequestDTO(_paramIsvStockAdjustRequestDTO *IsvStockAdjustRequestDto) error
- type AlibabamosgoodsadjustAPIResponse
- type AlibabamosgoodsadjustAPIResponseModel
- type AlibabamosgoodsadjustResultDo
- type AlibabamosgoodsbulkinputcspuAPIRequest
- func (r AlibabamosgoodsbulkinputcspuAPIRequest) GetApiMethodName() string
- func (r AlibabamosgoodsbulkinputcspuAPIRequest) GetApiParams(params url.Values)
- func (r AlibabamosgoodsbulkinputcspuAPIRequest) GetCspuInputDtoList() []CspuInputDto
- func (r AlibabamosgoodsbulkinputcspuAPIRequest) GetRawParams() model.Params
- func (r *AlibabamosgoodsbulkinputcspuAPIRequest) SetCspuInputDtoList(_cspuInputDtoList []CspuInputDto) error
- type AlibabamosgoodsbulkinputcspuAPIResponse
- type AlibabamosgoodsbulkinputcspuAPIResponseModel
- type AlibabamosgoodsinventorygetinventorysAPIRequest
- func (r AlibabamosgoodsinventorygetinventorysAPIRequest) GetApiMethodName() string
- func (r AlibabamosgoodsinventorygetinventorysAPIRequest) GetApiParams(params url.Values)
- func (r AlibabamosgoodsinventorygetinventorysAPIRequest) GetParamVirtualInventoryQueryDto() *VirtualInventoryQueryDto
- func (r AlibabamosgoodsinventorygetinventorysAPIRequest) GetRawParams() model.Params
- func (r *AlibabamosgoodsinventorygetinventorysAPIRequest) SetParamVirtualInventoryQueryDto(_paramVirtualInventoryQueryDto *VirtualInventoryQueryDto) error
- type AlibabamosgoodsinventorygetinventorysAPIResponse
- type AlibabamosgoodsinventorygetinventorysAPIResponseModel
- type AlibabamosgoodssearchcspuAPIRequest
- func (r AlibabamosgoodssearchcspuAPIRequest) GetApiMethodName() string
- func (r AlibabamosgoodssearchcspuAPIRequest) GetApiParams(params url.Values)
- func (r AlibabamosgoodssearchcspuAPIRequest) GetParamCspuCriteria() *CspuCriteria
- func (r AlibabamosgoodssearchcspuAPIRequest) GetParamPaginator() *Paginator
- func (r AlibabamosgoodssearchcspuAPIRequest) GetRawParams() model.Params
- func (r *AlibabamosgoodssearchcspuAPIRequest) SetParamCspuCriteria(_paramCspuCriteria *CspuCriteria) error
- func (r *AlibabamosgoodssearchcspuAPIRequest) SetParamPaginator(_paramPaginator *Paginator) error
- type AlibabamosgoodssearchcspuAPIResponse
- type AlibabamosgoodssearchcspuAPIResponseModel
- type AlibabamosgoodssetpriceAPIRequest
- func (r AlibabamosgoodssetpriceAPIRequest) GetApiMethodName() string
- func (r AlibabamosgoodssetpriceAPIRequest) GetApiParams(params url.Values)
- func (r AlibabamosgoodssetpriceAPIRequest) GetPriceDtoList() []PriceDto
- func (r AlibabamosgoodssetpriceAPIRequest) GetRawParams() model.Params
- func (r *AlibabamosgoodssetpriceAPIRequest) SetPriceDtoList(_priceDtoList []PriceDto) error
- type AlibabamosgoodssetpriceAPIResponse
- type AlibabamosgoodssetpriceAPIResponseModel
- type AlibabamosgoodssynchinventorybycountingAPIRequest
- func (r AlibabamosgoodssynchinventorybycountingAPIRequest) GetApiMethodName() string
- func (r AlibabamosgoodssynchinventorybycountingAPIRequest) GetApiParams(params url.Values)
- func (r AlibabamosgoodssynchinventorybycountingAPIRequest) GetCountingItemDto() []CountingItemDto
- func (r AlibabamosgoodssynchinventorybycountingAPIRequest) GetParamCountingInfoDto() *CountingInfoDto
- func (r AlibabamosgoodssynchinventorybycountingAPIRequest) GetRawParams() model.Params
- func (r *AlibabamosgoodssynchinventorybycountingAPIRequest) SetCountingItemDto(_countingItemDto []CountingItemDto) error
- func (r *AlibabamosgoodssynchinventorybycountingAPIRequest) SetParamCountingInfoDto(_paramCountingInfoDto *CountingInfoDto) error
- type AlibabamosgoodssynchinventorybycountingAPIResponse
- type AlibabamosgoodssynchinventorybycountingAPIResponseModel
- type AlibabamosgoodssynchinventorybycountingResultDo
- type AlibabamosisvinventoryscrollqueryAPIRequest
- func (r AlibabamosisvinventoryscrollqueryAPIRequest) GetApiMethodName() string
- func (r AlibabamosisvinventoryscrollqueryAPIRequest) GetApiParams(params url.Values)
- func (r AlibabamosisvinventoryscrollqueryAPIRequest) GetCounterId() string
- func (r AlibabamosisvinventoryscrollqueryAPIRequest) GetRawParams() model.Params
- func (r AlibabamosisvinventoryscrollqueryAPIRequest) GetScrollId() string
- func (r *AlibabamosisvinventoryscrollqueryAPIRequest) SetCounterId(_counterId string) error
- func (r *AlibabamosisvinventoryscrollqueryAPIRequest) SetScrollId(_scrollId string) error
- type AlibabamosisvinventoryscrollqueryAPIResponse
- type AlibabamosisvinventoryscrollqueryAPIResponseModel
- type AlibabamosorderlistgetAPIRequest
- func (r AlibabamosorderlistgetAPIRequest) GetApiMethodName() string
- func (r AlibabamosorderlistgetAPIRequest) GetApiParams(params url.Values)
- func (r AlibabamosorderlistgetAPIRequest) GetOrderCriteria() *OrderCriteria
- func (r AlibabamosorderlistgetAPIRequest) GetPaginator() *Paginator
- func (r AlibabamosorderlistgetAPIRequest) GetRawParams() model.Params
- func (r *AlibabamosorderlistgetAPIRequest) SetOrderCriteria(_orderCriteria *OrderCriteria) error
- func (r *AlibabamosorderlistgetAPIRequest) SetPaginator(_paginator *Paginator) error
- type AlibabamosorderlistgetAPIResponse
- type AlibabamosorderlistgetAPIResponseModel
- type AlibabamosorderlistgetResultDo
- type AlibabamosorderqueryAPIRequest
- func (r AlibabamosorderqueryAPIRequest) GetApiMethodName() string
- func (r AlibabamosorderqueryAPIRequest) GetApiParams(params url.Values)
- func (r AlibabamosorderqueryAPIRequest) GetOrderCriteria() *OrderCriteria
- func (r AlibabamosorderqueryAPIRequest) GetPaginator() *Paginator
- func (r AlibabamosorderqueryAPIRequest) GetRawParams() model.Params
- func (r *AlibabamosorderqueryAPIRequest) SetOrderCriteria(_orderCriteria *OrderCriteria) error
- func (r *AlibabamosorderqueryAPIRequest) SetPaginator(_paginator *Paginator) error
- type AlibabamosorderqueryAPIResponse
- type AlibabamosorderqueryAPIResponseModel
- type AlibabamosorderqueryResultDo
- type AlibabamosorderrefundlistgetAPIRequest
- func (r AlibabamosorderrefundlistgetAPIRequest) GetApiMethodName() string
- func (r AlibabamosorderrefundlistgetAPIRequest) GetApiParams(params url.Values)
- func (r AlibabamosorderrefundlistgetAPIRequest) GetPaginator() *Paginator
- func (r AlibabamosorderrefundlistgetAPIRequest) GetRawParams() model.Params
- func (r AlibabamosorderrefundlistgetAPIRequest) GetRmaCriteria() *RmaCriteria
- func (r *AlibabamosorderrefundlistgetAPIRequest) SetPaginator(_paginator *Paginator) error
- func (r *AlibabamosorderrefundlistgetAPIRequest) SetRmaCriteria(_rmaCriteria *RmaCriteria) error
- type AlibabamosorderrefundlistgetAPIResponse
- type AlibabamosorderrefundlistgetAPIResponseModel
- type AlibabamosorderrefundlistgetResultDto
- type BulkInputCspuResult
- type CountingInfoDto
- type CountingItemDto
- type CspuCriteria
- type CspuInputDto
- type Cspudto
- type DeliveryDto
- type InputCspuResult
- type InventoryDetailDto
- type InvoiceDto
- type IsvInboundRequestItemDto
- type IsvOutboundRequestItemDto
- type IsvStockAdjustRequestDto
- type MosScrollQueryResult
- type OrderCriteria
- type PagedList
- type Paginator
- type PriceDto
- type PriceResult
- type ProductImgDto
- type PropertyDto
- type RmaCriteria
- type RmaDto
- type RmaItemDto
- type SalesOrderDto
- type SalesOrderItemDto
- type ShipItemDto
- type SpuInputDto
- type Spudto
- type VirtualInventoryDto
- type VirtualInventoryQueryDto
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AlibabamosdeliverysendAPIRequest ¶ added in v1.3.1
type AlibabamosdeliverysendAPIRequest struct { model.Params // contains filtered or unexported fields }
AlibabamosdeliverysendAPIRequest 发货 API请求 alibaba.mos.delivery.send
订单发货填写快递单
func NewAlibabamosdeliverysendRequest ¶ added in v1.3.1
func NewAlibabamosdeliverysendRequest() *AlibabamosdeliverysendAPIRequest
NewAlibabamosdeliverysendRequest 初始化AlibabamosdeliverysendAPIRequest对象
func (AlibabamosdeliverysendAPIRequest) GetApiMethodName ¶ added in v1.3.1
func (r AlibabamosdeliverysendAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (AlibabamosdeliverysendAPIRequest) GetApiParams ¶ added in v1.3.1
func (r AlibabamosdeliverysendAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (AlibabamosdeliverysendAPIRequest) GetDeliveryDto ¶ added in v1.3.1
func (r AlibabamosdeliverysendAPIRequest) GetDeliveryDto() *DeliveryDto
GetDeliveryDto DeliveryDto Getter
func (AlibabamosdeliverysendAPIRequest) GetRawParams ¶ added in v1.3.1
func (r AlibabamosdeliverysendAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (*AlibabamosdeliverysendAPIRequest) SetDeliveryDto ¶ added in v1.3.1
func (r *AlibabamosdeliverysendAPIRequest) SetDeliveryDto(_deliveryDto *DeliveryDto) error
SetDeliveryDto is DeliveryDto Setter 发货信息
type AlibabamosdeliverysendAPIResponse ¶ added in v1.3.1
type AlibabamosdeliverysendAPIResponse struct { model.CommonResponse AlibabamosdeliverysendAPIResponseModel }
AlibabamosdeliverysendAPIResponse 发货 API返回值 alibaba.mos.delivery.send
订单发货填写快递单
type AlibabamosdeliverysendAPIResponseModel ¶ added in v1.3.1
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 ¶ added in v1.3.1
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.3.1
type AlibabamosgoodsadjustAPIRequest struct { model.Params // contains filtered or unexported fields }
AlibabamosgoodsadjustAPIRequest 调整库存 API请求 alibaba.mos.goods.adjust
库存调整接口
func NewAlibabamosgoodsadjustRequest ¶ added in v1.3.1
func NewAlibabamosgoodsadjustRequest() *AlibabamosgoodsadjustAPIRequest
NewAlibabamosgoodsadjustRequest 初始化AlibabamosgoodsadjustAPIRequest对象
func (AlibabamosgoodsadjustAPIRequest) GetApiMethodName ¶ added in v1.3.1
func (r AlibabamosgoodsadjustAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (AlibabamosgoodsadjustAPIRequest) GetApiParams ¶ added in v1.3.1
func (r AlibabamosgoodsadjustAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (AlibabamosgoodsadjustAPIRequest) GetParamIsvStockAdjustRequestDTO ¶ added in v1.3.1
func (r AlibabamosgoodsadjustAPIRequest) GetParamIsvStockAdjustRequestDTO() *IsvStockAdjustRequestDto
GetParamIsvStockAdjustRequestDTO ParamIsvStockAdjustRequestDTO Getter
func (AlibabamosgoodsadjustAPIRequest) GetRawParams ¶ added in v1.3.1
func (r AlibabamosgoodsadjustAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (*AlibabamosgoodsadjustAPIRequest) SetParamIsvStockAdjustRequestDTO ¶ added in v1.3.1
func (r *AlibabamosgoodsadjustAPIRequest) SetParamIsvStockAdjustRequestDTO(_paramIsvStockAdjustRequestDTO *IsvStockAdjustRequestDto) error
SetParamIsvStockAdjustRequestDTO is ParamIsvStockAdjustRequestDTO Setter 库存调整入参
type AlibabamosgoodsadjustAPIResponse ¶ added in v1.3.1
type AlibabamosgoodsadjustAPIResponse struct { model.CommonResponse AlibabamosgoodsadjustAPIResponseModel }
AlibabamosgoodsadjustAPIResponse 调整库存 API返回值 alibaba.mos.goods.adjust
库存调整接口
type AlibabamosgoodsadjustAPIResponseModel ¶ added in v1.3.1
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 ¶ added in v1.3.1
type AlibabamosgoodsadjustResultDo struct { // 返回生成的单据号 Data string `json:"data,omitempty" xml:"data,omitempty"` }
AlibabamosgoodsadjustResultDo 结构体
type AlibabamosgoodsbulkinputcspuAPIRequest ¶ added in v1.3.1
type AlibabamosgoodsbulkinputcspuAPIRequest struct { model.Params // contains filtered or unexported fields }
AlibabamosgoodsbulkinputcspuAPIRequest 批量录入商品信息 API请求 alibaba.mos.goods.bulkinputcspu
用于商品信息的批量导入到银泰商品中台
func NewAlibabamosgoodsbulkinputcspuRequest ¶ added in v1.3.1
func NewAlibabamosgoodsbulkinputcspuRequest() *AlibabamosgoodsbulkinputcspuAPIRequest
NewAlibabamosgoodsbulkinputcspuRequest 初始化AlibabamosgoodsbulkinputcspuAPIRequest对象
func (AlibabamosgoodsbulkinputcspuAPIRequest) GetApiMethodName ¶ added in v1.3.1
func (r AlibabamosgoodsbulkinputcspuAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (AlibabamosgoodsbulkinputcspuAPIRequest) GetApiParams ¶ added in v1.3.1
func (r AlibabamosgoodsbulkinputcspuAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (AlibabamosgoodsbulkinputcspuAPIRequest) GetCspuInputDtoList ¶ added in v1.3.1
func (r AlibabamosgoodsbulkinputcspuAPIRequest) GetCspuInputDtoList() []CspuInputDto
GetCspuInputDtoList CspuInputDtoList Getter
func (AlibabamosgoodsbulkinputcspuAPIRequest) GetRawParams ¶ added in v1.3.1
func (r AlibabamosgoodsbulkinputcspuAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (*AlibabamosgoodsbulkinputcspuAPIRequest) SetCspuInputDtoList ¶ added in v1.3.1
func (r *AlibabamosgoodsbulkinputcspuAPIRequest) SetCspuInputDtoList(_cspuInputDtoList []CspuInputDto) error
SetCspuInputDtoList is CspuInputDtoList Setter 录入商品信息列表(最大列表长度:20)
type AlibabamosgoodsbulkinputcspuAPIResponse ¶ added in v1.3.1
type AlibabamosgoodsbulkinputcspuAPIResponse struct { model.CommonResponse AlibabamosgoodsbulkinputcspuAPIResponseModel }
AlibabamosgoodsbulkinputcspuAPIResponse 批量录入商品信息 API返回值 alibaba.mos.goods.bulkinputcspu
用于商品信息的批量导入到银泰商品中台
type AlibabamosgoodsbulkinputcspuAPIResponseModel ¶ added in v1.3.1
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.3.1
type AlibabamosgoodsinventorygetinventorysAPIRequest struct { model.Params // contains filtered or unexported fields }
AlibabamosgoodsinventorygetinventorysAPIRequest 可售库存查询 API请求 alibaba.mos.goods.inventory.getinventorys
查询商品的可售、在库和占库数量
func NewAlibabamosgoodsinventorygetinventorysRequest ¶ added in v1.3.1
func NewAlibabamosgoodsinventorygetinventorysRequest() *AlibabamosgoodsinventorygetinventorysAPIRequest
NewAlibabamosgoodsinventorygetinventorysRequest 初始化AlibabamosgoodsinventorygetinventorysAPIRequest对象
func (AlibabamosgoodsinventorygetinventorysAPIRequest) GetApiMethodName ¶ added in v1.3.1
func (r AlibabamosgoodsinventorygetinventorysAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (AlibabamosgoodsinventorygetinventorysAPIRequest) GetApiParams ¶ added in v1.3.1
func (r AlibabamosgoodsinventorygetinventorysAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (AlibabamosgoodsinventorygetinventorysAPIRequest) GetParamVirtualInventoryQueryDto ¶ added in v1.3.1
func (r AlibabamosgoodsinventorygetinventorysAPIRequest) GetParamVirtualInventoryQueryDto() *VirtualInventoryQueryDto
GetParamVirtualInventoryQueryDto ParamVirtualInventoryQueryDto Getter
func (AlibabamosgoodsinventorygetinventorysAPIRequest) GetRawParams ¶ added in v1.3.1
func (r AlibabamosgoodsinventorygetinventorysAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (*AlibabamosgoodsinventorygetinventorysAPIRequest) SetParamVirtualInventoryQueryDto ¶ added in v1.3.1
func (r *AlibabamosgoodsinventorygetinventorysAPIRequest) SetParamVirtualInventoryQueryDto(_paramVirtualInventoryQueryDto *VirtualInventoryQueryDto) error
SetParamVirtualInventoryQueryDto is ParamVirtualInventoryQueryDto Setter 查询对象
type AlibabamosgoodsinventorygetinventorysAPIResponse ¶ added in v1.3.1
type AlibabamosgoodsinventorygetinventorysAPIResponse struct { model.CommonResponse AlibabamosgoodsinventorygetinventorysAPIResponseModel }
AlibabamosgoodsinventorygetinventorysAPIResponse 可售库存查询 API返回值 alibaba.mos.goods.inventory.getinventorys
查询商品的可售、在库和占库数量
type AlibabamosgoodsinventorygetinventorysAPIResponseModel ¶ added in v1.3.1
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.3.1
type AlibabamosgoodssearchcspuAPIRequest struct { model.Params // contains filtered or unexported fields }
AlibabamosgoodssearchcspuAPIRequest cspu查询 API请求 alibaba.mos.goods.searchcspu
商品信息查询(仅用于商品上传数据验证,不能用于商品下载,有限流)
func NewAlibabamosgoodssearchcspuRequest ¶ added in v1.3.1
func NewAlibabamosgoodssearchcspuRequest() *AlibabamosgoodssearchcspuAPIRequest
NewAlibabamosgoodssearchcspuRequest 初始化AlibabamosgoodssearchcspuAPIRequest对象
func (AlibabamosgoodssearchcspuAPIRequest) GetApiMethodName ¶ added in v1.3.1
func (r AlibabamosgoodssearchcspuAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (AlibabamosgoodssearchcspuAPIRequest) GetApiParams ¶ added in v1.3.1
func (r AlibabamosgoodssearchcspuAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (AlibabamosgoodssearchcspuAPIRequest) GetParamCspuCriteria ¶ added in v1.3.1
func (r AlibabamosgoodssearchcspuAPIRequest) GetParamCspuCriteria() *CspuCriteria
GetParamCspuCriteria ParamCspuCriteria Getter
func (AlibabamosgoodssearchcspuAPIRequest) GetParamPaginator ¶ added in v1.3.1
func (r AlibabamosgoodssearchcspuAPIRequest) GetParamPaginator() *Paginator
GetParamPaginator ParamPaginator Getter
func (AlibabamosgoodssearchcspuAPIRequest) GetRawParams ¶ added in v1.3.1
func (r AlibabamosgoodssearchcspuAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (*AlibabamosgoodssearchcspuAPIRequest) SetParamCspuCriteria ¶ added in v1.3.1
func (r *AlibabamosgoodssearchcspuAPIRequest) SetParamCspuCriteria(_paramCspuCriteria *CspuCriteria) error
SetParamCspuCriteria is ParamCspuCriteria Setter 组合查询对象
func (*AlibabamosgoodssearchcspuAPIRequest) SetParamPaginator ¶ added in v1.3.1
func (r *AlibabamosgoodssearchcspuAPIRequest) SetParamPaginator(_paramPaginator *Paginator) error
SetParamPaginator is ParamPaginator Setter 分页参数
type AlibabamosgoodssearchcspuAPIResponse ¶ added in v1.3.1
type AlibabamosgoodssearchcspuAPIResponse struct { model.CommonResponse AlibabamosgoodssearchcspuAPIResponseModel }
AlibabamosgoodssearchcspuAPIResponse cspu查询 API返回值 alibaba.mos.goods.searchcspu
商品信息查询(仅用于商品上传数据验证,不能用于商品下载,有限流)
type AlibabamosgoodssearchcspuAPIResponseModel ¶ added in v1.3.1
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.3.1
type AlibabamosgoodssetpriceAPIRequest struct { model.Params // contains filtered or unexported fields }
AlibabamosgoodssetpriceAPIRequest 价格变更接口 API请求 alibaba.mos.goods.setprice
价格变更接口,供供应商修改价格时使用。
func NewAlibabamosgoodssetpriceRequest ¶ added in v1.3.1
func NewAlibabamosgoodssetpriceRequest() *AlibabamosgoodssetpriceAPIRequest
NewAlibabamosgoodssetpriceRequest 初始化AlibabamosgoodssetpriceAPIRequest对象
func (AlibabamosgoodssetpriceAPIRequest) GetApiMethodName ¶ added in v1.3.1
func (r AlibabamosgoodssetpriceAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (AlibabamosgoodssetpriceAPIRequest) GetApiParams ¶ added in v1.3.1
func (r AlibabamosgoodssetpriceAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (AlibabamosgoodssetpriceAPIRequest) GetPriceDtoList ¶ added in v1.3.1
func (r AlibabamosgoodssetpriceAPIRequest) GetPriceDtoList() []PriceDto
GetPriceDtoList PriceDtoList Getter
func (AlibabamosgoodssetpriceAPIRequest) GetRawParams ¶ added in v1.3.1
func (r AlibabamosgoodssetpriceAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (*AlibabamosgoodssetpriceAPIRequest) SetPriceDtoList ¶ added in v1.3.1
func (r *AlibabamosgoodssetpriceAPIRequest) SetPriceDtoList(_priceDtoList []PriceDto) error
SetPriceDtoList is PriceDtoList Setter 价格变更对象列表
type AlibabamosgoodssetpriceAPIResponse ¶ added in v1.3.1
type AlibabamosgoodssetpriceAPIResponse struct { model.CommonResponse AlibabamosgoodssetpriceAPIResponseModel }
AlibabamosgoodssetpriceAPIResponse 价格变更接口 API返回值 alibaba.mos.goods.setprice
价格变更接口,供供应商修改价格时使用。
type AlibabamosgoodssetpriceAPIResponseModel ¶ added in v1.3.1
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.3.1
type AlibabamosgoodssynchinventorybycountingAPIRequest struct { model.Params // contains filtered or unexported fields }
AlibabamosgoodssynchinventorybycountingAPIRequest 以盘点方式调整库存:传入商品实际库存 API请求 alibaba.mos.goods.synchinventorybycounting
以盘点方式调整库存:传入商品实际库存 盘点单自动判断数量增减
func NewAlibabamosgoodssynchinventorybycountingRequest ¶ added in v1.3.1
func NewAlibabamosgoodssynchinventorybycountingRequest() *AlibabamosgoodssynchinventorybycountingAPIRequest
NewAlibabamosgoodssynchinventorybycountingRequest 初始化AlibabamosgoodssynchinventorybycountingAPIRequest对象
func (AlibabamosgoodssynchinventorybycountingAPIRequest) GetApiMethodName ¶ added in v1.3.1
func (r AlibabamosgoodssynchinventorybycountingAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (AlibabamosgoodssynchinventorybycountingAPIRequest) GetApiParams ¶ added in v1.3.1
func (r AlibabamosgoodssynchinventorybycountingAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (AlibabamosgoodssynchinventorybycountingAPIRequest) GetCountingItemDto ¶ added in v1.3.1
func (r AlibabamosgoodssynchinventorybycountingAPIRequest) GetCountingItemDto() []CountingItemDto
GetCountingItemDto CountingItemDto Getter
func (AlibabamosgoodssynchinventorybycountingAPIRequest) GetParamCountingInfoDto ¶ added in v1.3.1
func (r AlibabamosgoodssynchinventorybycountingAPIRequest) GetParamCountingInfoDto() *CountingInfoDto
GetParamCountingInfoDto ParamCountingInfoDto Getter
func (AlibabamosgoodssynchinventorybycountingAPIRequest) GetRawParams ¶ added in v1.3.1
func (r AlibabamosgoodssynchinventorybycountingAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (*AlibabamosgoodssynchinventorybycountingAPIRequest) SetCountingItemDto ¶ added in v1.3.1
func (r *AlibabamosgoodssynchinventorybycountingAPIRequest) SetCountingItemDto(_countingItemDto []CountingItemDto) error
SetCountingItemDto is CountingItemDto Setter 盘点库存项(最大列表长度:20)
func (*AlibabamosgoodssynchinventorybycountingAPIRequest) SetParamCountingInfoDto ¶ added in v1.3.1
func (r *AlibabamosgoodssynchinventorybycountingAPIRequest) SetParamCountingInfoDto(_paramCountingInfoDto *CountingInfoDto) error
SetParamCountingInfoDto is ParamCountingInfoDto Setter 专柜信息
type AlibabamosgoodssynchinventorybycountingAPIResponse ¶ added in v1.3.1
type AlibabamosgoodssynchinventorybycountingAPIResponse struct { model.CommonResponse AlibabamosgoodssynchinventorybycountingAPIResponseModel }
AlibabamosgoodssynchinventorybycountingAPIResponse 以盘点方式调整库存:传入商品实际库存 API返回值 alibaba.mos.goods.synchinventorybycounting
以盘点方式调整库存:传入商品实际库存 盘点单自动判断数量增减
type AlibabamosgoodssynchinventorybycountingAPIResponseModel ¶ added in v1.3.1
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 ¶ added in v1.3.1
type AlibabamosgoodssynchinventorybycountingResultDo struct { // 返回数据 Data string `json:"data,omitempty" xml:"data,omitempty"` }
AlibabamosgoodssynchinventorybycountingResultDo 结构体
type AlibabamosisvinventoryscrollqueryAPIRequest ¶ added in v1.3.1
type AlibabamosisvinventoryscrollqueryAPIRequest struct { model.Params // contains filtered or unexported fields }
AlibabamosisvinventoryscrollqueryAPIRequest 滚动查询库存数据 API请求 alibaba.mos.isv.inventory.scrollquery
按专柜滚动查询有库存商品
func NewAlibabamosisvinventoryscrollqueryRequest ¶ added in v1.3.1
func NewAlibabamosisvinventoryscrollqueryRequest() *AlibabamosisvinventoryscrollqueryAPIRequest
NewAlibabamosisvinventoryscrollqueryRequest 初始化AlibabamosisvinventoryscrollqueryAPIRequest对象
func (AlibabamosisvinventoryscrollqueryAPIRequest) GetApiMethodName ¶ added in v1.3.1
func (r AlibabamosisvinventoryscrollqueryAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (AlibabamosisvinventoryscrollqueryAPIRequest) GetApiParams ¶ added in v1.3.1
func (r AlibabamosisvinventoryscrollqueryAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (AlibabamosisvinventoryscrollqueryAPIRequest) GetCounterId ¶ added in v1.3.1
func (r AlibabamosisvinventoryscrollqueryAPIRequest) GetCounterId() string
GetCounterId CounterId Getter
func (AlibabamosisvinventoryscrollqueryAPIRequest) GetRawParams ¶ added in v1.3.1
func (r AlibabamosisvinventoryscrollqueryAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (AlibabamosisvinventoryscrollqueryAPIRequest) GetScrollId ¶ added in v1.3.1
func (r AlibabamosisvinventoryscrollqueryAPIRequest) GetScrollId() string
GetScrollId ScrollId Getter
func (*AlibabamosisvinventoryscrollqueryAPIRequest) SetCounterId ¶ added in v1.3.1
func (r *AlibabamosisvinventoryscrollqueryAPIRequest) SetCounterId(_counterId string) error
SetCounterId is CounterId Setter 专柜ID
func (*AlibabamosisvinventoryscrollqueryAPIRequest) SetScrollId ¶ added in v1.3.1
func (r *AlibabamosisvinventoryscrollqueryAPIRequest) SetScrollId(_scrollId string) error
SetScrollId is ScrollId Setter 滚动查询ID号
type AlibabamosisvinventoryscrollqueryAPIResponse ¶ added in v1.3.1
type AlibabamosisvinventoryscrollqueryAPIResponse struct { model.CommonResponse AlibabamosisvinventoryscrollqueryAPIResponseModel }
AlibabamosisvinventoryscrollqueryAPIResponse 滚动查询库存数据 API返回值 alibaba.mos.isv.inventory.scrollquery
按专柜滚动查询有库存商品
type AlibabamosisvinventoryscrollqueryAPIResponseModel ¶ added in v1.3.1
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.3.1
type AlibabamosorderlistgetAPIRequest struct { model.Params // contains filtered or unexported fields }
AlibabamosorderlistgetAPIRequest 批量查询订单交易 API请求 alibaba.mos.order.list.get
批量查询交易信息
func NewAlibabamosorderlistgetRequest ¶ added in v1.3.1
func NewAlibabamosorderlistgetRequest() *AlibabamosorderlistgetAPIRequest
NewAlibabamosorderlistgetRequest 初始化AlibabamosorderlistgetAPIRequest对象
func (AlibabamosorderlistgetAPIRequest) GetApiMethodName ¶ added in v1.3.1
func (r AlibabamosorderlistgetAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (AlibabamosorderlistgetAPIRequest) GetApiParams ¶ added in v1.3.1
func (r AlibabamosorderlistgetAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (AlibabamosorderlistgetAPIRequest) GetOrderCriteria ¶ added in v1.3.1
func (r AlibabamosorderlistgetAPIRequest) GetOrderCriteria() *OrderCriteria
GetOrderCriteria OrderCriteria Getter
func (AlibabamosorderlistgetAPIRequest) GetPaginator ¶ added in v1.3.1
func (r AlibabamosorderlistgetAPIRequest) GetPaginator() *Paginator
GetPaginator Paginator Getter
func (AlibabamosorderlistgetAPIRequest) GetRawParams ¶ added in v1.3.1
func (r AlibabamosorderlistgetAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (*AlibabamosorderlistgetAPIRequest) SetOrderCriteria ¶ added in v1.3.1
func (r *AlibabamosorderlistgetAPIRequest) SetOrderCriteria(_orderCriteria *OrderCriteria) error
SetOrderCriteria is OrderCriteria Setter 订单查询条件
func (*AlibabamosorderlistgetAPIRequest) SetPaginator ¶ added in v1.3.1
func (r *AlibabamosorderlistgetAPIRequest) SetPaginator(_paginator *Paginator) error
SetPaginator is Paginator Setter 分页信息
type AlibabamosorderlistgetAPIResponse ¶ added in v1.3.1
type AlibabamosorderlistgetAPIResponse struct { model.CommonResponse AlibabamosorderlistgetAPIResponseModel }
AlibabamosorderlistgetAPIResponse 批量查询订单交易 API返回值 alibaba.mos.order.list.get
批量查询交易信息
type AlibabamosorderlistgetAPIResponseModel ¶ added in v1.3.1
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 ¶ added in v1.3.1
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.3.1
type AlibabamosorderqueryAPIRequest struct { model.Params // contains filtered or unexported fields }
AlibabamosorderqueryAPIRequest 批量查询订单信息 API请求 alibaba.mos.order.query
查询多笔交易信息
func NewAlibabamosorderqueryRequest ¶ added in v1.3.1
func NewAlibabamosorderqueryRequest() *AlibabamosorderqueryAPIRequest
NewAlibabamosorderqueryRequest 初始化AlibabamosorderqueryAPIRequest对象
func (AlibabamosorderqueryAPIRequest) GetApiMethodName ¶ added in v1.3.1
func (r AlibabamosorderqueryAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (AlibabamosorderqueryAPIRequest) GetApiParams ¶ added in v1.3.1
func (r AlibabamosorderqueryAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (AlibabamosorderqueryAPIRequest) GetOrderCriteria ¶ added in v1.3.1
func (r AlibabamosorderqueryAPIRequest) GetOrderCriteria() *OrderCriteria
GetOrderCriteria OrderCriteria Getter
func (AlibabamosorderqueryAPIRequest) GetPaginator ¶ added in v1.3.1
func (r AlibabamosorderqueryAPIRequest) GetPaginator() *Paginator
GetPaginator Paginator Getter
func (AlibabamosorderqueryAPIRequest) GetRawParams ¶ added in v1.3.1
func (r AlibabamosorderqueryAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (*AlibabamosorderqueryAPIRequest) SetOrderCriteria ¶ added in v1.3.1
func (r *AlibabamosorderqueryAPIRequest) SetOrderCriteria(_orderCriteria *OrderCriteria) error
SetOrderCriteria is OrderCriteria Setter 订单查询
func (*AlibabamosorderqueryAPIRequest) SetPaginator ¶ added in v1.3.1
func (r *AlibabamosorderqueryAPIRequest) SetPaginator(_paginator *Paginator) error
SetPaginator is Paginator Setter 分页信息
type AlibabamosorderqueryAPIResponse ¶ added in v1.3.1
type AlibabamosorderqueryAPIResponse struct { model.CommonResponse AlibabamosorderqueryAPIResponseModel }
AlibabamosorderqueryAPIResponse 批量查询订单信息 API返回值 alibaba.mos.order.query
查询多笔交易信息
type AlibabamosorderqueryAPIResponseModel ¶ added in v1.3.1
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 ¶ added in v1.3.1
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.3.1
type AlibabamosorderrefundlistgetAPIRequest struct { model.Params // contains filtered or unexported fields }
AlibabamosorderrefundlistgetAPIRequest 批量查询交易退货信息 API请求 alibaba.mos.order.refund.list.get
批量查询多个退货单的退货明细
func NewAlibabamosorderrefundlistgetRequest ¶ added in v1.3.1
func NewAlibabamosorderrefundlistgetRequest() *AlibabamosorderrefundlistgetAPIRequest
NewAlibabamosorderrefundlistgetRequest 初始化AlibabamosorderrefundlistgetAPIRequest对象
func (AlibabamosorderrefundlistgetAPIRequest) GetApiMethodName ¶ added in v1.3.1
func (r AlibabamosorderrefundlistgetAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (AlibabamosorderrefundlistgetAPIRequest) GetApiParams ¶ added in v1.3.1
func (r AlibabamosorderrefundlistgetAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (AlibabamosorderrefundlistgetAPIRequest) GetPaginator ¶ added in v1.3.1
func (r AlibabamosorderrefundlistgetAPIRequest) GetPaginator() *Paginator
GetPaginator Paginator Getter
func (AlibabamosorderrefundlistgetAPIRequest) GetRawParams ¶ added in v1.3.1
func (r AlibabamosorderrefundlistgetAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (AlibabamosorderrefundlistgetAPIRequest) GetRmaCriteria ¶ added in v1.3.1
func (r AlibabamosorderrefundlistgetAPIRequest) GetRmaCriteria() *RmaCriteria
GetRmaCriteria RmaCriteria Getter
func (*AlibabamosorderrefundlistgetAPIRequest) SetPaginator ¶ added in v1.3.1
func (r *AlibabamosorderrefundlistgetAPIRequest) SetPaginator(_paginator *Paginator) error
SetPaginator is Paginator Setter 分页信息
func (*AlibabamosorderrefundlistgetAPIRequest) SetRmaCriteria ¶ added in v1.3.1
func (r *AlibabamosorderrefundlistgetAPIRequest) SetRmaCriteria(_rmaCriteria *RmaCriteria) error
SetRmaCriteria is RmaCriteria Setter 退换货查询条件
type AlibabamosorderrefundlistgetAPIResponse ¶ added in v1.3.1
type AlibabamosorderrefundlistgetAPIResponse struct { model.CommonResponse AlibabamosorderrefundlistgetAPIResponseModel }
AlibabamosorderrefundlistgetAPIResponse 批量查询交易退货信息 API返回值 alibaba.mos.order.refund.list.get
批量查询多个退货单的退货明细
type AlibabamosorderrefundlistgetAPIResponseModel ¶ added in v1.3.1
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 ¶ added in v1.3.1
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 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 float64 `json:"quantity,omitempty" xml:"quantity,omitempty"` // 单价 UnitPrice float64 `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 float64 `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 ¶
- AlibabaMosDeliverySendAPIRequest.go
- AlibabaMosDeliverySendAPIResponse.go
- AlibabaMosDeliverySendResultDo.go
- AlibabaMosGoodsAdjustAPIRequest.go
- AlibabaMosGoodsAdjustAPIResponse.go
- AlibabaMosGoodsAdjustResultDo.go
- AlibabaMosGoodsBulkinputcspuAPIRequest.go
- AlibabaMosGoodsBulkinputcspuAPIResponse.go
- AlibabaMosGoodsInventoryGetinventorysAPIRequest.go
- AlibabaMosGoodsInventoryGetinventorysAPIResponse.go
- AlibabaMosGoodsSearchcspuAPIRequest.go
- AlibabaMosGoodsSearchcspuAPIResponse.go
- AlibabaMosGoodsSetpriceAPIRequest.go
- AlibabaMosGoodsSetpriceAPIResponse.go
- AlibabaMosGoodsSynchinventorybycountingAPIRequest.go
- AlibabaMosGoodsSynchinventorybycountingAPIResponse.go
- AlibabaMosGoodsSynchinventorybycountingResultDo.go
- AlibabaMosIsvInventoryScrollqueryAPIRequest.go
- AlibabaMosIsvInventoryScrollqueryAPIResponse.go
- AlibabaMosOrderListGetAPIRequest.go
- AlibabaMosOrderListGetAPIResponse.go
- AlibabaMosOrderListGetResultDo.go
- AlibabaMosOrderQueryAPIRequest.go
- AlibabaMosOrderQueryAPIResponse.go
- AlibabaMosOrderQueryResultDo.go
- AlibabaMosOrderRefundListGetAPIRequest.go
- AlibabaMosOrderRefundListGetAPIResponse.go
- AlibabaMosOrderRefundListGetResultDto.go
- BulkInputCspuResult.go
- CountingInfoDto.go
- CountingItemDto.go
- CspuCriteria.go
- CspuInputDto.go
- Cspudto.go
- DeliveryDto.go
- InputCspuResult.go
- InventoryDetailDto.go
- InvoiceDto.go
- IsvInboundRequestItemDto.go
- IsvOutboundRequestItemDto.go
- IsvStockAdjustRequestDto.go
- MosScrollQueryResult.go
- OrderCriteria.go
- PagedList.go
- Paginator.go
- PriceDto.go
- PriceResult.go
- ProductImgDto.go
- PropertyDto.go
- RmaCriteria.go
- RmaDto.go
- RmaItemDto.go
- SalesOrderDto.go
- SalesOrderItemDto.go
- ShipItemDto.go
- SpuInputDto.go
- Spudto.go
- VirtualInventoryDto.go
- VirtualInventoryQueryDto.go
- doc.go