**Version: 202201**

# After Sales List

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

## Request

**Query Parameters**

- `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`

## Responses

**200**

200

**application/json**

**Schema | Example | Result**

**Schema**

- `count` integer

  **Default value:** `0`

  **Example:** `4`
- `pending_count` integer

  **Default value:** `0`

  **Example:** `2`
- `processing_count` integer

  **Default value:** `0`

  **Example:** `0`
- `post_sales` object[]

  *   Array [

  - `browser_ip` string

    **Example:** `183.15.177.205`
  - `created_at` string

    **Example:** `2024-04-22T07:22:51Z`
  - `credit_card_number` string

    **Example:** `0000`
  - `currency_code` string

    **Example:** `CNY`
  - `customer_name` string

    **Example:** `zhang senjun`
  - `device` string

    **Example:** `PC`
  - `discount_code` string

    **Example:**
  - `financial_status` string

    **Example:** `partially_refunded`
  - `fulfillment_status` string

    **Example:** `waiting`
  - `fulfillments` object[]

    *   Array [

    - `` object
    *   ]
  - `id` string

    **Example:** `e18d1fc2-df36-4d6e-8e03-f1586d963b5f`
  - `line_items` object[]

    *   Array [

    - `compare_at_price` string

      **Example:** `97.00`
    - `fulfillment_status` string

      **Example:** `waiting`
    - `fulfillment` object[]

      *   Array [

      - `` object
      *   ]
    - `id` string

      **Example:** `31d95f28-baf0-47c9-ad53-dbf3833f1b85`
    - `image` object

      - `alt` string

        **Example:**
      - `height` integer

        **Default value:** `0`

        **Example:** `180`
      - `path` string

        **Example:** `ccf0794c594bad32a320eea0d6bfe40c.jpeg`
      - `src` string

        **Example:** `//cdn.shoplazza.com/ccf0794c594bad32a320eea0d6bfe40c.jpeg`
      - `width` integer

        **Default value:** `0`

        **Example:** `174`
    - `note` string

      **Example:**
    - `options` object[]

      *   Array [

      - `name` string

        **Example:** `size`
      - `value` string

        **Example:** `L`
      *   ]
    - `price` string

      **Example:** `81.00`
    - `product_handle` string

      **Example:** `shirt`
    - `product_id` string

      **Example:** `a1a88be0-a1d4-47e4-a2f2-ba6e131cf447`
    - `product_tags` string[]
    - `product_title` string

      **Example:** `shirt`
    - `properties` string

      **Example:**
    - `quantity` integer

      **Default value:** `0`

      **Example:** `2`
    - `refund_discount` string

      **Example:** `0.00`
    - `refund_price` string

      **Example:** `0.00`
    - `refund_quantity` integer

      **Default value:** `0`

      **Example:** `1`
    - `refund_tax` string

      **Example:** `0.00`
    - `refund_total` string

      **Example:** `162.00`
    - `requires_shipping` boolean

      **Default value:** `true`

      **Example:** `true`
    - `sku` string

      **Example:** `T-M-L-red-S-A001011`
    - `spu` string

      **Example:** `T-M`
    - `taxable` boolean

      **Default value:** `true`

      **Example:** `true`
    - `total` string

      **Example:** `162.00`
    - `variant_id` string

      **Example:** `cbd7a7b0-5dd7-4902-9466-e21bd02688b4`
    - `variant_title` string

      **Example:** `L-red-S`
    - `vendor` string

      **Example:** `shoplazza`
    - `weight` string

      **Example:** `1.10`
    - `weight_unit` string

      **Example:** `kg`
    - `vendor_url` string

      **Example:** `https://shoplazza.com`
    - `oversold_quantity` integer

      **Default value:** `0`

      **Example:** `0`
    - `main_currency_prices` object

      - `compare_at_price` string

        **Example:** `13.4`
      - `price` string

        **Example:** `11.19`
      - `total` string

        **Example:** `22.38`
      - `actual_rate` string

        **Example:** `7.239804`
    *   ]
  - `number` string

    **Example:** `00000013-S1`
  - `order_number` string

    **Example:** `00000013`
  - `order_total` string

    **Example:** `242.00`
  - `payment_method` string

    **Example:** `bogus_gateway`
  - `recipient_name` string

    **Example:** `test test`
  - `sales_platform` string

    **Example:** `shoplazza`
  - `shipping_address_extra_info` object

    - `` object
  - `shipping_country` string

    **Example:** `China mainland`
  - `shipping_email` string

    **Example:** `test@shoplazza.com`
  - `shipping_line_name` string

    **Example:** `test`
  - `shipping_phone` string

    **Example:** `+8615014471143`
  - `source` string

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

    **Example:** `{"created_at":"","data":""}`
  - `placed_at` string

    **Example:** `2024-04-22T07:21:48Z`
  - `refund_amount` string

    **Example:** `162.00`
  - `post_sale_note` string

    **Example:**
  - `last_referrer_show` string

    **Example:** `{"created_at":"","data":""}`
  - `last_landing_url` string

    **Example:**
  - `shipping_line_desc` string

    **Example:** `11111`
  - `delivery_method` integer

    **Default value:** `0`

    **Example:** `1`
  - `shipping_tax_total` string

    **Example:** `0.00`
  - `shipping_tax_type` integer

    **Default value:** `0`

    **Example:** `0`
  - `all_tax_total` string

    **Example:** `0.00`
  - `shop_name` string

    **Example:**
  - `staff_contact` string

    **Example:**
  - `status` string

    **Example:** `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"
    }
  ]
}
```
