AI-generated Key Takeaways
- 
          
ReturnAddressresource allows merchants to manage their return addresses within their Merchant Center account, providing necessary information like address, contact details, and labels for identification. - 
          
ReturnAddressAddressobject defines the structure for specifying the physical location of the return address, including recipient name, street address, city, region, postal code, and country. - 
          
The API provides methods to create, retrieve, update, and delete return addresses, as well as batch processing for multiple operations, giving merchants control over their return address settings.
 
Resource: ReturnAddress
Return address resource.
| JSON representation | 
|---|
{
  "returnAddressId": string,
  "label": string,
  "country": string,
  "address": {
    object ( | 
              
| Fields | |
|---|---|
returnAddressId | 
                
                   
 Return address ID generated by Google.  | 
              
label | 
                
                   
 Required. The user-defined label of the return address. For the default address, use the label "default".  | 
              
country | 
                
                   
 Required. The country of sale where the return address is applicable.  | 
              
address | 
                
                   
 Required. The address.  | 
              
phoneNumber | 
                
                   
 Required. The merchant's contact phone number regarding the return.  | 
              
kind | 
                
                   
 Identifies what kind of resource this is. Value: the fixed string "  | 
              
ReturnAddressAddress
| JSON representation | 
|---|
{ "recipientName": string, "streetAddress": [ string ], "locality": string, "region": string, "postalCode": string, "country": string }  | 
              
| Fields | |
|---|---|
recipientName | 
                
                   
 Name of the recipient to address returns to.  | 
              
streetAddress[] | 
                
                   
 Street-level part of the address. May be up to two lines, each line specified as an array element.  | 
              
locality | 
                
                   
 City, town or commune. May also include dependent localities or sublocalities (for example, neighborhoods or suburbs).  | 
              
region | 
                
                   
 Top-level administrative subdivision of the country. For example, a state like California ("CA") or a province like Quebec ("QC").  | 
              
postalCode | 
                
                   
 Postal code or ZIP (for example, "94043").  | 
              
country | 
                
                   
 CLDR country code (for example, "US").  | 
              
Methods | 
            |
|---|---|
                
 | 
              Batches multiple return address related calls in a single request. | 
                
 | 
              Deletes a return address for the given Merchant Center account. | 
                
 | 
              Gets a return address of the Merchant Center account. | 
                
 | 
              Inserts a return address for the Merchant Center account. | 
                
 | 
              Lists the return addresses of the Merchant Center account. |