Method: loyaltyclass.insert
    
    
      
    
    
      
      संग्रह की मदद से व्यवस्थित रहें
    
    
      
      अपनी प्राथमिकताओं के आधार पर, कॉन्टेंट को सेव करें और कैटगरी में बांटें.
    
  
  
      
    
  
  
  
  
  
    
  
  
    
    
    
    
    
    
      
      
      
        दिए गए आईडी और प्रॉपर्टी के साथ लॉयल्टी क्लास डालता है.
      
      
        
          एचटीटीपी अनुरोध
          POST https://walletobjects.googleapis.com/walletobjects/v1/loyaltyClass
यह यूआरएल gRPC ट्रांसकोडिंग सिंटैक्स का इस्तेमाल करता है.
        
        
          अनुरोध का मुख्य भाग
          अनुरोध के मुख्य भाग में LoyaltyClass का उदाहरण है.
        
        
          जवाब का मुख्य भाग
          कामयाब होने पर, जवाब के मुख्य हिस्से में LoyaltyClass का नया इंस्टेंस शामिल किया जाता है.
        
        
          अनुमति के दायरे
          नीचे दिए गए OAuth के लिंक की ज़रूरत हाेती है:
          
            - https://www.googleapis.com/auth/wallet_object.issuer
 
  
    
    
      
       
    
    
  
  
  जब तक कुछ अलग से न बताया जाए, तब तक इस पेज की सामग्री को Creative Commons Attribution 4.0 License के तहत और कोड के नमूनों को Apache 2.0 License के तहत लाइसेंस मिला है. ज़्यादा जानकारी के लिए, Google Developers साइट नीतियां देखें. Oracle और/या इससे जुड़ी हुई कंपनियों का, Java एक रजिस्टर किया हुआ ट्रेडमार्क है.
  आखिरी बार 2025-07-25 (UTC) को अपडेट किया गया.
  
  
  
    
      [null,null,["आखिरी बार 2025-07-25 (UTC) को अपडेट किया गया."],[],["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"]]