获取代客订单详情

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

请求方式: GET(HTTPS)

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

Query参数:

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

Body参数:

{
  "user_id": "wovvCXcAAAXio3fEwulPCVHqUnRlT5iw",
  "id": "1529721542509998082"
}
参数 类型 必填 说明
user_id string 创建人
id string 订单id

返回值:

{
  "code": 0,
  "msg": "请求成功",
  "data": {
    "order": {
      "id": 1531517114528779266,
      "order_number": "20220531140588730010",
      "owner_main_dept_id": null,
      "corp_id": "wpvvCXcAAAsQgTf6tGxZNXWs0AjheY6Q",
      "customer_id": "wmvvCXcAAA-Szs4aldpROsiAM9kLBO9Q",
      "customer_name": "倫|O子~",
      "follow_user_id": "wovvCXcAAAXio3fEwulPCVHqUnRlT5iw",
      "order_account": 36900,
      "discount": 10.00,
      "remittance_account": 0,
      "account": 36700,
      "order_state": 2,
      "opportunity_state": null,
      "company_name": null,
      "create_time": 1653973589,
      "remark": "",
      "mall_order_id": null,
      "upLong_time": null,
      "owner": "wovvCXcAAAXio3fEwulPCVHqUnRlT5iw",
      "coop_id": "75904613-441a-43b9-96d3-13cc2580a6d6",
      "discount_price": 0,
      "relation_id": null,
      "company_id": null,
      "field_json": null,
      "customer_type": 1,
      "customer_remark": "倫|O子~",
      "main_department": null,
      "corp_short_name": null,
      "goods_name": null,
      "pic_list": null,
      "cooper_list": [],
      "before_owner": null,
      "opportunity_id": null,
      "opportunity_name": null,
      "satisfaction": "低意向",
      "relation": null,
      "allow_following": false,
      "is_business_validate": false,
      "company_relation": null,
      "customer_relation": null,
      "field_map": null
    },
    "order_good_list": [
      {
        "goods_name": "哇哇",
        "goods_content": "",
        "goods_id": null,
        "goods_type": 2,
        "goods_price": 1123,
        "discount_price": null,
        "discount": null,
        "count": 1,
        "opportunity_id": null,
        "pic_urls": [
          "https://cos-test-1302358358.file.myqcloud.com/app/wpDkH9EAAAU313n90ANS71ehjCBAfH3A/2022/04/da29a83a-59f5-4c17-a2a5-c47f801eb5c6.png"
        ],
        "sku_id": null,
        "sku_price": null,
        "select_attrVal": null,
        "opportunity_name": null,
        "mall_goods_params_bo": null,
        "id": null,
        "self_map": {}
      }
    ],
    "order_contract": [],
    "receipt_list": []
  }
}

参数说明:

参数 类型 说明
code int 返回码
msg string 对返回码的文本描述内容
data object 返回数据
 order 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 备注
  upLong_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
 order_good_list object[] 订单商品信息
  goods_name string 商品名称
  goods_content string 商品内容
  goods_id string 商品id
  goods_type int 商品类型
  goods_price long 商品价格
  discount_price long 折扣金额
  discount double 折扣
  count long 数量
  opportunity_id string 关联赢单商机id
  pic_urls string[] 商品的图片地址
  sku_id string 商城商品规格id
  sku_price long 商品规格价格
  select_attrVal string 商城商品级别
  opportunity_name string 商机名称
  mall_goods_params_bo string 商城商城规格字符串
  id string id
  self_map map 自定义商品的自定义字段集合
 order_contract object[] 订单合同
  file_url string 图片地址
  file_name string 图片名称
  file_format string 文件格式
  file_size string 文件大小
  image_base_url string 图片base地址
  image_base string 图片base
  cos_url string cos地址
  type string 文件类型
 receipt_list object[] 回款单详情列表
  receipt_order object 回款单信息
   id long id
   corp_id string 企业id
   order_id long 订单id
   customer_id string 客户id
   receipt_account long 汇款金额
   receipt_time long 汇款日期
   pay_people string 打款人
   receipt_type string 回款类型
   statements_identify int 结单标识
   create_time long 创建日期
   approval_state int 审批状态
   reject_reason string 拒绝原因
   approval_time long 审批时间
   update_time long 修改时间
   field_json string 回款单自定义字段
   field_map map 自定义字段 map
  receipt_contract object[] 回款单合同
   file_url string 图片地址
   file_name string 图片名称
   file_format string 文件格式
   file_size string 文件大小
   image_base_url string 图片base地址
   image_base string 图片base
   cos_url string cos地址
   type string 文件类型

results matching ""

    No results matching ""