Skip to content

Get Bags

Description

取得購物袋。

Resource

GET /v1/product/bags

Authorization

採用 OAuth 2.0 Bearer Token,詳細使用流程請參考 Auth Login

Query Parameters

Name Type Description
language string
(enum)
語系
ALLOWED VALUES:
  • TRADITIONAL_CHINESE: 繁體中文
  • JAPANESE: 日語
  • KOREAN: 韓語
  • ENGLISH: 英語
  • FRENCH: 法語
  • INDONESIAN: 印尼語
  • THAI: 泰語
  • VIETNAMESE: 越南語
  • SPANISH: 西班牙語
  • GERMAN: 德語
  • RUSSIAN: 俄語
(optional)

Response Body Parameters

Name Type Description
bags Bag 購物袋列表

Response Body Parameters - Bag

Name Type Description
id string 商品編號
title string 商品第一名稱
translate_title string 商品第一翻譯名稱
english_title string 商品第一英文名稱
price integer 價格
img string 圖檔URL

Response Example - Http Code = 200

{
  "bags": [
    {
      "id": "BAG001",
      "title": "小購物袋",
      "translate_title": "Small Shopping Bag",
      "english_title": "Small Shopping Bag",
      "price": 1,
      "img": "https://portal-dev.wixtar.com/kiosk/apptest/public/product00/bag_s1.png"
    },
    {
      "id": "BAG002",
      "title": "中購物袋",
      "translate_title": "Medium Shopping Bag",
      "english_title": "Medium Shopping Bag",
      "price": 9527,
      "img": "https://portal-dev.wixtar.com/kiosk/apptest/public/product00/bag_s2.png"
    }
  ]
}

Response - Http Code = 200

{
  "bags": []
}