Skip to content

Set User Device Data

Description

設定使用者設備資料。

Resource

PATCH /v1/user/device

Authorization

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

Request Body Parameters

Name Type Description
os_type string
(enum)
系統類型
ALLOWED VALUES:
  • IOS
  • ANDROID
  • WEB
  • KIOSK
os_version string 作業系統版本
app_version string APP版本
phone_model string 手機型號
machine_id string KIOSK機號
shop_id string 門市編號

Request Example

{
  "os_type": "IOS",
  "os_version": "14.2",
  "app_version": "1.0.0",
  "phone_model": "MWM22TA/A"
}

Request Example - KIOSK

{
  "os_type": "KIOSK",
  "os_version": "14.2",
  "app_version": "1.0.0",
  "machine_id": "K1",
  "shop_id": "00308"
}

Response

Status-Code: 204 No Content