创建维修订单

接口描述

创建一个维修订单

请求地址

https://open-api.shanxiuxia.com/Repair/V1/Order.CreateOrder

接口参数
参数 说明 要求 是否必须
category 维修类型 1 => '上门维修', 2 => '邮寄维修', 3 => '到店维修' int
customer 用户名称 string
cellphone 用户手机号 string
county 地区id int
city 城市id int
province 省份id int
address 用户详细地址 string
phone_id 机型id int
color_id 颜色id int
malfunctions 故障数组 array
remark 备注 string
third_number 您的订单id string
is_invoice 是否开发票,0否,1是 int
invoice 发票抬头 string
is_personal 开票时必传,发票类型1个人2企业 string
tax_number 需要开企业类型发票时必传的税号 string
remark 同步备注 string
user_remark 用户备注 string
返回参数
参数 说明 要求 是否必须
order_id 我方订单id int
order_number 我方订单编号 string
third_number 三方订单编号 string
status 订单状态 string
正常返回结果**
{
    "code": 200,
    "msg": "success",
    "data": {
        "order_id": 2676853,
        "order_number": "W191011164918khu",
        "third_number": 21554,
        "status": "CREATE_ORDER"
    }
}

results matching ""

    No results matching ""