获取代客订单列表

企业可通过接口获取crm代客订单的订单列表信息

请求方式: POST(HTTPS)

请求地址: https://open.wshoto.com/openapi/valetorder/info/list?access_token=x

Query参数:

参数 类型 必填 说明
access_token string 调用接口凭证

Body参数:

{
  "user_id": "wovvCXcAAAXio3fEwulPCVHqUnRlT5iw",
  "owners": "",
  "follow_user_ids": "",
  "start_time":1653973589,
  "end_time":1653993589,
  "order_status":2,
  "field_map":{},
  "page_num":1,
  "page_size":20,
  "is_team":1,
  "role_type":0
}
参数 类型 必填 说明
user_id string 当前用户
page_num int 当前页
page_size int 当前页大小
owners string 负责人 逗号拼接
follow_user_ids string 创建人 逗号拼接
start_time long 创建开始时间(单位:秒),
end_time long 创建结束时间(单位:秒),
is_team int 0: 非团队,我的,查询我自己管理的订单 1: 团队就是我管辖范围的人的订单
order_status string 订单状态1.待确认、2.待付款、3.待审核、4.待修改、5.已完成、6.已撤销1.待确认、2.待付款、3.待审核、4.待修改、5.已完成、6.已撤销
role_type int 非团队下:0.全部 1. 我负责的,2. 我协作的,3. 我创建的 团队下:0.全部 1. 我团队负责的,2. 我团队协作的,3. 我团队创建的
field_map map 自定义字段筛选map

返回值:

{
  "code": 0,
  "msg": "请求成功",
  "data": {
    "total": 4,
    "records": [
      {
        "id": 1531517114528779266,
        "order_number": "20220531140588730010",
        "corp_id": null,
        "customer_id": "wmvvCXcAAA-Szs4aldpROsiAM9kLBO9Q",
        "customer_name": "倫|O子~",
        "follow_user_id": "wovvCXcAAAXio3fEwulPCVHqUnRlT5iw",
        "order_account": 36900,
        "discount": null,
        "remittance_account": 0,
        "account": null,
        "order_state": 2,
        "company_name": null,
        "create_time": 1653973589,
        "remark": null,
        "update_time": null,
        "owner": "wovvCXcAAAXio3fEwulPCVHqUnRlT5iw",
        "coop_id": null,
        "discount_price": null,
        "company_id": null,
        "customer_type": null,
        "customer_remark": "倫|O子~",
        "corp_short_name": null,
        "goods_name": "哇哇",
        "pic_list": [
          "https://cos-test-1302358358.file.myqcloud.com/app/wpDkH9EAAAU313n90ANS71ehjCBAfH3A/2022/04/da29a83a-59f5-4c17-a2a5-c47f801eb5c6.png"
        ],
        "cooper_list": null,
        "before_owner": null,
        "opportunity_id": null,
        "opportunity_name": null,
        "satisfaction": null,
        "field_map": {}
      },
      {
        "id": 1531516847959788546,
        "order_number": "2022053114043010009",
        "corp_id": null,
        "customer_id": "wmvvCXcAAA-Szs4aldpROsiAM9kLBO9Q",
        "customer_name": "倫|O子~",
        "follow_user_id": "wovvCXcAAAXio3fEwulPCVHqUnRlT5iw",
        "order_account": 36900,
        "discount": null,
        "remittance_account": 0,
        "account": null,
        "order_state": 2,
        "company_name": null,
        "create_time": 1653973589,
        "remark": null,
        "update_time": null,
        "owner": "wovvCXcAAAXio3fEwulPCVHqUnRlT5iw",
        "coop_id": null,
        "discount_price": null,
        "company_id": null,
        "customer_type": null,
        "customer_remark": "倫|O子~",
        "corp_short_name": null,
        "goods_name": "biu商品",
        "pic_list": [
          "https://cos-test-1302358358.file.myqcloud.com/app/wpDkH9EAAAU313n90ANS71ehjCBAfH3A/2022/04/da29a83a-59f5-4c17-a2a5-c47f801eb5c6.png"
        ],
        "cooper_list": null,
        "before_owner": null,
        "opportunity_id": null,
        "opportunity_name": null,
        "satisfaction": null,
        "field_map": {}
      },
      {
        "id": 1531511789654328321,
        "order_number": "2022053113435627008",
        "corp_id": null,
        "customer_id": "wmvvCXcAAA-Szs4aldpROsiAM9kLBO9Q",
        "customer_name": "倫|O子~",
        "follow_user_id": "wovvCXcAAAXio3fEwulPCVHqUnRlT5iw",
        "order_account": 36900,
        "discount": null,
        "remittance_account": 0,
        "account": null,
        "order_state": 2,
        "company_name": null,
        "create_time": 1653973589,
        "remark": null,
        "update_time": null,
        "owner": "wovvCXcAAAXio3fEwulPCVHqUnRlT5iw",
        "coop_id": null,
        "discount_price": null,
        "company_id": null,
        "customer_type": null,
        "customer_remark": "倫|O子~",
        "corp_short_name": null,
        "goods_name": "biu商品",
        "pic_list": [
          "https://cos-test-1302358358.file.myqcloud.com/app/wpDkH9EAAAU313n90ANS71ehjCBAfH3A/2022/04/da29a83a-59f5-4c17-a2a5-c47f801eb5c6.png"
        ],
        "cooper_list": null,
        "before_owner": null,
        "opportunity_id": null,
        "opportunity_name": null,
        "satisfaction": null,
        "field_map": {}
      },
      {
        "id": 1531502351576941570,
        "order_number": "2022053113063235007",
        "corp_id": null,
        "customer_id": "wmvvCXcAAA-Szs4aldpROsiAM9kLBO9Q",
        "customer_name": "倫|O子~",
        "follow_user_id": "wovvCXcAAAXio3fEwulPCVHqUnRlT5iw",
        "order_account": 36900,
        "discount": null,
        "remittance_account": 0,
        "account": null,
        "order_state": 2,
        "company_name": null,
        "create_time": 1653973589,
        "remark": null,
        "update_time": null,
        "owner": "wovvCXcAAAXio3fEwulPCVHqUnRlT5iw",
        "coop_id": null,
        "discount_price": null,
        "company_id": null,
        "customer_type": null,
        "customer_remark": "倫|O子~",
        "corp_short_name": null,
        "goods_name": "biu商品",
        "pic_list": [
          "https://cos-test-1302358358.file.myqcloud.com/app/wpDkH9EAAAU313n90ANS71ehjCBAfH3A/2022/04/da29a83a-59f5-4c17-a2a5-c47f801eb5c6.png"
        ],
        "cooper_list": null,
        "before_owner": null,
        "opportunity_id": null,
        "opportunity_name": null,
        "satisfaction": null,
        "field_map": {}
      }
    ]
  }
}

参数说明:

参数 类型 说明
code int 返回码
msg string 对返回码的文本描述内容
data object 返回数据
 total long 总行数
 records object[] 订单信息
  id long 订单id
  order_number string 订单编号
  corp_id string 企业id
  customer_id string 客户id
  customer_name string 客户名称
  follow_user_id string 跟进人id
  order_account long 订单总额
  discount double 折扣
  remittance_account long 回款总额
  account long 订单原价总金额
  order_state int 订单状态 1 待确认,2 待付款3,待审核,4 待修改,5 已完成,6 已撤销
  company_name string 企业名称
  create_time long 创建时间
  remark string 备注
  update_time long 修改时间
  owner string 负责人
  coop_id string 协作团队id
  discount_price long 折扣金额
  company_id long 客户企业id
  customer_type int 客户类型
  customer_remark int 客户备注
  corp_short_name string 企业简称名称
  goods_name string 商品名称
  pic_list string[] 商品图片地址集
  cooper_list string[] 协作人
  before_owner string 前负责人
  opportunity_id string 商机id
  opportunity_name string 商机名称
  satisfaction string 客户意向度
  field_map map 自定义字段 map

results matching ""

    No results matching ""