LoyaltyProgramService

Manage and modify only self-created loyalty programs.

The service is only available to selected merchants. Contact the support team to express interest in participation by submitting an allowlist request in the Shopping API Support Form (https://support.google.com/merchants/contact/shopping_api_support_form) under "What is the issue/question? > Allowlist request > Other".

CreateLoyaltyProgram

rpc CreateLoyaltyProgram(CreateLoyaltyProgramRequest) returns (LoyaltyProgram)

Creates a new LoyaltyProgram.

Authorization scopes

Requires the following OAuth scope:

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

For more information, see the OAuth 2.0 Overview.

DeleteLoyaltyProgram

rpc DeleteLoyaltyProgram(DeleteLoyaltyProgramRequest) returns (Empty)

Deletes the LoyaltyProgram matching the requested name.

Authorization scopes

Requires the following OAuth scope:

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

For more information, see the OAuth 2.0 Overview.

GetLoyaltyProgram

rpc GetLoyaltyProgram(GetLoyaltyProgramRequest) returns (LoyaltyProgram)

Retrieves a LoyaltyProgram matching the requested name.

Authorization scopes

Requires the following OAuth scope:

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

For more information, see the OAuth 2.0 Overview.

ListLoyaltyPrograms

rpc ListLoyaltyPrograms(ListLoyaltyProgramsRequest) returns (ListLoyaltyProgramsResponse)

Retrieves the LoyaltyPrograms for the account.

Authorization scopes

Requires the following OAuth scope:

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

For more information, see the OAuth 2.0 Overview.

UpdateLoyaltyProgram

rpc UpdateLoyaltyProgram(UpdateLoyaltyProgramRequest) returns (LoyaltyProgram)

Updates the LoyaltyProgram matching the requested name.

Authorization scopes

Requires the following OAuth scope:

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

For more information, see the OAuth 2.0 Overview.