OnlineReturnPolicyService

The service facilitates the management of a business's remorse return policy configuration, encompassing return policies for both ads and free listings

programs. This API defines the following resource model:

OnlineReturnPolicy

CreateOnlineReturnPolicy

rpc CreateOnlineReturnPolicy(CreateOnlineReturnPolicyRequest) returns (OnlineReturnPolicy)

Creates a new return policy for a given business.

Authorization scopes

Requires the following OAuth scope:

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

For more information, see the OAuth 2.0 Overview.

DeleteOnlineReturnPolicy

rpc DeleteOnlineReturnPolicy(DeleteOnlineReturnPolicyRequest) returns (Empty)

Deletes an existing return policy.

Authorization scopes

Requires the following OAuth scope:

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

For more information, see the OAuth 2.0 Overview.

GetOnlineReturnPolicy

rpc GetOnlineReturnPolicy(GetOnlineReturnPolicyRequest) returns (OnlineReturnPolicy)

Gets an existing return policy for a given business.

Authorization scopes

Requires the following OAuth scope:

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

For more information, see the OAuth 2.0 Overview.

ListOnlineReturnPolicies

rpc ListOnlineReturnPolicies(ListOnlineReturnPoliciesRequest) returns (ListOnlineReturnPoliciesResponse)

Lists all existing return policies for a given business.

Authorization scopes

Requires the following OAuth scope:

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

For more information, see the OAuth 2.0 Overview.

UpdateOnlineReturnPolicy

rpc UpdateOnlineReturnPolicy(UpdateOnlineReturnPolicyRequest) returns (OnlineReturnPolicy)

Updates an existing return policy for a given business.

Authorization scopes

Requires the following OAuth scope:

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

For more information, see the OAuth 2.0 Overview.