REST Resource: accounts.credentials

Stay organized with collections Save and categorize content based on your preferences.

Resource: AccountCredentials

Credentials allowing Google to call a partner's API on behalf of a merchant.

JSON representation
{
  "purpose": enum (AccountCredentialsPurpose),
  "accessToken": string,
  "expiresIn": string
}
Fields
purpose

enum (AccountCredentialsPurpose)

Indicates to Google how Google should use these OAuth tokens.

accessToken

string

An OAuth access token.

expiresIn

string (int64 format)

The amount of time, in seconds, after which the access token is no longer valid.

AccountCredentialsPurpose

The purpose of a set of credentials.

Enums
ACCOUNT_CREDENTIALS_PURPOSE_UNSPECIFIED Unknown purpose.
SHOPIFY_ORDER_MANAGEMENT

The credentials allow Google to manage Shopify orders on behalf of the merchant (deprecated).

SHOPIFY_INTEGRATION The credentials allow Google to manage Shopify integration on behalf of the merchant.

Methods

create

Uploads credentials for the Merchant Center account.