Method: accounts.omnichannelSettings.patch

Update the omnichannel setting for a given merchant in a given country.

HTTP request

PATCH https://merchantapi.googleapis.com/accounts/v1beta/{omnichannelSetting.name=accounts/*/omnichannelSettings/*}

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
omnichannelSetting.name

string

Identifier. The resource name of the omnichannel setting. Format: accounts/{account}/omnichannelSettings/{omnichannelSetting}

Query parameters

Parameters
updateMask

string (FieldMask format)

Required. The list of fields to be updated.

The following fields are supported in snake_case only: - lsfType - inStock - pickup - odo - about - inventoryVerification

Full replacement with wildcard *is supported, while empty/implied update mask is not.

Request body

The request body contains an instance of OmnichannelSetting.

Response body

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

Authorization scopes

Requires the following OAuth scope:

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

For more information, see the OAuth 2.0 Overview.