Returnaddress: insert

Inserts a return address for the Merchant Center account. Try it now.

Request

HTTP request

POST https://www.googleapis.com/content/v2.1/merchantId/returnaddress

Parameters

Parameter name Value Description
Path parameters
merchantId unsigned long The Merchant Center account to insert a return address for.

Authorization

This request requires authorization with the following scope:

Scope
https://www.googleapis.com/auth/content

Request body

In the request body, supply a Returnaddress resource with the following properties:

Property name Value Description Notes
Required Properties
address nested object The address. writable
country string The country of sale where the return address is applicable. writable
label string The user-defined label of the return address. For the default address, use the label "default". writable
phoneNumber string The merchant's contact phone number regarding the return. writable
Optional Properties
address.locality string City, town or commune. May also include dependent localities or sublocalities (e.g. neighborhoods or suburbs). writable
address.postalCode string Postal code or ZIP (e.g. "94043"). writable
address.recipientName string Name of the recipient to address returns to. writable
address.region string Top-level administrative subdivision of the country. For example, a state like California ("CA") or a province like Quebec ("QC"). writable
address.streetAddress[] list Street-level part of the address. May be up to two lines, each line specified as an array element. writable

Response

If successful, this method returns a Returnaddress resource in the response body.

Try it!

Use the APIs Explorer below to call this method on live data and see the response.