Documentation ¶
Overview ¶
Package tuanhotel 包含酒店团购套餐API相关方法
Index ¶
- func AlitripTuanHotelAdaptStoreGet(ctx context.Context, clt *core.SDKClient, ...) error
- func AlitripTuanHotelImageUpload(ctx context.Context, clt *core.SDKClient, ...) error
- func AlitripTuanHotelItemInfoGet(ctx context.Context, clt *core.SDKClient, ...) error
- func AlitripTuanHotelItemSkuCalendarUpdate(ctx context.Context, clt *core.SDKClient, ...) error
- func AlitripTuanHotelItemSkuDelete(ctx context.Context, clt *core.SDKClient, ...) error
- func AlitripTuanHotelItemSkuUpdate(ctx context.Context, clt *core.SDKClient, ...) error
- func AlitripTuanHotelShopCategoryGet(ctx context.Context, clt *core.SDKClient, ...) error
- func TaobaoXhotelComboOffshelf(ctx context.Context, clt *core.SDKClient, ...) error
- func TaobaoXhotelComboReview(ctx context.Context, clt *core.SDKClient, ...) error
- func TaobaoXhotelComboStatusGet(ctx context.Context, clt *core.SDKClient, ...) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AlitripTuanHotelAdaptStoreGet ¶
func AlitripTuanHotelAdaptStoreGet(ctx context.Context, clt *core.SDKClient, req *tuanhotel.AlitripTuanHotelAdaptStoreGetAPIRequest, resp *tuanhotel.AlitripTuanHotelAdaptStoreGetAPIResponse, session string) error
AlitripTuanHotelAdaptStoreGet 酒店团购套餐关联适用门店 alitrip.tuan.hotel.adapt.store.get
输入shid,返回关联门店详情信息
func AlitripTuanHotelImageUpload ¶
func AlitripTuanHotelImageUpload(ctx context.Context, clt *core.SDKClient, req *tuanhotel.AlitripTuanHotelImageUploadAPIRequest, resp *tuanhotel.AlitripTuanHotelImageUploadAPIResponse, session string) error
AlitripTuanHotelImageUpload 图片上传接口 alitrip.tuan.hotel.image.upload
用户调用此接口完成外网图片上传至卖家图片中心,此接口返回图片中心的图片地址
func AlitripTuanHotelItemInfoGet ¶
func AlitripTuanHotelItemInfoGet(ctx context.Context, clt *core.SDKClient, req *tuanhotel.AlitripTuanHotelItemInfoGetAPIRequest, resp *tuanhotel.AlitripTuanHotelItemInfoGetAPIResponse, session string) error
AlitripTuanHotelItemInfoGet 宝贝信息查询接口 alitrip.tuan.hotel.item.info.get
商家查询发布的宝贝详情信息
func AlitripTuanHotelItemSkuCalendarUpdate ¶
func AlitripTuanHotelItemSkuCalendarUpdate(ctx context.Context, clt *core.SDKClient, req *tuanhotel.AlitripTuanHotelItemSkuCalendarUpdateAPIRequest, resp *tuanhotel.AlitripTuanHotelItemSkuCalendarUpdateAPIResponse, session string) error
AlitripTuanHotelItemSkuCalendarUpdate 酒店非标套餐商品日历库存宝贝SKU更新接口 alitrip.tuan.hotel.item.sku.calendar.update
商户对发布的日历库存类型的宝贝套餐价格库存信息进行更新,仅提供日历库存的宝贝SKU的更新功能,skuId须传递商品已存在的skuId,若想进行SKU新增操作,请选择使用alitrip.tuan.hotel.item.sku.update接口。提供增量更新SKU功能,对于日历库存若传递日期信息,参数中若包含某一日期的价格和库存,则对此日期的数据进行覆盖更新,若不传递则保留此日期的价格库存信息。
func AlitripTuanHotelItemSkuDelete ¶
func AlitripTuanHotelItemSkuDelete(ctx context.Context, clt *core.SDKClient, req *tuanhotel.AlitripTuanHotelItemSkuDeleteAPIRequest, resp *tuanhotel.AlitripTuanHotelItemSkuDeleteAPIResponse, session string) error
AlitripTuanHotelItemSkuDelete 酒店团购套餐商品SKU删除 alitrip.tuan.hotel.item.sku.delete
商户对发布的宝贝套餐价格库存信息进行删除
func AlitripTuanHotelItemSkuUpdate ¶
func AlitripTuanHotelItemSkuUpdate(ctx context.Context, clt *core.SDKClient, req *tuanhotel.AlitripTuanHotelItemSkuUpdateAPIRequest, resp *tuanhotel.AlitripTuanHotelItemSkuUpdateAPIResponse, session string) error
AlitripTuanHotelItemSkuUpdate 酒店团购套餐商品SKU更新和新增 alitrip.tuan.hotel.item.sku.update
商户对发布的宝贝套餐价格库存信息进行更新,对于已存在的sku,未进行传递则不会进行覆盖。skuId必须为已存在的skuId,暂不支持库存类型的更改。因发布页改造升级,2020.03.05将下线此接口的新增SKU功能,更新SKU功能将保留,但商户2020.03.05后须前往发布页进行宝贝更新后,方可调用本接口。对于日历库存宝贝日历维度的价格和库存数据的更新,此接口存在调用超时的问题,不推荐使用,若有诉求,请使用alitrip.tuan.hotel.item.sku.calendar.update接口(该接口提供增量更新能力),接口地址为https://open.taobao.com/api.htm?docId=48160&docType=2&scopeId=12326
func AlitripTuanHotelShopCategoryGet ¶
func AlitripTuanHotelShopCategoryGet(ctx context.Context, clt *core.SDKClient, req *tuanhotel.AlitripTuanHotelShopCategoryGetAPIRequest, resp *tuanhotel.AlitripTuanHotelShopCategoryGetAPIResponse, session string) error
AlitripTuanHotelShopCategoryGet 商家店铺类目查询 alitrip.tuan.hotel.shop.category.get
查询商家店铺类目信息
func TaobaoXhotelComboOffshelf ¶ added in v1.2.9
func TaobaoXhotelComboOffshelf(ctx context.Context, clt *core.SDKClient, req *tuanhotel.TaobaoXhotelComboOffshelfAPIRequest, resp *tuanhotel.TaobaoXhotelComboOffshelfAPIResponse, session string) error
TaobaoXhotelComboOffshelf 酒店套餐下架 taobao.xhotel.combo.offshelf
酒店套餐下架
func TaobaoXhotelComboReview ¶ added in v1.2.9
func TaobaoXhotelComboReview(ctx context.Context, clt *core.SDKClient, req *tuanhotel.TaobaoXhotelComboReviewAPIRequest, resp *tuanhotel.TaobaoXhotelComboReviewAPIResponse, session string) error
TaobaoXhotelComboReview 套餐审核接口 taobao.xhotel.combo.review
套餐审核接口
func TaobaoXhotelComboStatusGet ¶ added in v1.2.9
func TaobaoXhotelComboStatusGet(ctx context.Context, clt *core.SDKClient, req *tuanhotel.TaobaoXhotelComboStatusGetAPIRequest, resp *tuanhotel.TaobaoXhotelComboStatusGetAPIResponse, session string) error
TaobaoXhotelComboStatusGet 酒店宝贝状态查询 taobao.xhotel.combo.status.get
酒店宝贝状态查询
Types ¶
This section is empty.
Source Files ¶
- AlitripTuanHotelAdaptStoreGet.go
- AlitripTuanHotelImageUpload.go
- AlitripTuanHotelItemInfoGet.go
- AlitripTuanHotelItemSkuCalendarUpdate.go
- AlitripTuanHotelItemSkuDelete.go
- AlitripTuanHotelItemSkuUpdate.go
- AlitripTuanHotelShopCategoryGet.go
- TaobaoXhotelComboOffshelf.go
- TaobaoXhotelComboReview.go
- TaobaoXhotelComboStatusGet.go
- doc.go