Method: accounts.onlineReturnPolicies.create

Creates a new return policy for a given business.

HTTP request

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

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
parent

string

Required. The Merchant Center account for which the return policy will be created. Format: accounts/{account}

Request body

The request body contains an instance of OnlineReturnPolicy.

Response body

If successful, the response body contains a newly created 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.