创建回款单

请求方式: POST(HTTPS)

请求地址: https://open.wshoto.com/openapi/crm/receipt/create

Query参数:

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

Body参数:

{
  "order_id":"1529721542509998082",
  "user_id":"wovvCXcAAAXio3fEwulPCVHqUnRlT5iw",
  "customer_id":"wmvvCXcAAA-Szs4aldpROsiAM9kLBO9Q",
  "pay_people":"2222",
  "receipt_type":"进度款额",
  "receipt_account":"1",
  "statements_identify":"0",
  "receipt_contract":[{
    "file_url":"https://cos-test-1302358358.file.myqcloud.com/app/wpDkH9EAAAU313n90ANS71ehjCBAfH3A/2022/04/da29a83a-59f5-4c17-a2a5-c47f801eb5c6.png"
  }],
  "field_map":{}
}
参数 类型 必填 说明
order_id long 订单ID
user_id string 用户ID
customer_id string 客户ID
pay_people string 打款人
receipt_type string 回款类型描述
receipt_account long 回款金额
statements_identify int 是否结单标识 0:否 1:是
receipt_contract object 回款单合同
file_url string 文件url
field_map map 自定义字段内容

返回值:

{
  "code": 0,
  "msg": "请求成功",
  "data": 1531241506074741762
}

参数说明:

参数 类型 说明
code int 返回码
msg string 对返回码的文本描述内容
data long 回款单id

results matching ""

    No results matching ""