申请售后
由供应商提供
POST application/x-www-form-urlencoded
参数名称 |
类型 |
是否必填 |
描述 |
token |
String |
yes |
授权时获取的 access token |
supplierOrderCode |
String |
yes |
供应商订单号 |
asOrderCode |
String |
yes |
ERP售后单号 |
isHasInvoice |
Boolean |
no |
是否有发票 |
|
customerInfo |
JSON |
yes |
用户信息 |
pickwareInfo |
JSON |
yes |
取件信息 |
returnWareInfo |
JSON |
yes |
返件信息 |
afsApplyInfoItemList |
List |
yes |
申请信息集合 |
用户信息
参数名称 |
类型 |
非空 |
描述 |
customerName |
String |
yes |
用户名 |
customerContactName |
String |
yes |
联系人 |
customerTel |
String |
no |
联系电话, |
customerMobilePhone |
String |
yes |
手机号 |
customerEmail |
String |
no |
Email |
customerPostcode |
String |
no |
邮编 |
取件信息,即原商品如何返回供应商
参数名称 |
类型 |
非空 |
描述 |
pickwareType |
Integer |
yes |
取件方式。4上门取件7客户送货, 40客户发货。是 |
pickWareProvince |
String |
yes |
取件省 |
pickWareCity |
String |
yes |
取件市 |
pickWareCounty |
String |
yes |
取件县 |
pickWareVillage |
String |
no |
取件乡镇 |
pickWareAddress |
String |
yes |
取件街道地址 |
reserveDateBegin |
String |
no |
预约取件开始时间。开始时间不可早于当前时间+2小时。格式:2014-09-23 09:00:00 否 |
reserveDateEnd |
String |
no |
预约取件结束时间。格式:2014-09-23 19:00:00 否 |
参数名称 |
类型 |
非空 |
描述 |
returnWareType |
Integer |
yes |
返件方式。10商家自配,20第三方配送 |
returnWareProvince |
String |
yes |
返件省 |
returnWareCity |
String |
yes |
返件市 |
returnWareCounty |
String |
yes |
返件县 |
returnWareVillage |
String |
no |
返件乡镇 |
returnWareAddress |
String |
yes |
返件街道地址 |
参数名称 |
类型 |
非空 |
描述 |
customerExpect |
Integer |
yes |
客户期望售后类型。10退货,20换货,30维修,80补货 |
wareDescInfo |
String |
yes |
商品描述信息 |
wareDetailInfo |
String |
yes |
商品明细 |
参数名称 |
类型 |
非空 |
描述 |
isNeedDetectionReport |
Boolean |
no |
是否需要检测报告 |
lossPreventionTagFlag |
Boolean |
no |
是否有防损吊牌。 |
isHasPackage |
Boolean |
no |
是否有包装 |
packageDesc |
Integer |
no |
包装描述 |
questionDesc |
String |
no |
问题描述文字 |
questionPic |
String |
no |
问题描述图片链接。多个图片以“;”分隔 |
参数名称 |
类型 |
非空 |
描述 |
wareId |
String |
yes |
商品编号 |
mainWareId |
String |
yes |
主商品编号 |
wareName |
String |
yes |
商品名称 |
wareQuantity |
String |
yes |
商品申请数量 |
wareDescribe |
String |
yes |
附件描述 |
payPrice |
BigDecimal |
no |
支付金额,即“商品单价*数量” |
wareType |
String |
yes |
商品类型。10主商品,20赠品。 |
参数名称 |
类型 |
非空 |
描述 |
data |
String |
是 |
供应商售后单号 |
{
"token": "your_access_token",
"supplierOrderCode": "SUP123456",
"asOrderCode": "AS123456",
"isHasInvoice": true,
"customerInfo": "{\"customerName\":\"张三\",\"customerContactName\":\"张三\",\"customerTel\":\"010-12345678\",\"customerMobilePhone\":\"13800138000\",\"customerEmail\":\"zhangsan@example.com\",\"customerPostcode\":\"100000\"}",
"pickwareInfo": "{\"pickwareType\":4,\"pickWareProvince\":\"北京市\",\"pickWareCity\":\"北京市\",\"pickWareCounty\":\"东城区\",\"pickWareVillage\":\"\",\"pickWareAddress\":\"某某路123号1单元101室\",\"reserveDateBegin\":\"2023-10-15 09:00:00\",\"reserveDateEnd\":\"2023-10-15 19:00:00\"}",
"returnWareInfo": "{\"returnWareType\":10,\"returnWareProvince\":\"北京市\",\"returnWareCity\":\"北京市\",\"returnWareCounty\":\"东城区\",\"returnWareVillage\":\"\",\"returnWareAddress\":\"某某路123号1单元101室\"}",
"afsApplyInfoItemList": "[{\"customerExpect\":10,\"wareDescInfo\":\"{\\\"isNeedDetectionReport\\\":false,\\\"lossPreventionTagFlag\\\":true,\\\"isHasPackage\\\":true,\\\"packageDesc\\\":1,\\\"questionDesc\\\":\\\"商品损坏\\\",\\\"questionPic\\\":\\\"http://example.com/image1.jpg;http://example.com/image2.jpg\\\"}\",\"wareDetailInfo\":\"{\\\"wareId\\\":\\\"WARE123\\\",\\\"mainWareId\\\":\\\"MAIN123\\\",\\\"wareName\\\":\\\"商品名称\\\",\\\"wareQuantity\\\":\\\"1\\\",\\\"wareDescribe\\\":\\\"附件描述\\\",\\\"payPrice\\\":\\\"600.00\\\",\\\"wareType\\\":\\\"10\\\"}\"}]"
}
{
"code": 200,
"data": "as132423423",
"message": "",
"success": true
}