供应链API
  1. 订单接口
供应链API
  • 地区接口
    • 获取省市树型结构
      GET
  • 品牌接口
    • 获取品牌
      GET
  • 商品分类接口
    • 查询分类信息
      GET
    • 获取所有分类树型结构
      GET
  • 运费规则接口
    • 获取运费模板详情
      POST
    • 获取所有运费模板
      POST
  • 选品库接口
    • 获取我的选品库商品列表
      POST
    • 获取我的选品库商品列表,按标准商品返回结果
      POST
  • 订单接口
    • 同意退款后回填物流信息接口
      POST
    • 申请退款接口
      POST
    • 下单接口
      POST
    • 确认收货
      POST
    • 获取订单接口
      POST
    • 准备支付订单接口
      POST
    • 按订单号获取订单接口
      POST
    • 按买方订单号获取订单接口
      POST
    • 按子订单号获取子订单接口
      POST
    • 更新订单的extra
      POST
  • 商品接口
    • 获取商品详情
      POST
    • 直接获取商品接口
      POST
  1. 订单接口

申请退款接口

POST
/order/apply-for-refund
订单接口

请求参数

Header 参数
apiKey
string 
用户的apiKey
必需
sign
string 
签名
必需
timestamp
string 
当前时间戳
必需
Body 参数application/json
images
array[string]
可选
退款图片以逗号分割每张图片,可为空
orderSubId
string 
子订单Id
可选
reason
string 
退款原因
可选
示例
{
  "images": [
    "string"
  ],
  "orderSubId": "string",
  "reason": "string"
}

示例代码

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST 'http://prod-cn.your-api-server.com/order/apply-for-refund' \
--header 'apiKey;' \
--header 'sign;' \
--header 'timestamp;' \
--header 'Content-Type: application/json' \
--data-raw '{
    "images": [
        "string"
    ],
    "orderSubId": "string",
    "reason": "string"
}'

返回响应

🟢200OK
application/json
Body
code
integer <int32>
可选
状态码,为0表示请求成功,其它则失败
data
object 
业务对象
可选
msg
string 
错误信息
可选
示例
{
  "code": 0,
  "data": {},
  "msg": "string"
}
🟢201Created
🟠401Unauthorized
🟠403Forbidden
🟠404Not Found
修改于 2023-02-22 09:19:03
上一页
同意退款后回填物流信息接口
下一页
下单接口
Built with