Method: accounts.shippingSettings.insert

Replace the shipping setting of a business with the request shipping setting. Executing this method requires admin access.

HTTP request

POST https://merchantapi.googleapis.com/accounts/v1beta/{parent=accounts/*}/shippingSettings:insert

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
parent

string

Required. The account for which this shipping setting will be inserted. If you are using an advanced account, you must specify the unique identifier of the sub-account for which you want to insert the shipping setting. Format: accounts/{ACCOUNT_ID}

Request body

The request body contains an instance of ShippingSettings.

Response body

If successful, the response body contains an instance of ShippingSettings.

Authorization scopes

Requires the following OAuth scope:

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

For more information, see the OAuth 2.0 Overview.