[酒店抵用券]旅行商城酒店预售券接入指南


接口接入指南

详情地址

http://open.mafengwo.cn/support/1202.html

调用配置参数获取见[供应商接入信息获取与配置]

特殊说明

该接入指南是第三方请求马蜂窝的技术规范, 但是对于马蜂窝主动请求第三方接口(例如:创建订单接口)同样适用.区别在于马蜂窝请求第三方接口时请求参数中没有"access_token"

马蜂窝提供接口

接口名称

文档地址

新增/编辑产品http://open.mafengwo.cn/docs/api/527.html
产品上线http://open.mafengwo.cn/docs/api/298.html
产品下线http://open.mafengwo.cn/docs/api/529.html
绑定sku创建模板属性http://open.mafengwo.cn/docs/api/541.html
新增SKUhttp://open.mafengwo.cn/docs/api/530.html
更改SKUhttp://open.mafengwo.cn/docs/api/531.html
SKU上线http://open.mafengwo.cn/docs/api/69.html
SKU下线http://open.mafengwo.cn/docs/api/73.html
更新非日历库存http://open.mafengwo.cn/docs/api/61.html
商家外部编码绑定http://open.mafengwo.cn/docs/api/291.html
券码核销http://open.mafengwo.cn/docs/api/535.html
图片上传http://open.mafengwo.cn/docs/api/536.html
酒店ID转换http://open.mafengwo.cn/docs/api/537.html

 供应商提供接口

接口名称

action

文档地址

可订检查sales.htoken.order.pre.checkhttp://open.mafengwo.cn/docs/api/538.html   
创建订单sales.htoken.order.createhttp://open.mafengwo.cn/docs/api/539.html
退款申请sales.htoken.refund.applyhttp://open.mafengwo.cn/docs/api/540.html

说明:供应商需要提供相应的接口地址给马蜂窝,配置方法见下一章节

供应商接入信息获取与配置

  1. 进入马蜂窝商家后台,地址:https://b.mafengwo.cn/

  2. 点击左侧导航"开放平台-开发者配置"

  3. 页面上方[开放平台配置参数]是接口调用所需要的相关配置信息

  4. 页面中部[API_URL配置]是供应商提供给马蜂窝的接口地址,点击区块右上方按钮添加

常见问题

什么是商家外部编码?

绑定sku创建模板属性有什么作用?


赞同0

马蜂窝旅游小管家
为您免费提供目的地旅游咨询服务
出行基本信息
联系人信息
换一换
返回顶部
意见反馈
页面底部