Google 會運用 AI 技術將內容翻譯成您偏好的語言,但可能會出錯。
Method: loyaltyclass.insert
透過集合功能整理內容
您可以依據偏好儲存及分類內容。
HTTP 要求
POST https://walletobjects.googleapis.com/walletobjects/v1/loyaltyClass
這個網址使用 gRPC 轉碼語法。
要求主體
要求主體包含 LoyaltyClass 的例項。
回應主體
如果成功,回應主體會包含新建立的 LoyaltyClass 例項。
授權範圍
需要下列 OAuth 範圍:
https://www.googleapis.com/auth/wallet_object.issuer
[null,null,["上次更新時間:2025-07-25 (世界標準時間)。"],[],["A `POST` request is made to `https://walletobjects.googleapis.com/walletobjects/v1/loyaltyClass` to insert a loyalty class, using gRPC Transcoding. The request body must include a `LoyaltyClass` instance. Upon success, the response body will contain the newly created `LoyaltyClass`. The operation requires OAuth scope authorization: `https://www.googleapis.com/auth/wallet_object.issuer`.\n"]]