Method: accounts.onlineReturnPolicies.patch

Updates an existing return policy for a given business.

HTTP request

PATCH https://merchantapi.googleapis.com/accounts/v1beta/{onlineReturnPolicy.name=accounts/*/onlineReturnPolicies/*}

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
onlineReturnPolicy.name

string

Identifier. The name of the OnlineReturnPolicy resource. Format: accounts/{account}/onlineReturnPolicies/{return_policy}

Query parameters

Parameters
updateMask

string (FieldMask format)

Optional. Only support updating the entire OnlineReturnPolicy message. For updateMask, always use *.

Request body

The request body contains an instance of OnlineReturnPolicy.

Response body

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

Authorization scopes

Requires the following OAuth scope:

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

For more information, see the OAuth 2.0 Overview.