Method: buyongoogleprograms.patch

Updates the status of the BoG program for your Merchant Center account.

HTTP request

PATCH https://shoppingcontent.googleapis.com/content/v2.1/{merchantId}/buyongoogleprograms/{regionCode}

Path parameters

Parameters
merchantId

string (int64 format)

Required. The ID of the account.

regionCode

string

Required. The program region code ISO 3166-1 alpha-2. Currently only US is available.

Query parameters

Parameters
updateMask

string (FieldMask format)

The list of fields to update. If the update mask is not provided, then all the fields set in [buyOnGoogleProgramStatus][google.shopping.content.v2p1.Programs.buy_on_google_program_status] will be updated. Clearing fields is only possible if update mask is provided.

Request body

The request body contains an instance of BuyOnGoogleProgramStatus.

Response body

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

Authorization scopes

Requires one of the following OAuth scopes:

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

For more information, see the OAuth 2.0 Overview.