Method: accounts.contracts.create

Creates a new contract.

HTTP request

POST https://merchantapi.googleapis.com/youtube/v1alpha/{parent=accounts/*}/contracts

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
parent

string

Required. The parent account where this contract will be created. Format: accounts/{account}

Request body

The request body contains an instance of Contract.

Response body

If successful, the response body contains a newly created instance of Contract.

Authorization scopes

Requires the following OAuth scope:

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

For more information, see the OAuth 2.0 Overview.