Method: projects.locations.privateOffers.documents.create

Creates a new PrivateOfferDocument in a given project and location.

HTTP request

POST https://commerceproducer.googleapis.com/v1beta/{parent=projects/*/locations/*/privateOffers/*}/documents

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
parent

string

Required. Value for parent.

Request body

The request body contains an instance of PrivateOfferDocument.

Response body

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

Authorization scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/cloud-platform

For more information, see the Authentication Overview.

IAM Permissions

Requires the following IAM permission on the parent resource:

  • commerceproducer.privateOfferDocuments.create

For more information, see the IAM documentation.