# Method: projects.locations.orders.requestDateChange

- [HTTP request](https://docs.cloud.google.com/distributed-cloud/connected/latest/docs/reference/hardware/rest/v1alpha/projects.locations.orders/requestDateChange#body.HTTP_TEMPLATE)
- [Path parameters](https://docs.cloud.google.com/distributed-cloud/connected/latest/docs/reference/hardware/rest/v1alpha/projects.locations.orders/requestDateChange#body.PATH_PARAMETERS)
- [Request body](https://docs.cloud.google.com/distributed-cloud/connected/latest/docs/reference/hardware/rest/v1alpha/projects.locations.orders/requestDateChange#body.request_body)
  - [JSON representation](https://docs.cloud.google.com/distributed-cloud/connected/latest/docs/reference/hardware/rest/v1alpha/projects.locations.orders/requestDateChange#body.request_body.SCHEMA_REPRESENTATION)
- [Response body](https://docs.cloud.google.com/distributed-cloud/connected/latest/docs/reference/hardware/rest/v1alpha/projects.locations.orders/requestDateChange#body.response_body)
- [Authorization scopes](https://docs.cloud.google.com/distributed-cloud/connected/latest/docs/reference/hardware/rest/v1alpha/projects.locations.orders/requestDateChange#body.aspect)
- [IAM Permissions](https://docs.cloud.google.com/distributed-cloud/connected/latest/docs/reference/hardware/rest/v1alpha/projects.locations.orders/requestDateChange#body.aspect_1)
- [Reason](https://docs.cloud.google.com/distributed-cloud/connected/latest/docs/reference/hardware/rest/v1alpha/projects.locations.orders/requestDateChange#Reason)
- [Try it!](https://docs.cloud.google.com/distributed-cloud/connected/latest/docs/reference/hardware/rest/v1alpha/projects.locations.orders/requestDateChange#try-it)

Updates the requested date change of a single Order.

### HTTP request

`POST https://gdchardwaremanagement.googleapis.com/v1alpha/{name=projects/*/locations/*/orders/*}:requestDateChange`

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

### Path parameters

| Parameters ||
|---|---|
| `name` | `string` Required. The name of the order to update. Format: projects/{project}/locations/{location}/orders/{order} |

### Request body

The request body contains data with the following structure:

| JSON representation |
|---|
| ``` { "requestedDate": { object (`https://docs.cloud.google.com/distributed-cloud/connected/latest/docs/reference/hardware/rest/v1alpha/Date`) }, "reason": enum (`https://docs.cloud.google.com/distributed-cloud/connected/latest/docs/reference/hardware/rest/v1alpha/projects.locations.orders/requestDateChange#Reason`), "reasonDetails": string } ``` |

| Fields ||
|---|---|
| `requestedDate` | ``object (`https://docs.cloud.google.com/distributed-cloud/connected/latest/docs/reference/hardware/rest/v1alpha/Date`)`` Required. The date to which the customer or Google wants to set the scheduled installation date. |
| `reason` | ``enum (`https://docs.cloud.google.com/distributed-cloud/connected/latest/docs/reference/hardware/rest/v1alpha/projects.locations.orders/requestDateChange#Reason`)`` Optional. The reason for the requested date change. |
| `reasonDetails` | `string` Optional. If the reason for requested date change is "OTHER", this field must be populated. |

### Response body

If successful, the response body contains an instance of `https://docs.cloud.google.com/distributed-cloud/connected/latest/docs/reference/hardware/rest/v1alpha/projects.locations.operations#Operation`.

### 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#authorization-gcp).

### IAM Permissions

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

- `gdchardwaremanagement.orders.update`

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

## Reason

Valid reasons for the requested date change.

| Enums ||
|---|---|
| `REASON_UNSPECIFIED` | The reason for the date change is not specified. |
| `REASON_SITE_NOT_READY` | The site is not ready for installation. |
| `REASON_FACILITY_ACCESS_ISSUE` | There is a facility access issue. |
| `REASON_CONSTRUCTION_OR_RENOVATION_DELAY` | There is a construction or renovation delay. |
| `REASON_POINT_OF_CONTACT_UNAVAILABLE` | The point of contact is unavailable. |
| `REASON_SCHEDULE_CONFLICT` | There is a schedule conflict. |
| `REASON_SPECIFIED_INCORRECT_DATE` | The requested date specified earlier was incorrect. |
| `REASON_OTHER` | Other reason. |