Skip to content

Update Member Points

Description

更新會員點數。

Resource

PATCH /v1/user/points

Authorization

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

Request Body Parameters

Name Type Description
accumulated_points int 累積點數
redeem_points int 兌換點數
id string 編號
store_id string 門市代碼

Request Example

{
    "accumulated_points": 1,
    "redeem_points": 1,
    "id": "123",
    "store_id": "PT001"
}

Response

Status-Code: 204 No Content