- [HTTP request](https://docs.cloud.google.com/gemini-enterprise-cx/ai-commerce-search/reference/rest/v2alpha/projects.retailProject/acceptTerms.md.txt#body.HTTP_TEMPLATE)
- [Path parameters](https://docs.cloud.google.com/gemini-enterprise-cx/ai-commerce-search/reference/rest/v2alpha/projects.retailProject/acceptTerms.md.txt#body.PATH_PARAMETERS)
- [Request body](https://docs.cloud.google.com/gemini-enterprise-cx/ai-commerce-search/reference/rest/v2alpha/projects.retailProject/acceptTerms.md.txt#body.request_body)
- [Response body](https://docs.cloud.google.com/gemini-enterprise-cx/ai-commerce-search/reference/rest/v2alpha/projects.retailProject/acceptTerms.md.txt#body.response_body)
- [Authorization scopes](https://docs.cloud.google.com/gemini-enterprise-cx/ai-commerce-search/reference/rest/v2alpha/projects.retailProject/acceptTerms.md.txt#body.aspect)
- [IAM Permissions](https://docs.cloud.google.com/gemini-enterprise-cx/ai-commerce-search/reference/rest/v2alpha/projects.retailProject/acceptTerms.md.txt#body.aspect_1)
- [Try it!](https://docs.cloud.google.com/gemini-enterprise-cx/ai-commerce-search/reference/rest/v2alpha/projects.retailProject/acceptTerms.md.txt#try-it)

Accepts service terms for this project. By making requests to this API, you agree to the terms of service linked below. <https://cloud.google.com/retail/data-use-terms>

### HTTP request

`POST https://retail.googleapis.com/v2alpha/{project=projects/*/retailProject}:acceptTerms`

The URL uses [gRPC Transcoding](https://google.aip.dev/127) syntax.

### Path parameters

| Parameters ||
|---|---|
| `project` | `string` Required. Full resource name of the project. Format: `projects/{project_number_or_id}/retailProject` |

### Request body

The request body must be empty.

### Response body

If successful, the response body contains an instance of `Project`.

### Authorization scopes

Requires the following OAuth scope:

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

For more information, see the [Authentication Overview](https://docs.cloud.google.com/docs/authentication.md.txt#authorization-gcp).

### IAM Permissions

Requires the following [IAM](https://cloud.google.com/iam/docs) permission on the `project` resource:

- `retail.retailProjects.acceptDataTerms`

For more information, see the [IAM documentation](https://cloud.google.com/iam/docs).