创建回款单

请求方式: POST(HTTPS)

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

Query参数:

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

Body参数:

{
  "order_id":"1529721542509998082",
  "user_id":"wovvCXcAAAXio3fEwulPCVHqUnRlT5iw",
  "contact_id": 1629721542509998082,
  "pay_people":"2222",
  "receipt_type":"进度款额",
  "receipt_account":10,
  "statements_identify":0,
  "receipt_contract":[{
    "material_id": "1529721542509998082"
  }],
  "field_map":{}
}
参数 类型 必填 说明
order_id long 订单ID
user_id string 用户ID
contact_id string 客户ID
pay_people string 打款人
receipt_type string 回款类型描述
receipt_account long 回款金额
statements_identify int 是否结单标识 0:否 1:是
receipt_contract object[] 回款单合同
  material_id string 素材id
field_map map 自定义字段内容

返回值:

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

参数说明:

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

results matching ""

    No results matching ""