Close httplib2 connections.
create(accountId, body=None, x__xgafv=None)
Uploads credentials for the Merchant Center account. If credentials already exist for this Merchant Center account and purpose, this method updates them.
close()
Close httplib2 connections.
create(accountId, body=None, x__xgafv=None)
Uploads credentials for the Merchant Center account. If credentials already exist for this Merchant Center account and purpose, this method updates them. Args: accountId: string, Required. The merchant id of the account these credentials belong to. (required) body: object, The request body. The object takes the form of: { # Credentials allowing Google to call a partner's API on behalf of a merchant. "accessToken": "A String", # An OAuth access token. "expiresIn": "A String", # The amount of time, in seconds, after which the access token is no longer valid. "purpose": "A String", # Indicates to Google how Google should use these OAuth tokens. } x__xgafv: string, V1 error format. Allowed values 1 - v1 error format 2 - v2 error format Returns: An object of the form: { # Credentials allowing Google to call a partner's API on behalf of a merchant. "accessToken": "A String", # An OAuth access token. "expiresIn": "A String", # The amount of time, in seconds, after which the access token is no longer valid. "purpose": "A String", # Indicates to Google how Google should use these OAuth tokens. }