---
title: "Create Wish List Item"
method: POST
path: "/wish_list_items"
tags: ["Wish List Items"]
---

# Create Wish List Item

`POST /wish_list_items`

To create wish list item<br>創建追蹤清單

## Request body

- object
  - `customer_id` string, required — Customer ID<br>顧客 ID
  - `product_id` string, required — Product ID<br>商品ID
  - `variation_key` string, required — Product's variation's key<br>商品規格key<br> If product does not have variations, please set to empty string.<br>若商品無規格，請填入空字串<br>
  - `product_set_datas` object[] — Product set information<br>組合商品資訊
    - `child_product_id` string — Child product ID<br>子商品ID
    - `child_variation_id` string — Child product's variation key<br>子商品規格key
    - `quantity` number — Child product quantity<br>子商品數量

## Response `201`

CREATED

- object
  - `id` string
  - `customer_id` string
  - `product_id` string
  - `variation_key` string

## Other responses

- `422` — Unprocessable Entity
- `500` — Server Error

---

[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)
