alibaba.damai.maizuo.openapi.order.submit (订单创建API)

麦座票务平台-自建电商网站-订单创建API;

公共参数

请求参数

名称 类型 是否必须 示例值 更多限制 描述
grouped_submit_order_param SubmitOrderParam 必须 提交订单参数对象
  • cart_goods_param_list
  • GroupedShoppingCartGoodsParam []
  • 可选
  • 套票分组后的商品列表
  • └ event_id
  • String
  • 可选
  • 1802131
  • 麦座场次ID
  • └ price_id
  • String
  • 可选
  • 1280121
  • 票档ID;
  • └ goods_id
  • String
  • 可选
  • 809921
  • 商品ID;有座套票时可空,无座时可空;有座单票时必传
  • └ goods_count
  • Number
  • 可选
  • 2131
  • 商品数量;
  • └ coupon_group_id
  • String
  • 可选
  • 231213
  • 套票组ID;一般为固定套票组id
  • child_list
  • ChildGroupedShoppingCartGoodsParam []
  • 可选
  • 组合之后的子票档列表
  • └ price_id
  • String
  • 可选
  • 432131
  • 票档ID
  • └ goods_id
  • String
  • 可选
  • 421311
  • 商品ID
  • └ goods_count
  • Number
  • 可选
  • 1
  • 子商品数量;子商品 数量默认1
  • order_bearer_param
  • OrderBearerParam
  • 可选
  • 订单观演人信息;一单一证限制时必传,一个订单对应一条记录;
  • └ bearer_id
  • String
  • 可选
  • 653231
  • 观演人ID
  • └ receivable_money
  • String
  • 可选
  • 180
  • 要验证的应收金额,如果不一致,则提交订单失败;单位:元
  • └ remark
  • String
  • 可选
  • 金牌
  • 订单备注
  • └ shopping_cart_id
  • String
  • 可选
  • 3213131
  • 当前购物车ID,服务器后台随机生成
  • └ user_id
  • String
  • 可选
  • 5775654
  • 会员ID
  • └ quick_buy
  • Boolean
  • 可选
  • false
  • 是否是快速购买:true=快速购买,false=购物车购买,如果选择限购商品,只能传递true
  • order_receive_param
  • OrderReceiveParam
  • 可选
  • 订单收货人信息
  • └ receive_type
  • Number
  • 可选
  • 2
  • 收货类型;0=不确定,2=现场取票;
  • └ ticket_type
  • Number
  • 可选
  • 7
  • 出票类型;2=身份证票、3=换票码、7=有纸化二维码、8=无纸化二维码
  • └ address_id
  • String
  • 可选
  • 688665
  • 收货人地址ID;暂不支持,可空
  • └ receive_name
  • String
  • 可选
  • 李晴雪
  • 取票人真实姓名;必传
  • └ receive_phone
  • String
  • 可选
  • 13901234567
  • 取票人手机号;必传
  • └ receive_identity_code
  • String
  • 可选
  • 110102190010109921
  • 取票人证件号码;ticketType=2 时必传,且会进行姓名证件号实名制校验;
  • └ receive_card_type
  • Number
  • 可选
  • 1
  • 取票人证件类型;目前只支持身份证号类型;1=身份证;ticketType=2 时必传,且会进行姓名证件号实名制校验;
  • └ use_point
  • Number
  • 可选
  • 200
  • 订单使用的积分数
  • └ use_point_money
  • String
  • 可选
  • 20
  • 订单使用积分抵扣的金额(元)
  • └ lang_type
  • Number
  • 可选
  • 1
  • 语言类型:1=中文,2=英文
  • └ tenant_token
  • String
  • 必须
  • 3A9UJj/8SWB5xLq54Tn623qFzG+2u39r5xP5icqyWfw
  • 向api服务提供商获取
  • └ ptnr_token
  • String
  • 必须
  • t5dnxCv1KtwpNaDzuE459yus3m
  • 向api服务提供商获取
  • └ channel_token
  • String
  • 必须
  • AxcXYJ72Idfk1231+mCzqSXZLWtCnikX/
  • 向api服务提供商获取
  • └ user_token
  • String
  • 可选
  • 32132131
  • userId
  • order_bearer_param_list
  • OrderBearerParam []
  • 可选
  • 持票人信息;一票一证时必传,一张票对应一条记录
  • └ bearer_id
  • String
  • 可选
  • 32313441
  • 观演人ID;
  • └ goods_id
  • String
  • 可选
  • 2121312321
  • 商品ID,一票一证时必填
  • └ price_id
  • String
  • 可选
  • 3214121
  • 票档ID;
  • └ receivable_money_fen
  • Number
  • 可选
  • 180
  • 要验证的应收金额,如果不一致,则提交订单失败;单位:分

响应参数

名称 类型 示例值 描述
result_data ResultData 统一返回值对象
  • └ success
  • Boolean
  • false
  • 是否成功
  • └ result_code
  • Number
  • 10112
  • 状态码
  • └ result_msg
  • String
  • 失败
  • 提示信息
  • shopping_cart_vo
  • ShoppingCartVo
  • 返回数据
  • └ partner_id
  • String
  • 43241312
  • 商户ID(用于区分麦座系统各商户)
  • └ shopping_cart_id
  • String
  • 312121
  • 当前购物车ID,服务器后台随机生成
  • └ order_id
  • String
  • 3114312211
  • 如果已成订单,返回订单ID
  • cart_goods_list
  • CartGoodsVo []
  • 购物车商品信息列表
  • child_list
  • CartGoodInfo []
  • 子商品列表
  • └ project_id
  • String
  • 343113
  • 项目ID
  • └ project_name
  • String
  • 周杰伦演唱会
  • 项目名称
  • └ project_img_url
  • String
  • http:www.maitix.com/img.jpg
  • 项目图片地址
  • └ project_seat_type
  • Number
  • 1
  • 项目座位类型 1=有座、2=无座
  • └ event_id
  • String
  • 432423423
  • 场次ID
  • └ event_name
  • String
  • 周杰伦演唱会20190101
  • 场次名称
  • └ site_name
  • String
  • 北京展览馆
  • 场馆名称
  • └ site_version_id
  • String
  • 321313
  • 场馆版本号ID
  • └ event_show_start_time
  • String
  • 20190413 11:11:11
  • 场次演出开始时间
  • └ event_show_end_time
  • String
  • 20190413 11:11:11
  • 场次演出结束时间
  • └ price_id
  • String
  • 32321
  • 票档ID
  • └ price_name
  • String
  • 180元
  • 票档名称
  • └ goods_count
  • Number
  • 102
  • 商品数量:如果单票,代表单票的个数,如果是套票,代表套票的数量,如果是有座,数量固定为1,否则代表无座或者实物商品的个数
  • └ margin_count
  • Number
  • 31331
  • 剩余库存数量
  • └ is_coupon_ticket
  • Number
  • 1
  • 是否套票
  • └ price
  • String
  • 18000
  • 票档价格,如果单票,代表单票的价格,如果是套票,代表套票的价格
  • └ goods_id
  • String
  • 33131
  • 商品ID
  • └ coupon_group_id
  • String
  • 434112
  • 套票组ID
  • └ coupon_price_id
  • String
  • 3131
  • 套票票档ID
  • └ stock_state
  • Number
  • 1
  • 库存状态:1=有库存,2=无库存
  • └ floor_name
  • String
  • 1层
  • 楼层名称
  • └ bound_name
  • String
  • vip
  • 区域名称
  • └ row_name
  • String
  • 1排
  • 排名称
  • └ seat_id
  • String
  • 214141
  • 座位ID
  • └ seat_name
  • String
  • 1座
  • 座位名称
  • └ original_price
  • String
  • 18000
  • 票档原始价格,如果是单票,代表单票的价格,如果是套票,代表套票包含的子票档的所有商品的价格
  • └ coupon_discount_money
  • String
  • 300
  • 套票优惠金额
  • └ money_discount_money
  • String
  • 300
  • 金钱优惠金额(减免或折扣的一种)
  • └ real_money
  • String
  • 200
  • 购物车商品实际金额=原价-扣除各种优惠
  • └ present_goods_count
  • Number
  • 10
  • 赠送商品总数量
  • money_selected_discount
  • GoodsDiscountVo
  • 选中的现金优惠金额(减免或折扣)
  • └ discount_id
  • String
  • 9398231
  • 优惠ID
  • └ discount_money
  • String
  • 800
  • 优惠金额
  • └ discount_name
  • String
  • 800-30
  • 优惠名称
  • └ discount_type
  • Number
  • 1
  • 优惠类型:1.票品优惠;2.订单优惠;3.支付优惠;优惠权益:4.票品权益;5.单次使用优惠码;6.多次使用优惠码;
  • └ discount_rule_type
  • Number
  • 1203
  • 优惠规则类型:1201=减免,1202=折扣,1203=赠送,1205=自定义减免,1206=自定义折扣
  • └ discount_rule_name
  • String
  • 800-30
  • 优惠规则名称
  • present_selected_discount_list
  • GoodsDiscountVo []
  • 赠送优惠对象列表
  • └ discount_id
  • String
  • 3213
  • 优惠ID
  • └ discount_money
  • String
  • 800
  • 优惠金额
  • └ discount_name
  • String
  • 800-30
  • 优惠名称
  • └ discount_type
  • Number
  • 1
  • 优惠类型:1.票品优惠;2.订单优惠;3.支付优惠;优惠权益:4.票品权益;5.单次使用优惠码;6.多次使用优惠码;
  • └ discount_rule_type
  • Number
  • 1201
  • 优惠规则类型:1201=减免,1202=折扣,1203=赠送,1205=自定义减免,1206=自定义折扣
  • └ discount_rule_name
  • String
  • 800-30
  • 优惠规则名称
  • └ discount_total_money
  • String
  • 300
  • 所有商品(赠送)优惠总金额 套票优惠+现金优惠
  • cart_good_info
  • CartGoodInfo
  • cartGoodInfo
  • └ project_id
  • String
  • 41341
  • 项目ID
  • └ project_name
  • String
  • 周杰伦演出
  • 项目名称
  • └ project_img_url
  • String
  • http:www.maitix.com/img.jpg
  • 项目图片地址
  • └ project_seat_type
  • Number
  • 1
  • 项目座位类型 1=有座、2=无座
  • └ event_id
  • String
  • 3231
  • 场次ID
  • └ event_name
  • String
  • 周杰伦演出20190101
  • 场次名称
  • └ site_name
  • String
  • 北京展览馆
  • 场馆名称
  • └ site_version_id
  • String
  • 321312
  • 场馆版本号ID
  • └ event_show_start_time
  • String
  • 20190413 11:11:11
  • 场次演出开始时间
  • └ event_show_end_time
  • String
  • 20190413 11:11:11
  • 场次演出结束时间
  • └ price_id
  • String
  • 321312
  • 票档ID
  • └ price_name
  • String
  • 180元
  • 票档名称
  • └ goods_count
  • Number
  • 10
  • 商品数量:如果单票,代表单票的个数,如果是套票,代表套票的数量,如果是有座,数量固定为1,否则代表无座或者实物商品的个数
  • └ margin_count
  • Number
  • 1023
  • 剩余库存数量
  • └ is_coupon_ticket
  • Number
  • 1
  • 是否套票
  • └ price
  • String
  • 18000
  • 票档价格,如果单票,代表单票的价格,如果是套票,代表套票的价格
  • └ goods_id
  • String
  • 3241312
  • 商品ID
  • └ coupon_group_id
  • String
  • 21213
  • 套票组ID
  • └ coupon_price_id
  • String
  • 31312
  • 套票票档ID
  • └ stock_state
  • Number
  • 1
  • 库存状态:1=有库存,2=无库存
  • └ floor_name
  • String
  • 1层
  • 楼层名称
  • └ bound_name
  • String
  • vip
  • 区域名称
  • └ row_name
  • String
  • 1排
  • 排名称
  • └ seat_id
  • String
  • 32131
  • 座位ID
  • └ seat_name
  • String
  • 1座
  • 座位名称
  • └ original_price
  • String
  • 18000
  • 票档原始价格,如果是单票,代表单票的价格,如果是套票,代表套票包含的子票档的所有商品的价格
  • └ coupon_discount_money
  • String
  • 18000
  • 套票优惠金额
  • └ money_discount_money
  • String
  • 2000
  • 金钱优惠金额(减免或折扣的一种)
  • └ real_money
  • String
  • 3000
  • 购物车商品实际金额=原价-扣除各种优惠
  • └ present_goods_count
  • Number
  • 10
  • 赠送商品总数量
  • money_selected_discount
  • GoodsDiscountVo
  • 选中的现金优惠金额(减免或折扣)
  • └ discount_id
  • String
  • 313121
  • 优惠ID
  • └ discount_money
  • String
  • 300
  • 优惠金额
  • └ discount_name
  • String
  • 300-30
  • 优惠名称
  • └ discount_type
  • Number
  • 1
  • 优惠类型:1.票品优惠;2.订单优惠;3.支付优惠;优惠权益:4.票品权益;5.单次使用优惠码;6.多次使用优惠码;
  • └ discount_rule_type
  • Number
  • 1201
  • 优惠规则类型:1201=减免,1202=折扣,1203=赠送,1205=自定义减免,1206=自定义折扣
  • └ discount_rule_name
  • String
  • 300-30
  • 优惠规则名称
  • present_selected_discount_list
  • GoodsDiscountVo []
  • 赠送优惠对象列表
  • └ discount_id
  • String
  • 3213121
  • 优惠ID
  • └ discount_money
  • String
  • 30
  • 优惠金额
  • └ discount_name
  • String
  • 100-30
  • 优惠名称
  • └ discount_type
  • Number
  • 1
  • 优惠类型:1.票品优惠;2.订单优惠;3.支付优惠;优惠权益:4.票品权益;5.单次使用优惠码;6.多次使用优惠码;
  • └ discount_rule_type
  • Number
  • 1201
  • 优惠规则类型:1201=减免,1202=折扣,1203=赠送,1205=自定义减免,1206=自定义折扣
  • └ discount_rule_name
  • String
  • 100-30
  • 优惠规则名称
  • └ discount_total_money
  • String
  • 100
  • 所有商品(赠送)优惠总金额 套票优惠+现金优惠
  • └ event_limit_type
  • Number
  • 1
  • 场次购票限制类型:0=不限购,1=实名制购票(一单一证),2=一票一证
  • └ goods_total_count
  • Number
  • 10
  • 所有商品总数量(包含赠送的)
  • └ goods_count
  • Number
  • 1039
  • 购买商品总数量
  • └ goods_original_total_money
  • String
  • 1000
  • 所有商品原价总金额
  • └ goods_discount_total_money
  • String
  • 1000
  • 所有票品优惠总金额(套票优惠+减免或折扣优惠)
  • order_present_list
  • OrderPresentVo []
  • 订单赠送的权益列表
  • └ present_type_name
  • String
  • 优惠码
  • 赠送的权益类型名称
  • └ present_content
  • String
  • 优惠码30
  • 赠送的权益内容
  • order_discount_list
  • OrderDiscountVo []
  • 可用的订单优惠列表
  • └ discount_id
  • String
  • 321312
  • 优惠ID
  • └ discount_money
  • String
  • 100
  • 优惠金额(元)
  • └ discount_name
  • String
  • 1000-100
  • 优惠名称
  • └ discount_type
  • Number
  • 1
  • 优惠类型:1.票品优惠;2.订单优惠;3.支付优惠;优惠权益:4.票品权益;优惠码:5.单次使用;6.多次使用;
  • └ discount_rule_type
  • Number
  • 1
  • 优惠规则类型:1.减免;2.折扣;3.赠送; 4. 加价购;5.自定义减免;6.自定义折扣;
  • └ order_discount_rule_id
  • String
  • 32131
  • 选中的优惠规则ID
  • └ discount_rule_name
  • String
  • 1000-100
  • 优惠规则名称
  • └ coupon_code
  • String
  • sdsa122
  • 优惠码
  • └ order_discount_id
  • String
  • 31312
  • 订单优惠ID
  • └ order_discount_money
  • String
  • 100
  • 订单优惠金额(不包括票品级别的优惠)
  • coupon_code_discount_list
  • OrderDiscountVo []
  • 可用的优惠码列表
  • └ discount_id
  • String
  • 4131
  • 优惠ID
  • └ discount_money
  • String
  • 100
  • 优惠金额(元)
  • └ discount_name
  • String
  • 100-30
  • 优惠名称
  • └ discount_type
  • Number
  • 1
  • 优惠类型:1.票品优惠;2.订单优惠;3.支付优惠;优惠权益:4.票品权益;优惠码:5.单次使用;6.多次使用;
  • └ discount_rule_type
  • Number
  • 1
  • 优惠规则类型:1.减免;2.折扣;3.赠送; 4. 加价购;5.自定义减免;6.自定义折扣;
  • └ order_discount_rule_id
  • String
  • 32131
  • 选中的优惠规则ID
  • └ discount_rule_name
  • String
  • 100-30
  • 优惠规则名称
  • └ coupon_code
  • String
  • sassa121
  • 优惠码
  • └ coupon_code_discount_id
  • String
  • 321341
  • 优惠码优惠政策ID
  • └ coupon_code
  • String
  • yshxn12
  • 使用的优惠码
  • └ coupon_code_discount_money
  • String
  • 30
  • 优惠码优惠金额
  • user_point_info
  • UserPointVo
  • 会员积分信息
  • └ user_point
  • Number
  • 102000
  • 会员总积分
  • └ valid_user_point
  • Number
  • 300
  • 可用于抵扣的积分
  • └ use_able_money
  • String
  • 30
  • 可抵扣的金额
  • └ use_point
  • Number
  • 10
  • 使用抵扣的积分数
  • └ use_point_money
  • String
  • 100
  • 使用积分抵扣的金额
  • user_account_info
  • UserAccountVo
  • 会员账户余额信息
  • └ account_money
  • String
  • 318011
  • 账户余额
  • └ use_able_money
  • String
  • 10
  • 可用于抵扣的余额
  • └ use_account_money
  • String
  • 10
  • 使用会员账户余额支付的金额
  • pay_discount_list
  • OrderDiscountVo []
  • 可用的支付优惠列表
  • └ discount_id
  • String
  • 213123
  • 优惠ID
  • └ discount_money
  • String
  • 100
  • 优惠金额(元)
  • └ discount_name
  • String
  • 300-100
  • 优惠名称
  • └ discount_type
  • Number
  • 1
  • 优惠类型:1.票品优惠;2.订单优惠;3.支付优惠;优惠权益:4.票品权益;优惠码:5.单次使用;6.多次使用;
  • └ discount_rule_type
  • Number
  • 1
  • 优惠规则类型:1.减免;2.折扣;3.赠送; 4. 加价购;5.自定义减免;6.自定义折扣;
  • └ order_discount_rule_id
  • String
  • 3231
  • 选中的优惠规则ID
  • └ discount_rule_name
  • String
  • 300-100
  • 优惠规则名称
  • └ coupon_code
  • String
  • safqd1
  • 优惠码
  • └ pay_discount_id
  • String
  • 321313
  • 支付优惠规则id
  • └ pay_discount_money
  • String
  • 100
  • 支付优惠金额
  • └ discount_total_money
  • String
  • 2300
  • 所有优惠总金额(套票、票品优惠、订单优惠、优惠码优惠、支付优惠)
  • └ goods_receivable_money
  • String
  • 180
  • 所有商品应收金额;单位:元
  • └ express_money
  • String
  • 1500
  • 配送费
  • └ receivable_money
  • String
  • 180
  • 总的应收金额;所有商品应收金额 + 配送费;单位:元
  • └ online_pay_money
  • String
  • 30000
  • 在线支付的金额:总的应收金额 - 积分抵扣的金额 - 使用余额支付的金额

请求示例

  • JAVA
  • .NET
  • PHP
  • CURL
  • Python
  • C/C++
  • NodeJS
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
AlibabaDamaiMaizuoOpenapiOrderSubmitRequest req = new AlibabaDamaiMaizuoOpenapiOrderSubmitRequest();
AlibabaDamaiMaizuoOpenapiOrderSubmitRequest.SubmitOrderParam obj1 = new AlibabaDamaiMaizuoOpenapiOrderSubmitRequest.SubmitOrderParam();
List<AlibabaDamaiMaizuoOpenapiOrderSubmitRequest.GroupedShoppingCartGoodsParam> list3 = new ArrayList<AlibabaDamaiMaizuoOpenapiOrderSubmitRequest.GroupedShoppingCartGoodsParam>();
AlibabaDamaiMaizuoOpenapiOrderSubmitRequest.GroupedShoppingCartGoodsParam obj4 = new AlibabaDamaiMaizuoOpenapiOrderSubmitRequest.GroupedShoppingCartGoodsParam();
list3.add(obj4);
obj4.setEventId("1802131");
obj4.setPriceId("1280121");
obj4.setGoodsId("809921");
obj4.setGoodsCount(2131L);
obj4.setCouponGroupId("231213");
List<AlibabaDamaiMaizuoOpenapiOrderSubmitRequest.ChildGroupedShoppingCartGoodsParam> list7 = new ArrayList<AlibabaDamaiMaizuoOpenapiOrderSubmitRequest.ChildGroupedShoppingCartGoodsParam>();
AlibabaDamaiMaizuoOpenapiOrderSubmitRequest.ChildGroupedShoppingCartGoodsParam obj8 = new AlibabaDamaiMaizuoOpenapiOrderSubmitRequest.ChildGroupedShoppingCartGoodsParam();
list7.add(obj8);
obj8.setPriceId("432131");
obj8.setGoodsId("421311");
obj8.setGoodsCount(1L);
list5.setChildList(list7);
obj1.setCartGoodsParamList(list3);
AlibabaDamaiMaizuoOpenapiOrderSubmitRequest.OrderBearerParam obj9 = new AlibabaDamaiMaizuoOpenapiOrderSubmitRequest.OrderBearerParam();
obj9.setBearerId("653231");
obj1.setOrderBearerParam(obj9);
obj1.setReceivableMoney("180");
obj1.setRemark("金牌");
obj1.setShoppingCartId("3213131");
obj1.setUserId("5775654");
obj1.setQuickBuy(false);
AlibabaDamaiMaizuoOpenapiOrderSubmitRequest.OrderReceiveParam obj10 = new AlibabaDamaiMaizuoOpenapiOrderSubmitRequest.OrderReceiveParam();
obj10.setReceiveType(2L);
obj10.setTicketType(7L);
obj10.setAddressId("688665");
obj10.setReceiveName("李晴雪");
obj10.setReceivePhone("13901234567");
obj10.setReceiveIdentityCode("110102190010109921");
obj10.setReceiveCardType(1L);
obj1.setOrderReceiveParam(obj10);
obj1.setOrderDiscountId("3131231");
obj1.setOrderDiscountRuleId("41321");
obj1.setOrderDiscountEventIds("313121");
obj1.setCouponCode("sjkaxhh0921");
obj1.setCouponCodeRuleId("31211");
obj1.setCouponCodeEventIds("413344");
obj1.setUsePoint(200L);
obj1.setUsePointMoney("20");
obj1.setPayDiscountId("4324231");
obj1.setLangType(1L);
obj1.setTenantToken("3A9UJj/8SWB5xLq54Tn623qFzG+2u39r5xP5icqyWfw");
obj1.setPtnrToken("t5dnxCv1KtwpNaDzuE459yus3m");
obj1.setChannelToken("AxcXYJ72Idfk1231+mCzqSXZLWtCnikX/");
obj1.setUserToken("32132131");
List<AlibabaDamaiMaizuoOpenapiOrderSubmitRequest.OrderBearerParam> list12 = new ArrayList<AlibabaDamaiMaizuoOpenapiOrderSubmitRequest.OrderBearerParam>();
AlibabaDamaiMaizuoOpenapiOrderSubmitRequest.OrderBearerParam obj13 = new AlibabaDamaiMaizuoOpenapiOrderSubmitRequest.OrderBearerParam();
list12.add(obj13);
obj13.setBearerId("32313441");
obj13.setGoodsId("2121312321");
obj13.setPriceId("3214121");
obj1.setOrderBearerParamList(list12);
obj1.setReceivableMoneyFen(180L);
req.setGroupedSubmitOrderParam(obj1);
AlibabaDamaiMaizuoOpenapiOrderSubmitResponse rsp = client.execute(req);
System.out.println(rsp.getBody());

响应示例

  • XML示例
  • JSON示例
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
<alibaba_damai_maizuo_openapi_order_submit_response>
    <result_data>
        <success>false</success>
        <result_code>10112</result_code>
        <result_msg>失败</result_msg>
        <shopping_cart_vo>
            <partner_id>43241312</partner_id>
            <shopping_cart_id>312121</shopping_cart_id>
            <order_id>3114312211</order_id>
            <cart_goods_list>
                <cart_goods_vo>
                    <child_list>
                        <cart_good_info>
                            <project_id>343113</project_id>
                            <project_name>周杰伦演唱会</project_name>
                            <project_img_url>http:www.maitix.com/img.jpg</project_img_url>
                            <project_seat_type>1</project_seat_type>
                            <event_id>432423423</event_id>
                            <event_name>周杰伦演唱会20190101</event_name>
                            <site_name>北京展览馆</site_name>
                            <site_version_id>321313</site_version_id>
                            <event_show_start_time>20190413 11:11:11</event_show_start_time>
                            <event_show_end_time>20190413 11:11:11</event_show_end_time>
                            <price_id>32321</price_id>
                            <price_name>180元</price_name>
                            <goods_count>102</goods_count>
                            <margin_count>31331</margin_count>
                            <is_coupon_ticket>1</is_coupon_ticket>
                            <price>18000</price>
                            <goods_id>33131</goods_id>
                            <coupon_group_id>434112</coupon_group_id>
                            <coupon_price_id>3131</coupon_price_id>
                            <stock_state>1</stock_state>
                            <floor_name>1层</floor_name>
                            <bound_name>vip</bound_name>
                            <row_name>1排</row_name>
                            <seat_id>214141</seat_id>
                            <seat_name>1座</seat_name>
                            <original_price>18000</original_price>
                            <coupon_discount_money>300</coupon_discount_money>
                            <money_discount_money>300</money_discount_money>
                            <real_money>200</real_money>
                            <present_goods_count>10</present_goods_count>
                            <money_selected_discount>
                                <discount_id>9398231</discount_id>
                                <discount_money>800</discount_money>
                                <discount_name>800-30</discount_name>
                                <discount_type>1</discount_type>
                                <discount_rule_type>1203</discount_rule_type>
                                <discount_rule_name>800-30</discount_rule_name>
                            </money_selected_discount>
                            <present_selected_discount_list>
                                <goods_discount_vo>
                                    <discount_id>3213</discount_id>
                                    <discount_money>800</discount_money>
                                    <discount_name>800-30</discount_name>
                                    <discount_type>1</discount_type>
                                    <discount_rule_type>1201</discount_rule_type>
                                    <discount_rule_name>800-30</discount_rule_name>
                                </goods_discount_vo>
                            </present_selected_discount_list>
                            <discount_total_money>300</discount_total_money>
                        </cart_good_info>
                    </child_list>
                    <cart_good_info>
                        <project_id>41341</project_id>
                        <project_name>周杰伦演出</project_name>
                        <project_img_url>http:www.maitix.com/img.jpg</project_img_url>
                        <project_seat_type>1</project_seat_type>
                        <event_id>3231</event_id>
                        <event_name>周杰伦演出20190101</event_name>
                        <site_name>北京展览馆</site_name>
                        <site_version_id>321312</site_version_id>
                        <event_show_start_time>20190413 11:11:11</event_show_start_time>
                        <event_show_end_time>20190413 11:11:11</event_show_end_time>
                        <price_id>321312</price_id>
                        <price_name>180元</price_name>
                        <goods_count>10</goods_count>
                        <margin_count>1023</margin_count>
                        <is_coupon_ticket>1</is_coupon_ticket>
                        <price>18000</price>
                        <goods_id>3241312</goods_id>
                        <coupon_group_id>21213</coupon_group_id>
                        <coupon_price_id>31312</coupon_price_id>
                        <stock_state>1</stock_state>
                        <floor_name>1层</floor_name>
                        <bound_name>vip</bound_name>
                        <row_name>1排</row_name>
                        <seat_id>32131</seat_id>
                        <seat_name>1座</seat_name>
                        <original_price>18000</original_price>
                        <coupon_discount_money>18000</coupon_discount_money>
                        <money_discount_money>2000</money_discount_money>
                        <real_money>3000</real_money>
                        <present_goods_count>10</present_goods_count>
                        <money_selected_discount>
                            <discount_id>313121</discount_id>
                            <discount_money>300</discount_money>
                            <discount_name>300-30</discount_name>
                            <discount_type>1</discount_type>
                            <discount_rule_type>1201</discount_rule_type>
                            <discount_rule_name>300-30</discount_rule_name>
                        </money_selected_discount>
                        <present_selected_discount_list>
                            <goods_discount_vo>
                                <discount_id>3213121</discount_id>
                                <discount_money>30</discount_money>
                                <discount_name>100-30</discount_name>
                                <discount_type>1</discount_type>
                                <discount_rule_type>1201</discount_rule_type>
                                <discount_rule_name>100-30</discount_rule_name>
                            </goods_discount_vo>
                        </present_selected_discount_list>
                        <discount_total_money>100</discount_total_money>
                    </cart_good_info>
                </cart_goods_vo>
            </cart_goods_list>
            <event_limit_type>1</event_limit_type>
            <goods_total_count>10</goods_total_count>
            <goods_count>1039</goods_count>
            <goods_original_total_money>1000</goods_original_total_money>
            <goods_discount_total_money>1000</goods_discount_total_money>
            <order_present_list>
                <order_present_vo>
                    <present_type_name>优惠码</present_type_name>
                    <present_content>优惠码30</present_content>
                </order_present_vo>
            </order_present_list>
            <order_discount_list>
                <order_discount_vo>
                    <discount_id>321312</discount_id>
                    <discount_money>100</discount_money>
                    <discount_name>1000-100</discount_name>
                    <discount_type>1</discount_type>
                    <discount_rule_type>1</discount_rule_type>
                    <order_discount_rule_id>32131</order_discount_rule_id>
                    <discount_rule_name>1000-100</discount_rule_name>
                    <coupon_code>sdsa122</coupon_code>
                </order_discount_vo>
            </order_discount_list>
            <order_discount_id>31312</order_discount_id>
            <order_discount_money>100</order_discount_money>
            <coupon_code_discount_list>
                <order_discount_vo>
                    <discount_id>4131</discount_id>
                    <discount_money>100</discount_money>
                    <discount_name>100-30</discount_name>
                    <discount_type>1</discount_type>
                    <discount_rule_type>1</discount_rule_type>
                    <order_discount_rule_id>32131</order_discount_rule_id>
                    <discount_rule_name>100-30</discount_rule_name>
                    <coupon_code>sassa121</coupon_code>
                </order_discount_vo>
            </coupon_code_discount_list>
            <coupon_code_discount_id>321341</coupon_code_discount_id>
            <coupon_code>yshxn12</coupon_code>
            <coupon_code_discount_money>30</coupon_code_discount_money>
            <user_point_info>
                <user_point>102000</user_point>
                <valid_user_point>300</valid_user_point>
                <use_able_money>30</use_able_money>
            </user_point_info>
            <use_point>10</use_point>
            <use_point_money>100</use_point_money>
            <user_account_info>
                <account_money>318011</account_money>
                <use_able_money>10</use_able_money>
            </user_account_info>
            <use_account_money>10</use_account_money>
            <pay_discount_list>
                <order_discount_vo>
                    <discount_id>213123</discount_id>
                    <discount_money>100</discount_money>
                    <discount_name>300-100</discount_name>
                    <discount_type>1</discount_type>
                    <discount_rule_type>1</discount_rule_type>
                    <order_discount_rule_id>3231</order_discount_rule_id>
                    <discount_rule_name>300-100</discount_rule_name>
                    <coupon_code>safqd1</coupon_code>
                </order_discount_vo>
            </pay_discount_list>
            <pay_discount_id>321313</pay_discount_id>
            <pay_discount_money>100</pay_discount_money>
            <discount_total_money>2300</discount_total_money>
            <goods_receivable_money>180</goods_receivable_money>
            <express_money>1500</express_money>
            <receivable_money>180</receivable_money>
            <online_pay_money>30000</online_pay_money>
        </shopping_cart_vo>
    </result_data>
</alibaba_damai_maizuo_openapi_order_submit_response>

异常示例

  • XML示例
  • JSON示例
1
2
3
4
5
6
<error_response>
    <code>50</code>
    <msg>Remote service error</msg>
    <sub_code>isv.invalid-parameter</sub_code>
    <sub_msg>非法参数</sub_msg>
</error_response>

错误码解释

错误码 错误描述 解决方案

API工具

如何获得此API

FAQ

返回
顶部