Documentation ¶
Overview ¶
Package travel 包含度假-商品管理API相关方法
Index ¶
- func Alitripdaytoursproductupload(clt *core.SDKClient, req *travel.AlitripdaytoursproductuploadAPIRequest, ...) (*travel.AlitripdaytoursproductuploadAPIResponse, error)
- func Alitripfreetourproductupload(clt *core.SDKClient, req *travel.AlitripfreetourproductuploadAPIRequest, ...) (*travel.AlitripfreetourproductuploadAPIResponse, error)
- func Alitripgrouptourproductupload(clt *core.SDKClient, req *travel.AlitripgrouptourproductuploadAPIRequest, ...) (*travel.AlitripgrouptourproductuploadAPIResponse, error)
- func Alitripgrouptoursproductupload(clt *core.SDKClient, req *travel.AlitripgrouptoursproductuploadAPIRequest, ...) (*travel.AlitripgrouptoursproductuploadAPIResponse, error)
- func Alitripitemaddschemaget(clt *core.SDKClient, req *travel.AlitripitemaddschemagetAPIRequest, ...) (*travel.AlitripitemaddschemagetAPIResponse, error)
- func Alitripitemschemaadd(clt *core.SDKClient, req *travel.AlitripitemschemaaddAPIRequest, ...) (*travel.AlitripitemschemaaddAPIResponse, error)
- func Alitripitemschemaupdate(clt *core.SDKClient, req *travel.AlitripitemschemaupdateAPIRequest, ...) (*travel.AlitripitemschemaupdateAPIResponse, error)
- func Alitripitemupdateschemaget(clt *core.SDKClient, req *travel.AlitripitemupdateschemagetAPIRequest, ...) (*travel.AlitripitemupdateschemagetAPIResponse, error)
- func Alitriplocalplayproductupload(clt *core.SDKClient, req *travel.AlitriplocalplayproductuploadAPIRequest, ...) (*travel.AlitriplocalplayproductuploadAPIResponse, error)
- func Alitriptravelgereralitemupdate(clt *core.SDKClient, req *travel.AlitriptravelgereralitemupdateAPIRequest, ...) (*travel.AlitriptravelgereralitemupdateAPIResponse, error)
- func Alitriptravelgereralproductupdate(clt *core.SDKClient, req *travel.AlitriptravelgereralproductupdateAPIRequest, ...) (*travel.AlitriptravelgereralproductupdateAPIResponse, error)
- func Alitriptravelgereralskuupdate(clt *core.SDKClient, req *travel.AlitriptravelgereralskuupdateAPIRequest, ...) (*travel.AlitriptravelgereralskuupdateAPIResponse, error)
- func Alitriptravelpoisearch(clt *core.SDKClient, req *travel.AlitriptravelpoisearchAPIRequest, ...) (*travel.AlitriptravelpoisearchAPIResponse, error)
- func Alitriptravelproductgereralskuupdate(clt *core.SDKClient, ...) (*travel.AlitriptravelproductgereralskuupdateAPIResponse, error)
- func Taobaoalitriptravelbaseinfocitiesget(clt *core.SDKClient, ...) (*travel.TaobaoalitriptravelbaseinfocitiesgetAPIResponse, error)
- func Taobaoalitriptravelbaseinfocruiseget(clt *core.SDKClient, ...) (*travel.TaobaoalitriptravelbaseinfocruisegetAPIResponse, error)
- func Taobaoalitriptravelbaseinfoscenicsget(clt *core.SDKClient, ...) (*travel.TaobaoalitriptravelbaseinfoscenicsgetAPIResponse, error)
- func Taobaoalitriptravelitemelementmanage(clt *core.SDKClient, ...) (*travel.TaobaoalitriptravelitemelementmanageAPIResponse, error)
- func Taobaoalitriptravelitemelementquery(clt *core.SDKClient, req *travel.TaobaoalitriptravelitemelementqueryAPIRequest, ...) (*travel.TaobaoalitriptravelitemelementqueryAPIResponse, error)
- func Taobaoalitriptravelitemnewquery(clt *core.SDKClient, req *travel.TaobaoalitriptravelitemnewqueryAPIRequest, ...) (*travel.TaobaoalitriptravelitemnewqueryAPIResponse, error)
- func Taobaoalitriptravelitemshelve(clt *core.SDKClient, req *travel.TaobaoalitriptravelitemshelveAPIRequest, ...) (*travel.TaobaoalitriptravelitemshelveAPIResponse, error)
- func Taobaoalitriptravelitemsinglequery(clt *core.SDKClient, req *travel.TaobaoalitriptravelitemsinglequeryAPIRequest, ...) (*travel.TaobaoalitriptravelitemsinglequeryAPIResponse, error)
- func Taobaoalitriptravelitemskuoverride(clt *core.SDKClient, req *travel.TaobaoalitriptravelitemskuoverrideAPIRequest, ...) (*travel.TaobaoalitriptravelitemskuoverrideAPIResponse, error)
- func Taobaoalitriptravelitemskupackagemodify(clt *core.SDKClient, ...) (*travel.TaobaoalitriptravelitemskupackagemodifyAPIResponse, error)
- func Taobaoalitriptravelitemskupricemodify(clt *core.SDKClient, ...) (*travel.TaobaoalitriptravelitemskupricemodifyAPIResponse, error)
- func Taobaoalitriptravelproductbaseadd(clt *core.SDKClient, req *travel.TaobaoalitriptravelproductbaseaddAPIRequest, ...) (*travel.TaobaoalitriptravelproductbaseaddAPIResponse, error)
- func Taobaoalitriptravelproductbasemodify(clt *core.SDKClient, ...) (*travel.TaobaoalitriptravelproductbasemodifyAPIResponse, error)
- func Taobaoalitriptravelproductskuoverride(clt *core.SDKClient, ...) (*travel.TaobaoalitriptravelproductskuoverrideAPIResponse, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Alitripdaytoursproductupload ¶ added in v1.3.1
func Alitripdaytoursproductupload(clt *core.SDKClient, req *travel.AlitripdaytoursproductuploadAPIRequest, session string) (*travel.AlitripdaytoursproductuploadAPIResponse, error)
Alitripdaytoursproductupload 境外一日游/多日游 产品维护接口 alitrip.daytours.product.upload
境外一日游/多日游 产品维护接口。 接口同时支持新商品发布 和 现有商品编辑: 1)只上传out_product_id的情况:如果out_product_id已经关联过某个商品id,则认为是编辑现有商品,否则认为是新发布一个商品。 2)同时上传out_product_id和item_id,则认为是将out_product_id与item_id进行关联,同时对该商品进行编辑。
func Alitripfreetourproductupload ¶ added in v1.3.1
func Alitripfreetourproductupload(clt *core.SDKClient, req *travel.AlitripfreetourproductuploadAPIRequest, session string) (*travel.AlitripfreetourproductuploadAPIResponse, error)
Alitripfreetourproductupload 自由行商品发布及编辑接口 alitrip.freetour.product.upload
自由行 产品维护接口。 接口同时支持新商品发布 和 现有商品编辑: 1)只上传out_product_id的情况:如果out_product_id已经关联过某个商品id,则认为是编辑现有商品,否则认为是新发布一个商品。 2)同时上传out_product_id和item_id,则认为是将out_product_id与item_id进行关联,同时对该商品进行编辑。
func Alitripgrouptourproductupload ¶ added in v1.3.1
func Alitripgrouptourproductupload(clt *core.SDKClient, req *travel.AlitripgrouptourproductuploadAPIRequest, session string) (*travel.AlitripgrouptourproductuploadAPIResponse, error)
Alitripgrouptourproductupload 新版跟团游商品维护接口 alitrip.grouptour.product.upload
新版跟团游商品维护接口
func Alitripgrouptoursproductupload ¶ added in v1.3.1
func Alitripgrouptoursproductupload(clt *core.SDKClient, req *travel.AlitripgrouptoursproductuploadAPIRequest, session string) (*travel.AlitripgrouptoursproductuploadAPIResponse, error)
Alitripgrouptoursproductupload 跟团游 产品维护接口 alitrip.grouptours.product.upload
跟团游 产品维护接口。 接口同时支持新商品发布 和 现有商品编辑: 1)只上传out_product_id的情况:如果out_product_id已经关联过某个商品id,则认为是编辑现有商品,否则认为是新发布一个商品。 2)同时上传out_product_id和item_id,则认为是将out_product_id与item_id进行关联,同时对该商品进行编辑。
func Alitripitemaddschemaget ¶ added in v1.3.1
func Alitripitemaddschemaget(clt *core.SDKClient, req *travel.AlitripitemaddschemagetAPIRequest, session string) (*travel.AlitripitemaddschemagetAPIResponse, error)
Alitripitemaddschemaget 获取商品发布模板 alitrip.item.add.schema.get
发布飞猪度假商品时,需要先调用此接口获取商品发布的模板schema。目前支持类目:出境自由行(50278002)、境内自由行(50272002)、出境跟团游(50258005)、境内跟团游(50258004)、境外一日游/多日游(50276003)
func Alitripitemschemaadd ¶ added in v1.3.1
func Alitripitemschemaadd(clt *core.SDKClient, req *travel.AlitripitemschemaaddAPIRequest, session string) (*travel.AlitripitemschemaaddAPIResponse, error)
Alitripitemschemaadd 使用schema模板进行商品发布 alitrip.item.schema.add
飞猪度假商品使用schema模板进行商品发布。目前支持类目:出境自由行(50278002)、境内自由行(50272002)、出境跟团游(50258005)、境内跟团游(50258004)、境外一日游/多日游(50276003)
func Alitripitemschemaupdate ¶ added in v1.3.1
func Alitripitemschemaupdate(clt *core.SDKClient, req *travel.AlitripitemschemaupdateAPIRequest, session string) (*travel.AlitripitemschemaupdateAPIResponse, error)
Alitripitemschemaupdate 使用schema进行商品编辑 alitrip.item.schema.update
飞猪度假商品使用schema进行商品编辑。目前支持类目:出境自由行(50278002)、境内自由行(50272002)、出境跟团游(50258005)、境内跟团游(50258004)、境外一日游/多日游(50276003)
func Alitripitemupdateschemaget ¶ added in v1.3.1
func Alitripitemupdateschemaget(clt *core.SDKClient, req *travel.AlitripitemupdateschemagetAPIRequest, session string) (*travel.AlitripitemupdateschemagetAPIResponse, error)
Alitripitemupdateschemaget 获取编辑商品的schema模板 alitrip.item.update.schema.get
获取编辑商品的schema模板。目前支持类目:出境自由行(50278002)、境内自由行(50272002)、出境跟团游(50258005)、境内跟团游(50258004)、境外一日游/多日游(50276003)
func Alitriplocalplayproductupload ¶ added in v1.3.1
func Alitriplocalplayproductupload(clt *core.SDKClient, req *travel.AlitriplocalplayproductuploadAPIRequest, session string) (*travel.AlitriplocalplayproductuploadAPIResponse, error)
Alitriplocalplayproductupload 当地玩乐 产品维护接口 alitrip.localplay.product.upload
当地玩乐(境内当地玩乐/境外玩乐套餐) 产品维护接口。 接口同时支持新商品发布 和 现有商品编辑: 1)只上传out_product_id的情况:如果out_product_id已经关联过某个商品id,则认为是编辑现有商品,否则认为是新发布一个商品。 2)同时上传out_product_id和item_id,则认为是将out_product_id与item_id进行关联,同时对该商品进行编辑。
func Alitriptravelgereralitemupdate ¶ added in v1.3.1
func Alitriptravelgereralitemupdate(clt *core.SDKClient, req *travel.AlitriptravelgereralitemupdateAPIRequest, session string) (*travel.AlitriptravelgereralitemupdateAPIResponse, error)
Alitriptravelgereralitemupdate 除度假线路、门票以外的其他类目商品维护接口(商品ID重复将自动更新) alitrip.travel.gereralitem.update
除度假线路、门票以外的商品维护接口;目前该接口支持以下类目; (123740001:客栈周边交通服务、125038002:旅行设备/GPS/相机租赁、50018298:船票、124084006:酒店商品升级差价、125228016:预约卡券、50011954:旅游服务、50012913:酒店优惠券、50214003:旅游会员卡/酒店会员卡、50012917:巴士/地铁/交通卡/一卡通、50134002:代客烧香/还愿、50026091:境外火车票、123742001:客栈周边餐饮服务、50019817:海外套餐(该类目已废弃)、125210016:团建/outing、124212017:其他预定、50025888:机场行李托运取送寄存、50025831:旅游年票/年卡、124142009:旅游商品升级差价/押金、123744001:客栈周边其他服务、50012762:广深口岸港澳送关服务、50025880:旅行拍照/婚纱摄影、123166001:酒店餐饮美食(该类目已废弃)、50668002:手绘地图/明信片、50024210:旅游购物/纪念品、50024208:酒店用品、50024215:购物折扣卡券、50025878:酒店SPA/足浴/温泉、50024212:旅游必备品、123738001:客栈周边票务服务、123164002:游泳健身(该类目已废弃)、50686003:机票增值产品、123164001:酒店SPA(该类目已废弃)、124832008:美食卡券/酒店餐饮卡券、125408001:旅游定制服务、50018112:旅行社/网站优惠券、124258004:酒店客房优惠券(该类目已废弃)、50104001:机场周边停车位、124730002:内机机场/火车站送关服务、124090010:其他)
func Alitriptravelgereralproductupdate ¶ added in v1.3.1
func Alitriptravelgereralproductupdate(clt *core.SDKClient, req *travel.AlitriptravelgereralproductupdateAPIRequest, session string) (*travel.AlitriptravelgereralproductupdateAPIResponse, error)
Alitriptravelgereralproductupdate 通用类目产品发布编辑 alitrip.travel.gereralproduct.update
提供给飞猪供销平台供应商发布编辑通用类目产品的API
func Alitriptravelgereralskuupdate ¶ added in v1.3.1
func Alitriptravelgereralskuupdate(clt *core.SDKClient, req *travel.AlitriptravelgereralskuupdateAPIRequest, session string) (*travel.AlitriptravelgereralskuupdateAPIResponse, error)
Alitriptravelgereralskuupdate 发布SKU信息(如果properties重复 则更新) alitrip.travel.gereralsku.update
发布SKU信息(如果properties重复 则更新)
func Alitriptravelpoisearch ¶ added in v1.3.1
func Alitriptravelpoisearch(clt *core.SDKClient, req *travel.AlitriptravelpoisearchAPIRequest, session string) (*travel.AlitriptravelpoisearchAPIResponse, error)
Alitriptravelpoisearch POI信息查询 alitrip.travel.poi.search
POI信息查询,用于商品更新使用
func Alitriptravelproductgereralskuupdate ¶ added in v1.3.1
func Alitriptravelproductgereralskuupdate(clt *core.SDKClient, req *travel.AlitriptravelproductgereralskuupdateAPIRequest, session string) (*travel.AlitriptravelproductgereralskuupdateAPIResponse, error)
Alitriptravelproductgereralskuupdate (供销)船票通用类目sku新增&编辑API alitrip.travel.product.gereralsku.update
发布SKU信息(如果properties重复 则更新)
func Taobaoalitriptravelbaseinfocitiesget ¶ added in v1.3.1
func Taobaoalitriptravelbaseinfocitiesget(clt *core.SDKClient, req *travel.TaobaoalitriptravelbaseinfocitiesgetAPIRequest, session string) (*travel.TaobaoalitriptravelbaseinfocitiesgetAPIResponse, error)
Taobaoalitriptravelbaseinfocitiesget 【API3.0】度假线路商品发布时基础信息获取接口:地址数据查询 taobao.alitrip.travel.baseinfo.cities.get
旅行度假新商品发布时可用的扩展接口,用于获取可用的出发地或目的地城市列表。
func Taobaoalitriptravelbaseinfocruiseget ¶ added in v1.3.1
func Taobaoalitriptravelbaseinfocruiseget(clt *core.SDKClient, req *travel.TaobaoalitriptravelbaseinfocruisegetAPIRequest, session string) (*travel.TaobaoalitriptravelbaseinfocruisegetAPIResponse, error)
Taobaoalitriptravelbaseinfocruiseget 【API3.0】度假线路商品发布时基础信息获取接口:邮轮扩展信息获取 taobao.alitrip.travel.baseinfo.cruise.get
旅行度假新商品发布时可用的扩展接口,用于获取邮轮类目相关扩展信息。
func Taobaoalitriptravelbaseinfoscenicsget ¶ added in v1.3.1
func Taobaoalitriptravelbaseinfoscenicsget(clt *core.SDKClient, req *travel.TaobaoalitriptravelbaseinfoscenicsgetAPIRequest, session string) (*travel.TaobaoalitriptravelbaseinfoscenicsgetAPIResponse, error)
Taobaoalitriptravelbaseinfoscenicsget 【API3.0】基础信息获取接口:景点数据查询 taobao.alitrip.travel.baseinfo.scenics.get
商品发布辅助接口,用于飞猪度假或门票商品发布时 获取可用的景点(及景点下收费项目)信息列表。
func Taobaoalitriptravelitemelementmanage ¶ added in v1.3.1
func Taobaoalitriptravelitemelementmanage(clt *core.SDKClient, req *travel.TaobaoalitriptravelitemelementmanageAPIRequest, session string) (*travel.TaobaoalitriptravelitemelementmanageAPIResponse, error)
Taobaoalitriptravelitemelementmanage 【API3.0】资源元素管理接口 taobao.alitrip.travel.item.element.manage
资源元素管理接口:提供商家管理(增删改)基本资源元素信息。基本资源元素可供多个商品共享
func Taobaoalitriptravelitemelementquery ¶ added in v1.3.1
func Taobaoalitriptravelitemelementquery(clt *core.SDKClient, req *travel.TaobaoalitriptravelitemelementqueryAPIRequest, session string) (*travel.TaobaoalitriptravelitemelementqueryAPIResponse, error)
Taobaoalitriptravelitemelementquery 【API3.0】资源元素查询接口 taobao.alitrip.travel.item.element.query
提供资源元素查询接口,支持商家查询已经发布过的资源元素
func Taobaoalitriptravelitemnewquery ¶ added in v1.3.1
func Taobaoalitriptravelitemnewquery(clt *core.SDKClient, req *travel.TaobaoalitriptravelitemnewqueryAPIRequest, session string) (*travel.TaobaoalitriptravelitemnewqueryAPIResponse, error)
Taobaoalitriptravelitemnewquery 【API3.0】新版度假单个商品查询接口 taobao.alitrip.travel.item.new.query
新版旅行度假新商品查询接口(单个商品查询)
func Taobaoalitriptravelitemshelve ¶ added in v1.3.1
func Taobaoalitriptravelitemshelve(clt *core.SDKClient, req *travel.TaobaoalitriptravelitemshelveAPIRequest, session string) (*travel.TaobaoalitriptravelitemshelveAPIResponse, error)
Taobaoalitriptravelitemshelve 【API3.0】度假线路商品上下架接口 taobao.alitrip.travel.item.shelve
旅行度假新商品发布接口 第三版:度假商品上下架接口 注意:定时上下架功能,目前只支持接送、租车类目。
func Taobaoalitriptravelitemsinglequery ¶ added in v1.3.1
func Taobaoalitriptravelitemsinglequery(clt *core.SDKClient, req *travel.TaobaoalitriptravelitemsinglequeryAPIRequest, session string) (*travel.TaobaoalitriptravelitemsinglequeryAPIResponse, error)
Taobaoalitriptravelitemsinglequery 【API3.0】度假单个商品查询接口 taobao.alitrip.travel.item.single.query
旅行度假新商品查询接口(单个商品查询) 第三版
func Taobaoalitriptravelitemskuoverride ¶ added in v1.3.1
func Taobaoalitriptravelitemskuoverride(clt *core.SDKClient, req *travel.TaobaoalitriptravelitemskuoverrideAPIRequest, session string) (*travel.TaobaoalitriptravelitemskuoverrideAPIResponse, error)
Taobaoalitriptravelitemskuoverride 【API3.0】商品级别日历价格库存修改,全量覆盖 taobao.alitrip.travel.item.sku.override
旅行度假新商品日历价格库存信息修改接口 第三版。提供商家通过TOP API方式修改商品sku信息。
func Taobaoalitriptravelitemskupackagemodify ¶ added in v1.3.1
func Taobaoalitriptravelitemskupackagemodify(clt *core.SDKClient, req *travel.TaobaoalitriptravelitemskupackagemodifyAPIRequest, session string) (*travel.TaobaoalitriptravelitemskupackagemodifyAPIResponse, error)
Taobaoalitriptravelitemskupackagemodify 【API3.0】套餐级别日历价格库存增删操作 taobao.alitrip.travel.item.sku.package.modify
【API3.0】套餐级别日历价格库存增删操作
func Taobaoalitriptravelitemskupricemodify ¶ added in v1.3.1
func Taobaoalitriptravelitemskupricemodify(clt *core.SDKClient, req *travel.TaobaoalitriptravelitemskupricemodifyAPIRequest, session string) (*travel.TaobaoalitriptravelitemskupricemodifyAPIResponse, error)
Taobaoalitriptravelitemskupricemodify 【API3.0】日期级别日历价格库存修改,增量维护 taobao.alitrip.travel.item.sku.price.modify
【API3.0】日期级别日历价格库存增量维护
func Taobaoalitriptravelproductbaseadd ¶ added in v1.3.1
func Taobaoalitriptravelproductbaseadd(clt *core.SDKClient, req *travel.TaobaoalitriptravelproductbaseaddAPIRequest, session string) (*travel.TaobaoalitriptravelproductbaseaddAPIResponse, error)
Taobaoalitriptravelproductbaseadd 供应商新增产品API taobao.alitrip.travel.product.base.add
飞猪供销平台供应商可通过该API发布新产品
func Taobaoalitriptravelproductbasemodify ¶ added in v1.3.1
func Taobaoalitriptravelproductbasemodify(clt *core.SDKClient, req *travel.TaobaoalitriptravelproductbasemodifyAPIRequest, session string) (*travel.TaobaoalitriptravelproductbasemodifyAPIResponse, error)
Taobaoalitriptravelproductbasemodify 供应商编辑产品API taobao.alitrip.travel.product.base.modify
飞猪供销平台供应商可通过该API编辑产品
func Taobaoalitriptravelproductskuoverride ¶ added in v1.3.1
func Taobaoalitriptravelproductskuoverride(clt *core.SDKClient, req *travel.TaobaoalitriptravelproductskuoverrideAPIRequest, session string) (*travel.TaobaoalitriptravelproductskuoverrideAPIResponse, error)
Taobaoalitriptravelproductskuoverride (供销)产品级别日历价格库存修改,全量覆盖 taobao.alitrip.travel.product.sku.override
(供销)产品级别日历价格库存修改,全量覆盖
Types ¶
This section is empty.
Source Files ¶
- AlitripDaytoursProductUpload.go
- AlitripFreetourProductUpload.go
- AlitripGrouptourProductUpload.go
- AlitripGrouptoursProductUpload.go
- AlitripItemAddSchemaGet.go
- AlitripItemSchemaAdd.go
- AlitripItemSchemaUpdate.go
- AlitripItemUpdateSchemaGet.go
- AlitripLocalplayProductUpload.go
- AlitripTravelGereralitemUpdate.go
- AlitripTravelGereralproductUpdate.go
- AlitripTravelGereralskuUpdate.go
- AlitripTravelPoiSearch.go
- AlitripTravelProductGereralskuUpdate.go
- TaobaoAlitripTravelBaseinfoCitiesGet.go
- TaobaoAlitripTravelBaseinfoCruiseGet.go
- TaobaoAlitripTravelBaseinfoScenicsGet.go
- TaobaoAlitripTravelItemElementManage.go
- TaobaoAlitripTravelItemElementQuery.go
- TaobaoAlitripTravelItemNewQuery.go
- TaobaoAlitripTravelItemShelve.go
- TaobaoAlitripTravelItemSingleQuery.go
- TaobaoAlitripTravelItemSkuOverride.go
- TaobaoAlitripTravelItemSkuPackageModify.go
- TaobaoAlitripTravelItemSkuPriceModify.go
- TaobaoAlitripTravelProductBaseAdd.go
- TaobaoAlitripTravelProductBaseModify.go
- TaobaoAlitripTravelProductSkuOverride.go
- doc.go