ICBU CRM订购小满订单记录同步小满履约
| 名称 | 类型 | 是否必须 | 示例值 | 更多限制 | 描述 |
|---|---|---|---|---|---|
| amount | String | 可选 | 28600.0 | 总金额 | |
| ack | Number | 可选 | 0 | 确认标识 0-未确认,1-已确认 | |
| ali_company_name | String | 可选 | alibaba | 公司名称 | |
| okki_order_no | String | 可选 | POMxxxxx | 小满订单号 | |
| okki_create_time | String | 可选 | 2020-08-01 12:45:00 | 小满创建时间 | |
| ali_cgs | String | 可选 | 122345 | 阿里客户id | |
| ali_order_no | String | 可选 | Pxxxxx | 阿里订单号 | |
| ali_paid_time | String | 可选 | 2020-07-30 12:23:33 | 阿里支付时间 | |
| okki_client_id | String | 可选 | 123 | 小满客户id | |
| order_product_list | OrderProductList [] | 可选 |
|
产品列表 | |
|
|||||
| refer | String | 可选 | refer | refer | |
| original_amount | String | 可选 | 28600.0 | 总原价 | |
| trade_no | String | 可选 | xxxxx | 流水号 | |
| action | Number | 可选 | 1 | 操作类型( 0查询订单价格 1创建订单 ) | |
| ali_create_time | String | 可选 | 2020-08-01 12:44:50 | 阿里订单创建时间 | |
| ali_discount | AliDiscount [] | 可选 |
|
优惠信息 | |
|
|||||
| promotion_id | String | 可选 | 21212 | 促销Id | |
| quotation_id | String | 可选 | 12332 | 小满报价方案id |
| 名称 | 类型 | 示例值 | 描述 |
|---|---|---|---|
| amount | String | 28600.0 | 总价格 |
| ack | Number | 0 | 确认标识 0-未确认,1-已确认 |
| ali_company_name | String | alibaba | 阿里公司名称 |
| okki_order_no | String | POMxxxxx | 小满单号 |
| okki_create_time | String | 2020-08-01 12:45:00 | 小满单创建时间 |
| ali_cgs | String | 122345 | 阿里客户id |
| ali_order_no | String | Pxxxxx | 阿里订单号 |
| ali_paid_time | String | 2020-07-30 12:23:33 | 阿里支付时间 |
| okki_client_id | String | 123 | 小满客户ID |
| order_product_list | OrderProductList [] | 产品列表 | |
|
|||
| refer | String | refer | refer |
| success | Boolean | true | 请求是否成功 |
| original_amount | String | 28600.0 | 总原价 |
| resp_code | String | 0 | 错误码 |
| trade_no | String | xxxxx | 流水号 |
| action | Number | 1 | 操作类型( 0查询订单价格 1创建订单 ) |
| ali_create_time | String | 2020-08-01 12:44:50 | 阿里订单创建时间 |
| resp_msg | String | success | 错误原因 |
| ali_discount | AliDiscount [] | 优惠信息 | |
|
|||
| error_desc | String | error_desc | 错误信息 |
| upgrade_product_list | UpgradeProductList [] | 升级订单 | |
|
|||
| discount_information | String | OMS优惠6000元 | 小满优惠优惠信息 |
| quotation_id | String | 123123123 | 小满报价id |
{"amount":"28600.0","quotation_id":"12332","ack":0,"ali_company_name":"alibaba","okki_order_no":"POMxxxxx","promotion_id":"21212","okki_create_time":"2020-08-01 12:45:00","ali_cgs":"122345","ali_order_no":"Pxxxxx","ali_paid_time":"2020-07-30 12:23:33","okki_client_id":"123","order_product_list":[{"amount":"28600.0","okki_order_refer_ids":"xx,xx,xx","okki_valid_from":"2020-09-01 00:00:00","extras":[{"name":"account","count":1}],"promotion_id":"123","type":2,"okki_order_product_id":"xxxx","product_name":"OKKI Lite管理软件V1.0","ali_order_product_id":"xxxx","standards":[{"name":"account","count":5}],"duration":24,"okki_execute_time":"2020-07-30 12:23:33","okki_append_order_product_id":"POM123_1","is_free":0,"okki_valid_to":"2022-09-01 23:59:59","original_amount":"28600.0","product_id":"21","ali_append_order_product_id":"P123213_1","ali_discount":[{"amount":"1000","remark":"经理审批","ali_order_product_id":"xxx"}],"extend_fields":"[{'\"extend_fields_key'\":'\"orderPromoteId'\",'\"extend_fields_value'\":'\"1,2,3'\"},{'\" extend_fields_key'\":'\"b'\",'\"extend_fields_value'\":'\"b_1'\"}]","business_id":"1234","quotation_item_id":"12222"}],"refer":"refer","original_amount":"28600.0","trade_no":"xxxxx","action":1,"ali_discount":[{"amount":"1000","remark":"备注","ali_order_product_id":"123"}],"ali_create_time":"2020-08-01 12:44:50"}
{
"amount":"28600.0",
"ack":0,
"ali_company_name":"alibaba",
"okki_order_no":"POMxxxxx",
"okki_create_time":"2020-08-01 12:45:00",
"ali_cgs":"122345",
"ali_order_no":"Pxxxxx",
"ali_paid_time":"2020-07-30 12:23:33",
"okki_client_id":"123",
"order_product_list":[
{
"standards":[
{
"name":"account",
"count":5
}
],
"amount":"28600.0",
"okki_valid_from":"2020-09-01 00:00:00",
"type":2,
"okki_order_product_id":"xxxx",
"product_name":"OKKI Lite管理软件V1.0",
"ali_order_product_id":"xxxx",
"duration":24,
"okki_execute_time":"2020-07-30 12:23:33",
"is_free":0,
"extras":[
{
"name":"account",
"count":1
}
],
"okki_valid_to":"2022-09-01 23:59:59",
"original_amount":"28600.0",
"okki_order_refer_ids":"xx,xx",
"business_id":"1234",
"product_id":"21",
"ali_discount":[
{
"ali_order_product_id":"123",
"amount":"1000",
"remark":"经理审批优惠"
}
],
"ali_append_order_product_id":"P123213_1",
"okki_append_order_product_id":"POM123213_1",
"quotation_item_id":"123123"
}
],
"refer":"refer",
"success":true,
"original_amount":"28600.0",
"resp_code":"0",
"trade_no":"xxxxx",
"action":1,
"ali_create_time":"2020-08-01 12:44:50",
"resp_msg":"success",
"ali_discount":[
{
"ali_order_product_id":"123",
"amount":"1000",
"remark":"备注"
}
],
"error_desc":"error_desc",
"upgrade_product_list":[
{
"product_id":"24",
"product_name":"OKKI Lite管理软件V1.0",
"from_product_list":[
{
"product_id":"1",
"product_name":"小满外贸客户管理软件V3.0",
"valid_from":"2021-05-31 00:00:00",
"valid_to":"2022-05-30 23:59:59"
}
]
}
],
"discount_information":"OMS优惠6000元",
"quotation_id":"123123123"
}
{"success":"不等于true","error_desc":"Illegal request","resp_code":"sign-check-failure"}
| 错误码 | 错误描述 | 解决方案 |
|---|---|---|
| http-service-unknown-error |