Method: offerobject.update
지정된 객체 ID로 참조되는 쿠폰 객체를 업데이트합니다.
HTTP 요청
PUT https://walletobjects.googleapis.com/walletobjects/v1/offerObject/{resourceId}
URL은 gRPC 트랜스코딩 구문을 사용합니다.
경로 매개변수
매개변수 |
resourceId |
string
객체의 고유 식별자입니다. 이 ID는 한 발급기관의 모든 객체에서 고유해야 합니다. 이 값은 issuer ID 형식을 따라야 합니다.identifier의 경우 전자는 Google에서 발급하며 후자는 개발자가 직접 선택합니다. 고유 식별자에는 영숫자 문자, '.', '_', '-'만 포함되어야 합니다.
|
요청 본문
요청 본문에는 OfferObject
의 인스턴스가 포함됩니다.
응답 본문
성공한 경우 응답 본문에 OfferObject
의 인스턴스가 포함됩니다.
승인 범위
다음 OAuth 범위가 필요합니다.
https://www.googleapis.com/auth/wallet_object.issuer
달리 명시되지 않는 한 이 페이지의 콘텐츠에는 Creative Commons Attribution 4.0 라이선스에 따라 라이선스가 부여되며, 코드 샘플에는 Apache 2.0 라이선스에 따라 라이선스가 부여됩니다. 자세한 내용은 Google Developers 사이트 정책을 참조하세요. 자바는 Oracle 및/또는 Oracle 계열사의 등록 상표입니다.
최종 업데이트: 2025-03-13(UTC)
[null,null,["최종 업데이트: 2025-03-13(UTC)"],[[["Updates an existing offer object using its unique identifier."],["The request must use the `PUT` method and provide the offer object's details in the request body."],["The offer object's ID should follow the format: \u003cvar translate=\"no\"\u003eissuer ID\u003c/var\u003e.\u003cvar translate=\"no\"\u003eidentifier\u003c/var\u003e."],["Successful requests will return the updated offer object in the response body."],["Requires `https://www.googleapis.com/auth/wallet_object.issuer` authorization scope."]]],["This describes how to update an offer object using a PUT request. The request URL is structured using gRPC Transcoding, including a `resourceId` path parameter, a unique identifier composed of an issuer ID and a custom identifier. The request body contains an `OfferObject` instance. A successful response returns an updated `OfferObject`. The operation requires the `https://www.googleapis.com/auth/wallet_object.issuer` OAuth scope for authorization.\n"]]