---
title: "Get Gift Stocks"
method: GET
path: "/gifts/{id}/stocks"
tags: ["Gifts"]
---

# Get Gift Stocks

`GET /gifts/{id}/stocks`

To get stock information for a specific gift with its ID<br> 使用商品 ID 獲取特定一個贈品的庫存資料

## Path parameters

- `id` string, required

## Query parameters

- `excludes[]` string[]
- `fields[]` string[]

## Response `200`

OK

- object
  - `id` string — Gift ID<br>贈品ID
  - `title_translations` object — Title translations<br>贈品名稱
    - `en` string — Merchant defined English name<br>店家定義英文名稱
    - `zh-hant` string — Merchant defined Traditional Chinese name<br>店家定義繁體中文名稱
    - `zh-cn` string — Merchant defined Simplified Chinese name<br>店家定義簡體中文名稱
    - `vi` string — Merchant defined Vietnamese name<br>店家定義越南文名稱
    - `ms` string — Merchant defined Malaysian name<br>店家定義馬來西亞文名稱
    - `ja` string — Merchant defined Japanese name<br>店家定義日文名稱
    - `th` string — Merchant defined Thai name<br>店家定義泰文名稱
    - `id` string — Merchant defined Indian name<br>店家定義印度文名稱
    - `de` string — Merchant defined Deutsch name<br>店家定義德文名稱
    - `fr` string — Merchant defined France name<br>店家定義法文名稱
  - `stocks` object[]
    - `warehouse_id` string — Warehouse’s id<br>倉庫 id
    - `quantity` number — Product’s stock in this warehouse<br>商品在此倉庫中的庫存

---

[API](https://skmtc.net/shoplineapp/apis/shopline-open-api.md) · [All operations](https://skmtc.net/shoplineapp/apis/shopline-open-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/shoplineapp/shopline-open-api/revisions/1675ac12cde7/schema)
