简要描述:
- 蛋糕叔叔-下单
请求URL:
商城公用下单API order.create
参数: //原本参数上增加,原参数都不变
参数名 | 类型 | 说明 |
---|---|---|
city_cake | string | 定位的城市名称,如果不传使用用户收货地址的城市名称 |
cake_ship_type | string | 配送类型:delivery-商家配送(可选择配送时间),shop-门店自提(可选择配送时间),same-快递(配送规则接口没返回可选配送时间,正常上架状态的商品) |
ship_date | string | 配送日期 选择配送规则API返回的结果 |
ship_time_text | string | 配送时间 ,如果没有ship_time_text,请填写配规接口返回的delivery_text的值 |
cake_shop_id | string | 自提门店id 自提的时候必填--选择配送范围API返回结果 |
cake_shop_name | string | 自提门店名称 自提的时候必填 |
cake_shop_detail | string | 自提门店地址 自提的时候必填 |
buyer_phone | string | 下单人手机号 |
返回示例:
正确时返回:
错误时返回:
{
data: null
msg: "失败"
result: 0
}