简要描述:
柜门下单创建合同接口
请求URL:
http://open.thinkerx.com/api/lbl/methods/storeContract
请求方式:
POST
参数:
| 参数名 | 必选 | 类型 | 说明 |
| login_token | 是 | string | 通行证 |
| customer_name | 是 | string | 经销商(客户)名称 |
| 其他参数接口 | 否 | any | 下单合同内容 |
返回示例
{
"status": 0,
"message": null,
"data": {
"id": 261,
"customer_id": 10,
"brand_id": null,
"group_code": "YX20251201-2",
"money_sum": 0,
"money_pay": 0,
"money_get": 0,
"money_left": 0,
"intention_code": "YX20251201-2",
"plan_code": "0",
"product_batch": null,
"estimate_rebates_money": 0,
"rebates_money": 0,
"rebates_ratio": 0,
"discount": 10,
"pay_percent": null,
"area": 0,
"count": 0,
"note": null,
"product_name": "品名(暂无)",
"buyer": "终端用户",
"buyer_phone": null,
"buyer_address": null,
"buyer_make": null,
"create_time": "2025-12-01 13:57:45",
"status": "had_confirmcox",
"pay_time": null,
"order_status": "not_sent",
"offer_time": null,
"cashiers_note": null,
"create_date": "2025-12-01",
"delivery_address": null,
"order_category": 0,
"is_survey": 0,
"is_erect": 0,
"factory_id": 1,
"order_factory_id": 1,
"plan_whole_status": "not_confirm",
"package_status": "not_package",
}
}返回参数说明
| 参数名 | 类型 | 说明 |
|---|---|---|
| status | int | 状态码 0成功 1失败 |
| message | str | 返回信息 |
| data | array | 合同数据 |
合同数据说明
| 参数名 | 类型 | 说明 |
|---|---|---|
| id | int | 合同id |
| group_code | str | 合同编号 |
| customer_name | str | 经销商名称 |
| buyer | str | 终端用户 |
| buyer_phone | str | 终端用户电话 |
| buyer_address | str | 终端用户地址 |
| money_sum | str | 总金额 |
| create_time | str | 下单时间 |
| due_date | str | 交货时间 |
