Method: issuer.patch
Sử dụng bộ sưu tập để sắp xếp ngăn nắp các trang
Lưu và phân loại nội dung dựa trên lựa chọn ưu tiên của bạn.
Cập nhật nhà phát hành được tham chiếu theo mã tài khoản phát hành nhất định. Phương thức này hỗ trợ ngữ nghĩa của bản vá.
Yêu cầu HTTP
PATCH https://walletobjects.googleapis.com/walletobjects/v1/issuer/{resourceId}
URL sử dụng cú pháp Chuyển mã gRPC.
Tham số đường dẫn
Tham số |
resourceId |
string (int64 format)
Giá trị nhận dạng duy nhất của tổ chức phát hành.
|
Nội dung yêu cầu
Nội dung yêu cầu chứa một bản sao của Issuer
.
Nội dung phản hồi
Nếu thành công, nội dung phản hồi sẽ chứa một phiên bản của Issuer
.
Phạm vi uỷ quyền
Yêu cầu phạm vi OAuth sau:
https://www.googleapis.com/auth/wallet_object.issuer
Trừ phi có lưu ý khác, nội dung của trang này được cấp phép theo Giấy phép ghi nhận tác giả 4.0 của Creative Commons và các mẫu mã lập trình được cấp phép theo Giấy phép Apache 2.0. Để biết thông tin chi tiết, vui lòng tham khảo Chính sách trang web của Google Developers. Java là nhãn hiệu đã đăng ký của Oracle và/hoặc các đơn vị liên kết với Oracle.
Cập nhật lần gần đây nhất: 2025-07-25 UTC.
[null,null,["Cập nhật lần gần đây nhất: 2025-07-25 UTC."],[[["\u003cp\u003eThis document outlines how to update an existing issuer using the Google Wallet Objects API with a PATCH request.\u003c/p\u003e\n"],["\u003cp\u003eYou will need to provide the issuer ID as a path parameter and send the updated issuer data in the request body.\u003c/p\u003e\n"],["\u003cp\u003eThe request and response bodies both utilize the \u003ccode\u003eIssuer\u003c/code\u003e object structure as defined in the API reference.\u003c/p\u003e\n"],["\u003cp\u003eTo successfully execute this request, you must possess the \u003ccode\u003ehttps://www.googleapis.com/auth/wallet_object.issuer\u003c/code\u003e authorization scope.\u003c/p\u003e\n"]]],["The core content describes updating an issuer using a PATCH request. The action occurs at the specified URL: `https://walletobjects.googleapis.com/walletobjects/v1/issuer/{resourceId}`, where `resourceId` (a string representing a 64-bit integer) uniquely identifies the issuer. The request body should be a JSON, and if successful, the response also is. Authorization requires the `https://www.googleapis.com/auth/wallet_object.issuer` OAuth scope.\n"],null,["# Method: issuer.patch\n\n- [HTTP request](#body.HTTP_TEMPLATE)\n- [Path parameters](#body.PATH_PARAMETERS)\n- [Request body](#body.request_body)\n- [Response body](#body.response_body)\n- [Authorization scopes](#body.aspect)\n\nUpdates the issuer referenced by the given issuer ID. This method supports patch semantics.\n\n### HTTP request\n\n`PATCH https://walletobjects.googleapis.com/walletobjects/v1/issuer/{resourceId}`\n\nThe URL uses [gRPC Transcoding](https://google.aip.dev/127) syntax.\n\n### Path parameters\n\n| Parameters ||\n|--------------|--------------------------------------------------------------------------------------------------------------------------|\n| `resourceId` | `string (`[int64](https://developers.google.com/discovery/v1/type-format)` format)` The unique identifier for an issuer. |\n\n### Request body\n\nThe request body contains an instance of [Issuer](/wallet/reference/rest/v1/issuer#Issuer).\n\n### Response body\n\nIf successful, the response body contains an instance of [Issuer](/wallet/reference/rest/v1/issuer#Issuer).\n\n### Authorization scopes\n\nRequires the following OAuth scope:\n\n- `https://www.googleapis.com/auth/wallet_object.issuer`"]]