Method: projects.locations.privateOffers.create

Creates a new PrivateOffer in a given project and location.

HTTP request

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

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
parent

string

Required. Value for parent.

Request body

The request body contains an instance of PrivateOffer.

Response body

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

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.privateOffers.create

For more information, see the IAM documentation.