新版「开放接口」现已发布,新增消息事件推送功能,更新人人商城至V5.32.0体验!
参数 | 类型 | 是否必填 | 最大长度 | 描述 | 实例 |
---|---|---|---|---|---|
goods_id | int | 是 | 11 | 商品id | 7322 |
option_id | int | 否 | 11 | 规格id | 0 |
total | int | 是 | 11 | 商品数量 | 10 |
curl --location --request POST '/customOrder/index/confirm' \
--form 'goods_info=""' \
--form 'member_id="-1"' \
--form 'dispatch_type="10"' \
--form 'address_id=""' \
--form 'buyer_name="收货人"' \
--form 'buyer_mobile="15855223322"' \
--form 'province="安徽省"' \
--form 'city="蚌埠市"' \
--form 'area="固镇县"' \
--form 'address="详细地址"' \
--form 'address_code="340323"' \
--form 'seller_remark="订单备注"' \
--form 'dispatch_price="10"' \
--form 'is_join_member_price="1"' \
--form 'is_join_commission=""' \
--form 'custom_order_pay_type=""'
{
"error": 0,
"order": {
"order_type": 10,
"dispatch_type": 0,
"over_scope": 0,
"extra_package": {
"delivery_time": "",
"article_id": 0,
"inviter_id": "",
"is_prescription": false,
"medication_id": 0,
"custom_order_is_join_commission": 0,
"intracity_setting": []
},
"member_id": -1,
"member_nickname": "游客",
"member_mobile": "",
"member_avatar": "",
"goods_price": 100,
"activity_return_data": [],
"extra_price_package": [],
"extra_discount_rules_package": [],
"goods_info": [
{
"title": "bbbbb",
"short_title": "",
"sub_title": "",
"option_title": "",
"thumb": "image/25/2024/03/61e6a8ca4fd0f2eb842ab9c836f99def.png",
"option_thumb": null,
"goods_code": "",
"unit": "件",
"type": "0",
"goods_id": "7343",
"stock": "1099",
"option_id": "0",
"total": "1",
"price": 100,
"price_unit": "100.00",
"price_original": 100,
"price_discount": 0,
"extra": null,
"ext_field": {
"show_sales": "0",
"show_stock": "1",
"invoice": "0",
"refund": "1",
"return": "1",
"exchange": "1",
"is_delivery_pay": "0",
"auto_putaway": "0",
"single_max_buy": "",
"single_min_buy": "",
"max_buy": "",
"buy_limit": "0",
"putaway_time": "0NaN-NaN-NaN NaN:NaN:NaN",
"share_title_type": "0",
"deduction_gift_card_type": "0",
"deduction_gift_card": "",
"deduction_gift_card_repeat": "0",
"note": "",
"goods_stock_warning_type": 1,
"stock_warning_type": 0,
"stock_warning_number": 0,
"stock_warning_scale": 0,
"warehouseSettings": "",
"option_type": "0",
"youyu": {
"category_1": "",
"category_2": ""
},
"price_diy": "",
"goods_unit_type": "1",
"goods_unit": "件",
"wholesale_settings": {
"number_limit": "",
"one_lot_status": "0",
"one_lot_type": "1",
"one_lot_number": "",
"step_status": "0",
"step_number": "2",
"step_type": "2",
"step_data": ""
},
"title_tag": "",
"title_tag_color": "#FF3C29",
"is_finder": 0,
"finder_id": "",
"finder_text": "",
"is_feed": 0,
"feed_finder_id": "",
"feed_id": "",
"feed_text": "",
"medicine_settings": {
"disease": ""
},
"offaway_time": "0NaN-NaN-NaN NaN:NaN:NaN",
"buy_button_settings": [],
"buy_button_type": "0"
},
"auto_deliver": "0",
"auto_deliver_content": "",
"plugin_identification": {
"is_commission": "1"
},
"activity_package": [],
"form_data": null,
"form_status": "0",
"form_id": "0",
"virtual_account_id": null,
"virtual_account_mailer_setting": null,
"change_string": "",
"is_all_verify": 1
}
],
"buyer_remark": "",
"seller_remark": "",
"pay_price": 100,
"dispatch_price": 0,
"total": 100,
"delivery_pay": 0,
"is_invoice_support": 0,
"invoice_type": [],
"member_credit": null,
"member_balance": null,
"select_coupon_id": null,
"is_member_card_tip": false,
"delivery_time": 0
}
}
扫码加入 开放接口 微信交流群
在这里,获得 开放接口 使用上的任何帮助,快速上手让你的研测效率得到大幅提升