Documentation ¶
Overview ¶
Package tuanhotel 包含酒店团购套餐API相关方法
Index ¶
- func AlitripTuanHotelAdaptStoreGet(clt *core.SDKClient, req *tuanhotel.AlitripTuanHotelAdaptStoreGetAPIRequest, ...) (*tuanhotel.AlitripTuanHotelAdaptStoreGetAPIResponse, error)
- func AlitripTuanHotelImageUpload(clt *core.SDKClient, req *tuanhotel.AlitripTuanHotelImageUploadAPIRequest, ...) (*tuanhotel.AlitripTuanHotelImageUploadAPIResponse, error)
- func AlitripTuanHotelItemInfoGet(clt *core.SDKClient, req *tuanhotel.AlitripTuanHotelItemInfoGetAPIRequest, ...) (*tuanhotel.AlitripTuanHotelItemInfoGetAPIResponse, error)
- func AlitripTuanHotelItemSkuCalendarUpdate(clt *core.SDKClient, ...) (*tuanhotel.AlitripTuanHotelItemSkuCalendarUpdateAPIResponse, error)
- func AlitripTuanHotelItemSkuDelete(clt *core.SDKClient, req *tuanhotel.AlitripTuanHotelItemSkuDeleteAPIRequest, ...) (*tuanhotel.AlitripTuanHotelItemSkuDeleteAPIResponse, error)
- func AlitripTuanHotelItemSkuUpdate(clt *core.SDKClient, req *tuanhotel.AlitripTuanHotelItemSkuUpdateAPIRequest, ...) (*tuanhotel.AlitripTuanHotelItemSkuUpdateAPIResponse, error)
- func AlitripTuanHotelShopCategoryGet(clt *core.SDKClient, req *tuanhotel.AlitripTuanHotelShopCategoryGetAPIRequest, ...) (*tuanhotel.AlitripTuanHotelShopCategoryGetAPIResponse, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AlitripTuanHotelAdaptStoreGet ¶
func AlitripTuanHotelAdaptStoreGet(clt *core.SDKClient, req *tuanhotel.AlitripTuanHotelAdaptStoreGetAPIRequest, session string) (*tuanhotel.AlitripTuanHotelAdaptStoreGetAPIResponse, error)
AlitripTuanHotelAdaptStoreGet 酒店团购套餐关联适用门店 alitrip.tuan.hotel.adapt.store.get
输入shid,返回关联门店详情信息
func AlitripTuanHotelImageUpload ¶
func AlitripTuanHotelImageUpload(clt *core.SDKClient, req *tuanhotel.AlitripTuanHotelImageUploadAPIRequest, session string) (*tuanhotel.AlitripTuanHotelImageUploadAPIResponse, error)
AlitripTuanHotelImageUpload 图片上传接口 alitrip.tuan.hotel.image.upload
用户调用此接口完成外网图片上传至卖家图片中心,此接口返回图片中心的图片地址
func AlitripTuanHotelItemInfoGet ¶
func AlitripTuanHotelItemInfoGet(clt *core.SDKClient, req *tuanhotel.AlitripTuanHotelItemInfoGetAPIRequest, session string) (*tuanhotel.AlitripTuanHotelItemInfoGetAPIResponse, error)
AlitripTuanHotelItemInfoGet 宝贝信息查询接口 alitrip.tuan.hotel.item.info.get
商家查询发布的宝贝详情信息
func AlitripTuanHotelItemSkuCalendarUpdate ¶
func AlitripTuanHotelItemSkuCalendarUpdate(clt *core.SDKClient, req *tuanhotel.AlitripTuanHotelItemSkuCalendarUpdateAPIRequest, session string) (*tuanhotel.AlitripTuanHotelItemSkuCalendarUpdateAPIResponse, 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(clt *core.SDKClient, req *tuanhotel.AlitripTuanHotelItemSkuDeleteAPIRequest, session string) (*tuanhotel.AlitripTuanHotelItemSkuDeleteAPIResponse, error)
AlitripTuanHotelItemSkuDelete 酒店团购套餐商品SKU删除 alitrip.tuan.hotel.item.sku.delete
商户对发布的宝贝套餐价格库存信息进行删除
func AlitripTuanHotelItemSkuUpdate ¶
func AlitripTuanHotelItemSkuUpdate(clt *core.SDKClient, req *tuanhotel.AlitripTuanHotelItemSkuUpdateAPIRequest, session string) (*tuanhotel.AlitripTuanHotelItemSkuUpdateAPIResponse, 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(clt *core.SDKClient, req *tuanhotel.AlitripTuanHotelShopCategoryGetAPIRequest, session string) (*tuanhotel.AlitripTuanHotelShopCategoryGetAPIResponse, error)
AlitripTuanHotelShopCategoryGet 商家店铺类目查询 alitrip.tuan.hotel.shop.category.get
查询商家店铺类目信息
Types ¶
This section is empty.