store

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Jul 1, 2021 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

商户API model

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

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FullStoreTopDto

type FullStoreTopDto struct {
	// 业务身份
	BizCode string `json:"biz_code,omitempty" xml:"biz_code,omitempty"`
	// 门店名字
	Name string `json:"name,omitempty" xml:"name,omitempty"`
	// 门店ID
	StoreId int64 `json:"store_id,omitempty" xml:"store_id,omitempty"`
	// 父级别门店id
	Belong int64 `json:"belong,omitempty" xml:"belong,omitempty"`
	// 业务外部id
	BizOuterId string `json:"biz_outer_id,omitempty" xml:"biz_outer_id,omitempty"`
	// 业务类型
	BizType int64 `json:"biz_type,omitempty" xml:"biz_type,omitempty"`
	// 分店名
	Subname string `json:"subname,omitempty" xml:"subname,omitempty"`
	// 门店类型
	Type int64 `json:"type,omitempty" xml:"type,omitempty"`
	// 门店的商家id
	UserId int64 `json:"user_id,omitempty" xml:"user_id,omitempty"`
	// 审核状态
	AuthenStatus int64 `json:"authen_status,omitempty" xml:"authen_status,omitempty"`
	// 门店所属商户名称
	CompanyName string `json:"company_name,omitempty" xml:"company_name,omitempty"`
	// 门店描述
	Description string `json:"description,omitempty" xml:"description,omitempty"`
	Logo string `json:"logo,omitempty" xml:"logo,omitempty"`
	// 门店外部编码
	OuterCode string `json:"outer_code,omitempty" xml:"outer_code,omitempty"`
	// 位置地址信息
	PoiInfo *PoiInfoDto `json:"poi_info,omitempty" xml:"poi_info,omitempty"`
	// 店铺id
	ShopId int64 `json:"shop_id,omitempty" xml:"shop_id,omitempty"`
	// 标准类目ID
	StandardCategoryId int64 `json:"standard_category_id,omitempty" xml:"standard_category_id,omitempty"`
	// 门店状态
	Status string `json:"status,omitempty" xml:"status,omitempty"`
	// 门店类型
	StoreType string `json:"store_type,omitempty" xml:"store_type,omitempty"`
	// 业务TAGS
	Tags []int64 `json:"tags,omitempty" xml:"tags>int64,omitempty"`
	// 门店主图,仅存一张,tfs格式
	Pic string `json:"pic,omitempty" xml:"pic,omitempty"`
}

FullStoreTopDto

type Models

type Models struct {
	// 是否为空
	Empty bool `json:"empty,omitempty" xml:"empty,omitempty"`
}

Models

type Other

type Other struct {
	// 是否为空
	Empty bool `json:"empty,omitempty" xml:"empty,omitempty"`
}

Other

type PoiInfoDto

type PoiInfoDto struct {
	// 地址
	Address string `json:"address,omitempty" xml:"address,omitempty"`
	// 地址别名
	AddressAlias string `json:"address_alias,omitempty" xml:"address_alias,omitempty"`
	// 英文地址
	AddressEn string `json:"address_en,omitempty" xml:"address_en,omitempty"`
	// 当地语言地址
	AddressLocal string `json:"address_local,omitempty" xml:"address_local,omitempty"`
	// 铺位号
	Bunk string `json:"bunk,omitempty" xml:"bunk,omitempty"`
	// 营业面积
	BusinessArea string `json:"business_area,omitempty" xml:"business_area,omitempty"`
	// 市
	City int64 `json:"city,omitempty" xml:"city,omitempty"`
	// 省
	CityInt int64 `json:"city_int,omitempty" xml:"city_int,omitempty"`
	// 市名
	CityName string `json:"city_name,omitempty" xml:"city_name,omitempty"`
	// 洲
	Continent int64 `json:"continent,omitempty" xml:"continent,omitempty"`
	// 洲名
	ContinentName string `json:"continent_name,omitempty" xml:"continent_name,omitempty"`
	// 国家
	Country int64 `json:"country,omitempty" xml:"country,omitempty"`
	// 国家名
	CountryName string `json:"country_name,omitempty" xml:"country_name,omitempty"`
	// 区域
	District int64 `json:"district,omitempty" xml:"district,omitempty"`
	// 区域
	DistrictInt int64 `json:"district_int,omitempty" xml:"district_int,omitempty"`
	// 区域名
	DistrictName string `json:"district_name,omitempty" xml:"district_name,omitempty"`
	// 行政区code类型
	DivisionType int64 `json:"division_type,omitempty" xml:"division_type,omitempty"`
	// 楼层
	Floor string `json:"floor,omitempty" xml:"floor,omitempty"`
	// 楼层名
	FullAddress string `json:"full_address,omitempty" xml:"full_address,omitempty"`
	// 邮政编码
	PostCode string `json:"post_code,omitempty" xml:"post_code,omitempty"`
	// 经度
	Posx string `json:"posx,omitempty" xml:"posx,omitempty"`
	// 纬度
	Posy string `json:"posy,omitempty" xml:"posy,omitempty"`
	// 省
	Prov int64 `json:"prov,omitempty" xml:"prov,omitempty"`
	// 省
	ProvInt int64 `json:"prov_int,omitempty" xml:"prov_int,omitempty"`
	// 省名
	ProvName string `json:"prov_name,omitempty" xml:"prov_name,omitempty"`
	// 街道
	Town int64 `json:"town,omitempty" xml:"town,omitempty"`
	// 街道
	TownInt int64 `json:"town_int,omitempty" xml:"town_int,omitempty"`
	// 街道名
	TownName string `json:"town_name,omitempty" xml:"town_name,omitempty"`
}

PoiInfoDto

type StoreRelationSimpleDo

type StoreRelationSimpleDo struct {
	// 业务类型
	BizType int64 `json:"biz_type,omitempty" xml:"biz_type,omitempty"`
	// 门店名称
	Name string `json:"name,omitempty" xml:"name,omitempty"`
	// 业务id
	OuterId string `json:"outer_id,omitempty" xml:"outer_id,omitempty"`
	// 关系id
	RelationId int64 `json:"relation_id,omitempty" xml:"relation_id,omitempty"`
	// 业务关系状态
	Status int64 `json:"status,omitempty" xml:"status,omitempty"`
	// 门店id
	StoreId int64 `json:"store_id,omitempty" xml:"store_id,omitempty"`
}

StoreRelationSimpleDo

type StoreRelationSimpleQuery

type StoreRelationSimpleQuery struct {
	// 业务类型
	BizType int64 `json:"biz_type,omitempty" xml:"biz_type,omitempty"`
	// 外部关联业务id
	OuterId int64 `json:"outer_id,omitempty" xml:"outer_id,omitempty"`
	// 页码
	PageIndex int64 `json:"page_index,omitempty" xml:"page_index,omitempty"`
	// 每页条目数(最大值100)
	PageSize int64 `json:"page_size,omitempty" xml:"page_size,omitempty"`
	// 门店id
	StoreId int64 `json:"store_id,omitempty" xml:"store_id,omitempty"`
}

StoreRelationSimpleQuery

type TaobaoPlaceStoreExtendUpdateAPIRequest added in v1.2.0

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

商户门店拓展信息更新接口 API请求 taobao.place.store.extend.update

更新商户门店拓展信息(tags、attribute、bizAtrribute)更新接口

func NewTaobaoPlaceStoreExtendUpdateRequest

func NewTaobaoPlaceStoreExtendUpdateRequest() *TaobaoPlaceStoreExtendUpdateAPIRequest

初始化TaobaoPlaceStoreExtendUpdateAPIRequest对象

func (TaobaoPlaceStoreExtendUpdateAPIRequest) GetApiMethodName added in v1.2.0

func (r TaobaoPlaceStoreExtendUpdateAPIRequest) GetApiMethodName() string

IRequest interface 方法, 获取Api method

func (TaobaoPlaceStoreExtendUpdateAPIRequest) GetApiParams added in v1.2.0

IRequest interface 方法, 获取API参数

func (TaobaoPlaceStoreExtendUpdateAPIRequest) GetParamUpdateStoreExtendDTO added in v1.2.0

func (r TaobaoPlaceStoreExtendUpdateAPIRequest) GetParamUpdateStoreExtendDTO() *UpdateStoreExtendDto

ParamUpdateStoreExtendDTO Getter

func (*TaobaoPlaceStoreExtendUpdateAPIRequest) SetParamUpdateStoreExtendDTO added in v1.2.0

func (r *TaobaoPlaceStoreExtendUpdateAPIRequest) SetParamUpdateStoreExtendDTO(_paramUpdateStoreExtendDTO *UpdateStoreExtendDto) error

ParamUpdateStoreExtendDTO Setter 更新数据

type TaobaoPlaceStoreExtendUpdateAPIResponse

type TaobaoPlaceStoreExtendUpdateAPIResponse struct {
	model.CommonResponse
	TaobaoPlaceStoreExtendUpdateAPIResponseModel
}

商户门店拓展信息更新接口 API返回值 taobao.place.store.extend.update

更新商户门店拓展信息(tags、attribute、bizAtrribute)更新接口

type TaobaoPlaceStoreExtendUpdateAPIResponseModel added in v1.2.0

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

商户门店拓展信息更新接口 成功返回结果

type TaobaoPlaceStoreExtendUpdateResultDo

type TaobaoPlaceStoreExtendUpdateResultDo struct {
	// 错误信息
	ErrorMsg string `json:"error_msg,omitempty" xml:"error_msg,omitempty"`
	// 是否失败
	Failured bool `json:"failured,omitempty" xml:"failured,omitempty"`
	// 完整错误信息
	FullErrorMsg string `json:"full_error_msg,omitempty" xml:"full_error_msg,omitempty"`
	// 模型
	Models *Models `json:"models,omitempty" xml:"models,omitempty"`
	// 关键主键
	PriKey string `json:"pri_key,omitempty" xml:"pri_key,omitempty"`
	// 结果
	Result bool `json:"result,omitempty" xml:"result,omitempty"`
	// 错误码
	ResultCode string `json:"result_code,omitempty" xml:"result_code,omitempty"`
	// 调用是否成功
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
	// 总数量
	TotalNum int64 `json:"total_num,omitempty" xml:"total_num,omitempty"`
}

TaobaoPlaceStoreExtendUpdateResultDo

type TaobaoPlaceStoreItemstoreBandAPIRequest added in v1.2.0

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

门店商品关联绑定接口 API请求 taobao.place.store.itemstore.band

商品和多个门店关系绑定接口

func NewTaobaoPlaceStoreItemstoreBandRequest

func NewTaobaoPlaceStoreItemstoreBandRequest() *TaobaoPlaceStoreItemstoreBandAPIRequest

初始化TaobaoPlaceStoreItemstoreBandAPIRequest对象

func (TaobaoPlaceStoreItemstoreBandAPIRequest) GetActionType added in v1.2.0

ActionType Getter

func (TaobaoPlaceStoreItemstoreBandAPIRequest) GetApiMethodName added in v1.2.0

func (r TaobaoPlaceStoreItemstoreBandAPIRequest) GetApiMethodName() string

IRequest interface 方法, 获取Api method

func (TaobaoPlaceStoreItemstoreBandAPIRequest) GetApiParams added in v1.2.0

IRequest interface 方法, 获取API参数

func (TaobaoPlaceStoreItemstoreBandAPIRequest) GetItemId added in v1.2.0

ItemId Getter

func (TaobaoPlaceStoreItemstoreBandAPIRequest) GetStoreIds added in v1.2.0

StoreIds Getter

func (*TaobaoPlaceStoreItemstoreBandAPIRequest) SetActionType added in v1.2.0

func (r *TaobaoPlaceStoreItemstoreBandAPIRequest) SetActionType(_actionType string) error

ActionType Setter 操作类型

func (*TaobaoPlaceStoreItemstoreBandAPIRequest) SetItemId added in v1.2.0

func (r *TaobaoPlaceStoreItemstoreBandAPIRequest) SetItemId(_itemId int64) error

ItemId Setter 商品id

func (*TaobaoPlaceStoreItemstoreBandAPIRequest) SetStoreIds added in v1.2.0

func (r *TaobaoPlaceStoreItemstoreBandAPIRequest) SetStoreIds(_storeIds []int64) error

StoreIds Setter 门店id

type TaobaoPlaceStoreItemstoreBandAPIResponse

type TaobaoPlaceStoreItemstoreBandAPIResponse struct {
	model.CommonResponse
	TaobaoPlaceStoreItemstoreBandAPIResponseModel
}

门店商品关联绑定接口 API返回值 taobao.place.store.itemstore.band

商品和多个门店关系绑定接口

type TaobaoPlaceStoreItemstoreBandAPIResponseModel added in v1.2.0

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

门店商品关联绑定接口 成功返回结果

type TaobaoPlaceStoreQueryAPIRequest added in v1.2.0

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

门店信息查询接口 API请求 taobao.place.store.query

根据用户授权信息,获取用户的门店公开信息

func NewTaobaoPlaceStoreQueryRequest

func NewTaobaoPlaceStoreQueryRequest() *TaobaoPlaceStoreQueryAPIRequest

初始化TaobaoPlaceStoreQueryAPIRequest对象

func (TaobaoPlaceStoreQueryAPIRequest) GetApiMethodName added in v1.2.0

func (r TaobaoPlaceStoreQueryAPIRequest) GetApiMethodName() string

IRequest interface 方法, 获取Api method

func (TaobaoPlaceStoreQueryAPIRequest) GetApiParams added in v1.2.0

func (r TaobaoPlaceStoreQueryAPIRequest) GetApiParams() url.Values

IRequest interface 方法, 获取API参数

func (TaobaoPlaceStoreQueryAPIRequest) GetBizCode added in v1.2.0

func (r TaobaoPlaceStoreQueryAPIRequest) GetBizCode() string

BizCode Getter

func (TaobaoPlaceStoreQueryAPIRequest) GetOuterId added in v1.2.0

func (r TaobaoPlaceStoreQueryAPIRequest) GetOuterId() string

OuterId Getter

func (TaobaoPlaceStoreQueryAPIRequest) GetStoreId added in v1.2.0

func (r TaobaoPlaceStoreQueryAPIRequest) GetStoreId() int64

StoreId Getter

func (*TaobaoPlaceStoreQueryAPIRequest) SetBizCode added in v1.2.0

func (r *TaobaoPlaceStoreQueryAPIRequest) SetBizCode(_bizCode string) error

BizCode Setter 业务code,用于区分业务

func (*TaobaoPlaceStoreQueryAPIRequest) SetOuterId added in v1.2.0

func (r *TaobaoPlaceStoreQueryAPIRequest) SetOuterId(_outerId string) error

OuterId Setter 业务外部id

func (*TaobaoPlaceStoreQueryAPIRequest) SetStoreId added in v1.2.0

func (r *TaobaoPlaceStoreQueryAPIRequest) SetStoreId(_storeId int64) error

StoreId Setter 门店id

type TaobaoPlaceStoreQueryAPIResponse

type TaobaoPlaceStoreQueryAPIResponse struct {
	model.CommonResponse
	TaobaoPlaceStoreQueryAPIResponseModel
}

门店信息查询接口 API返回值 taobao.place.store.query

根据用户授权信息,获取用户的门店公开信息

type TaobaoPlaceStoreQueryAPIResponseModel added in v1.2.0

type TaobaoPlaceStoreQueryAPIResponseModel struct {
	XMLName xml.Name `xml:"place_store_query_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// Top返回对象
	Result *TopResultDo `json:"result,omitempty" xml:"result,omitempty"`
}

门店信息查询接口 成功返回结果

type TaobaoPlaceStoreRelationQueryAPIRequest added in v1.2.0

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

门店关系查询 API请求 taobao.place.store.relation.query

查询门店关系

func NewTaobaoPlaceStoreRelationQueryRequest

func NewTaobaoPlaceStoreRelationQueryRequest() *TaobaoPlaceStoreRelationQueryAPIRequest

初始化TaobaoPlaceStoreRelationQueryAPIRequest对象

func (TaobaoPlaceStoreRelationQueryAPIRequest) GetApiMethodName added in v1.2.0

func (r TaobaoPlaceStoreRelationQueryAPIRequest) GetApiMethodName() string

IRequest interface 方法, 获取Api method

func (TaobaoPlaceStoreRelationQueryAPIRequest) GetApiParams added in v1.2.0

IRequest interface 方法, 获取API参数

func (TaobaoPlaceStoreRelationQueryAPIRequest) GetParamStoreRelationSimpleQuery added in v1.2.0

func (r TaobaoPlaceStoreRelationQueryAPIRequest) GetParamStoreRelationSimpleQuery() *StoreRelationSimpleQuery

ParamStoreRelationSimpleQuery Getter

func (*TaobaoPlaceStoreRelationQueryAPIRequest) SetParamStoreRelationSimpleQuery added in v1.2.0

func (r *TaobaoPlaceStoreRelationQueryAPIRequest) SetParamStoreRelationSimpleQuery(_paramStoreRelationSimpleQuery *StoreRelationSimpleQuery) error

ParamStoreRelationSimpleQuery Setter 系统自动生成

type TaobaoPlaceStoreRelationQueryAPIResponse

type TaobaoPlaceStoreRelationQueryAPIResponse struct {
	model.CommonResponse
	TaobaoPlaceStoreRelationQueryAPIResponseModel
}

门店关系查询 API返回值 taobao.place.store.relation.query

查询门店关系

type TaobaoPlaceStoreRelationQueryAPIResponseModel added in v1.2.0

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

门店关系查询 成功返回结果

type TaobaoPlaceStoreUpdateLabelAPIRequest added in v1.2.0

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

商户门店标签更新接口 API请求 taobao.place.store.update.label

更新商户门店标签(服务、权益、标签)接口

func NewTaobaoPlaceStoreUpdateLabelRequest

func NewTaobaoPlaceStoreUpdateLabelRequest() *TaobaoPlaceStoreUpdateLabelAPIRequest

初始化TaobaoPlaceStoreUpdateLabelAPIRequest对象

func (TaobaoPlaceStoreUpdateLabelAPIRequest) GetApiMethodName added in v1.2.0

func (r TaobaoPlaceStoreUpdateLabelAPIRequest) GetApiMethodName() string

IRequest interface 方法, 获取Api method

func (TaobaoPlaceStoreUpdateLabelAPIRequest) GetApiParams added in v1.2.0

IRequest interface 方法, 获取API参数

func (TaobaoPlaceStoreUpdateLabelAPIRequest) GetBusinessCode added in v1.2.0

func (r TaobaoPlaceStoreUpdateLabelAPIRequest) GetBusinessCode() string

BusinessCode Getter

func (TaobaoPlaceStoreUpdateLabelAPIRequest) GetLabelIdList added in v1.2.0

func (r TaobaoPlaceStoreUpdateLabelAPIRequest) GetLabelIdList() []int64

LabelIdList Getter

func (TaobaoPlaceStoreUpdateLabelAPIRequest) GetLabelType added in v1.2.0

LabelType Getter

func (TaobaoPlaceStoreUpdateLabelAPIRequest) GetStoreId added in v1.2.0

StoreId Getter

func (*TaobaoPlaceStoreUpdateLabelAPIRequest) SetBusinessCode added in v1.2.0

func (r *TaobaoPlaceStoreUpdateLabelAPIRequest) SetBusinessCode(_businessCode string) error

BusinessCode Setter 行业code

func (*TaobaoPlaceStoreUpdateLabelAPIRequest) SetLabelIdList added in v1.2.0

func (r *TaobaoPlaceStoreUpdateLabelAPIRequest) SetLabelIdList(_labelIdList []int64) error

LabelIdList Setter 标签id

func (*TaobaoPlaceStoreUpdateLabelAPIRequest) SetLabelType added in v1.2.0

func (r *TaobaoPlaceStoreUpdateLabelAPIRequest) SetLabelType(_labelType string) error

LabelType Setter 标签类型

func (*TaobaoPlaceStoreUpdateLabelAPIRequest) SetStoreId added in v1.2.0

func (r *TaobaoPlaceStoreUpdateLabelAPIRequest) SetStoreId(_storeId int64) error

StoreId Setter 门店id

type TaobaoPlaceStoreUpdateLabelAPIResponse

type TaobaoPlaceStoreUpdateLabelAPIResponse struct {
	model.CommonResponse
	TaobaoPlaceStoreUpdateLabelAPIResponseModel
}

商户门店标签更新接口 API返回值 taobao.place.store.update.label

更新商户门店标签(服务、权益、标签)接口

type TaobaoPlaceStoreUpdateLabelAPIResponseModel added in v1.2.0

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

商户门店标签更新接口 成功返回结果

type TaobaoPlaceStoregroupCreateAPIRequest added in v1.2.0

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

商户门店库创建接口 API请求 taobao.place.storegroup.create

用于商家创建线下门店库

func NewTaobaoPlaceStoregroupCreateRequest

func NewTaobaoPlaceStoregroupCreateRequest() *TaobaoPlaceStoregroupCreateAPIRequest

初始化TaobaoPlaceStoregroupCreateAPIRequest对象

func (TaobaoPlaceStoregroupCreateAPIRequest) GetApiMethodName added in v1.2.0

func (r TaobaoPlaceStoregroupCreateAPIRequest) GetApiMethodName() string

IRequest interface 方法, 获取Api method

func (TaobaoPlaceStoregroupCreateAPIRequest) GetApiParams added in v1.2.0

IRequest interface 方法, 获取API参数

func (TaobaoPlaceStoregroupCreateAPIRequest) GetDesc added in v1.2.0

Desc Getter

func (TaobaoPlaceStoregroupCreateAPIRequest) GetName added in v1.2.0

Name Getter

func (*TaobaoPlaceStoregroupCreateAPIRequest) SetDesc added in v1.2.0

Desc Setter 备注

func (*TaobaoPlaceStoregroupCreateAPIRequest) SetName added in v1.2.0

Name Setter 库名

type TaobaoPlaceStoregroupCreateAPIResponse

type TaobaoPlaceStoregroupCreateAPIResponse struct {
	model.CommonResponse
	TaobaoPlaceStoregroupCreateAPIResponseModel
}

商户门店库创建接口 API返回值 taobao.place.storegroup.create

用于商家创建线下门店库

type TaobaoPlaceStoregroupCreateAPIResponseModel added in v1.2.0

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

商户门店库创建接口 成功返回结果

type TaobaoPlaceStoregroupDeleteAPIRequest added in v1.2.0

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

删除门店库 API请求 taobao.place.storegroup.delete

删除门店库

func NewTaobaoPlaceStoregroupDeleteRequest

func NewTaobaoPlaceStoregroupDeleteRequest() *TaobaoPlaceStoregroupDeleteAPIRequest

初始化TaobaoPlaceStoregroupDeleteAPIRequest对象

func (TaobaoPlaceStoregroupDeleteAPIRequest) GetApiMethodName added in v1.2.0

func (r TaobaoPlaceStoregroupDeleteAPIRequest) GetApiMethodName() string

IRequest interface 方法, 获取Api method

func (TaobaoPlaceStoregroupDeleteAPIRequest) GetApiParams added in v1.2.0

IRequest interface 方法, 获取API参数

func (TaobaoPlaceStoregroupDeleteAPIRequest) GetId added in v1.2.0

Id Getter

func (*TaobaoPlaceStoregroupDeleteAPIRequest) SetId added in v1.2.0

Id Setter 库Id

type TaobaoPlaceStoregroupDeleteAPIResponse

type TaobaoPlaceStoregroupDeleteAPIResponse struct {
	model.CommonResponse
	TaobaoPlaceStoregroupDeleteAPIResponseModel
}

删除门店库 API返回值 taobao.place.storegroup.delete

删除门店库

type TaobaoPlaceStoregroupDeleteAPIResponseModel added in v1.2.0

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

删除门店库 成功返回结果

type TaobaoPlaceStoregroupUpdateAPIRequest added in v1.2.0

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

门店库修改基本信息 API请求 taobao.place.storegroup.update

门店库修改基本信息

func NewTaobaoPlaceStoregroupUpdateRequest

func NewTaobaoPlaceStoregroupUpdateRequest() *TaobaoPlaceStoregroupUpdateAPIRequest

初始化TaobaoPlaceStoregroupUpdateAPIRequest对象

func (TaobaoPlaceStoregroupUpdateAPIRequest) GetApiMethodName added in v1.2.0

func (r TaobaoPlaceStoregroupUpdateAPIRequest) GetApiMethodName() string

IRequest interface 方法, 获取Api method

func (TaobaoPlaceStoregroupUpdateAPIRequest) GetApiParams added in v1.2.0

IRequest interface 方法, 获取API参数

func (TaobaoPlaceStoregroupUpdateAPIRequest) GetDesc added in v1.2.0

Desc Getter

func (TaobaoPlaceStoregroupUpdateAPIRequest) GetId added in v1.2.0

Id Getter

func (TaobaoPlaceStoregroupUpdateAPIRequest) GetName added in v1.2.0

Name Getter

func (*TaobaoPlaceStoregroupUpdateAPIRequest) SetDesc added in v1.2.0

Desc Setter 库备注

func (*TaobaoPlaceStoregroupUpdateAPIRequest) SetId added in v1.2.0

Id Setter 库id

func (*TaobaoPlaceStoregroupUpdateAPIRequest) SetName added in v1.2.0

Name Setter 库名称

type TaobaoPlaceStoregroupUpdateAPIResponse

type TaobaoPlaceStoregroupUpdateAPIResponse struct {
	model.CommonResponse
	TaobaoPlaceStoregroupUpdateAPIResponseModel
}

门店库修改基本信息 API返回值 taobao.place.storegroup.update

门店库修改基本信息

type TaobaoPlaceStoregroupUpdateAPIResponseModel added in v1.2.0

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

门店库修改基本信息 成功返回结果

type TaobaoPlaceStorerelatesubAddAPIRequest added in v1.2.0

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

门店和子门店关系新增 API请求 taobao.place.storerelatesub.add

门店和子门店关系新增

func NewTaobaoPlaceStorerelatesubAddRequest

func NewTaobaoPlaceStorerelatesubAddRequest() *TaobaoPlaceStorerelatesubAddAPIRequest

初始化TaobaoPlaceStorerelatesubAddAPIRequest对象

func (TaobaoPlaceStorerelatesubAddAPIRequest) GetApiMethodName added in v1.2.0

func (r TaobaoPlaceStorerelatesubAddAPIRequest) GetApiMethodName() string

IRequest interface 方法, 获取Api method

func (TaobaoPlaceStorerelatesubAddAPIRequest) GetApiParams added in v1.2.0

IRequest interface 方法, 获取API参数

func (TaobaoPlaceStorerelatesubAddAPIRequest) GetStoreId added in v1.2.0

StoreId Getter

func (TaobaoPlaceStorerelatesubAddAPIRequest) GetSubStoreIds added in v1.2.0

func (r TaobaoPlaceStorerelatesubAddAPIRequest) GetSubStoreIds() []int64

SubStoreIds Getter

func (*TaobaoPlaceStorerelatesubAddAPIRequest) SetStoreId added in v1.2.0

func (r *TaobaoPlaceStorerelatesubAddAPIRequest) SetStoreId(_storeId int64) error

StoreId Setter 门店Id

func (*TaobaoPlaceStorerelatesubAddAPIRequest) SetSubStoreIds added in v1.2.0

func (r *TaobaoPlaceStorerelatesubAddAPIRequest) SetSubStoreIds(_subStoreIds []int64) error

SubStoreIds Setter 子门店Id

type TaobaoPlaceStorerelatesubAddAPIResponse

type TaobaoPlaceStorerelatesubAddAPIResponse struct {
	model.CommonResponse
	TaobaoPlaceStorerelatesubAddAPIResponseModel
}

门店和子门店关系新增 API返回值 taobao.place.storerelatesub.add

门店和子门店关系新增

type TaobaoPlaceStorerelatesubAddAPIResponseModel added in v1.2.0

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

门店和子门店关系新增 成功返回结果

type TaobaoPlaceStorerelatesubDeleteAPIRequest added in v1.2.0

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

门店和子门店关系删除 API请求 taobao.place.storerelatesub.delete

门店和子门店关系删除

func NewTaobaoPlaceStorerelatesubDeleteRequest

func NewTaobaoPlaceStorerelatesubDeleteRequest() *TaobaoPlaceStorerelatesubDeleteAPIRequest

初始化TaobaoPlaceStorerelatesubDeleteAPIRequest对象

func (TaobaoPlaceStorerelatesubDeleteAPIRequest) GetApiMethodName added in v1.2.0

IRequest interface 方法, 获取Api method

func (TaobaoPlaceStorerelatesubDeleteAPIRequest) GetApiParams added in v1.2.0

IRequest interface 方法, 获取API参数

func (TaobaoPlaceStorerelatesubDeleteAPIRequest) GetStoreId added in v1.2.0

StoreId Getter

func (TaobaoPlaceStorerelatesubDeleteAPIRequest) GetSubStoreIds added in v1.2.0

func (r TaobaoPlaceStorerelatesubDeleteAPIRequest) GetSubStoreIds() []int64

SubStoreIds Getter

func (*TaobaoPlaceStorerelatesubDeleteAPIRequest) SetStoreId added in v1.2.0

func (r *TaobaoPlaceStorerelatesubDeleteAPIRequest) SetStoreId(_storeId int64) error

StoreId Setter 门店Id

func (*TaobaoPlaceStorerelatesubDeleteAPIRequest) SetSubStoreIds added in v1.2.0

func (r *TaobaoPlaceStorerelatesubDeleteAPIRequest) SetSubStoreIds(_subStoreIds []int64) error

SubStoreIds Setter 子门店id

type TaobaoPlaceStorerelatesubDeleteAPIResponse

type TaobaoPlaceStorerelatesubDeleteAPIResponse struct {
	model.CommonResponse
	TaobaoPlaceStorerelatesubDeleteAPIResponseModel
}

门店和子门店关系删除 API返回值 taobao.place.storerelatesub.delete

门店和子门店关系删除

type TaobaoPlaceStorerelatesubDeleteAPIResponseModel added in v1.2.0

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

门店和子门店关系删除 成功返回结果

type TaobaoPlaceStorerelatesubGetAPIRequest added in v1.2.0

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

门店和子门店关系查找 API请求 taobao.place.storerelatesub.get

门店和子门店关系查找

func NewTaobaoPlaceStorerelatesubGetRequest

func NewTaobaoPlaceStorerelatesubGetRequest() *TaobaoPlaceStorerelatesubGetAPIRequest

初始化TaobaoPlaceStorerelatesubGetAPIRequest对象

func (TaobaoPlaceStorerelatesubGetAPIRequest) GetApiMethodName added in v1.2.0

func (r TaobaoPlaceStorerelatesubGetAPIRequest) GetApiMethodName() string

IRequest interface 方法, 获取Api method

func (TaobaoPlaceStorerelatesubGetAPIRequest) GetApiParams added in v1.2.0

IRequest interface 方法, 获取API参数

func (TaobaoPlaceStorerelatesubGetAPIRequest) GetPageNo added in v1.2.0

PageNo Getter

func (TaobaoPlaceStorerelatesubGetAPIRequest) GetPageSize added in v1.2.0

PageSize Getter

func (TaobaoPlaceStorerelatesubGetAPIRequest) GetQuery added in v1.2.0

Query Getter

func (TaobaoPlaceStorerelatesubGetAPIRequest) GetStoreId added in v1.2.0

StoreId Getter

func (*TaobaoPlaceStorerelatesubGetAPIRequest) SetPageNo added in v1.2.0

func (r *TaobaoPlaceStorerelatesubGetAPIRequest) SetPageNo(_pageNo int64) error

PageNo Setter 第几页

func (*TaobaoPlaceStorerelatesubGetAPIRequest) SetPageSize added in v1.2.0

func (r *TaobaoPlaceStorerelatesubGetAPIRequest) SetPageSize(_pageSize int64) error

PageSize Setter 页大小

func (*TaobaoPlaceStorerelatesubGetAPIRequest) SetQuery added in v1.2.0

Query Setter 查询语句

func (*TaobaoPlaceStorerelatesubGetAPIRequest) SetStoreId added in v1.2.0

func (r *TaobaoPlaceStorerelatesubGetAPIRequest) SetStoreId(_storeId int64) error

StoreId Setter 门店Id

type TaobaoPlaceStorerelatesubGetAPIResponse

type TaobaoPlaceStorerelatesubGetAPIResponse struct {
	model.CommonResponse
	TaobaoPlaceStorerelatesubGetAPIResponseModel
}

门店和子门店关系查找 API返回值 taobao.place.storerelatesub.get

门店和子门店关系查找

type TaobaoPlaceStorerelatesubGetAPIResponseModel added in v1.2.0

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

门店和子门店关系查找 成功返回结果

type TaobaoPlaceStorerelatesubGetT

type TaobaoPlaceStorerelatesubGetT struct {
	// 门店Id
	StoreId int64 `json:"store_id,omitempty" xml:"store_id,omitempty"`
	// 门店名称
	Name string `json:"name,omitempty" xml:"name,omitempty"`
	// 门店分名称
	SubName string `json:"sub_name,omitempty" xml:"sub_name,omitempty"`
	// 详细地址
	Address string `json:"address,omitempty" xml:"address,omitempty"`
	// 省
	ProvName string `json:"prov_name,omitempty" xml:"prov_name,omitempty"`
	// 市
	CityName string `json:"city_name,omitempty" xml:"city_name,omitempty"`
	// 区
	DistrictName string `json:"district_name,omitempty" xml:"district_name,omitempty"`
	// 省
	ProvCode int64 `json:"prov_code,omitempty" xml:"prov_code,omitempty"`
	// 市
	CityCode int64 `json:"city_code,omitempty" xml:"city_code,omitempty"`
	// 区
	DistrictCode int64 `json:"district_code,omitempty" xml:"district_code,omitempty"`
}

TaobaoPlaceStorerelatesubGetT

type TopBatchResultDo

type TopBatchResultDo struct {
	// 错误码
	ErrorCode string `json:"error_code,omitempty" xml:"error_code,omitempty"`
	// 错误信息
	ErrorMsg string `json:"error_msg,omitempty" xml:"error_msg,omitempty"`
	// 是否失败
	Failure bool `json:"failure,omitempty" xml:"failure,omitempty"`
	// 其它信息
	Other *Other `json:"other,omitempty" xml:"other,omitempty"`
	// 失败的门店id
	ResultList []int64 `json:"result_list,omitempty" xml:"result_list>int64,omitempty"`
	// 是否成功
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
	// 总条目数
	TotalNum int64 `json:"total_num,omitempty" xml:"total_num,omitempty"`
}

TopBatchResultDo

type TopResultDo

type TopResultDo struct {
	// 错误码
	ErrorCode string `json:"error_code,omitempty" xml:"error_code,omitempty"`
	// 错误描述
	ErrorMsg string `json:"error_msg,omitempty" xml:"error_msg,omitempty"`
	// 是否失败
	Failure bool `json:"failure,omitempty" xml:"failure,omitempty"`
	// 返回结果:true成功;false失败
	Result *FullStoreTopDto `json:"result,omitempty" xml:"result,omitempty"`
	// 是否成功
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
	// 个数
	TotalNum int64 `json:"total_num,omitempty" xml:"total_num,omitempty"`
}

TopResultDo

type UpdateResultDo

type UpdateResultDo struct {
	// 成功数量
	Count int64 `json:"count,omitempty" xml:"count,omitempty"`
	// 错误信息
	ErrorMsg string `json:"error_msg,omitempty" xml:"error_msg,omitempty"`
	// 是否失败
	Failured bool `json:"failured,omitempty" xml:"failured,omitempty"`
	// 失败的标签id集合
	FailuredList []int64 `json:"failured_list,omitempty" xml:"failured_list>int64,omitempty"`
	// 完整错误信息
	FullErrorMsg string `json:"full_error_msg,omitempty" xml:"full_error_msg,omitempty"`
	// 模型
	Models *Models `json:"models,omitempty" xml:"models,omitempty"`
	// 关键主键
	PriKey string `json:"pri_key,omitempty" xml:"pri_key,omitempty"`
	// 结果
	Result string `json:"result,omitempty" xml:"result,omitempty"`
	// 错误码
	ResultCode string `json:"result_code,omitempty" xml:"result_code,omitempty"`
	// 是否请求成功
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
	// 成功的标签id集合
	SuccessList []int64 `json:"success_list,omitempty" xml:"success_list>int64,omitempty"`
	// 请求更新的总数量(已废弃)
	TotalNum int64 `json:"total_num,omitempty" xml:"total_num,omitempty"`
}

UpdateResultDo

type UpdateStoreExtendDto

type UpdateStoreExtendDto struct {
	// 需要添加的TAGS
	AddTags []int64 `json:"add_tags,omitempty" xml:"add_tags>int64,omitempty"`
	// 需要修改的attribute对应的key
	AttributeKey string `json:"attribute_key,omitempty" xml:"attribute_key,omitempty"`
	// 需要修改的attribute对应的value
	AttributeValue string `json:"attribute_value,omitempty" xml:"attribute_value,omitempty"`
	// 需要修改的bizAttribute对应的key
	BizAttributeKey string `json:"biz_attribute_key,omitempty" xml:"biz_attribute_key,omitempty"`
	// 需要修改的bizAttribute对应的value
	BizAttributeValue string `json:"biz_attribute_value,omitempty" xml:"biz_attribute_value,omitempty"`
	// 需要删除的TAGS
	RemoveTags []int64 `json:"remove_tags,omitempty" xml:"remove_tags>int64,omitempty"`
	// 门店id
	StoreId int64 `json:"store_id,omitempty" xml:"store_id,omitempty"`
}

UpdateStoreExtendDto

Jump to

Keyboard shortcuts

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