rocket
  Meet
  
Merchant API
  - the official successor to Content API for Shopping.
  
  update
  Get the latest
  on new Merchant API features, bug fixes, and updates.
   
  add_alert
  Note: Content API for Shopping will be sunset on August 18, 2026.
         
       
     
  
  
  
  
  
    
      UrlSettings
    
    
      
    
    
      
      Stay organized with collections
    
    
      
      Save and categorize content based on your preferences.
    
  
  
      
    
  
  
  
  
  
    
  
  
    
    
    
    
    
      
      
        Specifications related to the Checkout URL. The UriTemplate is  of the form  https://www.mystore.com/checkout?item_id={id}
where {id} will be automatically replaced with data from the merchant  account with this attribute  offerId
      
      
        
          
            
              | JSON representation | 
          
          
            
              | {
  // Union field url_templatecan be only one of the following:
  "checkoutUriTemplate": string,
  "cartUriTemplate": string
  // End of list of possible types for union fieldurl_template.
} | 
          
        
      
      
        
          
            
            
          
          
            
              | Fields | 
          
          
            
              | Union field url_template. url_templatecan be only one of the following:
 | 
            
              | checkoutUriTemplate | string
 URL template when the placeholders are expanded will redirect the buyer to the merchant checkout page with the item in the cart. | 
            
              | cartUriTemplate | string
 URL template when the placeholders are expanded will redirect the buyer to the cart page on the merchant website with the selected item in cart. | 
          
        
      
    
  
  
  
 
  
    
    
      
       
    
    
  
  
  Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
  Last updated 2025-02-25 UTC.
  
  
  
    
      [null,null,["Last updated 2025-02-25 UTC."],[],["The `Checkout` URL utilizes a `UriTemplate` like `https://www.mystore.com/checkout?item_id={id}`, with `{id}` replaced by the merchant's `offerId`. The `url_template` field, a union type, can be either `checkoutUriTemplate` or `cartUriTemplate`.  `checkoutUriTemplate` directs buyers to the checkout page, while `cartUriTemplate` leads to the merchant's cart page, each with the selected item included. Only one of them can be defined.\n"]]