---
title: "Get sale products"
method: GET
path: "/sales/{saleId}/products"
tags: ["Sales"]
---

# Get sale products

`GET /sales/{saleId}/products`

## Request

- Base URL: `https://open.shopline.io/v1`
- URL: `https://open.shopline.io/v1/sales/{saleId}/products`
- Auth: HTTP bearer

To get sale products<br>取得直播商品

## Path parameters

- `saleId` string, required

## Query parameters

- `page` integer
- `per_page` integer

## Response `200`

OK

- object
  - `items` SaleProduct[]
    - `product_id` string
    - `custom_numbers` string[]
    - `custom_keys` string[]
    - `effective_key` boolean
    - `create_time` string
    - `update_time` string
    - `variations` object[]
      - `variation_id` string
      - `custom_keys` string[]
  - `pagination` Paginatable
    - `current_page` integer: The current page number<br>當前分頁
    - `per_page` integer: Number of result per page<br>每頁顯示 n 筆資料<br>(Default: 24)
    - `total_count` integer: Number of result in total<br>資料總量
    - `total_pages` integer: Number of pages in total<br>總頁數量

## Other responses

- `500`: Server error

---

[API](https://skmtc.dev/shoplineapp/apis/shopline-open-api.md) - [All operations](https://skmtc.dev/shoplineapp/apis/shopline-open-api/llms.txt) - [OpenAPI document](https://skmtc.dev/shoplineapp/apis/shopline-open-api/revisions/d2518391b149?raw)
