**版本：202201**

# 售后 列表

**GET** `/openapi/2022-01/orders/after_sales_list`

## 请求

**Query参数**

- `status` string

  After-sales status: `pending`,`processing`,`finished`
- `page` int32

  Page number
- `per_page` int32

  Limit per page
- `created_at_start` string

  Filter orders created after the date, for example: `2016-01-18T23:41:00Z`
- `created_at_end` string

  Filter orders created before the date, for example: `2016-01-18T23:41:00Z`

## 响应

**200**

200

**application/json**

**数据结构 | 示例 | Result**

**数据结构**

- `count` integer

  **默认值：** `0`

  **示例：** `4`
- `pending_count` integer

  **默认值：** `0`

  **示例：** `2`
- `processing_count` integer

  **默认值：** `0`

  **示例：** `0`
- `post_sales` object[]

  *   Array [

  - `browser_ip` string

    **示例：** `183.15.177.205`
  - `created_at` string

    **示例：** `2024-04-22T07:22:51Z`
  - `credit_card_number` string

    **示例：** `0000`
  - `currency_code` string

    **示例：** `CNY`
  - `customer_name` string

    **示例：** `zhang senjun`
  - `device` string

    **示例：** `PC`
  - `discount_code` string

    **示例：**
  - `financial_status` string

    **示例：** `partially_refunded`
  - `fulfillment_status` string

    **示例：** `waiting`
  - `fulfillments` object[]

    *   Array [

    - `` object
    *   ]
  - `id` string

    **示例：** `e18d1fc2-df36-4d6e-8e03-f1586d963b5f`
  - `line_items` object[]

    *   Array [

    - `compare_at_price` string

      **示例：** `97.00`
    - `fulfillment_status` string

      **示例：** `waiting`
    - `fulfillment` object[]

      *   Array [

      - `` object
      *   ]
    - `id` string

      **示例：** `31d95f28-baf0-47c9-ad53-dbf3833f1b85`
    - `image` object

      - `alt` string

        **示例：**
      - `height` integer

        **默认值：** `0`

        **示例：** `180`
      - `path` string

        **示例：** `ccf0794c594bad32a320eea0d6bfe40c.jpeg`
      - `src` string

        **示例：** `//cdn.shoplazza.com/ccf0794c594bad32a320eea0d6bfe40c.jpeg`
      - `width` integer

        **默认值：** `0`

        **示例：** `174`
    - `note` string

      **示例：**
    - `options` object[]

      *   Array [

      - `name` string

        **示例：** `size`
      - `value` string

        **示例：** `L`
      *   ]
    - `price` string

      **示例：** `81.00`
    - `product_handle` string

      **示例：** `shirt`
    - `product_id` string

      **示例：** `a1a88be0-a1d4-47e4-a2f2-ba6e131cf447`
    - `product_tags` string[]
    - `product_title` string

      **示例：** `shirt`
    - `properties` string

      **示例：**
    - `quantity` integer

      **默认值：** `0`

      **示例：** `2`
    - `refund_discount` string

      **示例：** `0.00`
    - `refund_price` string

      **示例：** `0.00`
    - `refund_quantity` integer

      **默认值：** `0`

      **示例：** `1`
    - `refund_tax` string

      **示例：** `0.00`
    - `refund_total` string

      **示例：** `162.00`
    - `requires_shipping` boolean

      **默认值：** `true`

      **示例：** `true`
    - `sku` string

      **示例：** `T-M-L-red-S-A001011`
    - `spu` string

      **示例：** `T-M`
    - `taxable` boolean

      **默认值：** `true`

      **示例：** `true`
    - `total` string

      **示例：** `162.00`
    - `variant_id` string

      **示例：** `cbd7a7b0-5dd7-4902-9466-e21bd02688b4`
    - `variant_title` string

      **示例：** `L-red-S`
    - `vendor` string

      **示例：** `shoplazza`
    - `weight` string

      **示例：** `1.10`
    - `weight_unit` string

      **示例：** `kg`
    - `vendor_url` string

      **示例：** `https://shoplazza.com`
    - `oversold_quantity` integer

      **默认值：** `0`

      **示例：** `0`
    - `main_currency_prices` object

      - `compare_at_price` string

        **示例：** `13.4`
      - `price` string

        **示例：** `11.19`
      - `total` string

        **示例：** `22.38`
      - `actual_rate` string

        **示例：** `7.239804`
    *   ]
  - `number` string

    **示例：** `00000013-S1`
  - `order_number` string

    **示例：** `00000013`
  - `order_total` string

    **示例：** `242.00`
  - `payment_method` string

    **示例：** `bogus_gateway`
  - `recipient_name` string

    **示例：** `test test`
  - `sales_platform` string

    **示例：** `shoplazza`
  - `shipping_address_extra_info` object

    - `` object
  - `shipping_country` string

    **示例：** `China mainland`
  - `shipping_email` string

    **示例：** `test@shoplazza.com`
  - `shipping_line_name` string

    **示例：** `test`
  - `shipping_phone` string

    **示例：** `+8615014471143`
  - `source` string

    **示例：** `https://test-shoplazza.stg.myshoplaza.com/checkout/633130-00000001?key=e281e6f81c335487dd91cf3df34a8e`
  - `source_name` string

    **示例：** `{"created_at":"","data":""}`
  - `placed_at` string

    **示例：** `2024-04-22T07:21:48Z`
  - `refund_amount` string

    **示例：** `162.00`
  - `post_sale_note` string

    **示例：**
  - `last_referrer_show` string

    **示例：** `{"created_at":"","data":""}`
  - `last_landing_url` string

    **示例：**
  - `shipping_line_desc` string

    **示例：** `11111`
  - `delivery_method` integer

    **默认值：** `0`

    **示例：** `1`
  - `shipping_tax_total` string

    **示例：** `0.00`
  - `shipping_tax_type` integer

    **默认值：** `0`

    **示例：** `0`
  - `all_tax_total` string

    **示例：** `0.00`
  - `shop_name` string

    **示例：**
  - `staff_contact` string

    **示例：**
  - `status` string

    **示例：** `finished`
  *   ]

```json
{
  "count": 4,
  "pending_count": 2,
  "processing_count": 0,
  "post_sales": [
    {
      "browser_ip": "183.15.177.205",
      "created_at": "2024-04-22T07:22:51Z",
      "credit_card_number": "0000",
      "currency_code": "CNY",
      "customer_name": "zhang senjun",
      "device": "PC",
      "discount_code": "",
      "financial_status": "partially_refunded",
      "fulfillment_status": "waiting",
      "fulfillments": [
        {}
      ],
      "id": "e18d1fc2-df36-4d6e-8e03-f1586d963b5f",
      "line_items": [
        {
          "compare_at_price": "97.00",
          "fulfillment_status": "waiting",
          "fulfillment": [
            {}
          ],
          "id": "31d95f28-baf0-47c9-ad53-dbf3833f1b85",
          "image": {
            "alt": "",
            "height": 180,
            "path": "ccf0794c594bad32a320eea0d6bfe40c.jpeg",
            "src": "//cdn.shoplazza.com/ccf0794c594bad32a320eea0d6bfe40c.jpeg",
            "width": 174
          },
          "note": "",
          "options": [
            {
              "name": "size",
              "value": "L"
            }
          ],
          "price": "81.00",
          "product_handle": "shirt",
          "product_id": "a1a88be0-a1d4-47e4-a2f2-ba6e131cf447",
          "product_tags": [
            "s1-s2"
          ],
          "product_title": "shirt",
          "properties": "",
          "quantity": 2,
          "refund_discount": "0.00",
          "refund_price": "0.00",
          "refund_quantity": 1,
          "refund_tax": "0.00",
          "refund_total": "162.00",
          "requires_shipping": true,
          "sku": "T-M-L-red-S-A001011",
          "spu": "T-M",
          "taxable": true,
          "total": "162.00",
          "variant_id": "cbd7a7b0-5dd7-4902-9466-e21bd02688b4",
          "variant_title": "L-red-S",
          "vendor": "shoplazza",
          "weight": "1.10",
          "weight_unit": "kg",
          "vendor_url": "https://shoplazza.com",
          "oversold_quantity": 0,
          "main_currency_prices": {
            "compare_at_price": "13.4",
            "price": "11.19",
            "total": "22.38",
            "actual_rate": "7.239804"
          }
        }
      ],
      "number": "00000013-S1",
      "order_number": "00000013",
      "order_total": "242.00",
      "payment_method": "bogus_gateway",
      "recipient_name": "test test",
      "sales_platform": "shoplazza",
      "shipping_address_extra_info": {},
      "shipping_country": "China mainland",
      "shipping_email": "test@shoplazza.com",
      "shipping_line_name": "test",
      "shipping_phone": "+8615014471143",
      "source": "https://test-shoplazza.stg.myshoplaza.com/checkout/633130-00000001?key=e281e6f81c335487dd91cf3df34a8e",
      "source_name": "{\"created_at\":\"\",\"data\":\"\"}",
      "placed_at": "2024-04-22T07:21:48Z",
      "refund_amount": "162.00",
      "post_sale_note": "",
      "last_referrer_show": "{\"created_at\":\"\",\"data\":\"\"}",
      "last_landing_url": "",
      "shipping_line_desc": "11111",
      "delivery_method": 1,
      "shipping_tax_total": "0.00",
      "shipping_tax_type": 0,
      "all_tax_total": "0.00",
      "shop_name": "",
      "staff_contact": "",
      "status": "finished"
    }
  ]
}
```

```json
{
  "count": 4,
  "pending_count": 2,
  "processing_count": 0,
  "post_sales": [
    {
      "browser_ip": "183.15.177.205",
      "created_at": "2024-04-22T07:22:51Z",
      "credit_card_number": "0000",
      "currency_code": "CNY",
      "customer_name": "zhang senjun",
      "device": "PC",
      "discount_code": "",
      "financial_status": "partially_refunded",
      "fulfillment_status": "waiting",
      "fulfillments": [],
      "id": "e18d1fc2-df36-4d6e-8e03-f1586d963b5f",
      "line_items": [
        {
          "compare_at_price": "97.00",
          "fulfillment_status": "waiting",
          "fulfillment": [],
          "id": "31d95f28-baf0-47c9-ad53-dbf3833f1b85",
          "image": {
            "alt": "",
            "height": 180,
            "path": "ccf0794c594bad32a320eea0d6bfe40c.jpeg",
            "src": "//cdn.shoplazza.com/ccf0794c594bad32a320eea0d6bfe40c.jpeg",
            "width": 174
          },
          "note": "",
          "options": [
            {
              "name": "size",
              "value": "L"
            },
            {
              "name": "color",
              "value": "red"
            },
            {
              "name": "type",
              "value": "S"
            }
          ],
          "price": "81.00",
          "product_handle": "shirt",
          "product_id": "a1a88be0-a1d4-47e4-a2f2-ba6e131cf447",
          "product_tags": [
            "s1-s2"
          ],
          "product_title": "shirt",
          "properties": "",
          "quantity": 2,
          "refund_discount": "0.00",
          "refund_price": "0.00",
          "refund_quantity": 1,
          "refund_tax": "0.00",
          "refund_total": "162.00",
          "requires_shipping": true,
          "sku": "T-M-L-red-S-A001011",
          "spu": "T-M",
          "taxable": true,
          "total": "162.00",
          "variant_id": "cbd7a7b0-5dd7-4902-9466-e21bd02688b4",
          "variant_title": "L-red-S",
          "vendor": "shoplazza",
          "weight": "1.10",
          "weight_unit": "kg",
          "vendor_url": "https://shoplazza.com",
          "oversold_quantity": 0,
          "main_currency_prices": {
            "compare_at_price": "13.4",
            "price": "11.19",
            "total": "22.38",
            "actual_rate": "7.239804"
          }
        }
      ],
      "number": "00000013-S1",
      "order_number": "00000013",
      "order_total": "242.00",
      "payment_method": "bogus_gateway",
      "recipient_name": "test test",
      "sales_platform": "shoplazza",
      "shipping_address_extra_info": {},
      "shipping_country": "China mainland",
      "shipping_email": "test@shoplazza.com",
      "shipping_line_name": "test",
      "shipping_phone": "+8615014471143",
      "source": "https://test-shoplazza.stg.myshoplaza.com/checkout/633130-00000001?key=e281e6f81c335487dd91cf3df34a8e",
      "source_name": "{\"created_at\":\"\",\"data\":\"\"}",
      "placed_at": "2024-04-22T07:21:48Z",
      "refund_amount": "162.00",
      "post_sale_note": "",
      "last_referrer_show": "{\"created_at\":\"\",\"data\":\"\"}",
      "last_landing_url": "",
      "shipping_line_desc": "11111",
      "delivery_method": 1,
      "shipping_tax_total": "0.00",
      "shipping_tax_type": 0,
      "all_tax_total": "0.00",
      "shop_name": "",
      "staff_contact": "",
      "status": "finished"
    }
  ]
}
```
