Google 会使用 AI 技术将内容翻译成您偏好的语言。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,["最后更新时间 (UTC):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"]]