Method: offerclass.patch
    
    
      
    
    
      
      Zadbaj o dobrą organizację dzięki kolekcji
    
    
      
      Zapisuj i kategoryzuj treści zgodnie ze swoimi preferencjami.
    
  
  
      
    
  
  
  
  
  
    
  
  
    
    
    
    
    
    
      
      
      
        Aktualizuje klasę oferty, do której odwołuje się podany identyfikator klasy. Ta metoda obsługuje semantykę poprawki.
      
      
        
          Żądanie HTTP
          PATCH https://walletobjects.googleapis.com/walletobjects/v1/offerClass/{resourceId}
Adres URL używa składni transkodowania gRPC.
        
        
          Parametry ścieżki
          
            
              
              
            
            
              
                | Parametry | 
            
            
              
                | resourceId | string
 Unikalny identyfikator klasy. Ten identyfikator musi być unikalny wśród wszystkich klas wydawcy. Ta wartość powinna mieć format issuer ID.identifier, gdzie pierwszy identyfikator jest wystawiany przez Google, a drugi jest wybierany przez Ciebie. Unikalny identyfikator powinien zawierać tylko znaki alfanumeryczne oraz znaki „.”, „_” lub „-”. | 
            
          
        
        
          Treść żądania
          Treść żądania zawiera wystąpienie elementu OfferClass.
        
        
          Treść odpowiedzi
          W przypadku powodzenia treść odpowiedzi obejmuje wystąpienie elementu OfferClass.
        
        
          Zakresy autoryzacji
          Wymaga następującego zakresu OAuth:
          
            - https://www.googleapis.com/auth/wallet_object.issuer
 
  
    
    
      
       
    
    
  
  
  O ile nie stwierdzono inaczej, treść tej strony jest objęta licencją Creative Commons – uznanie autorstwa 4.0, a fragmenty kodu są dostępne na licencji Apache 2.0. Szczegółowe informacje na ten temat zawierają zasady dotyczące witryny Google Developers. Java jest zastrzeżonym znakiem towarowym firmy Oracle i jej podmiotów stowarzyszonych.
  Ostatnia aktualizacja: 2025-07-25 UTC.
  
  
  
    
      [null,null,["Ostatnia aktualizacja: 2025-07-25 UTC."],[],["The core content describes how to update an offer class using a PATCH request. The HTTP request uses the URL `PATCH https://walletobjects.googleapis.com/walletobjects/v1/offerClass/{resourceId}`, where `resourceId` is a unique string identifier. The request body contains an `OfferClass` instance, and a successful response returns an updated `OfferClass` instance. Authorization requires the `https://www.googleapis.com/auth/wallet_object.issuer` OAuth scope. The `resourceId` parameter is unique across classes and follow the formating of `issuerID.identifier`.\n"]]