v1

latestOpenAPI 3.0.0Creative Commons Attribution 3.02026-07-13125317428.7 KB
accounts

Uploads credentials for the Merchant Center account. If credentials already exist for this Merchant Center account and purpose, this method updates them.

post/accounts/{accountId}/credentials

Path parameters

accountIdstring required

Required. The merchant id of the account these credentials belong to.

Request body

purpose'ACCOUNT_CREDENTIALS_PURPOSE_UNSPECIFIED' | 'SHOPIFY_ORDER_MANAGEMENT' | 'SHOPIFY_INTEGRATION'

Indicates to Google how Google should use these OAuth tokens.

expiresInstring int64

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

accessTokenstring

An OAuth access token.

Response

Successful response