---
title: "创建已退货发货单"
description: "创建退货发货单开放接口"
doc_type: openapi
doc_category: openapi
doc_version: v20270301
source_url:
  html: 'https://developer.shopline.com/zh-hans-cn/docs/admin-rest-api/order/return-order/create-a-return-fulfillment'
  md: 'https://developer.shopline.com/zh-hans-cn/docs/admin-rest-api/order/return-order/create-a-return-fulfillment.md'
---
# 创建已退货发货单

创建退货发货单开放接口

- **Base URL:** `https://{handle}.myshopline.com/admin/openapi`
- **Required Scopes:** `write_return`
- **API Version:** v20270301
- **API Type:** Admin
- **API Protocol:** RESTful

## Endpoint

```http
POST /return/package/create.json
```

## Base URL

* `https://{handle}.myshopline.com/admin/openapi`

  * `{handle}`: `handle` ：店铺的唯一标识符，值为店铺域名的前缀。例如，域名为 `open001.myshopline.com` 的店铺，其 `handle` 是 `open001` 。

## Required Permissions

* `write_return`

## Request

### Request Headers

* `Content-Type`

  string (required)

  字段值固定为 `application/json; charset=utf-8`。

* `Authorization`

  string (required)

  资源的访问令牌。参考 [应用授权](https://developer.shopline.com/zh-hans-cn/docs/apps/api-instructions-for-use/app-authorization.md?lang=zh-hans-cn) 获取访问令牌，然后将获取到的访问令牌以 Bearer 格式传入。

### Request Body

* `reverse_fulfillment_order_id`

  string

  退货履约单ID

* `tracking_info`

  object

  物流跟踪信息

  * `tracking_url`

    string

    物流追踪URL

  * `tracking_company`

    string

    物流公司名称

  * `tracking_number`

    string

    第三方物流单号

* `notify_customer`

  boolean

  是否通知消费者 true通知 false不通知

* `reverse_delivery_line_items`

  array<object>

  退货发货单商品行信息

  * `id`

    string

    退货履约单商品行号

  * `total_quantity`

    integer

    商品退货数量

## Response

### Status Codes

* `200`

  更多状态码信息，参考 [HTTP 状态码](https://developer.shopline.com/zh-hans-cn/docs/apps/api-instructions-for-use/http-status-code.md?lang=zh-hans-cn)。

* `401`

  

* `429`

  

### Response Headers

* `traceId`

  请求的全局唯一标识符。用于追踪请求在系统中的流转，以便于问题发生时进行定位和调试。

### Response Body

#### 200

* `return_package`

  object

  退货发货单信息

  * `tracking_information`

    object

    物流跟踪信息

    * `tracking_company`

      string

      物流公司名称

    * `tracking_number`

      string

      第三方物流单号

    * `tracking_url`

      string

      物流追踪URL

  * `id`

    string

    退货发货单唯一业务标识

  * `return_id`

    string

    退货发货单号

  * `reverse_delivery_line_items`

    array<object>

    退货发货单商品行列表

    * `id`

      string

      退货发货单商品行行号

    * `quantity`

      integer

      退货发货单商品数量

    * `reverse_fulfillment_order_line_item`

      object

      退货发货单关联的退货履约单商品行信息节点

      * `id`

        string

        退货履约单商品行行号

      * `line_item`

        object

        发货单商品行信息

      * `quantity`

        integer

        退货履约单商品行数量

  * `reverse_fulfillment_order_id`

    string

    关联的退货履约单编号


#### 401

* `errors`

  string

  错误描述。


#### 429

* `errors`

  string

  错误描述。


## OpenAPI Definition

```json
{
  "description": "创建退货发货单开放接口",
  "externalDocs": {
    "description": "接口使用的权限点: `write_return` ，更多权限点使用信息，请参考:",
    "url": "ec20/3cv5d7wpfgr6a8z5/xabczf5442284vkq?lang=zh-hans-cn",
    "errorTableDescription": ""
  },
  "operationId": "7vh491CE",
  "parameters": [
    {
      "name": "Content-Type",
      "in": "header",
      "description": "字段值固定为 `application/json; charset=utf-8`。",
      "required": true,
      "style": "string",
      "schema": {
        "name": "Content-Type",
        "type": "string",
        "example": "application/json; charset=utf-8"
      }
    },
    {
      "name": "Authorization",
      "in": "header",
      "description": "资源的访问令牌。参考 [应用授权](https://developer.shopline.com/zh-hans-cn/docs/apps/api-instructions-for-use/app-authorization.md?lang=zh-hans-cn) 获取访问令牌，然后将获取到的访问令牌以 Bearer 格式传入。",
      "required": true,
      "style": "string",
      "schema": {
        "name": "Authorization",
        "description": "资源的访问令牌。请参考 [应用授权](https://developer.shopline.com/zh-hans-cn/docs/apps/api-instructions-for-use/app-authorization.md?lang=zh-hans-cn) 获取访问令牌，然后将获取到的访问令牌以 Bearer 格式传入",
        "type": "string",
        "example": "Bearer eyJhbGciOiJIUzUxMiIsInR5cCI6IkpXVCJ9.eyJhcHBJZCI6MCwiYXBwS2V5IjoiNzU2ZjI1NWE2NjdlZTcwNTk1MzM0ZjVjYzk4NzU5MzBmN2E3NGZjMSIsImV4cCI6MTg3OTQ4MjA3NiwiaXNzIjoieXNvdWwiLCJzZWxsZXJJZCI6IjIwMDAyMzQ4ODAiLCJzdG9yZUlkIjoiMTY3MjM2OTcyOTYwNiIsInRpbWVzdGFtcCI6MTc4NDc4NzY3NjY2MSwidmVyc2lvbiI6IlYyIn0.3ZzbGAH4cLU1QR2VPEvMOQInUDvus-C4amkINSQIPuNVlXsFKj0sAt1c0KnUy9MWUOFV9cHlkf7J90r2y1FzpA"
      },
      "example": "Bearer eyJhbGciOiJIUzUxMiIsInR5cCI6IkpXVCJ9.eyJhcHBJZCI6MCwiYXBwS2V5IjoiNzU2ZjI1NWE2NjdlZTcwNTk1MzM0ZjVjYzk4NzU5MzBmN2E3NGZjMSIsImV4cCI6MTg3OTQ4MjA3NiwiaXNzIjoieXNvdWwiLCJzZWxsZXJJZCI6IjIwMDAyMzQ4ODAiLCJzdG9yZUlkIjoiMTY3MjM2OTcyOTYwNiIsInRpbWVzdGFtcCI6MTc4NDc4NzY3NjY2MSwidmVyc2lvbiI6IlYyIn0.3ZzbGAH4cLU1QR2VPEvMOQInUDvus-C4amkINSQIPuNVlXsFKj0sAt1c0KnUy9MWUOFV9cHlkf7J90r2y1FzpA"
    }
  ],
  "requestBody": {
    "content": {
      "application/json": {
        "schema": {
          "type": "object",
          "properties": {
            "reverse_fulfillment_order_id": {
              "name": "reverse_fulfillment_order_id",
              "description": "退货履约单ID",
              "type": "string",
              "example": "RFP5864594983873946674"
            },
            "tracking_info": {
              "name": "tracking_info",
              "description": "物流跟踪信息",
              "type": "object",
              "properties": {
                "tracking_url": {
                  "name": "tracking_url",
                  "description": "物流追踪URL",
                  "type": "string",
                  "example": "https://www.sf-express.com/chn/sc"
                },
                "tracking_company": {
                  "name": "tracking_company",
                  "description": "物流公司名称",
                  "type": "string",
                  "example": "顺丰国际"
                },
                "tracking_number": {
                  "name": "tracking_number",
                  "description": "第三方物流单号",
                  "type": "string",
                  "example": "SF21232311"
                }
              },
              "example": {
                "tracking_number": "SF21232311",
                "tracking_url": "https://www.sf-express.com/chn/sc",
                "tracking_company": "顺丰国际"
              }
            },
            "notify_customer": {
              "name": "notify_customer",
              "description": "是否通知消费者 true通知 false不通知",
              "type": "boolean",
              "example": true
            },
            "reverse_delivery_line_items": {
              "name": "reverse_delivery_line_items",
              "description": "退货发货单商品行信息",
              "type": "array",
              "items": {
                "name": "reverse_delivery_line_items",
                "description": "退货发货单商品行信息",
                "type": "object",
                "properties": {
                  "id": {
                    "name": "id",
                    "description": "退货履约单商品行号",
                    "type": "string",
                    "example": "RFIP5879597673402123274"
                  },
                  "total_quantity": {
                    "name": "total_quantity",
                    "description": "商品退货数量",
                    "type": "integer",
                    "example": 1
                  }
                },
                "example": {
                  "id": "RFIP5879597673402123274",
                  "total_quantity": 1
                }
              },
              "example": [
                {
                  "total_quantity": 1,
                  "id": "RFIP5879597673402123274"
                }
              ]
            }
          },
          "example": {
            "notify_customer": true,
            "reverse_delivery_line_items": [
              {
                "total_quantity": 1,
                "id": "RFIP5879597673402123274"
              }
            ],
            "reverse_fulfillment_order_id": "RFP5864594983873946674",
            "tracking_info": {
              "tracking_url": "https://www.sf-express.com/chn/sc",
              "tracking_company": "顺丰国际",
              "tracking_number": "SF21232311"
            }
          }
        }
      }
    },
    "required": true
  },
  "responses": {
    "200": {
      "description": "更多状态码信息，参考 [HTTP 状态码](https://developer.shopline.com/zh-hans-cn/docs/apps/api-instructions-for-use/http-status-code.md?lang=zh-hans-cn)。",
      "headers": {
        "traceId": {
          "description": "请求的全局唯一标识符。用于追踪请求在系统中的流转，以便于问题发生时进行定位和调试。"
        }
      },
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "properties": {
              "return_package": {
                "name": "return_package",
                "description": "退货发货单信息",
                "type": "object",
                "properties": {
                  "tracking_information": {
                    "name": "tracking_information",
                    "description": "物流跟踪信息",
                    "type": "object",
                    "properties": {
                      "tracking_company": {
                        "name": "tracking_company",
                        "description": "物流公司名称",
                        "type": "string",
                        "example": "顺丰国际"
                      },
                      "tracking_number": {
                        "name": "tracking_number",
                        "description": "第三方物流单号",
                        "type": "string",
                        "example": "SF222111011"
                      },
                      "tracking_url": {
                        "name": "tracking_url",
                        "description": "物流追踪URL",
                        "type": "string",
                        "example": "https://www.sf-express.com/chn/sc"
                      }
                    },
                    "example": {
                      "tracking_company": "顺丰国际",
                      "tracking_number": "SF222111011",
                      "tracking_url": "https://www.sf-express.com/chn/sc"
                    }
                  },
                  "id": {
                    "name": "id",
                    "description": "退货发货单唯一业务标识",
                    "type": "string",
                    "example": "RPP5860827056427246608"
                  },
                  "return_id": {
                    "name": "return_id",
                    "description": "退货发货单号",
                    "type": "string",
                    "example": "2605864536661019862039"
                  },
                  "reverse_delivery_line_items": {
                    "name": "reverse_delivery_line_items",
                    "description": "退货发货单商品行列表",
                    "type": "array",
                    "items": {
                      "name": "reverse_delivery_line_items",
                      "description": "退货发货单商品行列表",
                      "type": "object",
                      "properties": {
                        "id": {
                          "name": "id",
                          "description": "退货发货单商品行行号",
                          "type": "string",
                          "example": "RPIP5864612075310421029"
                        },
                        "quantity": {
                          "name": "quantity",
                          "description": "退货发货单商品数量",
                          "type": "integer",
                          "example": 1
                        },
                        "reverse_fulfillment_order_line_item": {
                          "name": "reverse_fulfillment_order_line_item",
                          "description": "退货发货单关联的退货履约单商品行信息节点",
                          "type": "object",
                          "properties": {
                            "id": {
                              "name": "id",
                              "description": "退货履约单商品行行号",
                              "type": "string",
                              "example": "RFIP5864536664442414108"
                            },
                            "line_item": {
                              "name": "line_item",
                              "description": "发货单商品行信息",
                              "type": "object",
                              "properties": {
                                "attribute": {
                                  "name": "attribute",
                                  "description": "商品属性信息：名称 - 属性值， 多个属性值时以逗号",
                                  "type": "string",
                                  "example": "颜色 - 红色, 尺寸 - X"
                                },
                                "image_url": {
                                  "name": "image_url",
                                  "description": "商品图片链接url",
                                  "type": "string",
                                  "example": "https://image.shopline.com/abc.jpg"
                                },
                                "gift_card": {
                                  "name": "gift_card",
                                  "description": "是否为礼品卡商品：false、true",
                                  "type": "boolean",
                                  "example": true
                                },
                                "fulfillable_quantity": {
                                  "name": "fulfillable_quantity",
                                  "description": "剩余需要履约的商品数量",
                                  "type": "integer",
                                  "example": 1
                                },
                                "tax_lines": {
                                  "name": "tax_lines",
                                  "description": "商品税费详细信息",
                                  "type": "array",
                                  "items": {
                                    "name": "tax_lines",
                                    "description": "商品税费详细信息",
                                    "type": "object",
                                    "properties": {
                                      "price": {
                                        "name": "price",
                                        "description": "税费金额",
                                        "type": "string",
                                        "example": "18.00"
                                      },
                                      "price_set": {
                                        "name": "price_set",
                                        "description": "按照店铺币种和交易币种计价的税费金额",
                                        "type": "object",
                                        "properties": {
                                          "shop_money": {
                                            "name": "shop_money",
                                            "description": "店铺币种",
                                            "type": "object",
                                            "properties": {
                                              "amount": {
                                                "name": "amount",
                                                "description": "税费金额",
                                                "type": "string",
                                                "example": "18.00"
                                              },
                                              "currency_code": {
                                                "name": "currency_code",
                                                "description": "币种",
                                                "type": "string",
                                                "example": "USD"
                                              }
                                            },
                                            "example": {
                                              "currency_code": "USD",
                                              "amount": "18.00"
                                            }
                                          },
                                          "presentment_money": {
                                            "name": "presentment_money",
                                            "description": "交易币种",
                                            "type": "object",
                                            "properties": {
                                              "amount": {
                                                "name": "amount",
                                                "description": "税费金额",
                                                "type": "string",
                                                "example": "18.00"
                                              },
                                              "currency_code": {
                                                "name": "currency_code",
                                                "description": "币种",
                                                "type": "string",
                                                "example": "USD"
                                              }
                                            },
                                            "example": {
                                              "amount": "18.00",
                                              "currency_code": "USD"
                                            }
                                          }
                                        },
                                        "example": {
                                          "presentment_money": {
                                            "currency_code": "USD",
                                            "amount": "18.00"
                                          },
                                          "shop_money": {
                                            "amount": "18.00",
                                            "currency_code": "USD"
                                          }
                                        }
                                      },
                                      "rate": {
                                        "name": "rate",
                                        "description": "税率",
                                        "type": "double",
                                        "example": 10
                                      },
                                      "title": {
                                        "name": "title",
                                        "description": "税费名称",
                                        "type": "string",
                                        "example": "CNMP"
                                      }
                                    },
                                    "example": {
                                      "price": "18.00",
                                      "price_set": {
                                        "presentment_money": {
                                          "amount": "18.00",
                                          "currency_code": "USD"
                                        },
                                        "shop_money": {
                                          "amount": "18.00",
                                          "currency_code": "USD"
                                        }
                                      },
                                      "rate": 10,
                                      "title": "CNMP"
                                    }
                                  },
                                  "example": [
                                    {
                                      "title": "CNMP",
                                      "price": "18.00",
                                      "price_set": {
                                        "presentment_money": {
                                          "currency_code": "USD",
                                          "amount": "18.00"
                                        },
                                        "shop_money": {
                                          "amount": "18.00",
                                          "currency_code": "USD"
                                        }
                                      },
                                      "rate": 10
                                    }
                                  ]
                                },
                                "location_id": {
                                  "name": "location_id",
                                  "description": "1）本地配送场景下取货地点唯一编号 2）非本地场景下商品地点信息",
                                  "type": "string",
                                  "example": "5327026538935748524"
                                },
                                "requires_shipping": {
                                  "name": "requires_shipping",
                                  "description": "商品是否需要发货：false、true",
                                  "type": "boolean",
                                  "example": true
                                },
                                "name": {
                                  "name": "name",
                                  "description": "sku标题,同title",
                                  "type": "string",
                                  "example": "这是个好商品"
                                },
                                "fulfillment_service": {
                                  "name": "fulfillment_service",
                                  "description": "物流商名称",
                                  "type": "string",
                                  "example": "顺丰国际"
                                },
                                "variant_title": {
                                  "name": "variant_title",
                                  "description": "商品属性值, 多个以\" / \"分割",
                                  "type": "string",
                                  "example": "L/Red"
                                },
                                "grams": {
                                  "name": "grams",
                                  "description": "商品重量（克）",
                                  "type": "double",
                                  "example": 1
                                },
                                "title": {
                                  "name": "title",
                                  "description": "spu商品标题",
                                  "type": "string",
                                  "example": "这是个好商品"
                                },
                                "tags": {
                                  "name": "tags",
                                  "description": "商品标签，当存在多个时用逗号分隔",
                                  "type": "string",
                                  "example": "sales"
                                },
                                "variant_id": {
                                  "name": "variant_id",
                                  "description": "商品sku序列号",
                                  "type": "string",
                                  "example": "18056898121355865678441487"
                                },
                                "price": {
                                  "name": "price",
                                  "description": "商品售价，商品详情页销售价格",
                                  "type": "string",
                                  "example": "100.0"
                                },
                                "sku": {
                                  "name": "sku",
                                  "description": "商户自定义编号",
                                  "type": "string",
                                  "example": "SKU1234"
                                },
                                "id": {
                                  "name": "id",
                                  "description": "商品行id",
                                  "type": "string",
                                  "example": "405"
                                },
                                "product_id": {
                                  "name": "product_id",
                                  "description": "spu序列号，商品唯一识别号",
                                  "type": "string",
                                  "example": "16056898121352174690861487"
                                },
                                "fulfillment_status": {
                                  "name": "fulfillment_status",
                                  "description": "商品行发货状态： fulfilled-已发货; partial-部分发货； null-未发货",
                                  "type": "string",
                                  "example": "fulfilled"
                                },
                                "vendor": {
                                  "name": "vendor",
                                  "description": "商品供应商",
                                  "type": "string",
                                  "example": ""
                                },
                                "properties": {
                                  "name": "properties",
                                  "description": "商品定制信息",
                                  "type": "array",
                                  "items": {
                                    "name": "properties",
                                    "description": "商品定制信息",
                                    "type": "object",
                                    "properties": {
                                      "name": {
                                        "name": "name",
                                        "description": "定制信息对象",
                                        "type": "string",
                                        "example": "文字"
                                      },
                                      "type": {
                                        "name": "type",
                                        "description": "定制信息类型：text、picture、link 1）当type为text时，取name和value； 2）当type为picture时，展示类型取name，同时取urls获取商品的详情缩略图 3）当type为link时，支持点击urls获取详情",
                                        "type": "string",
                                        "example": "text"
                                      },
                                      "urls": {
                                        "name": "urls",
                                        "description": "地址链接信息",
                                        "type": "array",
                                        "items": {
                                          "name": "urls",
                                          "description": "地址链接信息",
                                          "type": "string",
                                          "example": "https://image.shopline.com"
                                        },
                                        "example": [
                                          "https://image.shopline.com"
                                        ]
                                      },
                                      "value": {
                                        "name": "value",
                                        "description": "定制信息内容",
                                        "type": "string",
                                        "example": "自由"
                                      }
                                    },
                                    "example": {
                                      "type": "text",
                                      "urls": [
                                        "https://image.shopline.com"
                                      ],
                                      "value": "自由",
                                      "name": "文字"
                                    }
                                  },
                                  "example": [
                                    {
                                      "value": "自由",
                                      "name": "文字",
                                      "type": "text",
                                      "urls": [
                                        "https://image.shopline.com"
                                      ]
                                    }
                                  ]
                                },
                                "quantity": {
                                  "name": "quantity",
                                  "description": "商品数量",
                                  "type": "integer",
                                  "example": 1
                                },
                                "taxable": {
                                  "name": "taxable",
                                  "description": "商品是否含税：false、true",
                                  "type": "boolean",
                                  "example": true
                                }
                              },
                              "example": {
                                "id": "405",
                                "tags": "sales",
                                "title": "这是个好商品",
                                "vendor": "",
                                "name": "这是个好商品",
                                "attribute": "颜色 - 红色, 尺寸 - X",
                                "image_url": "https://image.shopline.com/abc.jpg",
                                "requires_shipping": true,
                                "price": "100.0",
                                "variant_id": "18056898121355865678441487",
                                "quantity": 1,
                                "taxable": true,
                                "sku": "SKU1234",
                                "tax_lines": [
                                  {
                                    "title": "CNMP",
                                    "price": "18.00",
                                    "price_set": {
                                      "presentment_money": {
                                        "currency_code": "USD",
                                        "amount": "18.00"
                                      },
                                      "shop_money": {
                                        "amount": "18.00",
                                        "currency_code": "USD"
                                      }
                                    },
                                    "rate": 10
                                  }
                                ],
                                "variant_title": "L/Red",
                                "grams": 1,
                                "fulfillment_service": "顺丰国际",
                                "location_id": "5327026538935748524",
                                "product_id": "16056898121352174690861487",
                                "gift_card": true,
                                "fulfillment_status": "fulfilled",
                                "fulfillable_quantity": 1,
                                "properties": [
                                  {
                                    "name": "文字",
                                    "type": "text",
                                    "urls": [
                                      "https://image.shopline.com"
                                    ],
                                    "value": "自由"
                                  }
                                ]
                              }
                            },
                            "quantity": {
                              "name": "quantity",
                              "description": "退货履约单商品行数量",
                              "type": "integer",
                              "example": 1
                            }
                          },
                          "example": {
                            "quantity": 1,
                            "id": "RFIP5864536664442414108",
                            "line_item": {
                              "variant_title": "L/Red",
                              "fulfillable_quantity": 1,
                              "fulfillment_status": "fulfilled",
                              "requires_shipping": true,
                              "gift_card": true,
                              "location_id": "5327026538935748524",
                              "price": "100.0",
                              "name": "这是个好商品",
                              "tax_lines": [
                                {
                                  "price_set": {
                                    "shop_money": {
                                      "amount": "18.00",
                                      "currency_code": "USD"
                                    },
                                    "presentment_money": {
                                      "amount": "18.00",
                                      "currency_code": "USD"
                                    }
                                  },
                                  "rate": 10,
                                  "title": "CNMP",
                                  "price": "18.00"
                                }
                              ],
                              "variant_id": "18056898121355865678441487",
                              "grams": 1,
                              "attribute": "颜色 - 红色, 尺寸 - X",
                              "quantity": 1,
                              "image_url": "https://image.shopline.com/abc.jpg",
                              "id": "405",
                              "sku": "SKU1234",
                              "tags": "sales",
                              "properties": [
                                {
                                  "name": "文字",
                                  "type": "text",
                                  "urls": [
                                    "https://image.shopline.com"
                                  ],
                                  "value": "自由"
                                }
                              ],
                              "product_id": "16056898121352174690861487",
                              "taxable": true,
                              "fulfillment_service": "顺丰国际",
                              "vendor": "",
                              "title": "这是个好商品"
                            }
                          }
                        }
                      },
                      "example": {
                        "id": "RPIP5864612075310421029",
                        "quantity": 1,
                        "reverse_fulfillment_order_line_item": {
                          "id": "RFIP5864536664442414108",
                          "line_item": {
                            "tax_lines": [
                              {
                                "rate": 10,
                                "title": "CNMP",
                                "price": "18.00",
                                "price_set": {
                                  "shop_money": {
                                    "amount": "18.00",
                                    "currency_code": "USD"
                                  },
                                  "presentment_money": {
                                    "amount": "18.00",
                                    "currency_code": "USD"
                                  }
                                }
                              }
                            ],
                            "id": "405",
                            "fulfillment_status": "fulfilled",
                            "quantity": 1,
                            "requires_shipping": true,
                            "sku": "SKU1234",
                            "location_id": "5327026538935748524",
                            "grams": 1,
                            "variant_id": "18056898121355865678441487",
                            "fulfillable_quantity": 1,
                            "gift_card": true,
                            "tags": "sales",
                            "title": "这是个好商品",
                            "fulfillment_service": "顺丰国际",
                            "taxable": true,
                            "image_url": "https://image.shopline.com/abc.jpg",
                            "properties": [
                              {
                                "value": "自由",
                                "name": "文字",
                                "type": "text",
                                "urls": [
                                  "https://image.shopline.com"
                                ]
                              }
                            ],
                            "vendor": "",
                            "product_id": "16056898121352174690861487",
                            "name": "这是个好商品",
                            "price": "100.0",
                            "attribute": "颜色 - 红色, 尺寸 - X",
                            "variant_title": "L/Red"
                          },
                          "quantity": 1
                        }
                      }
                    },
                    "example": [
                      {
                        "quantity": 1,
                        "reverse_fulfillment_order_line_item": {
                          "quantity": 1,
                          "id": "RFIP5864536664442414108",
                          "line_item": {
                            "tax_lines": [
                              {
                                "price_set": {
                                  "presentment_money": {
                                    "amount": "18.00",
                                    "currency_code": "USD"
                                  },
                                  "shop_money": {
                                    "currency_code": "USD",
                                    "amount": "18.00"
                                  }
                                },
                                "rate": 10,
                                "title": "CNMP",
                                "price": "18.00"
                              }
                            ],
                            "taxable": true,
                            "product_id": "16056898121352174690861487",
                            "quantity": 1,
                            "variant_title": "L/Red",
                            "name": "这是个好商品",
                            "grams": 1,
                            "gift_card": true,
                            "fulfillable_quantity": 1,
                            "image_url": "https://image.shopline.com/abc.jpg",
                            "title": "这是个好商品",
                            "requires_shipping": true,
                            "fulfillment_service": "顺丰国际",
                            "attribute": "颜色 - 红色, 尺寸 - X",
                            "tags": "sales",
                            "price": "100.0",
                            "vendor": "",
                            "fulfillment_status": "fulfilled",
                            "properties": [
                              {
                                "type": "text",
                                "urls": [
                                  "https://image.shopline.com"
                                ],
                                "value": "自由",
                                "name": "文字"
                              }
                            ],
                            "variant_id": "18056898121355865678441487",
                            "id": "405",
                            "location_id": "5327026538935748524",
                            "sku": "SKU1234"
                          }
                        },
                        "id": "RPIP5864612075310421029"
                      }
                    ]
                  },
                  "reverse_fulfillment_order_id": {
                    "name": "reverse_fulfillment_order_id",
                    "description": "关联的退货履约单编号",
                    "type": "string",
                    "example": "RFP5864594983873946674"
                  }
                },
                "example": {
                  "tracking_information": {
                    "tracking_url": "https://www.sf-express.com/chn/sc",
                    "tracking_company": "顺丰国际",
                    "tracking_number": "SF222111011"
                  },
                  "id": "RPP5860827056427246608",
                  "return_id": "2605864536661019862039",
                  "reverse_delivery_line_items": [
                    {
                      "reverse_fulfillment_order_line_item": {
                        "quantity": 1,
                        "id": "RFIP5864536664442414108",
                        "line_item": {
                          "tax_lines": [
                            {
                              "price": "18.00",
                              "price_set": {
                                "shop_money": {
                                  "currency_code": "USD",
                                  "amount": "18.00"
                                },
                                "presentment_money": {
                                  "amount": "18.00",
                                  "currency_code": "USD"
                                }
                              },
                              "rate": 10,
                              "title": "CNMP"
                            }
                          ],
                          "id": "405",
                          "variant_title": "L/Red",
                          "fulfillment_status": "fulfilled",
                          "price": "100.0",
                          "name": "这是个好商品",
                          "attribute": "颜色 - 红色, 尺寸 - X",
                          "taxable": true,
                          "fulfillable_quantity": 1,
                          "gift_card": true,
                          "requires_shipping": true,
                          "grams": 1,
                          "properties": [
                            {
                              "urls": [
                                "https://image.shopline.com"
                              ],
                              "value": "自由",
                              "name": "文字",
                              "type": "text"
                            }
                          ],
                          "quantity": 1,
                          "tags": "sales",
                          "variant_id": "18056898121355865678441487",
                          "image_url": "https://image.shopline.com/abc.jpg",
                          "location_id": "5327026538935748524",
                          "title": "这是个好商品",
                          "sku": "SKU1234",
                          "vendor": "",
                          "fulfillment_service": "顺丰国际",
                          "product_id": "16056898121352174690861487"
                        }
                      },
                      "id": "RPIP5864612075310421029",
                      "quantity": 1
                    }
                  ],
                  "reverse_fulfillment_order_id": "RFP5864594983873946674"
                }
              }
            },
            "example": {
              "return_package": {
                "tracking_information": {
                  "tracking_company": "顺丰国际",
                  "tracking_number": "SF222111011",
                  "tracking_url": "https://www.sf-express.com/chn/sc"
                },
                "id": "RPP5860827056427246608",
                "return_id": "2605864536661019862039",
                "reverse_delivery_line_items": [
                  {
                    "id": "RPIP5864612075310421029",
                    "quantity": 1,
                    "reverse_fulfillment_order_line_item": {
                      "id": "RFIP5864536664442414108",
                      "line_item": {
                        "taxable": true,
                        "variant_title": "L/Red",
                        "id": "405",
                        "requires_shipping": true,
                        "tags": "sales",
                        "name": "这是个好商品",
                        "attribute": "颜色 - 红色, 尺寸 - X",
                        "fulfillable_quantity": 1,
                        "grams": 1,
                        "variant_id": "18056898121355865678441487",
                        "product_id": "16056898121352174690861487",
                        "sku": "SKU1234",
                        "vendor": "",
                        "gift_card": true,
                        "price": "100.0",
                        "fulfillment_status": "fulfilled",
                        "image_url": "https://image.shopline.com/abc.jpg",
                        "tax_lines": [
                          {
                            "price": "18.00",
                            "price_set": {
                              "presentment_money": {
                                "amount": "18.00",
                                "currency_code": "USD"
                              },
                              "shop_money": {
                                "amount": "18.00",
                                "currency_code": "USD"
                              }
                            },
                            "rate": 10,
                            "title": "CNMP"
                          }
                        ],
                        "properties": [
                          {
                            "urls": [
                              "https://image.shopline.com"
                            ],
                            "value": "自由",
                            "name": "文字",
                            "type": "text"
                          }
                        ],
                        "fulfillment_service": "顺丰国际",
                        "location_id": "5327026538935748524",
                        "quantity": 1,
                        "title": "这是个好商品"
                      },
                      "quantity": 1
                    }
                  }
                ],
                "reverse_fulfillment_order_id": "RFP5864594983873946674"
              }
            }
          }
        }
      }
    },
    "401": {
      "headers": {
        "traceId": {
          "description": "请求的全局唯一标识符。用于追踪请求在系统中的流转，以便于问题发生时进行定位和调试。"
        }
      },
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "properties": {
              "errors": {
                "description": "错误描述。",
                "type": "string"
              }
            },
            "required": [
              "errors"
            ]
          }
        }
      }
    },
    "429": {
      "headers": {
        "traceId": {
          "description": "请求的全局唯一标识符。用于追踪请求在系统中的流转，以便于问题发生时进行定位和调试。"
        }
      },
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "properties": {
              "errors": {
                "description": "错误描述。",
                "type": "string"
              }
            },
            "required": [
              "errors"
            ]
          }
        }
      }
    }
  },
  "security": [
    {
      "oauth2": []
    }
  ],
  "method": "post",
  "path": "/return/package/create.json",
  "servers": [
    {
      "url": "https://{handle}.myshopline.com/admin/openapi",
      "variables": {
        "handle": {
          "default": "openapiceshidianpu",
          "description": "`handle` ：店铺的唯一标识符，值为店铺域名的前缀。例如，域名为 `open001.myshopline.com` 的店铺，其 `handle` 是 `open001` 。"
        }
      }
    }
  ],
  "info": {
    "title": "创建已退货发货单",
    "version": "v20270301"
  },
  "authIndexes": [
    "write_return"
  ]
}
```